-- phpMyAdmin SQL Dump -- version 2.8.2.2 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Apr 16, 2008 at 02:52 PM -- Server version: 5.0.22 -- PHP Version: 5.1.6 -- -- Database: `vtigercrm504` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_account` -- DROP TABLE IF EXISTS `vtiger_account`; CREATE TABLE IF NOT EXISTS `vtiger_account` ( `accountid` int(19) NOT NULL default '0', `accountname` varchar(100) NOT NULL, `parentid` int(19) default '0', `account_type` varchar(200) default NULL, `industry` varchar(200) default NULL, `annualrevenue` int(19) default '0', `rating` varchar(200) default NULL, `ownership` varchar(50) default NULL, `siccode` varchar(50) default NULL, `tickersymbol` varchar(30) default NULL, `phone` varchar(30) default NULL, `otherphone` varchar(30) default NULL, `email1` varchar(100) default NULL, `email2` varchar(100) default NULL, `website` varchar(100) default NULL, `fax` varchar(30) default NULL, `employees` int(10) default '0', `emailoptout` varchar(3) default '0', `notify_owner` varchar(3) default '0', PRIMARY KEY (`accountid`), KEY `account_account_type_idx` (`account_type`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_account` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountbillads` -- DROP TABLE IF EXISTS `vtiger_accountbillads`; CREATE TABLE IF NOT EXISTS `vtiger_accountbillads` ( `accountaddressid` int(19) NOT NULL default '0', `bill_city` varchar(30) default NULL, `bill_code` varchar(30) default NULL, `bill_country` varchar(30) default NULL, `bill_state` varchar(30) default NULL, `bill_street` varchar(250) default NULL, `bill_pobox` varchar(30) default NULL, PRIMARY KEY (`accountaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_accountbillads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountdepstatus` -- DROP TABLE IF EXISTS `vtiger_accountdepstatus`; CREATE TABLE IF NOT EXISTS `vtiger_accountdepstatus` ( `deploymentstatusid` int(19) NOT NULL auto_increment, `deploymentstatus` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`deploymentstatusid`), UNIQUE KEY `accountdepstatus_deploymentstatus_idx` (`deploymentstatus`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_accountdepstatus` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountgrouprelation` -- DROP TABLE IF EXISTS `vtiger_accountgrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_accountgrouprelation` ( `accountid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`accountid`), KEY `accountgrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_accountgrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountownership` -- DROP TABLE IF EXISTS `vtiger_accountownership`; CREATE TABLE IF NOT EXISTS `vtiger_accountownership` ( `acctownershipid` int(19) NOT NULL auto_increment, `ownership` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`acctownershipid`), UNIQUE KEY `accountownership_ownership_idx` (`ownership`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_accountownership` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountrating` -- DROP TABLE IF EXISTS `vtiger_accountrating`; CREATE TABLE IF NOT EXISTS `vtiger_accountrating` ( `accountratingid` int(19) NOT NULL auto_increment, `rating` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`accountratingid`), UNIQUE KEY `accountrating_rating_idx` (`rating`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_accountrating` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountregion` -- DROP TABLE IF EXISTS `vtiger_accountregion`; CREATE TABLE IF NOT EXISTS `vtiger_accountregion` ( `accountregionid` int(19) NOT NULL auto_increment, `region` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`accountregionid`), UNIQUE KEY `accountregion_region_idx` (`region`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_accountregion` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountscf` -- DROP TABLE IF EXISTS `vtiger_accountscf`; CREATE TABLE IF NOT EXISTS `vtiger_accountscf` ( `accountid` int(19) NOT NULL default '0', PRIMARY KEY (`accountid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_accountscf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accountshipads` -- DROP TABLE IF EXISTS `vtiger_accountshipads`; CREATE TABLE IF NOT EXISTS `vtiger_accountshipads` ( `accountaddressid` int(19) NOT NULL default '0', `ship_city` varchar(30) default NULL, `ship_code` varchar(30) default NULL, `ship_country` varchar(30) default NULL, `ship_state` varchar(30) default NULL, `ship_pobox` varchar(30) default NULL, `ship_street` varchar(250) default NULL, PRIMARY KEY (`accountaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_accountshipads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accounttype` -- DROP TABLE IF EXISTS `vtiger_accounttype`; CREATE TABLE IF NOT EXISTS `vtiger_accounttype` ( `accounttypeid` int(19) NOT NULL auto_increment, `accounttype` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`accounttypeid`), UNIQUE KEY `accounttype_accounttype_idx` (`accounttype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ; -- -- Dumping data for table `vtiger_accounttype` -- INSERT INTO `vtiger_accounttype` (`accounttypeid`, `accounttype`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 15), (2, 'Analyst', 1, 16), (3, 'Competitor', 1, 17), (4, 'Customer', 1, 18), (5, 'Integrator', 1, 19), (6, 'Investor', 1, 20), (7, 'Partner', 1, 21), (8, 'Press', 1, 22), (9, 'Prospect', 1, 23), (10, 'Reseller', 1, 24), (11, 'Other', 1, 25); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_accounttype_seq` -- DROP TABLE IF EXISTS `vtiger_accounttype_seq`; CREATE TABLE IF NOT EXISTS `vtiger_accounttype_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_accounttype_seq` -- INSERT INTO `vtiger_accounttype_seq` (`id`) VALUES (11); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_actionmapping` -- DROP TABLE IF EXISTS `vtiger_actionmapping`; CREATE TABLE IF NOT EXISTS `vtiger_actionmapping` ( `actionid` int(19) NOT NULL, `actionname` varchar(200) NOT NULL, `securitycheck` int(19) default NULL, PRIMARY KEY (`actionid`,`actionname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_actionmapping` -- INSERT INTO `vtiger_actionmapping` (`actionid`, `actionname`, `securitycheck`) VALUES (0, 'Save', 0), (0, 'SavePriceBook', 1), (0, 'SaveVendor', 1), (1, 'DetailViewAjax', 1), (1, 'EditView', 0), (1, 'PriceBookEditView', 1), (1, 'QuickCreate', 1), (1, 'VendorEditView', 1), (2, 'Delete', 0), (2, 'DeletePriceBook', 1), (2, 'DeleteVendor', 1), (3, 'index', 0), (3, 'Popup', 1), (4, 'DetailView', 0), (4, 'PriceBookDetailView', 1), (4, 'TagCloud', 1), (4, 'VendorDetailView', 1), (5, 'Import', 0), (6, 'Export', 0), (8, 'Merge', 0), (9, 'ConvertLead', 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activity` -- DROP TABLE IF EXISTS `vtiger_activity`; CREATE TABLE IF NOT EXISTS `vtiger_activity` ( `activityid` int(19) NOT NULL default '0', `subject` varchar(100) NOT NULL, `semodule` varchar(20) default NULL, `activitytype` varchar(200) NOT NULL, `date_start` date NOT NULL, `due_date` date default NULL, `time_start` varchar(50) default NULL, `time_end` varchar(50) default NULL, `sendnotification` varchar(3) NOT NULL default '0', `duration_hours` varchar(2) default NULL, `duration_minutes` varchar(200) default NULL, `status` varchar(200) default NULL, `eventstatus` varchar(200) default NULL, `priority` varchar(200) default NULL, `location` varchar(150) default NULL, `notime` varchar(3) NOT NULL default '0', `visibility` varchar(50) NOT NULL default 'all', `recurringtype` varchar(200) default NULL, PRIMARY KEY (`activityid`), KEY `activity_activityid_subject_idx` (`activityid`,`subject`), KEY `activity_activitytype_date_start_idx` (`activitytype`,`date_start`), KEY `activity_date_start_due_date_idx` (`date_start`,`due_date`), KEY `activity_date_start_time_start_idx` (`date_start`,`time_start`), KEY `activity_eventstatus_idx` (`eventstatus`), KEY `activity_status_idx` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_activity` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activity_reminder` -- DROP TABLE IF EXISTS `vtiger_activity_reminder`; CREATE TABLE IF NOT EXISTS `vtiger_activity_reminder` ( `activity_id` int(11) NOT NULL, `reminder_time` int(11) NOT NULL, `reminder_sent` int(2) NOT NULL, `recurringid` int(19) NOT NULL, PRIMARY KEY (`activity_id`,`recurringid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_activity_reminder` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activity_view` -- DROP TABLE IF EXISTS `vtiger_activity_view`; CREATE TABLE IF NOT EXISTS `vtiger_activity_view` ( `activity_viewid` int(19) NOT NULL auto_increment, `activity_view` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`activity_viewid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_activity_view` -- INSERT INTO `vtiger_activity_view` (`activity_viewid`, `activity_view`, `sortorderid`, `presence`) VALUES (1, 'Today', 0, 1), (2, 'This Week', 1, 1), (3, 'This Month', 2, 1), (4, 'This Year', 3, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activity_view_seq` -- DROP TABLE IF EXISTS `vtiger_activity_view_seq`; CREATE TABLE IF NOT EXISTS `vtiger_activity_view_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_activity_view_seq` -- INSERT INTO `vtiger_activity_view_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activitygrouprelation` -- DROP TABLE IF EXISTS `vtiger_activitygrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_activitygrouprelation` ( `activityid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`activityid`), KEY `activitygrouprelation_activityid_idx` (`activityid`), KEY `activitygrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_activitygrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activityproductrel` -- DROP TABLE IF EXISTS `vtiger_activityproductrel`; CREATE TABLE IF NOT EXISTS `vtiger_activityproductrel` ( `activityid` int(19) NOT NULL default '0', `productid` int(19) NOT NULL default '0', PRIMARY KEY (`activityid`,`productid`), KEY `activityproductrel_activityid_idx` (`activityid`), KEY `activityproductrel_productid_idx` (`productid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_activityproductrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activitytype` -- DROP TABLE IF EXISTS `vtiger_activitytype`; CREATE TABLE IF NOT EXISTS `vtiger_activitytype` ( `activitytypeid` int(19) NOT NULL auto_increment, `activitytype` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`activitytypeid`), UNIQUE KEY `activitytype_activitytype_idx` (`activitytype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `vtiger_activitytype` -- INSERT INTO `vtiger_activitytype` (`activitytypeid`, `activitytype`, `sortorderid`, `presence`) VALUES (1, 'Call', 0, 1), (2, 'Meeting', 1, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activitytype_seq` -- DROP TABLE IF EXISTS `vtiger_activitytype_seq`; CREATE TABLE IF NOT EXISTS `vtiger_activitytype_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_activitytype_seq` -- INSERT INTO `vtiger_activitytype_seq` (`id`) VALUES (2); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_activsubtype` -- DROP TABLE IF EXISTS `vtiger_activsubtype`; CREATE TABLE IF NOT EXISTS `vtiger_activsubtype` ( `activesubtypeid` int(19) NOT NULL auto_increment, `activsubtype` varchar(100) default NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`activesubtypeid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_activsubtype` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_announcement` -- DROP TABLE IF EXISTS `vtiger_announcement`; CREATE TABLE IF NOT EXISTS `vtiger_announcement` ( `creatorid` int(19) NOT NULL, `announcement` text, `title` varchar(255) default NULL, `time` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`creatorid`), KEY `announcement_creatorid_idx` (`creatorid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_announcement` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_attachments` -- DROP TABLE IF EXISTS `vtiger_attachments`; CREATE TABLE IF NOT EXISTS `vtiger_attachments` ( `attachmentsid` int(19) NOT NULL, `name` varchar(255) NOT NULL, `description` varchar(100) default NULL, `type` varchar(100) default NULL, `path` text, `subject` varchar(255) default NULL, PRIMARY KEY (`attachmentsid`), KEY `attachments_attachmentsid_idx` (`attachmentsid`), KEY `attachments_description_type_attachmentsid_idx` (`description`,`type`,`attachmentsid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_attachments` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_audit_trial` -- DROP TABLE IF EXISTS `vtiger_audit_trial`; CREATE TABLE IF NOT EXISTS `vtiger_audit_trial` ( `auditid` int(19) NOT NULL, `userid` int(19) default NULL, `module` varchar(255) default NULL, `action` varchar(255) default NULL, `recordid` varchar(20) default NULL, `actiondate` datetime default NULL, PRIMARY KEY (`auditid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_audit_trial` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_blocks` -- DROP TABLE IF EXISTS `vtiger_blocks`; CREATE TABLE IF NOT EXISTS `vtiger_blocks` ( `blockid` int(19) NOT NULL, `tabid` int(19) NOT NULL, `blocklabel` varchar(100) NOT NULL, `sequence` int(10) default NULL, `show_title` int(2) default NULL, `visible` int(2) NOT NULL default '0', `create_view` int(2) NOT NULL default '0', `edit_view` int(2) NOT NULL default '0', `detail_view` int(2) NOT NULL default '0', PRIMARY KEY (`blockid`), KEY `block_tabid_idx` (`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_blocks` -- INSERT INTO `vtiger_blocks` (`blockid`, `tabid`, `blocklabel`, `sequence`, `show_title`, `visible`, `create_view`, `edit_view`, `detail_view`) VALUES (1, 2, 'LBL_OPPORTUNITY_INFORMATION', 1, 0, 0, 0, 0, 0), (2, 2, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (3, 2, 'LBL_DESCRIPTION_INFORMATION', 3, 0, 0, 0, 0, 0), (4, 4, 'LBL_CONTACT_INFORMATION', 1, 0, 0, 0, 0, 0), (5, 4, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (6, 4, 'LBL_CUSTOMER_PORTAL_INFORMATION', 3, 0, 0, 0, 0, 0), (7, 4, 'LBL_ADDRESS_INFORMATION', 4, 0, 0, 0, 0, 0), (8, 4, 'LBL_DESCRIPTION_INFORMATION', 6, 0, 0, 0, 0, 0), (9, 6, 'LBL_ACCOUNT_INFORMATION', 1, 0, 0, 0, 0, 0), (10, 6, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (11, 6, 'LBL_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (12, 6, 'LBL_DESCRIPTION_INFORMATION', 4, 0, 0, 0, 0, 0), (13, 7, 'LBL_LEAD_INFORMATION', 1, 0, 0, 0, 0, 0), (14, 7, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (15, 7, 'LBL_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (16, 7, 'LBL_DESCRIPTION_INFORMATION', 4, 0, 0, 0, 0, 0), (17, 8, 'LBL_NOTE_INFORMATION', 1, 0, 0, 0, 0, 0), (18, 8, '', 2, 1, 0, 0, 0, 0), (19, 9, 'LBL_TASK_INFORMATION', 1, 0, 0, 0, 0, 0), (20, 9, '', 2, 1, 0, 0, 0, 0), (21, 10, 'LBL_EMAIL_INFORMATION', 1, 0, 0, 0, 0, 0), (22, 10, '', 2, 1, 0, 0, 0, 0), (23, 10, '', 3, 1, 0, 0, 0, 0), (24, 10, '', 4, 1, 0, 0, 0, 0), (25, 13, 'LBL_TICKET_INFORMATION', 1, 0, 0, 0, 0, 0), (26, 13, '', 2, 1, 0, 0, 0, 0), (27, 13, 'LBL_CUSTOM_INFORMATION', 3, 0, 0, 0, 0, 0), (28, 13, 'LBL_DESCRIPTION_INFORMATION', 4, 0, 0, 0, 0, 0), (29, 13, 'LBL_TICKET_RESOLUTION', 5, 0, 0, 1, 0, 0), (30, 13, 'LBL_COMMENTS', 6, 0, 0, 1, 0, 0), (31, 14, 'LBL_PRODUCT_INFORMATION', 1, 0, 0, 0, 0, 0), (32, 14, 'LBL_PRICING_INFORMATION', 2, 0, 0, 0, 0, 0), (33, 14, 'LBL_STOCK_INFORMATION', 3, 0, 0, 0, 0, 0), (34, 14, 'LBL_CUSTOM_INFORMATION', 4, 0, 0, 0, 0, 0), (35, 14, 'LBL_IMAGE_INFORMATION', 5, 0, 0, 0, 0, 0), (36, 14, 'LBL_DESCRIPTION_INFORMATION', 6, 0, 0, 0, 0, 0), (37, 15, 'LBL_FAQ_INFORMATION', 1, 0, 0, 0, 0, 0), (38, 15, '', 2, 1, 0, 0, 0, 0), (39, 15, '', 3, 1, 0, 0, 0, 0), (40, 15, 'LBL_COMMENT_INFORMATION', 4, 0, 0, 1, 0, 0), (41, 16, 'LBL_EVENT_INFORMATION', 1, 0, 0, 0, 0, 0), (42, 16, '', 2, 1, 0, 0, 0, 0), (43, 16, '', 3, 1, 0, 0, 0, 0), (44, 18, 'LBL_VENDOR_INFORMATION', 1, 0, 0, 0, 0, 0), (45, 18, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (46, 18, 'LBL_VENDOR_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (47, 18, 'LBL_DESCRIPTION_INFORMATION', 4, 0, 0, 0, 0, 0), (48, 19, 'LBL_PRICEBOOK_INFORMATION', 1, 0, 0, 0, 0, 0), (49, 19, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (50, 19, 'LBL_DESCRIPTION_INFORMATION', 3, 0, 0, 0, 0, 0), (51, 20, 'LBL_QUOTE_INFORMATION', 1, 0, 0, 0, 0, 0), (52, 20, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (53, 20, 'LBL_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (54, 20, 'LBL_RELATED_PRODUCTS', 4, 0, 0, 0, 0, 0), (55, 20, 'LBL_TERMS_INFORMATION', 5, 0, 0, 0, 0, 0), (56, 20, 'LBL_DESCRIPTION_INFORMATION', 6, 0, 0, 0, 0, 0), (57, 21, 'LBL_PO_INFORMATION', 1, 0, 0, 0, 0, 0), (58, 21, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (59, 21, 'LBL_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (60, 21, 'LBL_RELATED_PRODUCTS', 4, 0, 0, 0, 0, 0), (61, 21, 'LBL_TERMS_INFORMATION', 5, 0, 0, 0, 0, 0), (62, 21, 'LBL_DESCRIPTION_INFORMATION', 6, 0, 0, 0, 0, 0), (63, 22, 'LBL_SO_INFORMATION', 1, 0, 0, 0, 0, 0), (64, 22, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (65, 22, 'LBL_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (66, 22, 'LBL_RELATED_PRODUCTS', 4, 0, 0, 0, 0, 0), (67, 22, 'LBL_TERMS_INFORMATION', 5, 0, 0, 0, 0, 0), (68, 22, 'LBL_DESCRIPTION_INFORMATION', 6, 0, 0, 0, 0, 0), (69, 23, 'LBL_INVOICE_INFORMATION', 1, 0, 0, 0, 0, 0), (70, 23, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (71, 23, 'LBL_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (72, 23, 'LBL_RELATED_PRODUCTS', 4, 0, 0, 0, 0, 0), (73, 23, 'LBL_TERMS_INFORMATION', 5, 0, 0, 0, 0, 0), (74, 23, 'LBL_DESCRIPTION_INFORMATION', 6, 0, 0, 0, 0, 0), (75, 4, 'LBL_IMAGE_INFORMATION', 5, 0, 0, 0, 0, 0), (76, 26, 'LBL_CAMPAIGN_INFORMATION', 1, 0, 0, 0, 0, 0), (77, 26, 'LBL_CUSTOM_INFORMATION', 2, 0, 0, 0, 0, 0), (78, 26, 'LBL_EXPECTATIONS_AND_ACTUALS', 3, 0, 0, 0, 0, 0), (79, 29, 'LBL_USERLOGIN_ROLE', 1, 0, 0, 0, 0, 0), (80, 29, 'LBL_MORE_INFORMATION', 2, 0, 0, 0, 0, 0), (81, 29, 'LBL_ADDRESS_INFORMATION', 3, 0, 0, 0, 0, 0), (82, 26, 'LBL_DESCRIPTION_INFORMATION', 4, 0, 0, 0, 0, 0), (83, 29, 'LBL_USER_IMAGE_INFORMATION', 4, 0, 0, 0, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_businesstype` -- DROP TABLE IF EXISTS `vtiger_businesstype`; CREATE TABLE IF NOT EXISTS `vtiger_businesstype` ( `businesstypeid` int(19) NOT NULL auto_increment, `businesstype` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`businesstypeid`), UNIQUE KEY `businesstype_businesstype_idx` (`businesstype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_businesstype` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaign` -- DROP TABLE IF EXISTS `vtiger_campaign`; CREATE TABLE IF NOT EXISTS `vtiger_campaign` ( `campaignname` varchar(255) default NULL, `campaigntype` varchar(200) default NULL, `campaignstatus` varchar(200) default NULL, `expectedrevenue` decimal(25,3) default NULL, `budgetcost` decimal(25,3) default NULL, `actualcost` decimal(25,3) default NULL, `expectedresponse` varchar(200) default NULL, `numsent` decimal(11,0) default NULL, `product_id` int(19) default NULL, `sponsor` varchar(255) default NULL, `targetaudience` varchar(255) default NULL, `targetsize` int(19) default NULL, `expectedresponsecount` int(19) default NULL, `expectedsalescount` int(19) default NULL, `expectedroi` decimal(25,3) default NULL, `actualresponsecount` int(19) default NULL, `actualsalescount` int(19) default NULL, `actualroi` decimal(25,3) default NULL, `campaignid` int(19) NOT NULL, `closingdate` date default NULL, PRIMARY KEY (`campaignid`), KEY `campaign_campaignstatus_idx` (`campaignstatus`), KEY `campaign_campaignname_idx` (`campaignname`), KEY `campaign_campaignid_idx` (`campaignid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_campaign` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaigncontrel` -- DROP TABLE IF EXISTS `vtiger_campaigncontrel`; CREATE TABLE IF NOT EXISTS `vtiger_campaigncontrel` ( `campaignid` int(19) NOT NULL default '0', `contactid` int(19) NOT NULL default '0', PRIMARY KEY (`campaignid`,`contactid`), KEY `campaigncontrel_contractid_idx` (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_campaigncontrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaigngrouprelation` -- DROP TABLE IF EXISTS `vtiger_campaigngrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_campaigngrouprelation` ( `campaignid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`campaignid`), KEY `campaigngrouprelation_IDX1` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_campaigngrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaignleadrel` -- DROP TABLE IF EXISTS `vtiger_campaignleadrel`; CREATE TABLE IF NOT EXISTS `vtiger_campaignleadrel` ( `campaignid` int(19) NOT NULL default '0', `leadid` int(19) NOT NULL default '0', PRIMARY KEY (`campaignid`,`leadid`), KEY `campaignleadrel_leadid_campaignid_idx` (`leadid`,`campaignid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_campaignleadrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaignscf` -- DROP TABLE IF EXISTS `vtiger_campaignscf`; CREATE TABLE IF NOT EXISTS `vtiger_campaignscf` ( `campaignid` int(19) NOT NULL default '0', PRIMARY KEY (`campaignid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_campaignscf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaignstatus` -- DROP TABLE IF EXISTS `vtiger_campaignstatus`; CREATE TABLE IF NOT EXISTS `vtiger_campaignstatus` ( `campaignstatusid` int(19) NOT NULL auto_increment, `campaignstatus` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`campaignstatusid`), KEY `campaignstatus_campaignstatus_idx` (`campaignstatus`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `vtiger_campaignstatus` -- INSERT INTO `vtiger_campaignstatus` (`campaignstatusid`, `campaignstatus`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 197), (2, 'Planning', 1, 198), (3, 'Active', 1, 199), (4, 'Inactive', 1, 200), (5, 'Completed', 1, 201), (6, 'Cancelled', 1, 202); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaignstatus_seq` -- DROP TABLE IF EXISTS `vtiger_campaignstatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_campaignstatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_campaignstatus_seq` -- INSERT INTO `vtiger_campaignstatus_seq` (`id`) VALUES (6); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaigntype` -- DROP TABLE IF EXISTS `vtiger_campaigntype`; CREATE TABLE IF NOT EXISTS `vtiger_campaigntype` ( `campaigntypeid` int(19) NOT NULL auto_increment, `campaigntype` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`campaigntypeid`), UNIQUE KEY `campaigntype_campaigntype_idx` (`campaigntype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ; -- -- Dumping data for table `vtiger_campaigntype` -- INSERT INTO `vtiger_campaigntype` (`campaigntypeid`, `campaigntype`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 184), (2, 'Conference', 1, 185), (3, 'Webinar', 1, 186), (4, 'Trade Show', 1, 187), (5, 'Public Relations', 1, 188), (6, 'Partners', 1, 189), (7, 'Referral Program', 1, 190), (8, 'Advertisement', 1, 191), (9, 'Banner Ads', 1, 192), (10, 'Direct Mail', 1, 193), (11, 'Email', 1, 194), (12, 'Telemarketing', 1, 195), (13, 'Others', 1, 196); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_campaigntype_seq` -- DROP TABLE IF EXISTS `vtiger_campaigntype_seq`; CREATE TABLE IF NOT EXISTS `vtiger_campaigntype_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_campaigntype_seq` -- INSERT INTO `vtiger_campaigntype_seq` (`id`) VALUES (13); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_carrier` -- DROP TABLE IF EXISTS `vtiger_carrier`; CREATE TABLE IF NOT EXISTS `vtiger_carrier` ( `carrierid` int(19) NOT NULL auto_increment, `carrier` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`carrierid`), UNIQUE KEY `carrier_carrier_idx` (`carrier`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `vtiger_carrier` -- INSERT INTO `vtiger_carrier` (`carrierid`, `carrier`, `presence`, `picklist_valueid`) VALUES (1, 'FedEx', 1, 161), (2, 'UPS', 1, 162), (3, 'USPS', 1, 163), (4, 'DHL', 1, 164), (5, 'BlueDart', 1, 165); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_carrier_seq` -- DROP TABLE IF EXISTS `vtiger_carrier_seq`; CREATE TABLE IF NOT EXISTS `vtiger_carrier_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_carrier_seq` -- INSERT INTO `vtiger_carrier_seq` (`id`) VALUES (5); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_chat_msg` -- DROP TABLE IF EXISTS `vtiger_chat_msg`; CREATE TABLE IF NOT EXISTS `vtiger_chat_msg` ( `id` int(20) NOT NULL auto_increment, `chat_from` int(20) NOT NULL default '0', `chat_to` int(20) NOT NULL default '0', `born` datetime default NULL, `msg` varchar(255) NOT NULL, PRIMARY KEY (`id`), KEY `chat_msg_chat_from_idx` (`chat_from`), KEY `chat_msg_chat_to_idx` (`chat_to`), KEY `chat_msg_born_idx` (`born`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_chat_msg` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_chat_pchat` -- DROP TABLE IF EXISTS `vtiger_chat_pchat`; CREATE TABLE IF NOT EXISTS `vtiger_chat_pchat` ( `id` int(20) NOT NULL auto_increment, `msg` int(20) default '0', PRIMARY KEY (`id`), UNIQUE KEY `chat_pchat_msg_idx` (`msg`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_chat_pchat` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_chat_pvchat` -- DROP TABLE IF EXISTS `vtiger_chat_pvchat`; CREATE TABLE IF NOT EXISTS `vtiger_chat_pvchat` ( `id` int(20) NOT NULL auto_increment, `msg` int(20) default '0', PRIMARY KEY (`id`), UNIQUE KEY `chat_pvchat_msg_idx` (`msg`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_chat_pvchat` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_chat_users` -- DROP TABLE IF EXISTS `vtiger_chat_users`; CREATE TABLE IF NOT EXISTS `vtiger_chat_users` ( `id` int(20) NOT NULL auto_increment, `nick` varchar(50) NOT NULL, `session` varchar(50) NOT NULL, `ip` varchar(20) NOT NULL default '000.000.000.000', `ping` datetime default NULL, PRIMARY KEY (`id`), KEY `chat_users_nick_idx` (`nick`), KEY `chat_users_session_idx` (`session`), KEY `chat_users_ping_idx` (`ping`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_chat_users` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_cntactivityrel` -- DROP TABLE IF EXISTS `vtiger_cntactivityrel`; CREATE TABLE IF NOT EXISTS `vtiger_cntactivityrel` ( `contactid` int(19) NOT NULL default '0', `activityid` int(19) NOT NULL default '0', PRIMARY KEY (`contactid`,`activityid`), KEY `cntactivityrel_contactid_idx` (`contactid`), KEY `cntactivityrel_activityid_idx` (`activityid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_cntactivityrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_competitor` -- DROP TABLE IF EXISTS `vtiger_competitor`; CREATE TABLE IF NOT EXISTS `vtiger_competitor` ( `competitorid` int(19) NOT NULL, `competitorname` varchar(100) NOT NULL, `website` varchar(100) default NULL, `strength` varchar(250) default NULL, `weakness` varchar(250) default NULL, PRIMARY KEY (`competitorid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_competitor` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_contactaddress` -- DROP TABLE IF EXISTS `vtiger_contactaddress`; CREATE TABLE IF NOT EXISTS `vtiger_contactaddress` ( `contactaddressid` int(19) NOT NULL default '0', `mailingcity` varchar(40) default NULL, `mailingstreet` varchar(250) default NULL, `mailingcountry` varchar(40) default NULL, `othercountry` varchar(30) default NULL, `mailingstate` varchar(30) default NULL, `mailingpobox` varchar(30) default NULL, `othercity` varchar(40) default NULL, `otherstate` varchar(50) default NULL, `mailingzip` varchar(30) default NULL, `otherzip` varchar(30) default NULL, `otherstreet` varchar(250) default NULL, `otherpobox` varchar(30) default NULL, PRIMARY KEY (`contactaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_contactaddress` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_contactdetails` -- DROP TABLE IF EXISTS `vtiger_contactdetails`; CREATE TABLE IF NOT EXISTS `vtiger_contactdetails` ( `contactid` int(19) NOT NULL default '0', `accountid` int(19) default NULL, `salutation` varchar(200) default NULL, `firstname` varchar(40) default NULL, `lastname` varchar(80) NOT NULL, `email` varchar(100) default NULL, `phone` varchar(50) default NULL, `mobile` varchar(50) default NULL, `title` varchar(50) default NULL, `department` varchar(30) default NULL, `fax` varchar(50) default NULL, `reportsto` varchar(30) default NULL, `training` varchar(50) default NULL, `usertype` varchar(50) default NULL, `contacttype` varchar(50) default NULL, `otheremail` varchar(100) default NULL, `yahooid` varchar(100) default NULL, `donotcall` varchar(3) default NULL, `emailoptout` varchar(3) default '0', `imagename` varchar(150) default NULL, `reference` varchar(3) default NULL, `notify_owner` varchar(3) default '0', PRIMARY KEY (`contactid`), KEY `contactdetails_accountid_idx` (`accountid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_contactdetails` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_contactgrouprelation` -- DROP TABLE IF EXISTS `vtiger_contactgrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_contactgrouprelation` ( `contactid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`contactid`), KEY `contactgrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_contactgrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_contactscf` -- DROP TABLE IF EXISTS `vtiger_contactscf`; CREATE TABLE IF NOT EXISTS `vtiger_contactscf` ( `contactid` int(19) NOT NULL default '0', PRIMARY KEY (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_contactscf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_contactsubdetails` -- DROP TABLE IF EXISTS `vtiger_contactsubdetails`; CREATE TABLE IF NOT EXISTS `vtiger_contactsubdetails` ( `contactsubscriptionid` int(19) NOT NULL default '0', `homephone` varchar(50) default NULL, `otherphone` varchar(50) default NULL, `assistant` varchar(30) default NULL, `assistantphone` varchar(50) default NULL, `birthday` date default NULL, `laststayintouchrequest` int(30) default '0', `laststayintouchsavedate` int(19) default '0', `leadsource` varchar(200) default NULL, PRIMARY KEY (`contactsubscriptionid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_contactsubdetails` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_contacttype` -- DROP TABLE IF EXISTS `vtiger_contacttype`; CREATE TABLE IF NOT EXISTS `vtiger_contacttype` ( `contacttypeid` int(19) NOT NULL auto_increment, `contacttype` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`contacttypeid`), UNIQUE KEY `contacttype_contacttype_idx` (`contacttype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_contacttype` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_contpotentialrel` -- DROP TABLE IF EXISTS `vtiger_contpotentialrel`; CREATE TABLE IF NOT EXISTS `vtiger_contpotentialrel` ( `contactid` int(19) NOT NULL default '0', `potentialid` int(19) NOT NULL default '0', PRIMARY KEY (`contactid`,`potentialid`), KEY `contpotentialrel_potentialid_idx` (`potentialid`), KEY `contpotentialrel_contactid_idx` (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_contpotentialrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_convertleadmapping` -- DROP TABLE IF EXISTS `vtiger_convertleadmapping`; CREATE TABLE IF NOT EXISTS `vtiger_convertleadmapping` ( `cfmid` int(19) NOT NULL auto_increment, `leadfid` int(19) NOT NULL, `accountfid` int(19) default NULL, `contactfid` int(19) default NULL, `potentialfid` int(19) default NULL, PRIMARY KEY (`cfmid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_convertleadmapping` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_crmentity` -- DROP TABLE IF EXISTS `vtiger_crmentity`; CREATE TABLE IF NOT EXISTS `vtiger_crmentity` ( `crmid` int(19) NOT NULL, `smcreatorid` int(19) NOT NULL default '0', `smownerid` int(19) NOT NULL default '0', `modifiedby` int(19) NOT NULL default '0', `setype` varchar(30) NOT NULL, `description` text, `createdtime` datetime NOT NULL, `modifiedtime` datetime NOT NULL, `viewedtime` datetime default NULL, `status` varchar(50) default NULL, `version` int(19) NOT NULL default '0', `presence` int(1) default '1', `deleted` int(1) NOT NULL default '0', PRIMARY KEY (`crmid`), KEY `crmentity_smcreatorid_idx` (`smcreatorid`), KEY `crmentity_smownerid_idx` (`smownerid`), KEY `crmentity_modifiedby_idx` (`modifiedby`), KEY `crmentity_deleted_smownerid_idx` (`deleted`,`smownerid`), KEY `crmentity_smownerid_deleted_idx` (`smownerid`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_crmentity` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_crmentity_seq` -- DROP TABLE IF EXISTS `vtiger_crmentity_seq`; CREATE TABLE IF NOT EXISTS `vtiger_crmentity_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_crmentity_seq` -- INSERT INTO `vtiger_crmentity_seq` (`id`) VALUES (1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_crmentitynotesrel` -- DROP TABLE IF EXISTS `vtiger_crmentitynotesrel`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_crmentitynotesrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_currency` -- DROP TABLE IF EXISTS `vtiger_currency`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_currency` -- INSERT INTO `vtiger_currency` (`currencyid`, `currency`, `sortorderid`, `presence`) VALUES (1, 'Rupees', 0, 1), (2, 'Dollar', 1, 1), (3, 'Euro', 2, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_currency_info` -- DROP TABLE IF EXISTS `vtiger_currency_info`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=2 ; -- -- Dumping data for table `vtiger_currency_info` -- INSERT INTO `vtiger_currency_info` (`id`, `currency_name`, `currency_code`, `currency_symbol`, `conversion_rate`, `currency_status`, `defaultid`) VALUES (1, 'Dollar', '$', '$', 1.000, 'Active', '-11'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_currency_info_seq` -- DROP TABLE IF EXISTS `vtiger_currency_info_seq`; CREATE TABLE IF NOT EXISTS `vtiger_currency_info_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_currency_info_seq` -- INSERT INTO `vtiger_currency_info_seq` (`id`) VALUES (1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_currency_seq` -- DROP TABLE IF EXISTS `vtiger_currency_seq`; CREATE TABLE IF NOT EXISTS `vtiger_currency_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_currency_seq` -- INSERT INTO `vtiger_currency_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_customaction` -- DROP TABLE IF EXISTS `vtiger_customaction`; CREATE TABLE IF NOT EXISTS `vtiger_customaction` ( `cvid` int(19) NOT NULL, `subject` varchar(250) NOT NULL, `module` varchar(50) NOT NULL, `content` text, KEY `customaction_cvid_idx` (`cvid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_customaction` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_customerdetails` -- DROP TABLE IF EXISTS `vtiger_customerdetails`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_customerdetails` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_customview` -- DROP TABLE IF EXISTS `vtiger_customview`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_customview` -- INSERT INTO `vtiger_customview` (`cvid`, `viewname`, `setdefault`, `setmetrics`, `entitytype`) VALUES (1, 'All', 1, 0, 'Leads'), (2, 'Hot Leads', 0, 1, 'Leads'), (3, 'This Month Leads', 0, 0, 'Leads'), (4, 'All', 1, 0, 'Accounts'), (5, 'Prospect Accounts', 0, 1, 'Accounts'), (6, 'New This Week', 0, 0, 'Accounts'), (7, 'All', 1, 0, 'Contacts'), (8, 'Contacts Address', 0, 0, 'Contacts'), (9, 'Todays Birthday', 0, 0, 'Contacts'), (10, 'All', 1, 0, 'Potentials'), (11, 'Potentials Won', 0, 1, 'Potentials'), (12, 'Prospecting', 0, 0, 'Potentials'), (13, 'All', 1, 0, 'HelpDesk'), (14, 'Open Tickets', 0, 1, 'HelpDesk'), (15, 'High Prioriy Tickets', 0, 0, 'HelpDesk'), (16, 'All', 1, 0, 'Quotes'), (17, 'Open Quotes', 0, 1, 'Quotes'), (18, 'Rejected Quotes', 0, 0, 'Quotes'), (19, 'All', 1, 0, 'Calendar'), (20, 'All', 1, 0, 'Emails'), (21, 'All', 1, 0, 'Invoice'), (22, 'All', 1, 0, 'Notes'), (23, 'All', 1, 0, 'PriceBooks'), (24, 'All', 1, 0, 'Products'), (25, 'All', 1, 0, 'PurchaseOrder'), (26, 'All', 1, 0, 'SalesOrder'), (27, 'All', 1, 0, 'Vendors'), (28, 'All', 1, 0, 'Faq'), (29, 'All', 1, 0, 'Campaigns'), (30, 'All', 1, 0, 'Webmails'), (31, 'Drafted FAQ', 0, 0, 'Faq'), (32, 'Published FAQ', 0, 0, 'Faq'), (33, 'Open Purchase Orders', 0, 0, 'PurchaseOrder'), (34, 'Received Purchase Orders', 0, 0, 'PurchaseOrder'), (35, 'Open Invoices', 0, 0, 'Invoice'), (36, 'Paid Invoices', 0, 0, 'Invoice'), (37, 'Pending Sales Orders', 0, 0, 'SalesOrder'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_customview_seq` -- DROP TABLE IF EXISTS `vtiger_customview_seq`; CREATE TABLE IF NOT EXISTS `vtiger_customview_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_customview_seq` -- INSERT INTO `vtiger_customview_seq` (`id`) VALUES (37); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_cvadvfilter` -- DROP TABLE IF EXISTS `vtiger_cvadvfilter`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_cvadvfilter` -- INSERT INTO `vtiger_cvadvfilter` (`cvid`, `columnindex`, `columnname`, `comparator`, `value`) VALUES (2, 0, 'vtiger_leaddetails:leadstatus:leadstatus:Leads_Lead_Status:V', 'e', 'Hot'), (5, 0, 'vtiger_account:account_type:accounttype:Accounts_Type:V', 'e', 'Prospect'), (11, 0, 'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V', 'e', 'Closed Won'), (12, 0, 'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V', 'e', 'Prospecting'), (14, 0, 'vtiger_troubletickets:status:ticketstatus:HelpDesk_Status:V', 'n', 'Closed'), (15, 0, 'vtiger_troubletickets:priority:ticketpriorities:HelpDesk_Priority:V', 'e', 'High'), (17, 0, 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V', 'n', 'Accepted'), (17, 1, 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V', 'n', 'Rejected'), (18, 0, 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V', 'e', 'Rejected'), (31, 0, 'vtiger_faq:status:faqstatus:Faq_Status:V', 'e', 'Draft'), (32, 0, 'vtiger_faq:status:faqstatus:Faq_Status:V', 'e', 'Published'), (33, 0, 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V', 'e', 'Created, Approved, Delivered'), (34, 0, 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V', 'e', 'Received Shipment'), (35, 0, 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V', 'e', 'Created, Approved, Sent'), (36, 0, 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V', 'e', 'Paid'), (37, 0, 'vtiger_salesorder:sostatus:sostatus:SalesOrder_Status:V', 'e', 'Created, Approved'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_cvcolumnlist` -- DROP TABLE IF EXISTS `vtiger_cvcolumnlist`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_cvcolumnlist` -- INSERT INTO `vtiger_cvcolumnlist` (`cvid`, `columnindex`, `columnname`) VALUES (1, 0, 'vtiger_leaddetails:lastname:lastname:Leads_Last_Name:V'), (1, 1, 'vtiger_leaddetails:firstname:firstname:Leads_First_Name:V'), (1, 2, 'vtiger_leaddetails:company:company:Leads_Company:V'), (1, 3, 'vtiger_leadaddress:phone:phone:Leads_Phone:V'), (1, 4, 'vtiger_leadsubdetails:website:website:Leads_Website:V'), (1, 5, 'vtiger_leaddetails:email:email:Leads_Email:E'), (1, 6, 'vtiger_crmentity:smownerid:assigned_user_id:Leads_Assigned_To:V'), (2, 0, 'vtiger_leaddetails:firstname:firstname:Leads_First_Name:V'), (2, 1, 'vtiger_leaddetails:lastname:lastname:Leads_Last_Name:V'), (2, 2, 'vtiger_leaddetails:company:company:Leads_Company:V'), (2, 3, 'vtiger_leaddetails:leadsource:leadsource:Leads_Lead_Source:V'), (2, 4, 'vtiger_leadsubdetails:website:website:Leads_Website:V'), (2, 5, 'vtiger_leaddetails:email:email:Leads_Email:E'), (3, 0, 'vtiger_leaddetails:firstname:firstname:Leads_First_Name:V'), (3, 1, 'vtiger_leaddetails:lastname:lastname:Leads_Last_Name:V'), (3, 2, 'vtiger_leaddetails:company:company:Leads_Company:V'), (3, 3, 'vtiger_leaddetails:leadsource:leadsource:Leads_Lead_Source:V'), (3, 4, 'vtiger_leadsubdetails:website:website:Leads_Website:V'), (3, 5, 'vtiger_leaddetails:email:email:Leads_Email:E'), (4, 0, 'vtiger_account:accountname:accountname:Accounts_Account_Name:V'), (4, 1, 'vtiger_accountbillads:bill_city:bill_city:Accounts_City:V'), (4, 2, 'vtiger_account:website:website:Accounts_Website:V'), (4, 3, 'vtiger_account:phone:phone:Accounts_Phone:V'), (4, 4, 'vtiger_crmentity:smownerid:assigned_user_id:Accounts_Assigned_To:V'), (5, 0, 'vtiger_account:accountname:accountname:Accounts_Account_Name:V'), (5, 1, 'vtiger_account:phone:phone:Accounts_Phone:V'), (5, 2, 'vtiger_account:website:website:Accounts_Website:V'), (5, 3, 'vtiger_account:rating:rating:Accounts_Rating:V'), (5, 4, 'vtiger_crmentity:smownerid:assigned_user_id:Accounts_Assigned_To:V'), (6, 0, 'vtiger_account:accountname:accountname:Accounts_Account_Name:V'), (6, 1, 'vtiger_account:phone:phone:Accounts_Phone:V'), (6, 2, 'vtiger_account:website:website:Accounts_Website:V'), (6, 3, 'vtiger_accountbillads:bill_city:bill_city:Accounts_City:V'), (6, 4, 'vtiger_crmentity:smownerid:assigned_user_id:Accounts_Assigned_To:V'), (7, 0, 'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V'), (7, 1, 'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V'), (7, 2, 'vtiger_contactdetails:title:title:Contacts_Title:V'), (7, 3, 'vtiger_account:accountname:accountname:Contacts_Account_Name:V'), (7, 4, 'vtiger_contactdetails:email:email:Contacts_Email:E'), (7, 5, 'vtiger_contactdetails:phone:phone:Contacts_Office_Phone:V'), (7, 6, 'vtiger_crmentity:smownerid:assigned_user_id:Contacts_Assigned_To:V'), (8, 0, 'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V'), (8, 1, 'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V'), (8, 2, 'vtiger_contactaddress:mailingstreet:mailingstreet:Contacts_Mailing_Street:V'), (8, 3, 'vtiger_contactaddress:mailingcity:mailingcity:Contacts_Mailing_City:V'), (8, 4, 'vtiger_contactaddress:mailingstate:mailingstate:Contacts_Mailing_State:V'), (8, 5, 'vtiger_contactaddress:mailingzip:mailingzip:Contacts_Mailing_Zip:V'), (8, 6, 'vtiger_contactaddress:mailingcountry:mailingcountry:Contacts_Mailing_Country:V'), (9, 0, 'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V'), (9, 1, 'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V'), (9, 2, 'vtiger_contactdetails:title:title:Contacts_Title:V'), (9, 3, 'vtiger_account:accountname:accountname:Contacts_Account_Name:V'), (9, 4, 'vtiger_contactdetails:email:email:Contacts_Email:E'), (9, 5, 'vtiger_contactsubdetails:otherphone:otherphone:Contacts_Phone:V'), (9, 6, 'vtiger_crmentity:smownerid:assigned_user_id:Contacts_Assigned_To:V'), (10, 0, 'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V'), (10, 1, 'vtiger_account:accountname:accountname:Potentials_Account_Name:V'), (10, 2, 'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V'), (10, 3, 'vtiger_potential:leadsource:leadsource:Potentials_Lead_Source:V'), (10, 4, 'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D'), (10, 5, 'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V'), (11, 0, 'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V'), (11, 1, 'vtiger_account:accountname:accountname:Potentials_Account_Name:V'), (11, 2, 'vtiger_potential:amount:amount:Potentials_Amount:N'), (11, 3, 'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D'), (11, 4, 'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V'), (12, 0, 'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V'), (12, 1, 'vtiger_account:accountname:accountname:Potentials_Account_Name:V'), (12, 2, 'vtiger_potential:amount:amount:Potentials_Amount:N'), (12, 3, 'vtiger_potential:leadsource:leadsource:Potentials_Lead_Source:V'), (12, 4, 'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D'), (12, 5, 'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V'), (13, 0, 'vtiger_crmentity:crmid::HelpDesk_Ticket_ID:I'), (13, 1, 'vtiger_troubletickets:title:ticket_title:HelpDesk_Title:V'), (13, 2, 'vtiger_troubletickets:parent_id:parent_id:HelpDesk_Related_to:I'), (13, 3, 'vtiger_troubletickets:status:ticketstatus:HelpDesk_Status:V'), (13, 4, 'vtiger_troubletickets:priority:ticketpriorities:HelpDesk_Priority:V'), (13, 5, 'vtiger_crmentity:smownerid:assigned_user_id:HelpDesk_Assigned_To:V'), (14, 0, 'vtiger_troubletickets:title:ticket_title:HelpDesk_Title:V'), (14, 1, 'vtiger_troubletickets:parent_id:parent_id:HelpDesk_Related_to:I'), (14, 2, 'vtiger_troubletickets:priority:ticketpriorities:HelpDesk_Priority:V'), (14, 3, 'vtiger_troubletickets:product_id:product_id:HelpDesk_Product_Name:I'), (14, 4, 'vtiger_crmentity:smownerid:assigned_user_id:HelpDesk_Assigned_To:V'), (15, 0, 'vtiger_troubletickets:title:ticket_title:HelpDesk_Title:V'), (15, 1, 'vtiger_troubletickets:parent_id:parent_id:HelpDesk_Related_to:I'), (15, 2, 'vtiger_troubletickets:status:ticketstatus:HelpDesk_Status:V'), (15, 3, 'vtiger_troubletickets:product_id:product_id:HelpDesk_Product_Name:I'), (15, 4, 'vtiger_crmentity:smownerid:assigned_user_id:HelpDesk_Assigned_To:V'), (16, 0, 'vtiger_crmentity:crmid::Quotes_Quote_No:I'), (16, 1, 'vtiger_quotes:subject:subject:Quotes_Subject:V'), (16, 2, 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V'), (16, 3, 'vtiger_quotes:potentialid:potential_id:Quotes_Potential_Name:I'), (16, 4, 'vtiger_account:accountname:accountname:Quotes_Account_Name:V'), (16, 5, 'vtiger_quotes:total:hdnGrandTotal:Quotes_Total:I'), (16, 6, 'vtiger_crmentity:smownerid:assigned_user_id:Quotes_Assigned_To:V'), (17, 0, 'vtiger_quotes:subject:subject:Quotes_Subject:V'), (17, 1, 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V'), (17, 2, 'vtiger_quotes:potentialid:potential_id:Quotes_Potential_Name:I'), (17, 3, 'vtiger_account:accountname:accountname:Quotes_Account_Name:V'), (17, 4, 'vtiger_quotes:validtill:validtill:Quotes_Valid_Till:D'), (17, 5, 'vtiger_crmentity:smownerid:assigned_user_id:Quotes_Assigned_To:V'), (18, 0, 'vtiger_quotes:subject:subject:Quotes_Subject:V'), (18, 1, 'vtiger_quotes:potentialid:potential_id:Quotes_Potential_Name:I'), (18, 2, 'vtiger_account:accountname:accountname:Quotes_Account_Name:V'), (18, 3, 'vtiger_quotes:validtill:validtill:Quotes_Valid_Till:D'), (18, 4, 'vtiger_crmentity:smownerid:assigned_user_id:Quotes_Assigned_To:V'), (19, 0, 'vtiger_activity:status:taskstatus:Calendar_Status:V'), (19, 1, 'vtiger_activity:activitytype:activitytype:Calendar_Type:V'), (19, 2, 'vtiger_activity:subject:subject:Calendar_Subject:V'), (19, 3, 'vtiger_seactivityrel:crmid:parent_id:Calendar_Related_to:V'), (19, 4, 'vtiger_activity:date_start:date_start:Calendar_Start_Date:D'), (19, 5, 'vtiger_activity:due_date:due_date:Calendar_End_Date:D'), (19, 6, 'vtiger_crmentity:smownerid:assigned_user_id:Calendar_Assigned_To:V'), (20, 0, 'vtiger_activity:subject:subject:Emails_Subject:V'), (20, 1, 'vtiger_crmentity:smownerid:assigned_user_id:Emails_Sender:V'), (20, 2, 'vtiger_activity:date_start:date_start:Emails_Date_Sent:D'), (21, 0, 'vtiger_invoice:invoice_no:invoice_no:Invoice_Invoice_No:V'), (21, 1, 'vtiger_invoice:subject:subject:Invoice_Subject:V'), (21, 2, 'vtiger_invoice:salesorderid:salesorder_id:Invoice_Sales_Order:I'), (21, 3, 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V'), (21, 4, 'vtiger_invoice:total:hdnGrandTotal:Invoice_Total:I'), (21, 5, 'vtiger_crmentity:smownerid:assigned_user_id:Invoice_Assigned_To:V'), (22, 0, 'vtiger_notes:title:notes_title:Notes_Title:V'), (22, 1, 'vtiger_contactdetails:lastname:lastname:Notes_Contact_Name:V'), (22, 2, 'vtiger_senotesrel:crmid:parent_id:Notes_Related_to:I'), (22, 3, 'vtiger_notes:filename:filename:Notes_File:V'), (22, 4, 'vtiger_crmentity:modifiedtime:modifiedtime:Notes_Modified_Time:V'), (23, 0, 'vtiger_pricebook:bookname:bookname:PriceBooks_Price_Book_Name:V'), (23, 1, 'vtiger_pricebook:active:active:PriceBooks_Active:V'), (24, 0, 'vtiger_products:productname:productname:Products_Product_Name:V'), (24, 1, 'vtiger_products:productcode:productcode:Products_Product_Code:V'), (24, 2, 'vtiger_products:commissionrate:commissionrate:Products_Commission_Rate:V'), (24, 3, 'vtiger_products:qtyinstock:qtyinstock:Products_Quantity_In_Stock:V'), (24, 4, 'vtiger_products:qty_per_unit:qty_per_unit:Products_Qty/Unit:V'), (24, 5, 'vtiger_products:unit_price:unit_price:Products_Unit_Price:V'), (25, 0, 'vtiger_crmentity:crmid::PurchaseOrder_Order_No:I'), (25, 1, 'vtiger_purchaseorder:subject:subject:PurchaseOrder_Subject:V'), (25, 2, 'vtiger_purchaseorder:vendorid:vendor_id:PurchaseOrder_Vendor_Name:I'), (25, 3, 'vtiger_purchaseorder:tracking_no:tracking_no:PurchaseOrder_Tracking_Number:V'), (25, 4, 'vtiger_crmentity:smownerid:assigned_user_id:PurchaseOrder_Assigned_To:V'), (26, 0, 'vtiger_crmentity:crmid::SalesOrder_Order_No:I'), (26, 1, 'vtiger_salesorder:subject:subject:SalesOrder_Subject:V'), (26, 2, 'vtiger_account:accountname:accountname:SalesOrder_Account_Name:V'), (26, 3, 'vtiger_quotes:quoteid:quote_id:SalesOrder_Quote_Name:I'), (26, 4, 'vtiger_salesorder:total:hdnGrandTotal:SalesOrder_Total:V'), (26, 5, 'vtiger_crmentity:smownerid:assigned_user_id:SalesOrder_Assigned_To:V'), (27, 0, 'vtiger_vendor:vendorname:vendorname:Vendors_Vendor_Name:V'), (27, 1, 'vtiger_vendor:phone:phone:Vendors_Phone:V'), (27, 2, 'vtiger_vendor:email:email:Vendors_Email:E'), (27, 3, 'vtiger_vendor:category:category:Vendors_Category:V'), (28, 0, 'vtiger_faq:id::Faq_FAQ_Id:I'), (28, 1, 'vtiger_faq:question:question:Faq_Question:V'), (28, 2, 'vtiger_faq:category:faqcategories:Faq_Category:V'), (28, 3, 'vtiger_faq:product_id:product_id:Faq_Product_Name:I'), (28, 4, 'vtiger_crmentity:createdtime:createdtime:Faq_Created_Time:D'), (28, 5, 'vtiger_crmentity:modifiedtime:modifiedtime:Faq_Modified_Time:D'), (29, 0, 'vtiger_campaign:campaignname:campaignname:Campaigns_Campaign_Name:V'), (29, 1, 'vtiger_campaign:campaigntype:campaigntype:Campaigns_Campaign_Type:N'), (29, 2, 'vtiger_campaign:campaignstatus:campaignstatus:Campaigns_Campaign_Status:N'), (29, 3, 'vtiger_campaign:expectedrevenue:expectedrevenue:Campaigns_Expected_Revenue:V'), (29, 4, 'vtiger_campaign:closingdate:closingdate:Campaigns_Expected_Close_Date:D'), (29, 5, 'vtiger_crmentity:smownerid:assigned_user_id:Campaigns_Assigned_To:V'), (30, 0, 'subject:subject:subject:Subject:V'), (30, 1, 'from:fromname:fromname:From:N'), (30, 2, 'to:tpname:toname:To:N'), (30, 3, 'body:body:body:Body:V'), (31, 0, 'vtiger_faq:question:question:Faq_Question:V'), (31, 1, 'vtiger_faq:status:faqstatus:Faq_Status:V'), (31, 2, 'vtiger_faq:product_id:product_id:Faq_Product_Name:I'), (31, 3, 'vtiger_faq:category:faqcategories:Faq_Category:V'), (31, 4, 'vtiger_crmentity:createdtime:createdtime:Faq_Created_Time:T'), (32, 0, 'vtiger_faq:question:question:Faq_Question:V'), (32, 1, 'vtiger_faq:answer:faq_answer:Faq_Answer:V'), (32, 2, 'vtiger_faq:status:faqstatus:Faq_Status:V'), (32, 3, 'vtiger_faq:product_id:product_id:Faq_Product_Name:I'), (32, 4, 'vtiger_faq:category:faqcategories:Faq_Category:V'), (32, 5, 'vtiger_crmentity:createdtime:createdtime:Faq_Created_Time:T'), (33, 0, 'vtiger_purchaseorder:subject:subject:PurchaseOrder_Subject:V'), (33, 1, 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V'), (33, 2, 'vtiger_purchaseorder:vendorid:vendor_id:PurchaseOrder_Vendor_Name:I'), (33, 3, 'vtiger_crmentity:smownerid:assigned_user_id:PurchaseOrder_Assigned_To:V'), (33, 4, 'vtiger_purchaseorder:duedate:duedate:PurchaseOrder_Due_Date:V'), (34, 0, 'vtiger_purchaseorder:subject:subject:PurchaseOrder_Subject:V'), (34, 1, 'vtiger_purchaseorder:vendorid:vendor_id:PurchaseOrder_Vendor_Name:I'), (34, 2, 'vtiger_crmentity:smownerid:assigned_user_id:PurchaseOrder_Assigned_To:V'), (34, 3, 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V'), (34, 4, 'vtiger_purchaseorder:carrier:carrier:PurchaseOrder_Carrier:V'), (34, 5, 'vtiger_poshipads:ship_street:ship_street:PurchaseOrder_Shipping_Address:V'), (35, 0, 'vtiger_invoice:invoice_no:invoice_no:Invoice_Invoice_No:V'), (35, 1, 'vtiger_invoice:subject:subject:Invoice_Subject:V'), (35, 2, 'vtiger_account:accountname:accountname:Invoice_Account_Name:V'), (35, 3, 'vtiger_invoice:salesorderid:salesorder_id:Invoice_Sales_Order:I'), (35, 4, 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V'), (35, 5, 'vtiger_crmentity:smownerid:assigned_user_id:Invoice_Assigned_To:V'), (35, 6, 'vtiger_crmentity:createdtime:createdtime:Invoice_Created_Time:T'), (36, 0, 'vtiger_invoice:invoice_no:invoice_no:Invoice_Invoice_No:V'), (36, 1, 'vtiger_invoice:subject:subject:Invoice_Subject:V'), (36, 2, 'vtiger_account:accountname:accountname:Invoice_Account_Name:V'), (36, 3, 'vtiger_invoice:salesorderid:salesorder_id:Invoice_Sales_Order:I'), (36, 4, 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V'), (36, 5, 'vtiger_invoiceshipads:ship_street:ship_street:Invoice_Shipping_Address:V'), (36, 6, 'vtiger_crmentity:smownerid:assigned_user_id:Invoice_Assigned_To:V'), (37, 0, 'vtiger_salesorder:subject:subject:SalesOrder_Subject:V'), (37, 1, 'vtiger_account:accountname:accountname:SalesOrder_Account_Name:V'), (37, 2, 'vtiger_salesorder:sostatus:sostatus:SalesOrder_Status:V'), (37, 3, 'vtiger_crmentity:smownerid:assigned_user_id:SalesOrder_Assigned_To:V'), (37, 4, 'vtiger_soshipads:ship_street:ship_street:SalesOrder_Shipping_Address:V'), (37, 5, 'vtiger_salesorder:carrier:carrier:SalesOrder_Carrier:V'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_cvstdfilter` -- DROP TABLE IF EXISTS `vtiger_cvstdfilter`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_cvstdfilter` -- INSERT INTO `vtiger_cvstdfilter` (`cvid`, `columnname`, `stdfilter`, `startdate`, `enddate`) VALUES (3, 'vtiger_crmentity:modifiedtime:modifiedtime:Leads_Modified_Time', 'thismonth', '2005-06-01', '2005-06-30'), (6, 'vtiger_crmentity:createdtime:createdtime:Accounts_Created_Time', 'thisweek', '2005-06-19', '2005-06-25'), (9, 'vtiger_contactsubdetails:birthday:birthday:Contacts_Birthdate', 'today', '2005-06-25', '2005-06-25'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_grp2grp` -- DROP TABLE IF EXISTS `vtiger_datashare_grp2grp`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_grp2grp` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_grp2role` -- DROP TABLE IF EXISTS `vtiger_datashare_grp2role`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_grp2role` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_grp2rs` -- DROP TABLE IF EXISTS `vtiger_datashare_grp2rs`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_grp2rs` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_module_rel` -- DROP TABLE IF EXISTS `vtiger_datashare_module_rel`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_module_rel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_relatedmodule_permission` -- DROP TABLE IF EXISTS `vtiger_datashare_relatedmodule_permission`; CREATE TABLE IF NOT EXISTS `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` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_relatedmodules` -- DROP TABLE IF EXISTS `vtiger_datashare_relatedmodules`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_relatedmodules` -- INSERT INTO `vtiger_datashare_relatedmodules` (`datashare_relatedmodule_id`, `tabid`, `relatedto_tabid`) VALUES (1, 6, 2), (2, 6, 13), (3, 6, 20), (4, 6, 22), (5, 6, 23), (6, 2, 20), (7, 2, 22), (8, 20, 22), (9, 22, 23); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_relatedmodules_seq` -- DROP TABLE IF EXISTS `vtiger_datashare_relatedmodules_seq`; CREATE TABLE IF NOT EXISTS `vtiger_datashare_relatedmodules_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_relatedmodules_seq` -- INSERT INTO `vtiger_datashare_relatedmodules_seq` (`id`) VALUES (9); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_role2group` -- DROP TABLE IF EXISTS `vtiger_datashare_role2group`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_role2group` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_role2role` -- DROP TABLE IF EXISTS `vtiger_datashare_role2role`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_role2role` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_role2rs` -- DROP TABLE IF EXISTS `vtiger_datashare_role2rs`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_role2rs` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_rs2grp` -- DROP TABLE IF EXISTS `vtiger_datashare_rs2grp`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_rs2grp` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_rs2role` -- DROP TABLE IF EXISTS `vtiger_datashare_rs2role`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_rs2role` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_datashare_rs2rs` -- DROP TABLE IF EXISTS `vtiger_datashare_rs2rs`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_datashare_rs2rs` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_date_format` -- DROP TABLE IF EXISTS `vtiger_date_format`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_date_format` -- INSERT INTO `vtiger_date_format` (`date_formatid`, `date_format`, `sortorderid`, `presence`) VALUES (1, 'dd-mm-yyyy', 0, 1), (2, 'mm-dd-yyyy', 1, 1), (3, 'yyyy-mm-dd', 2, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_date_format_seq` -- DROP TABLE IF EXISTS `vtiger_date_format_seq`; CREATE TABLE IF NOT EXISTS `vtiger_date_format_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_date_format_seq` -- INSERT INTO `vtiger_date_format_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_dealintimation` -- DROP TABLE IF EXISTS `vtiger_dealintimation`; CREATE TABLE IF NOT EXISTS `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` -- DROP TABLE IF EXISTS `vtiger_def_org_field`; CREATE TABLE IF NOT EXISTS `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` (`tabid`, `fieldid`, `visible`, `readonly`) VALUES (6, 1, 0, 1), (6, 2, 0, 1), (6, 3, 0, 1), (6, 4, 0, 1), (6, 5, 0, 1), (6, 6, 0, 1), (6, 7, 0, 1), (6, 8, 0, 1), (6, 9, 0, 1), (6, 10, 0, 1), (6, 11, 0, 1), (6, 12, 0, 1), (6, 13, 0, 1), (6, 14, 0, 1), (6, 15, 0, 1), (6, 16, 0, 1), (6, 17, 0, 1), (6, 18, 0, 1), (6, 19, 0, 1), (6, 20, 0, 1), (6, 21, 0, 1), (6, 22, 0, 1), (6, 23, 0, 1), (6, 24, 0, 1), (6, 25, 0, 1), (6, 26, 0, 1), (6, 27, 0, 1), (6, 28, 0, 1), (6, 29, 0, 1), (6, 30, 0, 1), (6, 31, 0, 1), (6, 32, 0, 1), (6, 33, 0, 1), (6, 34, 0, 1), (7, 35, 0, 1), (7, 36, 0, 1), (7, 37, 0, 1), (7, 38, 0, 1), (7, 39, 0, 1), (7, 40, 0, 1), (7, 41, 0, 1), (7, 42, 0, 1), (7, 43, 0, 1), (7, 44, 0, 1), (7, 45, 0, 1), (7, 46, 0, 1), (7, 47, 0, 1), (7, 48, 0, 1), (7, 49, 0, 1), (7, 50, 0, 1), (7, 51, 0, 1), (7, 52, 0, 1), (7, 53, 0, 1), (7, 54, 0, 1), (7, 55, 0, 1), (7, 56, 0, 1), (7, 57, 0, 1), (7, 58, 0, 1), (7, 59, 0, 1), (7, 60, 0, 1), (7, 61, 0, 1), (4, 62, 0, 1), (4, 63, 0, 1), (4, 64, 0, 1), (4, 65, 0, 1), (4, 66, 0, 1), (4, 67, 0, 1), (4, 68, 0, 1), (4, 69, 0, 1), (4, 70, 0, 1), (4, 71, 0, 1), (4, 72, 0, 1), (4, 73, 0, 1), (4, 74, 0, 1), (4, 75, 0, 1), (4, 76, 0, 1), (4, 77, 0, 1), (4, 78, 0, 1), (4, 79, 0, 1), (4, 80, 0, 1), (4, 81, 0, 1), (4, 82, 0, 1), (4, 83, 0, 1), (4, 84, 0, 1), (4, 85, 0, 1), (4, 86, 0, 1), (4, 87, 0, 1), (4, 88, 0, 1), (4, 89, 0, 1), (4, 90, 0, 1), (4, 91, 0, 1), (4, 92, 0, 1), (4, 93, 0, 1), (4, 94, 0, 1), (4, 95, 0, 1), (4, 96, 0, 1), (4, 97, 0, 1), (4, 98, 0, 1), (4, 99, 0, 1), (4, 100, 0, 1), (4, 101, 0, 1), (4, 102, 0, 1), (4, 103, 0, 1), (2, 104, 0, 1), (2, 105, 0, 1), (2, 106, 0, 1), (2, 107, 0, 1), (2, 108, 0, 1), (2, 109, 0, 1), (2, 110, 0, 1), (2, 111, 0, 1), (2, 112, 0, 1), (2, 113, 0, 1), (2, 114, 0, 1), (2, 115, 0, 1), (2, 116, 0, 1), (2, 117, 0, 1), (26, 118, 0, 1), (26, 119, 0, 1), (26, 120, 0, 1), (26, 121, 0, 1), (26, 122, 0, 1), (26, 123, 0, 1), (26, 124, 0, 1), (26, 125, 0, 1), (26, 126, 0, 1), (26, 127, 0, 1), (26, 128, 0, 1), (26, 129, 0, 1), (26, 130, 0, 1), (26, 131, 0, 1), (26, 132, 0, 1), (26, 133, 0, 1), (26, 134, 0, 1), (26, 135, 0, 1), (26, 136, 0, 1), (26, 137, 0, 1), (26, 138, 0, 1), (26, 139, 0, 1), (26, 140, 0, 1), (13, 141, 0, 1), (13, 142, 0, 1), (13, 143, 0, 1), (13, 144, 0, 1), (13, 145, 0, 1), (13, 146, 0, 1), (13, 147, 0, 1), (13, 148, 0, 1), (13, 149, 0, 1), (13, 150, 0, 1), (13, 151, 0, 1), (13, 152, 0, 1), (13, 153, 0, 1), (13, 154, 0, 1), (13, 155, 0, 1), (14, 156, 0, 1), (14, 157, 0, 1), (14, 158, 0, 1), (14, 159, 0, 1), (14, 160, 0, 1), (14, 161, 0, 1), (14, 162, 0, 1), (14, 163, 0, 1), (14, 164, 0, 1), (14, 165, 0, 1), (14, 166, 0, 1), (14, 167, 0, 1), (14, 168, 0, 1), (14, 169, 0, 1), (14, 170, 0, 1), (14, 171, 0, 1), (14, 172, 0, 1), (14, 173, 0, 1), (14, 174, 0, 1), (14, 175, 0, 1), (14, 176, 0, 1), (14, 177, 0, 1), (14, 178, 0, 1), (14, 179, 0, 1), (14, 180, 0, 1), (14, 181, 0, 1), (14, 182, 0, 1), (14, 183, 0, 1), (14, 184, 0, 1), (8, 185, 0, 1), (8, 186, 0, 1), (8, 187, 0, 1), (8, 188, 0, 1), (8, 189, 0, 1), (8, 190, 0, 1), (8, 191, 0, 1), (10, 192, 0, 1), (10, 193, 0, 1), (10, 194, 0, 1), (10, 195, 0, 1), (10, 196, 0, 1), (10, 197, 0, 1), (10, 198, 0, 1), (10, 199, 0, 1), (10, 200, 0, 1), (10, 201, 0, 1), (10, 202, 0, 1), (9, 203, 0, 1), (9, 204, 0, 1), (9, 205, 0, 1), (9, 206, 0, 1), (9, 207, 0, 1), (9, 208, 0, 1), (9, 209, 0, 1), (9, 210, 0, 1), (9, 211, 0, 1), (9, 212, 0, 1), (9, 213, 0, 1), (9, 214, 0, 1), (9, 215, 0, 1), (9, 216, 0, 1), (9, 217, 0, 1), (9, 218, 0, 1), (9, 219, 0, 1), (9, 220, 0, 1), (9, 221, 0, 1), (9, 222, 0, 1), (9, 223, 0, 1), (9, 224, 0, 1), (9, 225, 0, 1), (16, 226, 0, 1), (16, 227, 0, 1), (16, 228, 0, 1), (16, 229, 0, 1), (16, 230, 0, 1), (16, 231, 0, 1), (16, 232, 0, 1), (16, 233, 0, 1), (16, 234, 0, 1), (16, 235, 0, 1), (16, 236, 0, 1), (16, 237, 0, 1), (16, 238, 0, 1), (16, 239, 0, 1), (16, 240, 0, 1), (16, 241, 0, 1), (16, 242, 0, 1), (16, 243, 0, 1), (16, 244, 0, 1), (16, 245, 0, 1), (16, 246, 0, 1), (15, 247, 0, 1), (15, 248, 0, 1), (15, 249, 0, 1), (15, 250, 0, 1), (15, 251, 0, 1), (15, 252, 0, 1), (15, 253, 0, 1), (15, 254, 0, 1), (18, 255, 0, 1), (18, 256, 0, 1), (18, 257, 0, 1), (18, 258, 0, 1), (18, 259, 0, 1), (18, 260, 0, 1), (18, 261, 0, 1), (18, 262, 0, 1), (18, 263, 0, 1), (18, 264, 0, 1), (18, 265, 0, 1), (18, 266, 0, 1), (18, 267, 0, 1), (18, 268, 0, 1), (18, 269, 0, 1), (19, 270, 0, 1), (19, 271, 0, 1), (19, 272, 0, 1), (19, 273, 0, 1), (19, 274, 0, 1), (20, 275, 0, 1), (20, 276, 0, 1), (20, 277, 0, 1), (20, 278, 0, 1), (20, 279, 0, 1), (20, 280, 0, 1), (20, 281, 0, 1), (20, 282, 0, 1), (20, 283, 0, 1), (20, 284, 0, 1), (20, 285, 0, 1), (20, 286, 0, 1), (20, 287, 0, 1), (20, 288, 0, 1), (20, 289, 0, 1), (20, 290, 0, 1), (20, 291, 0, 1), (20, 292, 0, 1), (20, 293, 0, 1), (20, 294, 0, 1), (20, 295, 0, 1), (20, 296, 0, 1), (20, 297, 0, 1), (20, 298, 0, 1), (20, 299, 0, 1), (20, 300, 0, 1), (20, 301, 0, 1), (20, 302, 0, 1), (20, 303, 0, 1), (20, 304, 0, 1), (20, 305, 0, 1), (20, 306, 0, 1), (20, 307, 0, 1), (21, 308, 0, 1), (21, 309, 0, 1), (21, 310, 0, 1), (21, 311, 0, 1), (21, 312, 0, 1), (21, 313, 0, 1), (21, 314, 0, 1), (21, 315, 0, 1), (21, 316, 0, 1), (21, 317, 0, 1), (21, 318, 0, 1), (21, 319, 0, 1), (21, 320, 0, 1), (21, 321, 0, 1), (21, 322, 0, 1), (21, 323, 0, 1), (21, 324, 0, 1), (21, 325, 0, 1), (21, 326, 0, 1), (21, 327, 0, 1), (21, 328, 0, 1), (21, 329, 0, 1), (21, 330, 0, 1), (21, 331, 0, 1), (21, 332, 0, 1), (21, 333, 0, 1), (21, 334, 0, 1), (21, 335, 0, 1), (21, 336, 0, 1), (21, 337, 0, 1), (21, 338, 0, 1), (21, 339, 0, 1), (21, 340, 0, 1), (21, 341, 0, 1), (22, 342, 0, 1), (22, 343, 0, 1), (22, 344, 0, 1), (22, 345, 0, 1), (22, 346, 0, 1), (22, 347, 0, 1), (22, 348, 0, 1), (22, 349, 0, 1), (22, 350, 0, 1), (22, 351, 0, 1), (22, 352, 0, 1), (22, 353, 0, 1), (22, 354, 0, 1), (22, 355, 0, 1), (22, 356, 0, 1), (22, 357, 0, 1), (22, 358, 0, 1), (22, 359, 0, 1), (22, 360, 0, 1), (22, 361, 0, 1), (22, 362, 0, 1), (22, 363, 0, 1), (22, 364, 0, 1), (22, 365, 0, 1), (22, 366, 0, 1), (22, 367, 0, 1), (22, 368, 0, 1), (22, 369, 0, 1), (22, 370, 0, 1), (22, 371, 0, 1), (22, 372, 0, 1), (22, 373, 0, 1), (22, 374, 0, 1), (22, 375, 0, 1), (22, 376, 0, 1), (22, 377, 0, 1), (22, 378, 0, 1), (23, 379, 0, 1), (23, 380, 0, 1), (23, 381, 0, 1), (23, 382, 0, 1), (23, 383, 0, 1), (23, 384, 0, 1), (23, 385, 0, 1), (23, 386, 0, 1), (23, 387, 0, 1), (23, 388, 0, 1), (23, 389, 0, 1), (23, 390, 0, 1), (23, 391, 0, 1), (23, 392, 0, 1), (23, 393, 0, 1), (23, 394, 0, 1), (23, 395, 0, 1), (23, 396, 0, 1), (23, 397, 0, 1), (23, 398, 0, 1), (23, 399, 0, 1), (23, 400, 0, 1), (23, 401, 0, 1), (23, 402, 0, 1), (23, 403, 0, 1), (23, 404, 0, 1), (23, 405, 0, 1), (23, 406, 0, 1), (23, 407, 0, 1), (23, 408, 0, 1), (23, 409, 0, 1), (23, 410, 0, 1), (23, 411, 0, 1), (23, 412, 0, 1), (23, 413, 0, 1), (23, 414, 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_def_org_share` -- DROP TABLE IF EXISTS `vtiger_def_org_share`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; -- -- Dumping data for table `vtiger_def_org_share` -- INSERT INTO `vtiger_def_org_share` (`ruleid`, `tabid`, `permission`, `editstatus`) VALUES (1, 2, 2, 0), (2, 4, 2, 2), (3, 6, 2, 0), (4, 7, 2, 0), (5, 9, 3, 1), (6, 13, 2, 0), (7, 16, 3, 2), (8, 20, 2, 0), (9, 21, 2, 0), (10, 22, 2, 0), (11, 23, 2, 0), (12, 26, 2, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_def_org_share_seq` -- DROP TABLE IF EXISTS `vtiger_def_org_share_seq`; CREATE TABLE IF NOT EXISTS `vtiger_def_org_share_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_def_org_share_seq` -- INSERT INTO `vtiger_def_org_share_seq` (`id`) VALUES (12); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_defaultcv` -- DROP TABLE IF EXISTS `vtiger_defaultcv`; CREATE TABLE IF NOT EXISTS `vtiger_defaultcv` ( `tabid` int(19) NOT NULL, `defaultviewname` varchar(50) NOT NULL, `query` text, PRIMARY KEY (`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_defaultcv` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_downloadpurpose` -- DROP TABLE IF EXISTS `vtiger_downloadpurpose`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_downloadpurpose` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_duration_minutes` -- DROP TABLE IF EXISTS `vtiger_duration_minutes`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_duration_minutes` -- INSERT INTO `vtiger_duration_minutes` (`minutesid`, `duration_minutes`, `sortorderid`, `presence`) VALUES (1, '00', 0, 1), (2, '15', 1, 1), (3, '30', 2, 1), (4, '45', 3, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_duration_minutes_seq` -- DROP TABLE IF EXISTS `vtiger_duration_minutes_seq`; CREATE TABLE IF NOT EXISTS `vtiger_duration_minutes_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_duration_minutes_seq` -- INSERT INTO `vtiger_duration_minutes_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_durationhrs` -- DROP TABLE IF EXISTS `vtiger_durationhrs`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_durationhrs` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_durationmins` -- DROP TABLE IF EXISTS `vtiger_durationmins`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_durationmins` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_emaildetails` -- DROP TABLE IF EXISTS `vtiger_emaildetails`; CREATE TABLE IF NOT EXISTS `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` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_emailtemplates` -- DROP TABLE IF EXISTS `vtiger_emailtemplates`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=13 ; -- -- Dumping data for table `vtiger_emailtemplates` -- INSERT INTO `vtiger_emailtemplates` (`foldername`, `templatename`, `subject`, `description`, `body`, `deleted`, `templateid`) VALUES ('Public', 'Announcement for Release', 'Announcement for Release', 'Announcement of a release', 'Hello!
\r\n
\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.
\r\n
\r\n Notable Features of vtiger are :
\r\n
\r\n -Email Client Integration
\r\n -Trouble Ticket Integration
\r\n -Invoice Management Integration
\r\n -Reports Integration
\r\n -Portal Integration
\r\n -Enhanced Word Plugin Support
\r\n -Custom View Integration
\r\n
\r\n Known Issues:
\r\n -ABCD
\r\n -EFGH
\r\n -IJKL
\r\n -MNOP
\r\n -QRST', 0, 1), ('Public', 'Pending Invoices', 'Invoices Pending', 'Payment Due', 'name
\r\nstreet,
\r\ncity,
\r\nstate,
\r\n zip)
\r\n
\r\n Dear
\r\n
\r\n Please check the following invoices that are yet to be paid by you:
\r\n
\r\n No. Date Amount
\r\n 1 1/1/01 $4000
\r\n 2 2/2//01 $5000
\r\n 3 3/3/01 $10000
\r\n 4 7/4/01 $23560
\r\n
\r\n Kindly let us know if there are any issues that you feel are pending to be discussed.
\r\n We will be more than happy to give you a call.
\r\n We would like to continue our business with you.', 0, 2), ('Public', 'Acceptance Proposal', 'Acceptance Proposal', 'Acceptance of Proposal', ' Dear
\r\n
\r\nYour proposal on the project XYZW has been reviewed by us
\r\nand is acceptable in its entirety.
\r\n
\r\nWe are eagerly looking forward to this project
\r\nand are pleased about having the opportunity to work
\r\ntogether. We look forward to a long standing relationship
\r\nwith your esteemed firm.
\r\n
\r\nI would like to take this opportunity to invite you
\r\nto a game of golf on Wednesday morning 9am at the
\r\nCuff Links Ground. We will be waiting for you in the
\r\nExecutive Lounge.
\r\n
\r\nLooking forward to seeing you there.', 0, 3), ('Public', 'Goods received acknowledgement', 'Goods received acknowledgement', 'Acknowledged Receipt of Goods', ' The undersigned hereby acknowledges receipt and delivery of the goods.
\r\nThe undersigned will release the payment subject to the goods being discovered not satisfactory.
\r\n
\r\nSigned under seal this ', 0, 4), ('Public', 'Accept Order', 'Accept Order', 'Acknowledgement/Acceptance of Order', ' Dear
\r\n We are in receipt of your order as contained in the
\r\n purchase order form.We consider this to be final and binding on both sides.
\r\nIf there be any exceptions noted, we shall consider them
\r\nonly if the objection is received within ten days of receipt of
\r\nthis notice.
\r\n
\r\nThank you for your patronage.', 0, 5), ('Public', 'Address Change', 'Change of Address', 'Address Change', 'Dear
\r\n
\r\nWe are relocating our office to
\r\n11111,XYZDEF Cross,
\r\nUVWWX Circle
\r\nThe telephone number for this new location is (101) 1212-1328.
\r\n
\r\nOur Manufacturing Division will continue operations
\r\nat 3250 Lovedale Square Avenue, in Frankfurt.
\r\n
\r\nWe hope to keep in touch with you all.
\r\nPlease update your addressbooks.', 0, 6), ('Public', 'Follow Up', 'Follow Up', 'Follow Up of meeting', 'Dear
\r\n
\r\nThank you for extending us the opportunity to meet with
\r\nyou and members of your staff.
\r\n
\r\nI know that John Doe serviced your account
\r\nfor many years and made many friends at your firm. He has personally
\r\ndiscussed with me the deep relationship that he had with your firm.
\r\nWhile his presence will be missed, I can promise that we will
\r\ncontinue to provide the fine service that was accorded by
\r\nJohn to your firm.
\r\n
\r\nI was genuinely touched to receive such fine hospitality.
\r\n
\r\nThank you once again.', 0, 7), ('Public', 'Target Crossed!', 'Target Crossed!', 'Fantastic Sales Spree!', 'Congratulations!
\r\n
\r\nThe numbers are in and I am proud to inform you that our
\r\ntotal sales for the previous quarter
\r\namounts to $100,000,00.00!. This is the first time
\r\nwe have exceeded the target by almost 30%.
\r\nWe have also beat the previous quarter record by a
\r\nwhopping 75%!
\r\n
\r\nLet us meet at Smoking Joe for a drink in the evening!
\r\n\r\nC you all there guys!', 0, 8), ('Public', 'Thanks Note', 'Thanks Note', 'Note of thanks', 'Dear
\r\n
\r\nThank you for your confidence in our ability to serve you.
\r\nWe are glad to be given the chance to serve you.I look
\r\nforward to establishing a long term partnership with you.
\r\nConsider me as a friend.
\r\nShould any need arise,please do give us a call.', 0, 9), ('Public', 'Customer Login Details', 'Customer Portal Login Details', 'Send Portal login details to customer', '\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
$logo$
vtiger CRM
The honest Open Source CRM
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Dear $contact_name$,
Thank you very much for subscribing to the vtiger CRM - annual support service.
Here is your self service portal login details:
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

User ID : $login_name$
Password: $password$
$URL$
\r\n
NOTE: We suggest you to change your password after logging in first time.

Help Documentation

After logging in to vtiger Self-service Portal first time, you can access the vtiger CRM documents from the Documents tab. Following documents are available for your reference:
\r\n
    \r\n
  • Installation Manual (Windows & Linux OS)
  • \r\n
  • User & Administrator Manual
  • \r\n
  • vtiger Customer Portal - User Manual
  • \r\n
  • vtiger Outlook Plugin - User Manual
  • \r\n
  • vtiger Office Plug-in - User Manual
  • \r\n
  • vtiger Thunderbird Extension - User Manual
  • \r\n
  • vtiger Web Forms - User Manual
  • \r\n
  • vtiger Firefox Tool bar - User Manual
  • \r\n
\r\n

Knowledge Base

Periodically we update frequently asked question based on our customer experiences. You can access the latest articles from the FAQ tab.

vtiger CRM - Details

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 & upgrade patches.

Thank you once again and wish you a wonderful experience with vtiger CRM.


Best Regards
$support_team$
www.vtiger.com
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Shree Narayana Complex, No 11 Sarathy Nagar, Vijaya Nagar , Velachery, Chennai - 600 042 India
Telephone No: +91 - 44 - 4202 - 1990 Toll Free No: +1 877 788 4437
Email Id: support@vtiger.com
\r\n
\r\n
', 0, 10), ('Public', 'Support end notification before a week', 'VtigerCRM Support Notification', 'Send Notification mail to customer before a week of support end date', '\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
$logo$
vtiger CRM
The honest Open Source CRM
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Dear $contacts-lastname$,
This is just a notification mail regarding your support end.
Priority: Urgent
Your Support is going to expire on next week
Please contact support@vtiger.com.





Sincerly
Support Team
www.vtiger.com
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Shree Narayana Complex, No 11 Sarathy Nagar, Vijaya Nagar , Velachery, Chennai - 600 042 India
Telephone No: +91 - 44 - 4202 - 1990 Toll Free No: +1 877 788 4437
Email Id: info@vtiger.com
\r\n
\r\n
', 0, 11), ('Public', 'Support end notification before a month', 'VtigerCRM Support Notification', 'Send Notification mail to customer before a month of support end date', '\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
$logo$
vtiger CRM
The honest Open Source CRM
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Dear $contacts-lastname$,
This is just a notification mail regarding your support end.
Priority: Normal
Your Support is going to expire on next month.
Please contact support@vtiger.com





Sincerly
Support Team
www.vtiger.com
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Shree Narayana Complex, No 11 Sarathy Nagar, Vijaya Nagar , Velachery, Chennai - 600 042 India
Telephone No: +91 - 44 - 4202 - 1990 Toll Free No: +1 877 788 4437
Email Id: info@vtiger.com
\r\n
\r\n
', 0, 12); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_emailtemplates_seq` -- DROP TABLE IF EXISTS `vtiger_emailtemplates_seq`; CREATE TABLE IF NOT EXISTS `vtiger_emailtemplates_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_emailtemplates_seq` -- INSERT INTO `vtiger_emailtemplates_seq` (`id`) VALUES (12); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_entityname` -- DROP TABLE IF EXISTS `vtiger_entityname`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_entityname` -- INSERT INTO `vtiger_entityname` (`tabid`, `modulename`, `tablename`, `fieldname`, `entityidfield`, `entityidcolumn`) VALUES (2, 'Potentials', 'vtiger_potential', 'potentialname', 'potentialid', 'potential_id'), (4, 'Contacts', 'vtiger_contactdetails', 'lastname,firstname', 'contactid', 'contact_id'), (6, 'Accounts', 'vtiger_account', 'accountname', 'accountid', 'account_id'), (7, 'Leads', 'vtiger_leaddetails', 'lastname,firstname', 'leadid', 'leadid'), (8, 'Notes', 'vtiger_notes', 'title', 'notesid', 'notesid'), (9, 'Calendar', 'vtiger_activity', 'subject', 'activityid', 'activityid'), (10, 'Emails', 'vtiger_activity', 'subject', 'activityid', 'activityid'), (13, 'HelpDesk', 'vtiger_troubletickets', 'title', 'ticketid', 'ticketid'), (14, 'Products', 'vtiger_products', 'productname', 'productid', 'product_id'), (15, 'Faq', 'vtiger_faq', 'question', 'id', 'id'), (18, 'Vendors', 'vtiger_vendor', 'vendorname', 'vendorid', 'vendor_id'), (19, 'PriceBooks', 'vtiger_pricebook', 'bookname', 'pricebookid', 'pricebookid'), (20, 'Quotes', 'vtiger_quotes', 'subject', 'quoteid', 'quote_id'), (21, 'PurchaseOrder', 'vtiger_purchaseorder', 'subject', 'purchaseorderid', 'purchaseorderid'), (22, 'SalesOrder', 'vtiger_salesorder', 'subject', 'salesorderid', 'salesorder_id'), (23, 'Invoice', 'vtiger_invoice', 'subject', 'invoiceid', 'invoiceid'), (26, 'Campaigns', 'vtiger_campaign', 'campaignname', 'campaignid', 'campaignid'), (29, 'Users', 'vtiger_users', 'last_name,first_name', 'id', 'id'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_evaluationstatus` -- DROP TABLE IF EXISTS `vtiger_evaluationstatus`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_evaluationstatus` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_eventstatus` -- DROP TABLE IF EXISTS `vtiger_eventstatus`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_eventstatus` -- INSERT INTO `vtiger_eventstatus` (`eventstatusid`, `eventstatus`, `presence`, `picklist_valueid`) VALUES (1, 'Planned', 0, 110), (2, 'Held', 0, 111), (3, 'Not Held', 0, 112); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_eventstatus_seq` -- DROP TABLE IF EXISTS `vtiger_eventstatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_eventstatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_eventstatus_seq` -- INSERT INTO `vtiger_eventstatus_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_expectedresponse` -- DROP TABLE IF EXISTS `vtiger_expectedresponse`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=6 ; -- -- Dumping data for table `vtiger_expectedresponse` -- INSERT INTO `vtiger_expectedresponse` (`expectedresponseid`, `expectedresponse`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 203), (2, 'Excellent', 1, 204), (3, 'Good', 1, 205), (4, 'Average', 1, 206), (5, 'Poor', 1, 207); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_expectedresponse_seq` -- DROP TABLE IF EXISTS `vtiger_expectedresponse_seq`; CREATE TABLE IF NOT EXISTS `vtiger_expectedresponse_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_expectedresponse_seq` -- INSERT INTO `vtiger_expectedresponse_seq` (`id`) VALUES (5); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_faq` -- DROP TABLE IF EXISTS `vtiger_faq`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_faq` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_faqcategories` -- DROP TABLE IF EXISTS `vtiger_faqcategories`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=2 ; -- -- Dumping data for table `vtiger_faqcategories` -- INSERT INTO `vtiger_faqcategories` (`faqcategories_id`, `faqcategories`, `PRESENCE`, `picklist_valueid`) VALUES (1, 'General', 1, 130); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_faqcategories_seq` -- DROP TABLE IF EXISTS `vtiger_faqcategories_seq`; CREATE TABLE IF NOT EXISTS `vtiger_faqcategories_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_faqcategories_seq` -- INSERT INTO `vtiger_faqcategories_seq` (`id`) VALUES (1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_faqcomments` -- DROP TABLE IF EXISTS `vtiger_faqcomments`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_faqcomments` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_faqstatus` -- DROP TABLE IF EXISTS `vtiger_faqstatus`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_faqstatus` -- INSERT INTO `vtiger_faqstatus` (`faqstatus_id`, `faqstatus`, `PRESENCE`, `picklist_valueid`) VALUES (1, 'Draft', 0, 166), (2, 'Reviewed', 0, 167), (3, 'Published', 0, 168), (4, 'Obsolete', 0, 169); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_faqstatus_seq` -- DROP TABLE IF EXISTS `vtiger_faqstatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_faqstatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_faqstatus_seq` -- INSERT INTO `vtiger_faqstatus_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_field` -- DROP TABLE IF EXISTS `vtiger_field`; CREATE TABLE IF NOT EXISTS `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`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=450 ; -- -- Dumping data for table `vtiger_field` -- INSERT INTO `vtiger_field` (`tabid`, `fieldid`, `columnname`, `tablename`, `generatedtype`, `uitype`, `fieldname`, `fieldlabel`, `readonly`, `presence`, `selected`, `maximumlength`, `sequence`, `block`, `displaytype`, `typeofdata`, `quickcreate`, `quickcreatesequence`, `info_type`) VALUES (6, 1, 'accountname', 'vtiger_account', 1, '2', 'accountname', 'Account Name', 1, 0, 0, 100, 1, 9, 1, 'V~M', 0, 1, 'BAS'), (6, 2, 'phone', 'vtiger_account', 1, '11', 'phone', 'Phone', 1, 0, 0, 100, 2, 9, 1, 'V~O', 0, 2, 'BAS'), (6, 3, 'website', 'vtiger_account', 1, '17', 'website', 'Website', 1, 0, 0, 100, 3, 9, 1, 'V~O', 0, 3, 'BAS'), (6, 4, 'fax', 'vtiger_account', 1, '1', 'fax', 'Fax', 1, 0, 0, 100, 4, 9, 1, 'V~O', 1, NULL, 'BAS'), (6, 5, 'tickersymbol', 'vtiger_account', 1, '1', 'tickersymbol', 'Ticker Symbol', 1, 0, 0, 100, 5, 9, 1, 'V~O', 1, NULL, 'BAS'), (6, 6, 'otherphone', 'vtiger_account', 1, '11', 'otherphone', 'Other Phone', 1, 0, 0, 100, 6, 9, 1, 'V~O', 1, NULL, 'ADV'), (6, 7, 'parentid', 'vtiger_account', 1, '51', 'account_id', 'Member Of', 1, 0, 0, 100, 7, 9, 1, 'I~O', 1, NULL, 'BAS'), (6, 8, 'email1', 'vtiger_account', 1, '13', 'email1', 'Email', 1, 0, 0, 100, 8, 9, 1, 'E~O', 1, NULL, 'BAS'), (6, 9, 'employees', 'vtiger_account', 1, '7', 'employees', 'Employees', 1, 0, 0, 100, 9, 9, 1, 'I~O', 1, NULL, 'ADV'), (6, 10, 'email2', 'vtiger_account', 1, '13', 'email2', 'Other Email', 1, 0, 0, 100, 10, 9, 1, 'E~O', 1, NULL, 'ADV'), (6, 11, 'ownership', 'vtiger_account', 1, '1', 'ownership', 'Ownership', 1, 0, 0, 100, 11, 9, 1, 'V~O', 1, NULL, 'ADV'), (6, 12, 'rating', 'vtiger_account', 1, '15', 'rating', 'Rating', 1, 0, 0, 100, 12, 9, 1, 'V~O', 1, NULL, 'ADV'), (6, 13, 'industry', 'vtiger_account', 1, '15', 'industry', 'industry', 1, 0, 0, 100, 13, 9, 1, 'V~O', 1, NULL, 'ADV'), (6, 14, 'siccode', 'vtiger_account', 1, '1', 'siccode', 'SIC Code', 1, 0, 0, 100, 14, 9, 1, 'V~O', 1, NULL, 'ADV'), (6, 15, 'account_type', 'vtiger_account', 1, '15', 'accounttype', 'Type', 1, 0, 0, 100, 15, 9, 1, 'V~O', 1, NULL, 'ADV'), (6, 16, 'annualrevenue', 'vtiger_account', 1, '71', 'annual_revenue', 'Annual Revenue', 1, 0, 0, 100, 16, 9, 1, 'I~O', 1, NULL, 'ADV'), (6, 17, 'emailoptout', 'vtiger_account', 1, '56', 'emailoptout', 'Email Opt Out', 1, 0, 0, 100, 17, 9, 1, 'C~O', 1, NULL, 'ADV'), (6, 18, 'notify_owner', 'vtiger_account', 1, '56', 'notify_owner', 'Notify Owner', 1, 0, 0, 10, 18, 9, 1, 'C~O', 1, NULL, 'ADV'), (6, 19, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 19, 9, 1, 'V~M', 1, NULL, 'BAS'), (6, 20, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 20, 9, 2, 'T~O', 1, NULL, 'BAS'), (6, 21, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 21, 9, 2, 'T~O', 1, NULL, 'BAS'), (6, 22, 'bill_street', 'vtiger_accountbillads', 1, '21', 'bill_street', 'Billing Address', 1, 0, 0, 100, 1, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 23, 'ship_street', 'vtiger_accountshipads', 1, '21', 'ship_street', 'Shipping Address', 1, 0, 0, 100, 2, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 24, 'bill_city', 'vtiger_accountbillads', 1, '1', 'bill_city', 'Billing City', 1, 0, 0, 100, 5, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 25, 'ship_city', 'vtiger_accountshipads', 1, '1', 'ship_city', 'Shipping City', 1, 0, 0, 100, 6, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 26, 'bill_state', 'vtiger_accountbillads', 1, '1', 'bill_state', 'Billing State', 1, 0, 0, 100, 7, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 27, 'ship_state', 'vtiger_accountshipads', 1, '1', 'ship_state', 'Shipping State', 1, 0, 0, 100, 8, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 28, 'bill_code', 'vtiger_accountbillads', 1, '1', 'bill_code', 'Billing Code', 1, 0, 0, 100, 9, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 29, 'ship_code', 'vtiger_accountshipads', 1, '1', 'ship_code', 'Shipping Code', 1, 0, 0, 100, 10, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 30, 'bill_country', 'vtiger_accountbillads', 1, '1', 'bill_country', 'Billing Country', 1, 0, 0, 100, 11, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 31, 'ship_country', 'vtiger_accountshipads', 1, '1', 'ship_country', 'Shipping Country', 1, 0, 0, 100, 12, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 32, 'bill_pobox', 'vtiger_accountbillads', 1, '1', 'bill_pobox', 'Billing Po Box', 1, 0, 0, 100, 3, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 33, 'ship_pobox', 'vtiger_accountshipads', 1, '1', 'ship_pobox', 'Shipping Po Box', 1, 0, 0, 100, 4, 11, 1, 'V~O', 1, NULL, 'BAS'), (6, 34, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 12, 1, 'V~O', 1, NULL, 'BAS'), (7, 35, 'salutation', 'vtiger_leaddetails', 1, '55', 'salutationtype', 'Salutation', 1, 0, 0, 100, 1, 13, 3, 'V~O', 1, NULL, 'BAS'), (7, 36, 'firstname', 'vtiger_leaddetails', 1, '55', 'firstname', 'First Name', 1, 0, 0, 100, 2, 13, 1, 'V~O', 0, 1, 'BAS'), (7, 37, 'phone', 'vtiger_leadaddress', 1, '11', 'phone', 'Phone', 1, 0, 0, 100, 3, 13, 1, 'V~O', 0, 4, 'BAS'), (7, 38, 'lastname', 'vtiger_leaddetails', 1, '255', 'lastname', 'Last Name', 1, 0, 0, 100, 4, 13, 1, 'V~M', 0, 2, 'BAS'), (7, 39, 'mobile', 'vtiger_leadaddress', 1, '1', 'mobile', 'Mobile', 1, 0, 0, 100, 5, 13, 1, 'V~O', 1, NULL, 'BAS'), (7, 40, 'company', 'vtiger_leaddetails', 1, '2', 'company', 'Company', 1, 0, 0, 100, 6, 13, 1, 'V~M', 0, 3, 'BAS'), (7, 41, 'fax', 'vtiger_leadaddress', 1, '1', 'fax', 'Fax', 1, 0, 0, 100, 7, 13, 1, 'V~O', 1, NULL, 'BAS'), (7, 42, 'designation', 'vtiger_leaddetails', 1, '1', 'designation', 'Designation', 1, 0, 0, 100, 8, 13, 1, 'V~O', 1, NULL, 'BAS'), (7, 43, 'email', 'vtiger_leaddetails', 1, '13', 'email', 'Email', 1, 0, 0, 100, 9, 13, 1, 'E~O', 0, 5, 'BAS'), (7, 44, 'leadsource', 'vtiger_leaddetails', 1, '15', 'leadsource', 'Lead Source', 1, 0, 0, 100, 10, 13, 1, 'V~O', 1, NULL, 'BAS'), (7, 45, 'website', 'vtiger_leadsubdetails', 1, '17', 'website', 'Website', 1, 0, 0, 100, 11, 13, 1, 'V~O', 1, NULL, 'ADV'), (7, 46, 'industry', 'vtiger_leaddetails', 1, '15', 'industry', 'Industry', 1, 0, 0, 100, 12, 13, 1, 'V~O', 1, NULL, 'ADV'), (7, 47, 'leadstatus', 'vtiger_leaddetails', 1, '15', 'leadstatus', 'Lead Status', 1, 0, 0, 100, 13, 13, 1, 'V~O', 1, NULL, 'BAS'), (7, 48, 'annualrevenue', 'vtiger_leaddetails', 1, '71', 'annualrevenue', 'Annual Revenue', 1, 0, 0, 100, 14, 13, 1, 'I~O', 1, NULL, 'ADV'), (7, 49, 'rating', 'vtiger_leaddetails', 1, '15', 'rating', 'Rating', 1, 0, 0, 100, 15, 13, 1, 'V~O', 1, NULL, 'ADV'), (7, 50, 'noofemployees', 'vtiger_leaddetails', 1, '1', 'noofemployees', 'No Of Employees', 1, 0, 0, 100, 16, 13, 1, 'I~O', 1, NULL, 'ADV'), (7, 51, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 17, 13, 1, 'V~M', 1, NULL, 'BAS'), (7, 52, 'yahooid', 'vtiger_leaddetails', 1, '13', 'yahooid', 'Yahoo Id', 1, 0, 0, 100, 18, 13, 1, 'E~O', 1, NULL, 'ADV'), (7, 53, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 19, 13, 2, 'T~O', 1, NULL, 'BAS'), (7, 54, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 20, 13, 2, 'T~O', 1, NULL, 'BAS'), (7, 55, 'lane', 'vtiger_leadaddress', 1, '21', 'lane', 'Street', 1, 0, 0, 100, 1, 15, 1, 'V~O', 1, NULL, 'BAS'), (7, 56, 'code', 'vtiger_leadaddress', 1, '1', 'code', 'Postal Code', 1, 0, 0, 100, 3, 15, 1, 'V~O', 1, NULL, 'BAS'), (7, 57, 'city', 'vtiger_leadaddress', 1, '1', 'city', 'City', 1, 0, 0, 100, 4, 15, 1, 'V~O', 1, NULL, 'BAS'), (7, 58, 'country', 'vtiger_leadaddress', 1, '1', 'country', 'Country', 1, 0, 0, 100, 5, 15, 1, 'V~O', 1, NULL, 'BAS'), (7, 59, 'state', 'vtiger_leadaddress', 1, '1', 'state', 'State', 1, 0, 0, 100, 6, 15, 1, 'V~O', 1, NULL, 'BAS'), (7, 60, 'pobox', 'vtiger_leadaddress', 1, '1', 'pobox', 'Po Box', 1, 0, 0, 100, 2, 15, 1, 'V~O', 1, NULL, 'BAS'), (7, 61, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 16, 1, 'V~O', 1, NULL, 'BAS'), (4, 62, 'salutation', 'vtiger_contactdetails', 1, '55', 'salutationtype', 'Salutation', 1, 0, 0, 100, 1, 4, 3, 'V~O', 1, NULL, 'BAS'), (4, 63, 'firstname', 'vtiger_contactdetails', 1, '55', 'firstname', 'First Name', 1, 0, 0, 100, 2, 4, 1, 'V~O', 0, 1, 'BAS'), (4, 64, 'phone', 'vtiger_contactdetails', 1, '11', 'phone', 'Office Phone', 1, 0, 0, 100, 3, 4, 1, 'V~O', 0, 4, 'BAS'), (4, 65, 'lastname', 'vtiger_contactdetails', 1, '255', 'lastname', 'Last Name', 1, 0, 0, 100, 4, 4, 1, 'V~M', 0, 2, 'BAS'), (4, 66, 'mobile', 'vtiger_contactdetails', 1, '1', 'mobile', 'Mobile', 1, 0, 0, 100, 5, 4, 1, 'V~O', 1, NULL, 'BAS'), (4, 67, 'accountid', 'vtiger_contactdetails', 1, '51', 'account_id', 'Account Name', 1, 0, 0, 100, 6, 4, 1, 'I~O', 0, 3, 'BAS'), (4, 68, 'homephone', 'vtiger_contactsubdetails', 1, '11', 'homephone', 'Home Phone', 1, 0, 0, 100, 7, 4, 1, 'V~O', 1, NULL, 'ADV'), (4, 69, 'leadsource', 'vtiger_contactsubdetails', 1, '15', 'leadsource', 'Lead Source', 1, 0, 0, 100, 8, 4, 1, 'V~O', 1, NULL, 'BAS'), (4, 70, 'otherphone', 'vtiger_contactsubdetails', 1, '11', 'otherphone', 'Other Phone', 1, 0, 0, 100, 9, 4, 1, 'V~O', 1, NULL, 'ADV'), (4, 71, 'title', 'vtiger_contactdetails', 1, '1', 'title', 'Title', 1, 0, 0, 100, 10, 4, 1, 'V~O', 1, NULL, 'BAS'), (4, 72, 'fax', 'vtiger_contactdetails', 1, '1', 'fax', 'Fax', 1, 0, 0, 100, 11, 4, 1, 'V~O', 1, NULL, 'BAS'), (4, 73, 'department', 'vtiger_contactdetails', 1, '1', 'department', 'Department', 1, 0, 0, 100, 12, 4, 1, 'V~O', 1, NULL, 'ADV'), (4, 74, 'birthday', 'vtiger_contactsubdetails', 1, '5', 'birthday', 'Birthdate', 1, 0, 0, 100, 14, 4, 1, 'V~O', 1, NULL, 'ADV'), (4, 75, 'email', 'vtiger_contactdetails', 1, '13', 'email', 'Email', 1, 0, 0, 100, 15, 4, 1, 'E~O', 0, 5, 'BAS'), (4, 76, 'reportsto', 'vtiger_contactdetails', 1, '57', 'contact_id', 'Reports To', 1, 0, 0, 100, 16, 4, 1, 'V~O', 1, NULL, 'ADV'), (4, 77, 'assistant', 'vtiger_contactsubdetails', 1, '1', 'assistant', 'Assistant', 1, 0, 0, 100, 17, 4, 1, 'V~O', 1, NULL, 'ADV'), (4, 78, 'yahooid', 'vtiger_contactdetails', 1, '13', 'yahooid', 'Yahoo Id', 1, 0, 0, 100, 18, 4, 1, 'E~O', 1, NULL, 'ADV'), (4, 79, 'assistantphone', 'vtiger_contactsubdetails', 1, '11', 'assistantphone', 'Assistant Phone', 1, 0, 0, 100, 19, 4, 1, 'V~O', 1, NULL, 'ADV'), (4, 80, 'donotcall', 'vtiger_contactdetails', 1, '56', 'donotcall', 'Do Not Call', 1, 0, 0, 100, 20, 4, 1, 'C~O', 1, NULL, 'ADV'), (4, 81, 'emailoptout', 'vtiger_contactdetails', 1, '56', 'emailoptout', 'Email Opt Out', 1, 0, 0, 100, 21, 4, 1, 'C~O', 1, NULL, 'ADV'), (4, 82, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 22, 4, 1, 'V~M', 1, NULL, 'BAS'), (4, 83, 'reference', 'vtiger_contactdetails', 1, '56', 'reference', 'Reference', 1, 0, 0, 10, 23, 4, 1, 'C~O', 1, NULL, 'ADV'), (4, 84, 'notify_owner', 'vtiger_contactdetails', 1, '56', 'notify_owner', 'Notify Owner', 1, 0, 0, 10, 24, 4, 1, 'C~O', 1, NULL, 'ADV'), (4, 85, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 25, 4, 2, 'T~O', 1, NULL, 'BAS'), (4, 86, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 26, 4, 2, 'T~O', 1, NULL, 'BAS'), (4, 87, 'portal', 'vtiger_customerdetails', 1, '56', 'portal', 'Portal User', 1, 0, 0, 100, 1, 6, 1, 'C~O', 1, NULL, 'ADV'), (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, NULL, 'ADV'), (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, NULL, 'ADV'), (4, 90, 'mailingstreet', 'vtiger_contactaddress', 1, '21', 'mailingstreet', 'Mailing Street', 1, 0, 0, 100, 1, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 91, 'otherstreet', 'vtiger_contactaddress', 1, '21', 'otherstreet', 'Other Street', 1, 0, 0, 100, 2, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 92, 'mailingcity', 'vtiger_contactaddress', 1, '1', 'mailingcity', 'Mailing City', 1, 0, 0, 100, 5, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 93, 'othercity', 'vtiger_contactaddress', 1, '1', 'othercity', 'Other City', 1, 0, 0, 100, 6, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 94, 'mailingstate', 'vtiger_contactaddress', 1, '1', 'mailingstate', 'Mailing State', 1, 0, 0, 100, 7, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 95, 'otherstate', 'vtiger_contactaddress', 1, '1', 'otherstate', 'Other State', 1, 0, 0, 100, 8, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 96, 'mailingzip', 'vtiger_contactaddress', 1, '1', 'mailingzip', 'Mailing Zip', 1, 0, 0, 100, 9, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 97, 'otherzip', 'vtiger_contactaddress', 1, '1', 'otherzip', 'Other Zip', 1, 0, 0, 100, 10, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 98, 'mailingcountry', 'vtiger_contactaddress', 1, '1', 'mailingcountry', 'Mailing Country', 1, 0, 0, 100, 11, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 99, 'othercountry', 'vtiger_contactaddress', 1, '1', 'othercountry', 'Other Country', 1, 0, 0, 100, 12, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 100, 'mailingpobox', 'vtiger_contactaddress', 1, '1', 'mailingpobox', 'Mailing Po Box', 1, 0, 0, 100, 3, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 101, 'otherpobox', 'vtiger_contactaddress', 1, '1', 'otherpobox', 'Other Po Box', 1, 0, 0, 100, 4, 7, 1, 'V~O', 1, NULL, 'BAS'), (4, 102, 'imagename', 'vtiger_contactdetails', 1, '69', 'imagename', 'Contact Image', 1, 0, 0, 100, 1, 75, 1, 'V~O', 1, NULL, 'ADV'), (4, 103, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 8, 1, 'V~O', 1, NULL, 'BAS'), (2, 104, 'potentialname', 'vtiger_potential', 1, '2', 'potentialname', 'Potential Name', 1, 0, 0, 100, 1, 1, 1, 'V~M', 0, 1, 'BAS'), (2, 105, 'amount', 'vtiger_potential', 1, '71', 'amount', 'Amount', 1, 0, 0, 100, 2, 1, 1, 'N~O', 0, 5, 'BAS'), (2, 106, 'accountid', 'vtiger_potential', 1, '50', 'account_id', 'Account Name', 1, 0, 0, 100, 3, 1, 1, 'V~M', 0, 2, 'BAS'), (2, 107, 'closingdate', 'vtiger_potential', 1, '23', 'closingdate', 'Expected Close Date', 1, 0, 0, 100, 5, 1, 1, 'D~M', 0, 3, 'BAS'), (2, 108, 'potentialtype', 'vtiger_potential', 1, '15', 'opportunity_type', 'Type', 1, 0, 0, 100, 6, 1, 1, 'V~O', 1, NULL, 'BAS'), (2, 109, 'nextstep', 'vtiger_potential', 1, '1', 'nextstep', 'Next Step', 1, 0, 0, 100, 7, 1, 1, 'V~O', 1, NULL, 'BAS'), (2, 110, 'leadsource', 'vtiger_potential', 1, '15', 'leadsource', 'Lead Source', 1, 0, 0, 100, 8, 1, 1, 'V~O', 1, NULL, 'BAS'), (2, 111, 'sales_stage', 'vtiger_potential', 1, '16', 'sales_stage', 'Sales Stage', 1, 0, 0, 100, 9, 1, 1, 'V~O', 0, 4, 'BAS'), (2, 112, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 10, 1, 1, 'V~M', 1, NULL, 'BAS'), (2, 113, 'probability', 'vtiger_potential', 1, '9', 'probability', 'Probability', 1, 0, 0, 100, 11, 1, 1, 'N~O', 1, NULL, 'BAS'), (2, 114, 'campaignid', 'vtiger_potential', 1, '58', 'campaignid', 'Campaign Source', 1, 0, 0, 100, 12, 1, 1, 'N~O', 1, NULL, 'BAS'), (2, 115, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 13, 1, 2, 'T~O', 1, NULL, 'BAS'), (2, 116, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 14, 1, 2, 'T~O', 1, NULL, 'BAS'), (2, 117, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 3, 1, 'V~O', 1, NULL, 'BAS'), (26, 118, 'campaignname', 'vtiger_campaign', 1, '2', 'campaignname', 'Campaign Name', 1, 0, 0, 100, 1, 76, 1, 'V~M', 0, 1, 'BAS'), (26, 119, 'campaigntype', 'vtiger_campaign', 1, '15', 'campaigntype', 'Campaign Type', 1, 0, 0, 100, 5, 76, 1, 'V~O', 0, 3, 'BAS'), (26, 120, 'product_id', 'vtiger_campaign', 1, '59', 'product_id', 'Product', 1, 0, 0, 100, 4, 76, 1, 'I~O', 0, 5, 'BAS'), (26, 121, 'campaignstatus', 'vtiger_campaign', 1, '15', 'campaignstatus', 'Campaign Status', 1, 0, 0, 100, 2, 76, 1, 'V~O', 0, 6, 'BAS'), (26, 122, 'closingdate', 'vtiger_campaign', 1, '23', 'closingdate', 'Expected Close Date', 1, 0, 0, 100, 6, 76, 1, 'D~M', 0, 2, 'BAS'), (26, 123, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 3, 76, 1, 'V~M', 1, NULL, 'BAS'), (26, 124, 'numsent', 'vtiger_campaign', 1, '9', 'numsent', 'Num Sent', 1, 0, 0, 100, 10, 76, 1, 'N~O', 1, NULL, 'BAS'), (26, 125, 'sponsor', 'vtiger_campaign', 1, '1', 'sponsor', 'Sponsor', 1, 0, 0, 100, 9, 76, 1, 'V~O', 1, NULL, 'BAS'), (26, 126, 'targetaudience', 'vtiger_campaign', 1, '1', 'targetaudience', 'Target Audience', 1, 0, 0, 100, 7, 76, 1, 'V~O', 1, NULL, 'BAS'), (26, 127, 'targetsize', 'vtiger_campaign', 1, '1', 'targetsize', 'TargetSize', 1, 0, 0, 100, 8, 76, 1, 'I~O', 1, NULL, 'BAS'), (26, 128, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 11, 76, 2, 'T~O', 1, NULL, 'BAS'), (26, 129, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 12, 76, 2, 'T~O', 1, NULL, 'BAS'), (26, 130, 'expectedresponse', 'vtiger_campaign', 1, '15', 'expectedresponse', 'Expected Response', 1, 0, 0, 100, 3, 78, 1, 'V~O', 0, 4, 'BAS'), (26, 131, 'expectedrevenue', 'vtiger_campaign', 1, '1', 'expectedrevenue', 'Expected Revenue', 1, 0, 0, 100, 4, 78, 1, 'N~O', 1, NULL, 'BAS'), (26, 132, 'budgetcost', 'vtiger_campaign', 1, '1', 'budgetcost', 'Budget Cost', 1, 0, 0, 100, 1, 78, 1, 'N~O', 1, NULL, 'BAS'), (26, 133, 'actualcost', 'vtiger_campaign', 1, '1', 'actualcost', 'Actual Cost', 1, 0, 0, 100, 2, 78, 1, 'N~O', 1, NULL, 'BAS'), (26, 134, 'expectedresponsecount', 'vtiger_campaign', 1, '1', 'expectedresponsecount', 'Expected Response Count', 1, 0, 0, 100, 7, 78, 1, 'I~O', 1, NULL, 'BAS'), (26, 135, 'expectedsalescount', 'vtiger_campaign', 1, '1', 'expectedsalescount', 'Expected Sales Count', 1, 0, 0, 100, 5, 78, 1, 'I~O', 1, NULL, 'BAS'), (26, 136, 'expectedroi', 'vtiger_campaign', 1, '1', 'expectedroi', 'Expected ROI', 1, 0, 0, 100, 9, 78, 1, 'N~O', 1, NULL, 'BAS'), (26, 137, 'actualresponsecount', 'vtiger_campaign', 1, '1', 'actualresponsecount', 'Actual Response Count', 1, 0, 0, 100, 8, 78, 1, 'I~O', 1, NULL, 'BAS'), (26, 138, 'actualsalescount', 'vtiger_campaign', 1, '1', 'actualsalescount', 'Actual Sales Count', 1, 0, 0, 100, 6, 78, 1, 'I~O', 1, NULL, 'BAS'), (26, 139, 'actualroi', 'vtiger_campaign', 1, '1', 'actualroi', 'Actual ROI', 1, 0, 0, 100, 10, 78, 1, 'N~O', 1, NULL, 'BAS'), (26, 140, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 82, 1, 'V~O', 1, NULL, 'BAS'), (13, 141, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 2, 25, 1, 'V~M', 1, NULL, 'BAS'), (13, 142, 'parent_id', 'vtiger_troubletickets', 1, '68', 'parent_id', 'Related To', 1, 0, 0, 100, 4, 25, 1, 'I~O', 1, NULL, 'BAS'), (13, 143, 'priority', 'vtiger_troubletickets', 1, '15', 'ticketpriorities', 'Priority', 1, 0, 0, 100, 5, 25, 1, 'V~O', 0, 4, 'BAS'), (13, 144, 'product_id', 'vtiger_troubletickets', 1, '59', 'product_id', 'Product Name', 1, 0, 0, 100, 6, 25, 1, 'I~O', 1, NULL, 'BAS'), (13, 145, 'severity', 'vtiger_troubletickets', 1, '15', 'ticketseverities', 'Severity', 1, 0, 0, 100, 7, 25, 1, 'V~O', 1, NULL, 'BAS'), (13, 146, 'status', 'vtiger_troubletickets', 1, '111', 'ticketstatus', 'Status', 1, 0, 0, 100, 8, 25, 1, 'V~O', 1, NULL, 'BAS'), (13, 147, 'category', 'vtiger_troubletickets', 1, '15', 'ticketcategories', 'Category', 1, 0, 0, 100, 9, 25, 1, 'V~O', 1, NULL, 'BAS'), (13, 148, 'update_log', 'vtiger_troubletickets', 1, '19', 'update_log', 'Update History', 1, 0, 0, 100, 9, 25, 3, 'V~O', 1, NULL, 'BAS'), (13, 149, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 10, 25, 2, 'T~O', 1, NULL, 'BAS'), (13, 150, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 11, 25, 2, 'T~O', 1, NULL, 'BAS'), (13, 151, 'filename', 'vtiger_attachments', 1, '61', 'filename', 'Attachment', 1, 0, 0, 100, 12, 25, 1, 'V~O', 0, 3, 'BAS'), (13, 152, 'title', 'vtiger_troubletickets', 1, '22', 'ticket_title', 'Title', 1, 0, 0, 100, 1, 26, 1, 'V~M', 0, 1, 'BAS'), (13, 153, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 28, 1, 'V~O', 0, 2, 'BAS'), (13, 154, 'solution', 'vtiger_troubletickets', 1, '19', 'solution', 'Solution', 1, 0, 0, 100, 1, 29, 1, 'V~O', 1, NULL, 'BAS'), (13, 155, 'comments', 'vtiger_ticketcomments', 1, '19', 'comments', 'Add Comment', 1, 0, 0, 100, 1, 30, 1, 'V~O', 1, NULL, 'BAS'), (14, 156, 'productname', 'vtiger_products', 1, '2', 'productname', 'Product Name', 1, 0, 0, 100, 1, 31, 1, 'V~M', 1, NULL, 'BAS'), (14, 157, 'productcode', 'vtiger_products', 1, '1', 'productcode', 'Part Number', 1, 0, 0, 100, 2, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 158, 'discontinued', 'vtiger_products', 1, '56', 'discontinued', 'Product Active', 1, 0, 0, 100, 3, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 159, 'manufacturer', 'vtiger_products', 1, '15', 'manufacturer', 'Manufacturer', 1, 0, 0, 100, 4, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 160, 'productcategory', 'vtiger_products', 1, '15', 'productcategory', 'Product Category', 1, 0, 0, 100, 4, 31, 1, 'V~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (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, NULL, 'BAS'), (14, 163, 'start_date', 'vtiger_products', 1, '5', 'start_date', 'Support Start Date', 1, 0, 0, 100, 7, 31, 1, 'D~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (14, 165, 'website', 'vtiger_products', 1, '17', 'website', 'Website', 1, 0, 0, 100, 12, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 166, 'vendor_id', 'vtiger_products', 1, '75', 'vendor_id', 'Vendor Name', 1, 0, 0, 100, 13, 31, 1, 'I~O', 1, NULL, 'BAS'), (14, 167, 'mfr_part_no', 'vtiger_products', 1, '1', 'mfr_part_no', 'Mfr PartNo', 1, 0, 0, 100, 14, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 168, 'vendor_part_no', 'vtiger_products', 1, '1', 'vendor_part_no', 'Vendor PartNo', 1, 0, 0, 100, 15, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 169, 'serialno', 'vtiger_products', 1, '1', 'serial_no', 'Serial No', 1, 0, 0, 100, 16, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 170, 'productsheet', 'vtiger_products', 1, '1', 'productsheet', 'Product Sheet', 1, 0, 0, 100, 17, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 171, 'glacct', 'vtiger_products', 1, '15', 'glacct', 'GL Account', 1, 0, 0, 100, 18, 31, 1, 'V~O', 1, NULL, 'BAS'), (14, 172, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 19, 31, 2, 'T~O', 1, NULL, 'BAS'), (14, 173, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 20, 31, 2, 'T~O', 1, NULL, 'BAS'), (14, 174, 'unit_price', 'vtiger_products', 1, '71', 'unit_price', 'Unit Price', 1, 0, 0, 100, 1, 32, 1, 'N~O', 1, NULL, 'BAS'), (14, 175, 'commissionrate', 'vtiger_products', 1, '9', 'commissionrate', 'Commission Rate', 1, 0, 0, 100, 2, 32, 1, 'N~O', 1, NULL, 'BAS'), (14, 176, 'taxclass', 'vtiger_products', 1, '83', 'taxclass', 'Tax Class', 1, 0, 0, 100, 4, 32, 1, 'V~O', 1, NULL, 'BAS'), (14, 177, 'usageunit', 'vtiger_products', 1, '15', 'usageunit', 'Usage Unit', 1, 0, 0, 100, 1, 33, 1, 'V~O', 1, NULL, 'ADV'), (14, 178, 'qty_per_unit', 'vtiger_products', 1, '1', 'qty_per_unit', 'Qty/Unit', 1, 0, 0, 100, 2, 33, 1, 'N~O', 1, NULL, 'ADV'), (14, 179, 'qtyinstock', 'vtiger_products', 1, '1', 'qtyinstock', 'Qty In Stock', 1, 0, 0, 100, 3, 33, 1, 'NN~O', 1, NULL, 'ADV'), (14, 180, 'reorderlevel', 'vtiger_products', 1, '1', 'reorderlevel', 'Reorder Level', 1, 0, 0, 100, 4, 33, 1, 'I~O', 1, NULL, 'ADV'), (14, 181, 'handler', 'vtiger_products', 1, '52', 'assigned_user_id', 'Handler', 1, 0, 0, 100, 5, 33, 1, 'I~O', 1, NULL, 'ADV'), (14, 182, 'qtyindemand', 'vtiger_products', 1, '1', 'qtyindemand', 'Qty In Demand', 1, 0, 0, 100, 6, 33, 1, 'I~O', 1, NULL, 'ADV'), (14, 183, 'imagename', 'vtiger_products', 1, '69', 'imagename', 'Product Image', 1, 0, 0, 100, 1, 35, 1, 'V~O', 1, NULL, 'ADV'), (14, 184, 'product_description', 'vtiger_products', 1, '19', 'product_description', 'Description', 1, 0, 0, 100, 1, 36, 1, 'V~O', 1, NULL, 'BAS'), (8, 185, 'contact_id', 'vtiger_notes', 1, '57', 'contact_id', 'Contact Name', 1, 0, 0, 100, 1, 17, 1, 'V~O', 1, NULL, 'BAS'), (8, 186, 'crmid', 'vtiger_senotesrel', 1, '62', 'parent_id', 'Related To', 1, 0, 0, 100, 2, 17, 1, 'I~O', 1, NULL, 'BAS'), (8, 187, 'title', 'vtiger_notes', 1, '2', 'notes_title', 'Title', 1, 0, 0, 100, 3, 17, 1, 'V~M', 0, 1, 'BAS'), (8, 188, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 4, 17, 2, 'T~O', 1, NULL, 'BAS'), (8, 189, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 5, 17, 2, 'T~O', 1, NULL, 'BAS'), (8, 190, 'filename', 'vtiger_notes', 1, '61', 'filename', 'File', 1, 0, 0, 100, 4, 17, 1, 'V~O', 1, NULL, 'BAS'), (8, 191, 'notecontent', 'vtiger_notes', 1, '19', 'notecontent', 'Note', 1, 0, 0, 100, 5, 18, 1, 'V~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (10, 193, 'semodule', 'vtiger_activity', 1, '2', 'parent_type', 'Sales Enity Module', 1, 0, 0, 100, 2, 21, 3, '', 1, NULL, 'BAS'), (10, 194, 'activitytype', 'vtiger_activity', 1, '2', 'activitytype', 'Activtiy Type', 1, 0, 0, 100, 3, 21, 3, 'V~O', 1, NULL, 'BAS'), (10, 195, 'crmid', 'vtiger_seactivityrel', 1, '357', 'parent_id', 'Related To', 1, 0, 0, 100, 1, 22, 1, 'I~O', 1, NULL, 'BAS'), (10, 196, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 5, 21, 1, 'V~M', 1, NULL, 'BAS'), (10, 197, 'subject', 'vtiger_activity', 1, '2', 'subject', 'Subject', 1, 0, 0, 100, 1, 23, 1, 'V~M', 1, NULL, 'BAS'), (10, 198, 'filename', 'vtiger_attachments', 1, '61', 'filename', 'Attachment', 1, 0, 0, 100, 2, 23, 1, 'V~O', 1, NULL, 'BAS'), (10, 199, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 24, 1, 'V~O', 1, NULL, 'BAS'), (10, 200, 'time_start', 'vtiger_activity', 1, '2', 'time_start', 'Time Start', 1, 0, 0, 100, 9, 23, 1, 'T~O', 1, NULL, 'BAS'), (10, 201, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 10, 22, 1, 'T~O', 1, NULL, 'BAS'), (10, 202, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 11, 21, 2, 'T~O', 1, NULL, 'BAS'), (9, 203, 'subject', 'vtiger_activity', 1, '2', 'subject', 'Subject', 1, 0, 0, 100, 1, 19, 1, 'V~M', 0, 1, 'BAS'), (9, 204, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 2, 19, 1, 'V~M', 1, NULL, 'BAS'), (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'), (9, 206, 'time_start', 'vtiger_activity', 1, '2', 'time_start', 'Time Start', 1, 0, 0, 100, 4, 19, 3, 'T~O', 1, NULL, 'BAS'), (9, 207, 'time_end', 'vtiger_activity', 1, '2', 'time_end', 'End Time', 1, 0, 0, 100, 4, 19, 3, 'T~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (9, 209, 'crmid', 'vtiger_seactivityrel', 1, '66', 'parent_id', 'Related To', 1, 0, 0, 100, 7, 19, 1, 'I~O', 1, NULL, 'BAS'), (9, 210, 'contactid', 'vtiger_cntactivityrel', 1, '57', 'contact_id', 'Contact Name', 1, 0, 0, 100, 8, 19, 1, 'I~O', 1, NULL, 'BAS'), (9, 211, 'status', 'vtiger_activity', 1, '111', 'taskstatus', 'Status', 1, 0, 0, 100, 8, 19, 1, 'V~O', 0, 3, 'BAS'), (9, 212, 'eventstatus', 'vtiger_activity', 1, '111', 'eventstatus', 'Status', 1, 0, 0, 100, 9, 19, 3, 'V~O', 1, NULL, 'BAS'), (9, 213, 'priority', 'vtiger_activity', 1, '15', 'taskpriority', 'Priority', 1, 0, 0, 100, 10, 19, 1, 'V~O', 1, NULL, 'BAS'), (9, 214, 'sendnotification', 'vtiger_activity', 1, '56', 'sendnotification', 'Send Notification', 1, 0, 0, 100, 11, 19, 1, 'C~O', 1, NULL, 'BAS'), (9, 215, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 14, 19, 2, 'T~O', 1, NULL, 'BAS'), (9, 216, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 15, 19, 2, 'T~O', 1, NULL, 'BAS'), (9, 217, 'activitytype', 'vtiger_activity', 1, '15', 'activitytype', 'Activity Type', 1, 0, 0, 100, 16, 19, 3, 'V~O', 1, NULL, 'BAS'), (9, 218, 'visibility', 'vtiger_activity', 1, '15', 'visibility', 'Visibility', 1, 0, 0, 100, 17, 19, 3, 'V~O', 1, NULL, 'BAS'), (9, 219, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 20, 1, 'V~O', 1, NULL, 'BAS'), (9, 220, 'duration_hours', 'vtiger_activity', 1, '63', 'duration_hours', 'Duration', 1, 0, 0, 100, 17, 19, 3, 'T~O', 1, NULL, 'BAS'), (9, 221, 'duration_minutes', 'vtiger_activity', 1, '15', 'duration_minutes', 'Duration Minutes', 1, 0, 0, 100, 18, 19, 3, 'T~O', 1, NULL, 'BAS'), (9, 222, 'location', 'vtiger_activity', 1, '1', 'location', 'Location', 1, 0, 0, 100, 19, 19, 3, 'V~O', 1, NULL, 'BAS'), (9, 223, 'reminder_time', 'vtiger_activity_reminder', 1, '30', 'reminder_time', 'Send Reminder', 1, 0, 0, 100, 1, 19, 3, 'I~O', 1, NULL, 'BAS'), (9, 224, 'recurringtype', 'vtiger_activity', 1, '15', 'recurringtype', 'Recurrence', 1, 0, 0, 100, 6, 19, 3, 'O~O', 1, NULL, 'BAS'), (9, 225, 'notime', 'vtiger_activity', 1, '56', 'notime', 'No Time', 1, 0, 0, 100, 20, 19, 3, 'C~O', 1, NULL, 'BAS'), (16, 226, 'subject', 'vtiger_activity', 1, '2', 'subject', 'Subject', 1, 0, 0, 100, 1, 41, 1, 'V~M', 0, 1, 'BAS'), (16, 227, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 2, 41, 1, 'V~M', 1, NULL, 'BAS'), (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'), (16, 229, 'time_start', 'vtiger_activity', 1, '2', 'time_start', 'Time Start', 1, 0, 0, 100, 4, 41, 3, 'T~M', 1, NULL, 'BAS'), (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'), (16, 231, 'time_end', 'vtiger_activity', 1, '2', 'time_end', 'End Time', 1, 0, 0, 100, 5, 41, 3, 'T~M', 1, NULL, 'BAS'), (16, 232, 'recurringtype', 'vtiger_activity', 1, '15', 'recurringtype', 'Recurrence', 1, 0, 0, 100, 6, 41, 1, 'O~O', 1, NULL, 'BAS'), (16, 233, 'duration_hours', 'vtiger_activity', 1, '63', 'duration_hours', 'Duration', 1, 0, 0, 100, 7, 41, 1, 'I~M', 1, NULL, 'BAS'), (16, 234, 'duration_minutes', 'vtiger_activity', 1, '15', 'duration_minutes', 'Duration Minutes', 1, 0, 0, 100, 8, 41, 3, 'O~O', 1, NULL, 'BAS'), (16, 235, 'crmid', 'vtiger_seactivityrel', 1, '66', 'parent_id', 'Related To', 1, 0, 0, 100, 9, 41, 1, 'I~O', 1, NULL, 'BAS'), (16, 236, 'eventstatus', 'vtiger_activity', 1, '111', 'eventstatus', 'Status', 1, 0, 0, 100, 10, 41, 1, 'V~M', 0, 3, 'BAS'), (16, 237, 'sendnotification', 'vtiger_activity', 1, '56', 'sendnotification', 'Send Notification', 1, 0, 0, 100, 11, 41, 1, 'C~O', 1, NULL, 'BAS'), (16, 238, 'activitytype', 'vtiger_activity', 1, '15', 'activitytype', 'Activity Type', 1, 0, 0, 100, 12, 41, 1, 'V~O', 0, 4, 'BAS'), (16, 239, 'location', 'vtiger_activity', 1, '1', 'location', 'Location', 1, 0, 0, 100, 13, 41, 1, 'V~O', 1, NULL, 'BAS'), (16, 240, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 14, 41, 2, 'T~O', 1, NULL, 'BAS'), (16, 241, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 15, 41, 2, 'T~O', 1, NULL, 'BAS'), (16, 242, 'priority', 'vtiger_activity', 1, '15', 'taskpriority', 'Priority', 1, 0, 0, 100, 16, 41, 1, 'V~O', 1, NULL, 'BAS'), (16, 243, 'notime', 'vtiger_activity', 1, '56', 'notime', 'No Time', 1, 0, 0, 100, 17, 41, 1, 'C~O', 1, NULL, 'BAS'), (16, 244, 'visibility', 'vtiger_activity', 1, '15', 'visibility', 'Visibility', 1, 0, 0, 100, 18, 41, 1, 'V~O', 1, NULL, 'BAS'), (16, 245, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 43, 1, 'V~O', 1, NULL, 'BAS'), (16, 246, 'reminder_time', 'vtiger_activity_reminder', 1, '30', 'reminder_time', 'Send Reminder', 1, 0, 0, 100, 1, 42, 1, 'I~O', 1, NULL, 'BAS'), (15, 247, 'product_id', 'vtiger_faq', 1, '59', 'product_id', 'Product Name', 1, 0, 0, 100, 1, 37, 1, 'I~O', 1, NULL, 'BAS'), (15, 248, 'category', 'vtiger_faq', 1, '15', 'faqcategories', 'Category', 1, 0, 0, 100, 2, 37, 1, 'V~O', 1, NULL, 'BAS'), (15, 249, 'status', 'vtiger_faq', 1, '111', 'faqstatus', 'Status', 1, 0, 0, 100, 3, 37, 1, 'V~O', 1, NULL, 'BAS'), (15, 250, 'question', 'vtiger_faq', 1, '20', 'question', 'Question', 1, 0, 0, 100, 1, 38, 1, 'V~M', 1, NULL, 'BAS'), (15, 251, 'answer', 'vtiger_faq', 1, '20', 'faq_answer', 'Answer', 1, 0, 0, 100, 1, 39, 1, 'V~M', 1, NULL, 'BAS'), (15, 252, 'comments', 'vtiger_faqcomments', 1, '19', 'comments', 'Add Comment', 1, 0, 0, 100, 1, 40, 1, 'V~O', 1, NULL, 'BAS'), (15, 253, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 3, 37, 2, 'T~O', 1, NULL, 'BAS'), (15, 254, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 4, 37, 2, 'T~O', 1, NULL, 'BAS'), (18, 255, 'vendorname', 'vtiger_vendor', 1, '2', 'vendorname', 'Vendor Name', 1, 0, 0, 100, 1, 44, 1, 'V~M', 0, 1, 'BAS'), (18, 256, 'phone', 'vtiger_vendor', 1, '1', 'phone', 'Phone', 1, 0, 0, 100, 3, 44, 1, 'V~O', 0, 2, 'BAS'), (18, 257, 'email', 'vtiger_vendor', 1, '13', 'email', 'Email', 1, 0, 0, 100, 4, 44, 1, 'E~O', 0, 3, 'BAS'), (18, 258, 'website', 'vtiger_vendor', 1, '17', 'website', 'Website', 1, 0, 0, 100, 5, 44, 1, 'V~O', 1, NULL, 'BAS'), (18, 259, 'glacct', 'vtiger_vendor', 1, '15', 'glacct', 'GL Account', 1, 0, 0, 100, 6, 44, 1, 'V~O', 1, NULL, 'BAS'), (18, 260, 'category', 'vtiger_vendor', 1, '1', 'category', 'Category', 1, 0, 0, 100, 7, 44, 1, 'V~O', 1, NULL, 'BAS'), (18, 261, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 8, 44, 2, 'T~O', 1, NULL, 'BAS'), (18, 262, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 9, 44, 2, 'T~O', 1, NULL, 'BAS'), (18, 263, 'street', 'vtiger_vendor', 1, '21', 'street', 'Street', 1, 0, 0, 100, 1, 46, 1, 'V~O', 1, NULL, 'ADV'), (18, 264, 'pobox', 'vtiger_vendor', 1, '1', 'pobox', 'Po Box', 1, 0, 0, 100, 2, 46, 1, 'V~O', 1, NULL, 'ADV'), (18, 265, 'city', 'vtiger_vendor', 1, '1', 'city', 'City', 1, 0, 0, 100, 3, 46, 1, 'V~O', 1, NULL, 'ADV'), (18, 266, 'state', 'vtiger_vendor', 1, '1', 'state', 'State', 1, 0, 0, 100, 4, 46, 1, 'V~O', 1, NULL, 'ADV'), (18, 267, 'postalcode', 'vtiger_vendor', 1, '1', 'postalcode', 'Postal Code', 1, 0, 0, 100, 5, 46, 1, 'V~O', 1, NULL, 'ADV'), (18, 268, 'country', 'vtiger_vendor', 1, '1', 'country', 'Country', 1, 0, 0, 100, 6, 46, 1, 'V~O', 1, NULL, 'ADV'), (18, 269, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 47, 1, 'V~O', 1, NULL, 'ADV'), (19, 270, 'bookname', 'vtiger_pricebook', 1, '2', 'bookname', 'Price Book Name', 1, 0, 0, 100, 1, 48, 1, 'V~M', 0, 1, 'BAS'), (19, 271, 'active', 'vtiger_pricebook', 1, '56', 'active', 'Active', 1, 0, 0, 100, 3, 48, 1, 'C~O', 0, 2, 'BAS'), (19, 272, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 4, 48, 2, 'T~O', 1, NULL, 'BAS'), (19, 273, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 5, 48, 2, 'T~O', 1, NULL, 'BAS'), (19, 274, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 50, 1, 'V~O', 1, NULL, 'BAS'), (20, 275, 'subject', 'vtiger_quotes', 1, '2', 'subject', 'Subject', 1, 0, 0, 100, 1, 51, 1, 'V~M', 1, NULL, 'BAS'), (20, 276, 'potentialid', 'vtiger_quotes', 1, '76', 'potential_id', 'Potential Name', 1, 0, 0, 100, 2, 51, 1, 'I~O', 1, NULL, 'BAS'), (20, 277, 'quotestage', 'vtiger_quotes', 1, '111', 'quotestage', 'Quote Stage', 1, 0, 0, 100, 3, 51, 1, 'V~O', 1, NULL, 'BAS'), (20, 278, 'validtill', 'vtiger_quotes', 1, '5', 'validtill', 'Valid Till', 1, 0, 0, 100, 4, 51, 1, 'D~O', 1, NULL, 'BAS'), (20, 279, 'contactid', 'vtiger_quotes', 1, '57', 'contact_id', 'Contact Name', 1, 0, 0, 100, 6, 51, 1, 'V~O', 1, NULL, 'BAS'), (20, 280, 'carrier', 'vtiger_quotes', 1, '15', 'carrier', 'Carrier', 1, 0, 0, 100, 8, 51, 1, 'V~O', 1, NULL, 'BAS'), (20, 281, 'subtotal', 'vtiger_quotes', 1, '1', 'hdnSubTotal', 'Sub Total', 1, 0, 0, 100, 9, 51, 3, 'N~O', 1, NULL, 'BAS'), (20, 282, 'shipping', 'vtiger_quotes', 1, '1', 'shipping', 'Shipping', 1, 0, 0, 100, 10, 51, 1, 'V~O', 1, NULL, 'BAS'), (20, 283, 'inventorymanager', 'vtiger_quotes', 1, '77', 'assigned_user_id1', 'Inventory Manager', 1, 0, 0, 100, 11, 51, 1, 'I~O', 1, NULL, 'BAS'), (20, 284, 'adjustment', 'vtiger_quotes', 1, '1', 'txtAdjustment', 'Adjustment', 1, 0, 0, 100, 20, 51, 3, 'NN~O', 1, NULL, 'BAS'), (20, 285, 'total', 'vtiger_quotes', 1, '1', 'hdnGrandTotal', 'Total', 1, 0, 0, 100, 14, 51, 3, 'N~O', 1, NULL, 'BAS'), (20, 286, 'taxtype', 'vtiger_quotes', 1, '15', 'hdnTaxType', 'Tax Type', 1, 0, 0, 100, 14, 51, 3, 'V~O', 1, NULL, 'BAS'), (20, 287, 'discount_percent', 'vtiger_quotes', 1, '1', 'hdnDiscountPercent', 'Discount Percent', 1, 0, 0, 100, 14, 51, 3, 'N~O', 1, NULL, 'BAS'), (20, 288, 'discount_amount', 'vtiger_quotes', 1, '1', 'hdnDiscountAmount', 'Discount Amount', 1, 0, 0, 100, 14, 51, 3, 'N~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (20, 290, 'accountid', 'vtiger_quotes', 1, '73', 'account_id', 'Account Name', 1, 0, 0, 100, 16, 51, 1, 'I~M', 1, NULL, 'BAS'), (20, 291, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 17, 51, 1, 'V~M', 1, NULL, 'BAS'), (20, 292, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 18, 51, 2, 'T~O', 1, NULL, 'BAS'), (20, 293, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 19, 51, 2, 'T~O', 1, NULL, 'BAS'), (20, 294, 'bill_street', 'vtiger_quotesbillads', 1, '24', 'bill_street', 'Billing Address', 1, 0, 0, 100, 1, 53, 1, 'V~M', 1, NULL, 'BAS'), (20, 295, 'ship_street', 'vtiger_quotesshipads', 1, '24', 'ship_street', 'Shipping Address', 1, 0, 0, 100, 2, 53, 1, 'V~M', 1, NULL, 'BAS'), (20, 296, 'bill_city', 'vtiger_quotesbillads', 1, '1', 'bill_city', 'Billing City', 1, 0, 0, 100, 5, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 297, 'ship_city', 'vtiger_quotesshipads', 1, '1', 'ship_city', 'Shipping City', 1, 0, 0, 100, 6, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 298, 'bill_state', 'vtiger_quotesbillads', 1, '1', 'bill_state', 'Billing State', 1, 0, 0, 100, 7, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 299, 'ship_state', 'vtiger_quotesshipads', 1, '1', 'ship_state', 'Shipping State', 1, 0, 0, 100, 8, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 300, 'bill_code', 'vtiger_quotesbillads', 1, '1', 'bill_code', 'Billing Code', 1, 0, 0, 100, 9, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 301, 'ship_code', 'vtiger_quotesshipads', 1, '1', 'ship_code', 'Shipping Code', 1, 0, 0, 100, 10, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 302, 'bill_country', 'vtiger_quotesbillads', 1, '1', 'bill_country', 'Billing Country', 1, 0, 0, 100, 11, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 303, 'ship_country', 'vtiger_quotesshipads', 1, '1', 'ship_country', 'Shipping Country', 1, 0, 0, 100, 12, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 304, 'bill_pobox', 'vtiger_quotesbillads', 1, '1', 'bill_pobox', 'Billing Po Box', 1, 0, 0, 100, 3, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 305, 'ship_pobox', 'vtiger_quotesshipads', 1, '1', 'ship_pobox', 'Shipping Po Box', 1, 0, 0, 100, 4, 53, 1, 'V~O', 1, NULL, 'BAS'), (20, 306, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 56, 1, 'V~O', 1, NULL, 'ADV'), (20, 307, 'terms_conditions', 'vtiger_quotes', 1, '19', 'terms_conditions', 'Terms & Conditions', 1, 0, 0, 100, 1, 55, 1, 'V~O', 1, NULL, 'ADV'), (21, 308, 'subject', 'vtiger_purchaseorder', 1, '2', 'subject', 'Subject', 1, 0, 0, 100, 1, 57, 1, 'V~M', 1, NULL, 'BAS'), (21, 309, 'vendorid', 'vtiger_purchaseorder', 1, '81', 'vendor_id', 'Vendor Name', 1, 0, 0, 100, 3, 57, 1, 'I~M', 1, NULL, 'BAS'), (21, 310, 'requisition_no', 'vtiger_purchaseorder', 1, '1', 'requisition_no', 'Requisition No', 1, 0, 0, 100, 4, 57, 1, 'V~O', 1, NULL, 'BAS'), (21, 311, 'tracking_no', 'vtiger_purchaseorder', 1, '1', 'tracking_no', 'Tracking Number', 1, 0, 0, 100, 5, 57, 1, 'V~O', 1, NULL, 'BAS'), (21, 312, 'contactid', 'vtiger_purchaseorder', 1, '57', 'contact_id', 'Contact Name', 1, 0, 0, 100, 6, 57, 1, 'I~O', 1, NULL, 'BAS'), (21, 313, 'duedate', 'vtiger_purchaseorder', 1, '5', 'duedate', 'Due Date', 1, 0, 0, 100, 7, 57, 1, 'D~O', 1, NULL, 'BAS'), (21, 314, 'carrier', 'vtiger_purchaseorder', 1, '15', 'carrier', 'Carrier', 1, 0, 0, 100, 8, 57, 1, 'V~O', 1, NULL, 'BAS'), (21, 315, 'adjustment', 'vtiger_purchaseorder', 1, '1', 'txtAdjustment', 'Adjustment', 1, 0, 0, 100, 10, 57, 3, 'NN~O', 1, NULL, 'BAS'), (21, 316, 'salescommission', 'vtiger_purchaseorder', 1, '1', 'salescommission', 'Sales Commission', 1, 0, 0, 100, 11, 57, 1, 'N~O', 1, NULL, 'BAS'), (21, 317, 'exciseduty', 'vtiger_purchaseorder', 1, '1', 'exciseduty', 'Excise Duty', 1, 0, 0, 100, 12, 57, 1, 'N~O', 1, NULL, 'BAS'), (21, 318, 'total', 'vtiger_purchaseorder', 1, '1', 'hdnGrandTotal', 'Total', 1, 0, 0, 100, 13, 57, 3, 'N~O', 1, NULL, 'BAS'), (21, 319, 'subtotal', 'vtiger_purchaseorder', 1, '1', 'hdnSubTotal', 'Sub Total', 1, 0, 0, 100, 14, 57, 3, 'N~O', 1, NULL, 'BAS'), (21, 320, 'taxtype', 'vtiger_purchaseorder', 1, '15', 'hdnTaxType', 'Tax Type', 1, 0, 0, 100, 14, 57, 3, 'V~O', 1, NULL, 'BAS'), (21, 321, 'discount_percent', 'vtiger_purchaseorder', 1, '1', 'hdnDiscountPercent', 'Discount Percent', 1, 0, 0, 100, 14, 57, 3, 'N~O', 1, NULL, 'BAS'), (21, 322, 'discount_amount', 'vtiger_purchaseorder', 1, '1', 'hdnDiscountAmount', 'Discount Amount', 1, 0, 0, 100, 14, 57, 3, 'N~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (21, 324, 'postatus', 'vtiger_purchaseorder', 1, '111', 'postatus', 'Status', 1, 0, 0, 100, 15, 57, 1, 'V~O', 1, NULL, 'BAS'), (21, 325, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 16, 57, 1, 'V~M', 1, NULL, 'BAS'), (21, 326, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 17, 57, 2, 'T~O', 1, NULL, 'BAS'), (21, 327, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 18, 57, 2, 'T~O', 1, NULL, 'BAS'), (21, 328, 'bill_street', 'vtiger_pobillads', 1, '24', 'bill_street', 'Billing Address', 1, 0, 0, 100, 1, 59, 1, 'V~M', 1, NULL, 'BAS'), (21, 329, 'ship_street', 'vtiger_poshipads', 1, '24', 'ship_street', 'Shipping Address', 1, 0, 0, 100, 2, 59, 1, 'V~M', 1, NULL, 'BAS'), (21, 330, 'bill_city', 'vtiger_pobillads', 1, '1', 'bill_city', 'Billing City', 1, 0, 0, 100, 5, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 331, 'ship_city', 'vtiger_poshipads', 1, '1', 'ship_city', 'Shipping City', 1, 0, 0, 100, 6, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 332, 'bill_state', 'vtiger_pobillads', 1, '1', 'bill_state', 'Billing State', 1, 0, 0, 100, 7, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 333, 'ship_state', 'vtiger_poshipads', 1, '1', 'ship_state', 'Shipping State', 1, 0, 0, 100, 8, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 334, 'bill_code', 'vtiger_pobillads', 1, '1', 'bill_code', 'Billing Code', 1, 0, 0, 100, 9, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 335, 'ship_code', 'vtiger_poshipads', 1, '1', 'ship_code', 'Shipping Code', 1, 0, 0, 100, 10, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 336, 'bill_country', 'vtiger_pobillads', 1, '1', 'bill_country', 'Billing Country', 1, 0, 0, 100, 11, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 337, 'ship_country', 'vtiger_poshipads', 1, '1', 'ship_country', 'Shipping Country', 1, 0, 0, 100, 12, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 338, 'bill_pobox', 'vtiger_pobillads', 1, '1', 'bill_pobox', 'Billing Po Box', 1, 0, 0, 100, 3, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 339, 'ship_pobox', 'vtiger_poshipads', 1, '1', 'ship_pobox', 'Shipping Po Box', 1, 0, 0, 100, 4, 59, 1, 'V~O', 1, NULL, 'BAS'), (21, 340, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 62, 1, 'V~O', 1, NULL, 'ADV'), (21, 341, 'terms_conditions', 'vtiger_purchaseorder', 1, '19', 'terms_conditions', 'Terms & Conditions', 1, 0, 0, 100, 1, 61, 1, 'V~O', 1, NULL, 'ADV'), (22, 342, 'subject', 'vtiger_salesorder', 1, '2', 'subject', 'Subject', 1, 0, 0, 100, 1, 63, 1, 'V~M', 1, NULL, 'BAS'), (22, 343, 'potentialid', 'vtiger_salesorder', 1, '76', 'potential_id', 'Potential Name', 1, 0, 0, 100, 2, 63, 1, 'I~O', 1, NULL, 'BAS'), (22, 344, 'customerno', 'vtiger_salesorder', 1, '1', 'customerno', 'Customer No', 1, 0, 0, 100, 3, 63, 1, 'V~O', 1, NULL, 'BAS'), (22, 345, 'quoteid', 'vtiger_salesorder', 1, '78', 'quote_id', 'Quote Name', 1, 0, 0, 100, 4, 63, 1, 'I~O', 1, NULL, 'BAS'), (22, 346, 'purchaseorder', 'vtiger_salesorder', 1, '1', 'vtiger_purchaseorder', 'Purchase Order', 1, 0, 0, 100, 5, 63, 1, 'V~O', 1, NULL, 'BAS'), (22, 347, 'contactid', 'vtiger_salesorder', 1, '57', 'contact_id', 'Contact Name', 1, 0, 0, 100, 6, 63, 1, 'I~O', 1, NULL, 'BAS'), (22, 348, 'duedate', 'vtiger_salesorder', 1, '5', 'duedate', 'Due Date', 1, 0, 0, 100, 8, 63, 1, 'D~O', 1, NULL, 'BAS'), (22, 349, 'carrier', 'vtiger_salesorder', 1, '15', 'carrier', 'Carrier', 1, 0, 0, 100, 9, 63, 1, 'V~O', 1, NULL, 'BAS'), (22, 350, 'pending', 'vtiger_salesorder', 1, '1', 'pending', 'Pending', 1, 0, 0, 100, 10, 63, 1, 'V~O', 1, NULL, 'BAS'), (22, 351, 'sostatus', 'vtiger_salesorder', 1, '111', 'sostatus', 'Status', 1, 0, 0, 100, 11, 63, 1, 'V~O', 1, NULL, 'BAS'), (22, 352, 'adjustment', 'vtiger_salesorder', 1, '1', 'txtAdjustment', 'Adjustment', 1, 0, 0, 100, 12, 63, 3, 'NN~O', 1, NULL, 'BAS'), (22, 353, 'salescommission', 'vtiger_salesorder', 1, '1', 'salescommission', 'Sales Commission', 1, 0, 0, 100, 13, 63, 1, 'N~O', 1, NULL, 'BAS'), (22, 354, 'exciseduty', 'vtiger_salesorder', 1, '1', 'exciseduty', 'Excise Duty', 1, 0, 0, 100, 13, 63, 1, 'N~O', 1, NULL, 'BAS'), (22, 355, 'total', 'vtiger_salesorder', 1, '1', 'hdnGrandTotal', 'Total', 1, 0, 0, 100, 14, 63, 3, 'N~O', 1, NULL, 'BAS'), (22, 356, 'subtotal', 'vtiger_salesorder', 1, '1', 'hdnSubTotal', 'Sub Total', 1, 0, 0, 100, 15, 63, 3, 'N~O', 1, NULL, 'BAS'), (22, 357, 'taxtype', 'vtiger_salesorder', 1, '15', 'hdnTaxType', 'Tax Type', 1, 0, 0, 100, 15, 63, 3, 'V~O', 1, NULL, 'BAS'), (22, 358, 'discount_percent', 'vtiger_salesorder', 1, '1', 'hdnDiscountPercent', 'Discount Percent', 1, 0, 0, 100, 15, 63, 3, 'N~O', 1, NULL, 'BAS'), (22, 359, 'discount_amount', 'vtiger_salesorder', 1, '1', 'hdnDiscountAmount', 'Discount Amount', 1, 0, 0, 100, 15, 63, 3, 'N~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (22, 361, 'accountid', 'vtiger_salesorder', 1, '73', 'account_id', 'Account Name', 1, 0, 0, 100, 16, 63, 1, 'I~M', 1, NULL, 'BAS'), (22, 362, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 17, 63, 1, 'V~M', 1, NULL, 'BAS'), (22, 363, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 18, 63, 2, 'T~O', 1, NULL, 'BAS'), (22, 364, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 19, 63, 2, 'T~O', 1, NULL, 'BAS'), (22, 365, 'bill_street', 'vtiger_sobillads', 1, '24', 'bill_street', 'Billing Address', 1, 0, 0, 100, 1, 65, 1, 'V~M', 1, NULL, 'BAS'), (22, 366, 'ship_street', 'vtiger_soshipads', 1, '24', 'ship_street', 'Shipping Address', 1, 0, 0, 100, 2, 65, 1, 'V~M', 1, NULL, 'BAS'), (22, 367, 'bill_city', 'vtiger_sobillads', 1, '1', 'bill_city', 'Billing City', 1, 0, 0, 100, 5, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 368, 'ship_city', 'vtiger_soshipads', 1, '1', 'ship_city', 'Shipping City', 1, 0, 0, 100, 6, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 369, 'bill_state', 'vtiger_sobillads', 1, '1', 'bill_state', 'Billing State', 1, 0, 0, 100, 7, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 370, 'ship_state', 'vtiger_soshipads', 1, '1', 'ship_state', 'Shipping State', 1, 0, 0, 100, 8, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 371, 'bill_code', 'vtiger_sobillads', 1, '1', 'bill_code', 'Billing Code', 1, 0, 0, 100, 9, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 372, 'ship_code', 'vtiger_soshipads', 1, '1', 'ship_code', 'Shipping Code', 1, 0, 0, 100, 10, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 373, 'bill_country', 'vtiger_sobillads', 1, '1', 'bill_country', 'Billing Country', 1, 0, 0, 100, 11, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 374, 'ship_country', 'vtiger_soshipads', 1, '1', 'ship_country', 'Shipping Country', 1, 0, 0, 100, 12, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 375, 'bill_pobox', 'vtiger_sobillads', 1, '1', 'bill_pobox', 'Billing Po Box', 1, 0, 0, 100, 3, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 376, 'ship_pobox', 'vtiger_soshipads', 1, '1', 'ship_pobox', 'Shipping Po Box', 1, 0, 0, 100, 4, 65, 1, 'V~O', 1, NULL, 'BAS'), (22, 377, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 68, 1, 'V~O', 1, NULL, 'ADV'), (22, 378, 'terms_conditions', 'vtiger_salesorder', 1, '19', 'terms_conditions', 'Terms & Conditions', 1, 0, 0, 100, 1, 67, 1, 'V~O', 1, NULL, 'ADV'), (23, 379, 'subject', 'vtiger_invoice', 1, '2', 'subject', 'Subject', 1, 0, 0, 100, 1, 69, 1, 'V~M', 1, NULL, 'BAS'), (23, 380, 'salesorderid', 'vtiger_invoice', 1, '80', 'salesorder_id', 'Sales Order', 1, 0, 0, 100, 2, 69, 1, 'I~O', 1, NULL, 'BAS'), (23, 381, 'customerno', 'vtiger_invoice', 1, '1', 'customerno', 'Customer No', 1, 0, 0, 100, 3, 69, 1, 'V~O', 1, NULL, 'BAS'), (23, 382, 'contactid', 'vtiger_invoice', 1, '57', 'contact_id', 'Contact Name', 1, 0, 0, 100, 4, 69, 1, 'I~O', 1, NULL, 'BAS'), (23, 383, 'invoicedate', 'vtiger_invoice', 1, '5', 'invoicedate', 'Invoice Date', 1, 0, 0, 100, 5, 69, 1, 'D~O', 1, NULL, 'BAS'), (23, 384, 'duedate', 'vtiger_invoice', 1, '5', 'duedate', 'Due Date', 1, 0, 0, 100, 6, 69, 1, 'D~O', 1, NULL, 'BAS'), (23, 385, 'purchaseorder', 'vtiger_invoice', 1, '1', 'vtiger_purchaseorder', 'Purchase Order', 1, 0, 0, 100, 8, 69, 1, 'V~O', 1, NULL, 'BAS'), (23, 386, 'adjustment', 'vtiger_invoice', 1, '1', 'txtAdjustment', 'Adjustment', 1, 0, 0, 100, 9, 69, 3, 'NN~O', 1, NULL, 'BAS'); INSERT INTO `vtiger_field` (`tabid`, `fieldid`, `columnname`, `tablename`, `generatedtype`, `uitype`, `fieldname`, `fieldlabel`, `readonly`, `presence`, `selected`, `maximumlength`, `sequence`, `block`, `displaytype`, `typeofdata`, `quickcreate`, `quickcreatesequence`, `info_type`) VALUES (23, 387, 'salescommission', 'vtiger_invoice', 1, '1', 'salescommission', 'Sales Commission', 1, 0, 0, 10, 13, 69, 1, 'N~O', 1, NULL, 'BAS'), (23, 388, 'exciseduty', 'vtiger_invoice', 1, '1', 'exciseduty', 'Excise Duty', 1, 0, 0, 100, 11, 69, 1, 'N~O', 1, NULL, 'BAS'), (23, 389, 'subtotal', 'vtiger_invoice', 1, '1', 'hdnSubTotal', 'Sub Total', 1, 0, 0, 100, 12, 69, 3, 'N~O', 1, NULL, 'BAS'), (23, 390, 'total', 'vtiger_invoice', 1, '1', 'hdnGrandTotal', 'Total', 1, 0, 0, 100, 13, 69, 3, 'N~O', 1, NULL, 'BAS'), (23, 391, 'taxtype', 'vtiger_invoice', 1, '15', 'hdnTaxType', 'Tax Type', 1, 0, 0, 100, 13, 69, 3, 'V~O', 1, NULL, 'BAS'), (23, 392, 'discount_percent', 'vtiger_invoice', 1, '1', 'hdnDiscountPercent', 'Discount Percent', 1, 0, 0, 100, 13, 69, 3, 'N~O', 1, NULL, 'BAS'), (23, 393, 'discount_amount', 'vtiger_invoice', 1, '1', 'hdnDiscountAmount', 'Discount Amount', 1, 0, 0, 100, 13, 69, 3, 'N~O', 1, NULL, 'BAS'), (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, NULL, 'BAS'), (23, 395, 'accountid', 'vtiger_invoice', 1, '73', 'account_id', 'Account Name', 1, 0, 0, 100, 14, 69, 1, 'I~M', 1, NULL, 'BAS'), (23, 396, 'invoicestatus', 'vtiger_invoice', 1, '111', 'invoicestatus', 'Status', 1, 0, 0, 100, 15, 69, 1, 'V~O', 1, NULL, 'BAS'), (23, 397, 'smownerid', 'vtiger_crmentity', 1, '53', 'assigned_user_id', 'Assigned To', 1, 0, 0, 100, 16, 69, 1, 'V~M', 1, NULL, 'BAS'), (23, 398, 'createdtime', 'vtiger_crmentity', 1, '70', 'createdtime', 'Created Time', 1, 0, 0, 100, 17, 69, 2, 'T~O', 1, NULL, 'BAS'), (23, 399, 'modifiedtime', 'vtiger_crmentity', 1, '70', 'modifiedtime', 'Modified Time', 1, 0, 0, 100, 18, 69, 2, 'T~O', 1, NULL, 'BAS'), (23, 400, 'bill_street', 'vtiger_invoicebillads', 1, '24', 'bill_street', 'Billing Address', 1, 0, 0, 100, 1, 71, 1, 'V~M', 1, NULL, 'BAS'), (23, 401, 'ship_street', 'vtiger_invoiceshipads', 1, '24', 'ship_street', 'Shipping Address', 1, 0, 0, 100, 2, 71, 1, 'V~M', 1, NULL, 'BAS'), (23, 402, 'bill_city', 'vtiger_invoicebillads', 1, '1', 'bill_city', 'Billing City', 1, 0, 0, 100, 5, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 403, 'ship_city', 'vtiger_invoiceshipads', 1, '1', 'ship_city', 'Shipping City', 1, 0, 0, 100, 6, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 404, 'bill_state', 'vtiger_invoicebillads', 1, '1', 'bill_state', 'Billing State', 1, 0, 0, 100, 7, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 405, 'ship_state', 'vtiger_invoiceshipads', 1, '1', 'ship_state', 'Shipping State', 1, 0, 0, 100, 8, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 406, 'bill_code', 'vtiger_invoicebillads', 1, '1', 'bill_code', 'Billing Code', 1, 0, 0, 100, 9, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 407, 'ship_code', 'vtiger_invoiceshipads', 1, '1', 'ship_code', 'Shipping Code', 1, 0, 0, 100, 10, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 408, 'bill_country', 'vtiger_invoicebillads', 1, '1', 'bill_country', 'Billing Country', 1, 0, 0, 100, 11, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 409, 'ship_country', 'vtiger_invoiceshipads', 1, '1', 'ship_country', 'Shipping Country', 1, 0, 0, 100, 12, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 410, 'bill_pobox', 'vtiger_invoicebillads', 1, '1', 'bill_pobox', 'Billing Po Box', 1, 0, 0, 100, 3, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 411, 'ship_pobox', 'vtiger_invoiceshipads', 1, '1', 'ship_pobox', 'Shipping Po Box', 1, 0, 0, 100, 4, 71, 1, 'V~O', 1, NULL, 'BAS'), (23, 412, 'description', 'vtiger_crmentity', 1, '19', 'description', 'Description', 1, 0, 0, 100, 1, 74, 1, 'V~O', 1, NULL, 'ADV'), (23, 413, 'terms_conditions', 'vtiger_invoice', 1, '19', 'terms_conditions', 'Terms & Conditions', 1, 0, 0, 100, 1, 73, 1, 'V~O', 1, NULL, 'ADV'), (23, 414, 'invoice_no', 'vtiger_invoice', 1, '3', 'invoice_no', 'Invoice No', 1, 0, 0, 100, 3, 69, 1, 'V~M', 1, NULL, 'BAS'), (29, 415, 'user_name', 'vtiger_users', 1, '106', 'user_name', 'User Name', 1, 0, 0, 11, 1, 79, 1, 'V~M', 1, NULL, 'BAS'), (29, 416, 'is_admin', 'vtiger_users', 1, '156', 'is_admin', 'Admin', 1, 0, 0, 3, 2, 79, 1, 'V~O', 1, NULL, 'BAS'), (29, 417, 'user_password', 'vtiger_users', 1, '99', 'user_password', 'Password', 1, 0, 0, 30, 3, 79, 4, 'P~M', 1, NULL, 'BAS'), (29, 418, 'confirm_password', 'vtiger_users', 1, '99', 'confirm_password', 'Confirm Password', 1, 0, 0, 30, 5, 79, 4, 'P~M', 1, NULL, 'BAS'), (29, 419, 'first_name', 'vtiger_users', 1, '1', 'first_name', 'First Name', 1, 0, 0, 30, 7, 79, 1, 'V~O', 1, NULL, 'BAS'), (29, 420, 'last_name', 'vtiger_users', 1, '2', 'last_name', 'Last Name', 1, 0, 0, 30, 9, 79, 1, 'V~M', 1, NULL, 'BAS'), (29, 421, 'roleid', 'vtiger_user2role', 1, '98', 'roleid', 'Role', 1, 0, 0, 200, 11, 79, 1, 'V~M', 1, NULL, 'BAS'), (29, 422, 'email1', 'vtiger_users', 1, '104', 'email1', 'Email', 1, 0, 0, 100, 4, 79, 1, 'E~M', 1, NULL, 'BAS'), (29, 423, 'status', 'vtiger_users', 1, '115', 'status', 'Status', 1, 0, 0, 100, 6, 79, 1, 'V~O', 1, NULL, 'BAS'), (29, 424, 'activity_view', 'vtiger_users', 1, '15', 'activity_view', 'Default Activity View', 1, 0, 0, 100, 12, 79, 1, 'V~O', 1, NULL, 'BAS'), (29, 425, 'lead_view', 'vtiger_users', 1, '15', 'lead_view', 'Default Lead View', 1, 0, 0, 100, 10, 79, 1, 'V~O', 1, NULL, 'BAS'), (29, 426, 'currency_id', 'vtiger_users', 1, '116', 'currency_id', 'Currency', 1, 0, 0, 100, 8, 79, 1, 'I~O', 1, NULL, 'BAS'), (29, 427, 'hour_format', 'vtiger_users', 1, '116', 'hour_format', 'Calendar Hour Format', 1, 0, 0, 100, 13, 79, 3, 'V~O', 1, NULL, 'BAS'), (29, 428, 'end_hour', 'vtiger_users', 1, '116', 'end_hour', 'Day ends at', 1, 0, 0, 100, 15, 79, 3, 'V~O', 1, NULL, 'BAS'), (29, 429, 'start_hour', 'vtiger_users', 1, '116', 'start_hour', 'Day starts at', 1, 0, 0, 100, 14, 79, 3, 'V~O', 1, NULL, 'BAS'), (29, 430, 'title', 'vtiger_users', 1, '1', 'title', 'Title', 1, 0, 0, 50, 1, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 431, 'phone_work', 'vtiger_users', 1, '1', 'phone_work', 'Office Phone', 1, 0, 0, 50, 5, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 432, 'department', 'vtiger_users', 1, '1', 'department', 'Department', 1, 0, 0, 50, 3, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 433, 'phone_mobile', 'vtiger_users', 1, '1', 'phone_mobile', 'Mobile', 1, 0, 0, 50, 7, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 434, 'reports_to_id', 'vtiger_users', 1, '101', 'reports_to_id', 'Reports To', 1, 0, 0, 50, 8, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 435, 'phone_other', 'vtiger_users', 1, '1', 'phone_other', 'Other Phone', 1, 0, 0, 50, 11, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 436, 'email2', 'vtiger_users', 1, '13', 'email2', 'Other Email', 1, 0, 0, 100, 4, 80, 1, 'E~O', 1, NULL, 'BAS'), (29, 437, 'phone_fax', 'vtiger_users', 1, '1', 'phone_fax', 'Fax', 1, 0, 0, 50, 2, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 438, 'yahoo_id', 'vtiger_users', 1, '13', 'yahoo_id', 'Yahoo id', 1, 0, 0, 100, 6, 80, 1, 'E~O', 1, NULL, 'BAS'), (29, 439, 'phone_home', 'vtiger_users', 1, '1', 'phone_home', 'Home Phone', 1, 0, 0, 50, 9, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 440, 'date_format', 'vtiger_users', 1, '15', 'date_format', 'Date Format', 1, 0, 0, 30, 12, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 441, 'signature', 'vtiger_users', 1, '21', 'signature', 'Signature', 1, 0, 0, 250, 13, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 442, 'description', 'vtiger_users', 1, '21', 'description', 'Notes', 1, 0, 0, 250, 14, 80, 1, 'V~O', 1, NULL, 'BAS'), (29, 443, 'address_street', 'vtiger_users', 1, '21', 'address_street', 'Street Address', 1, 0, 0, 250, 1, 81, 1, 'V~O', 1, NULL, 'BAS'), (29, 444, 'address_city', 'vtiger_users', 1, '1', 'address_city', 'City', 1, 0, 0, 100, 3, 81, 1, 'V~O', 1, NULL, 'BAS'), (29, 445, 'address_state', 'vtiger_users', 1, '1', 'address_state', 'State', 1, 0, 0, 100, 5, 81, 1, 'V~O', 1, NULL, 'BAS'), (29, 446, 'address_postalcode', 'vtiger_users', 1, '1', 'address_postalcode', 'Postal Code', 1, 0, 0, 100, 4, 81, 1, 'V~O', 1, NULL, 'BAS'), (29, 447, 'address_country', 'vtiger_users', 1, '1', 'address_country', 'Country', 1, 0, 0, 100, 2, 81, 1, 'V~O', 1, NULL, 'BAS'), (29, 448, 'imagename', 'vtiger_users', 1, '105', 'imagename', 'User Image', 1, 0, 0, 250, 10, 83, 1, 'V~O', 1, NULL, 'BAS'), (29, 449, 'internal_mailer', 'vtiger_users', 1, '56', 'internal_mailer', 'INTERNAL_MAIL_COMPOSER', 1, 0, 0, 50, 15, 80, 1, 'V~O', 1, NULL, 'BAS'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_field_seq` -- DROP TABLE IF EXISTS `vtiger_field_seq`; CREATE TABLE IF NOT EXISTS `vtiger_field_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_field_seq` -- INSERT INTO `vtiger_field_seq` (`id`) VALUES (449); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_files` -- DROP TABLE IF EXISTS `vtiger_files`; CREATE TABLE IF NOT EXISTS `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` -- DROP TABLE IF EXISTS `vtiger_freetagged_objects`; CREATE TABLE IF NOT EXISTS `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` -- DROP TABLE IF EXISTS `vtiger_freetags`; CREATE TABLE IF NOT EXISTS `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` -- DROP TABLE IF EXISTS `vtiger_freetags_seq`; CREATE TABLE IF NOT EXISTS `vtiger_freetags_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_freetags_seq` -- INSERT INTO `vtiger_freetags_seq` (`id`) VALUES (1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_glacct` -- DROP TABLE IF EXISTS `vtiger_glacct`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=10 ; -- -- Dumping data for table `vtiger_glacct` -- INSERT INTO `vtiger_glacct` (`glacctid`, `glacct`, `presence`, `picklist_valueid`) VALUES (1, '300-Sales-Software', 1, 147), (2, '301-Sales-Hardware', 1, 148), (3, '302-Rental-Income', 1, 149), (4, '303-Interest-Income', 1, 150), (5, '304-Sales-Software-Support', 1, 151), (6, '305-Sales Other', 1, 152), (7, '306-Internet Sales', 1, 153), (8, '307-Service-Hardware Labor', 1, 154), (9, '308-Sales-Books', 1, 155); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_glacct_seq` -- DROP TABLE IF EXISTS `vtiger_glacct_seq`; CREATE TABLE IF NOT EXISTS `vtiger_glacct_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_glacct_seq` -- INSERT INTO `vtiger_glacct_seq` (`id`) VALUES (9); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_group2grouprel` -- DROP TABLE IF EXISTS `vtiger_group2grouprel`; CREATE TABLE IF NOT EXISTS `vtiger_group2grouprel` ( `groupid` int(19) NOT NULL, `containsgroupid` int(19) NOT NULL, PRIMARY KEY (`groupid`,`containsgroupid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_group2grouprel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_group2role` -- DROP TABLE IF EXISTS `vtiger_group2role`; CREATE TABLE IF NOT EXISTS `vtiger_group2role` ( `groupid` int(19) NOT NULL, `roleid` varchar(255) NOT NULL, PRIMARY KEY (`groupid`,`roleid`), KEY `fk_2_vtiger_group2role` (`roleid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_group2role` -- INSERT INTO `vtiger_group2role` (`groupid`, `roleid`) VALUES (2, 'H2'), (3, 'H3'), (1, 'H4'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_group2rs` -- DROP TABLE IF EXISTS `vtiger_group2rs`; CREATE TABLE IF NOT EXISTS `vtiger_group2rs` ( `groupid` int(19) NOT NULL, `roleandsubid` varchar(255) NOT NULL, PRIMARY KEY (`groupid`,`roleandsubid`), KEY `fk_2_vtiger_group2rs` (`roleandsubid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_group2rs` -- INSERT INTO `vtiger_group2rs` (`groupid`, `roleandsubid`) VALUES (2, 'H3'), (3, 'H3'), (1, 'H5'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_groups` -- DROP TABLE IF EXISTS `vtiger_groups`; CREATE TABLE IF NOT EXISTS `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` (`groupid`, `groupname`, `description`) VALUES (1, 'Team Selling', 'Group Related to Sales'), (2, 'Marketing Group', 'Group Related to Marketing Activities'), (3, 'Support Group', 'Group Related to providing Support to Customers'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_groups_seq` -- DROP TABLE IF EXISTS `vtiger_groups_seq`; CREATE TABLE IF NOT EXISTS `vtiger_groups_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_groups_seq` -- INSERT INTO `vtiger_groups_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_headers` -- DROP TABLE IF EXISTS `vtiger_headers`; CREATE TABLE IF NOT EXISTS `vtiger_headers` ( `fileid` int(3) NOT NULL auto_increment, `headernames` varchar(30) NOT NULL, PRIMARY KEY (`fileid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_headers` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_import_maps` -- DROP TABLE IF EXISTS `vtiger_import_maps`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_import_maps` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_industry` -- DROP TABLE IF EXISTS `vtiger_industry`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=33 ; -- -- Dumping data for table `vtiger_industry` -- INSERT INTO `vtiger_industry` (`industryid`, `industry`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 26), (2, 'Apparel', 1, 27), (3, 'Banking', 1, 28), (4, 'Biotechnology', 1, 29), (5, 'Chemicals', 1, 30), (6, 'Communications', 1, 31), (7, 'Construction', 1, 32), (8, 'Consulting', 1, 33), (9, 'Education', 1, 34), (10, 'Electronics', 1, 35), (11, 'Energy', 1, 36), (12, 'Engineering', 1, 37), (13, 'Entertainment', 1, 38), (14, 'Environmental', 1, 39), (15, 'Finance', 1, 40), (16, 'Food & Beverage', 1, 41), (17, 'Government', 1, 42), (18, 'Healthcare', 1, 43), (19, 'Hospitality', 1, 44), (20, 'Insurance', 1, 45), (21, 'Machinery', 1, 46), (22, 'Manufacturing', 1, 47), (23, 'Media', 1, 48), (24, 'Not For Profit', 1, 49), (25, 'Recreation', 1, 50), (26, 'Retail', 1, 51), (27, 'Shipping', 1, 52), (28, 'Technology', 1, 53), (29, 'Telecommunications', 1, 54), (30, 'Transportation', 1, 55), (31, 'Utilities', 1, 56), (32, 'Other', 1, 57); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_industry_seq` -- DROP TABLE IF EXISTS `vtiger_industry_seq`; CREATE TABLE IF NOT EXISTS `vtiger_industry_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_industry_seq` -- INSERT INTO `vtiger_industry_seq` (`id`) VALUES (32); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_inventory_tandc` -- DROP TABLE IF EXISTS `vtiger_inventory_tandc`; CREATE TABLE IF NOT EXISTS `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` (`id`, `type`, `tandc`) VALUES (1, 'Inventory', '\r\n - Unless otherwise agreed in writing by the supplier all invoices are payable within thirty (30) days of the date of invoice, in the currency of the invoice, drawn on a bank based in India or by such other method as is agreed in advance by the Supplier.\r\n\r\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_inventory_tandc_seq` -- DROP TABLE IF EXISTS `vtiger_inventory_tandc_seq`; CREATE TABLE IF NOT EXISTS `vtiger_inventory_tandc_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_inventory_tandc_seq` -- INSERT INTO `vtiger_inventory_tandc_seq` (`id`) VALUES (1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_inventorynotification` -- DROP TABLE IF EXISTS `vtiger_inventorynotification`; CREATE TABLE IF NOT EXISTS `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 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_inventorynotification` -- INSERT INTO `vtiger_inventorynotification` (`notificationid`, `notificationname`, `notificationsubject`, `notificationbody`, `label`) 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'), (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'), (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` -- DROP TABLE IF EXISTS `vtiger_inventorynotification_seq`; CREATE TABLE IF NOT EXISTS `vtiger_inventorynotification_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_inventorynotification_seq` -- INSERT INTO `vtiger_inventorynotification_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_inventoryproductrel` -- DROP TABLE IF EXISTS `vtiger_inventoryproductrel`; CREATE TABLE IF NOT EXISTS `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` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_inventoryshippingrel` -- DROP TABLE IF EXISTS `vtiger_inventoryshippingrel`; CREATE TABLE IF NOT EXISTS `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` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_inventorytaxinfo` -- DROP TABLE IF EXISTS `vtiger_inventorytaxinfo`; CREATE TABLE IF NOT EXISTS `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` (`taxid`, `taxname`, `taxlabel`, `percentage`, `deleted`) VALUES (1, 'tax1', 'VAT', 4.500, 0), (2, 'tax2', 'Sales', 10.000, 0), (3, 'tax3', 'Service', 12.500, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_inventorytaxinfo_seq` -- DROP TABLE IF EXISTS `vtiger_inventorytaxinfo_seq`; CREATE TABLE IF NOT EXISTS `vtiger_inventorytaxinfo_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_inventorytaxinfo_seq` -- INSERT INTO `vtiger_inventorytaxinfo_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invitees` -- DROP TABLE IF EXISTS `vtiger_invitees`; CREATE TABLE IF NOT EXISTS `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` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoice` -- DROP TABLE IF EXISTS `vtiger_invoice`; CREATE TABLE IF NOT EXISTS `vtiger_invoice` ( `invoiceid` int(19) NOT NULL default '0', `subject` varchar(100) default NULL, `salesorderid` int(19) default NULL, `customerno` varchar(100) default NULL, `contactid` int(19) default NULL, `notes` varchar(100) default NULL, `invoicedate` date default NULL, `duedate` date default NULL, `invoiceterms` varchar(100) default NULL, `type` varchar(100) default NULL, `adjustment` decimal(25,3) default NULL, `salescommission` decimal(25,3) default NULL, `exciseduty` decimal(25,3) default NULL, `subtotal` decimal(25,3) default NULL, `total` decimal(25,3) default NULL, `taxtype` varchar(25) default NULL, `discount_percent` decimal(25,3) default NULL, `discount_amount` decimal(25,3) default NULL, `s_h_amount` decimal(25,3) default NULL, `shipping` varchar(100) default NULL, `accountid` int(19) default NULL, `terms_conditions` text, `purchaseorder` varchar(200) default NULL, `invoicestatus` varchar(200) default NULL, `invoice_no` varchar(100) default NULL, PRIMARY KEY (`invoiceid`), KEY `invoice_purchaseorderid_idx` (`invoiceid`), KEY `fk_2_vtiger_invoice` (`salesorderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_invoice` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoicebillads` -- DROP TABLE IF EXISTS `vtiger_invoicebillads`; CREATE TABLE IF NOT EXISTS `vtiger_invoicebillads` ( `invoicebilladdressid` int(19) NOT NULL default '0', `bill_city` varchar(30) default NULL, `bill_code` varchar(30) default NULL, `bill_country` varchar(30) default NULL, `bill_state` varchar(30) default NULL, `bill_street` varchar(250) default NULL, `bill_pobox` varchar(30) default NULL, PRIMARY KEY (`invoicebilladdressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_invoicebillads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoicecf` -- DROP TABLE IF EXISTS `vtiger_invoicecf`; CREATE TABLE IF NOT EXISTS `vtiger_invoicecf` ( `invoiceid` int(19) NOT NULL default '0', PRIMARY KEY (`invoiceid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_invoicecf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoicegrouprelation` -- DROP TABLE IF EXISTS `vtiger_invoicegrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_invoicegrouprelation` ( `invoiceid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`invoiceid`), KEY `invoicegrouprelation_groupname_invoiceid_idx` (`groupname`,`invoiceid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_invoicegrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoiceshipads` -- DROP TABLE IF EXISTS `vtiger_invoiceshipads`; CREATE TABLE IF NOT EXISTS `vtiger_invoiceshipads` ( `invoiceshipaddressid` int(19) NOT NULL default '0', `ship_city` varchar(30) default NULL, `ship_code` varchar(30) default NULL, `ship_country` varchar(30) default NULL, `ship_state` varchar(30) default NULL, `ship_street` varchar(250) default NULL, `ship_pobox` varchar(30) default NULL, PRIMARY KEY (`invoiceshipaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_invoiceshipads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoicestatus` -- DROP TABLE IF EXISTS `vtiger_invoicestatus`; CREATE TABLE IF NOT EXISTS `vtiger_invoicestatus` ( `inovicestatusid` int(19) NOT NULL auto_increment, `invoicestatus` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`inovicestatusid`), UNIQUE KEY `invoicestatus_invoiestatus_idx` (`invoicestatus`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `vtiger_invoicestatus` -- INSERT INTO `vtiger_invoicestatus` (`inovicestatusid`, `invoicestatus`, `presence`, `picklist_valueid`) VALUES (1, 'Created', 0, 170), (2, 'Approved', 0, 171), (3, 'Sent', 0, 172), (4, 'Credit Invoice', 0, 173), (5, 'Paid', 0, 174); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoicestatus_seq` -- DROP TABLE IF EXISTS `vtiger_invoicestatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_invoicestatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_invoicestatus_seq` -- INSERT INTO `vtiger_invoicestatus_seq` (`id`) VALUES (5); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_invoicestatushistory` -- DROP TABLE IF EXISTS `vtiger_invoicestatushistory`; CREATE TABLE IF NOT EXISTS `vtiger_invoicestatushistory` ( `historyid` int(19) NOT NULL auto_increment, `invoiceid` int(19) NOT NULL, `accountname` varchar(100) default NULL, `total` decimal(10,0) default NULL, `invoicestatus` varchar(200) default NULL, `lastmodified` datetime default NULL, PRIMARY KEY (`historyid`), KEY `invoicestatushistory_invoiceid_idx` (`invoiceid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_invoicestatushistory` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_lar` -- DROP TABLE IF EXISTS `vtiger_lar`; CREATE TABLE IF NOT EXISTS `vtiger_lar` ( `larid` int(19) NOT NULL default '0', `name` varchar(50) NOT NULL, `createdby` int(19) NOT NULL default '0', `createdon` date NOT NULL, PRIMARY KEY (`larid`), UNIQUE KEY `lar_name_idx` (`name`), KEY `lar_createdby_idx` (`createdby`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_lar` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_lead_view` -- DROP TABLE IF EXISTS `vtiger_lead_view`; CREATE TABLE IF NOT EXISTS `vtiger_lead_view` ( `lead_viewid` int(19) NOT NULL auto_increment, `lead_view` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`lead_viewid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_lead_view` -- INSERT INTO `vtiger_lead_view` (`lead_viewid`, `lead_view`, `sortorderid`, `presence`) VALUES (1, 'Today', 0, 1), (2, 'Last 2 Days', 1, 1), (3, 'Last Week', 2, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_lead_view_seq` -- DROP TABLE IF EXISTS `vtiger_lead_view_seq`; CREATE TABLE IF NOT EXISTS `vtiger_lead_view_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_lead_view_seq` -- INSERT INTO `vtiger_lead_view_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadacctrel` -- DROP TABLE IF EXISTS `vtiger_leadacctrel`; CREATE TABLE IF NOT EXISTS `vtiger_leadacctrel` ( `leadid` int(19) NOT NULL default '0', `accountid` int(19) NOT NULL default '0', PRIMARY KEY (`leadid`), KEY `leadacctrel_accountid_idx` (`accountid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadacctrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadaddress` -- DROP TABLE IF EXISTS `vtiger_leadaddress`; CREATE TABLE IF NOT EXISTS `vtiger_leadaddress` ( `leadaddressid` int(19) NOT NULL default '0', `city` varchar(30) default NULL, `code` varchar(30) default NULL, `state` varchar(30) default NULL, `pobox` varchar(30) default NULL, `country` varchar(30) default NULL, `phone` varchar(50) default NULL, `mobile` varchar(50) default NULL, `fax` varchar(50) default NULL, `lane` varchar(250) default NULL, `leadaddresstype` varchar(30) default 'Billing', PRIMARY KEY (`leadaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadaddress` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadcontrel` -- DROP TABLE IF EXISTS `vtiger_leadcontrel`; CREATE TABLE IF NOT EXISTS `vtiger_leadcontrel` ( `leadid` int(19) NOT NULL default '0', `contactid` int(19) NOT NULL default '0', PRIMARY KEY (`leadid`), KEY `leadcontrel_contactid_idx` (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadcontrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leaddetails` -- DROP TABLE IF EXISTS `vtiger_leaddetails`; CREATE TABLE IF NOT EXISTS `vtiger_leaddetails` ( `leadid` int(19) NOT NULL, `email` varchar(100) default NULL, `interest` varchar(50) default NULL, `firstname` varchar(40) default NULL, `salutation` varchar(200) default NULL, `lastname` varchar(80) NOT NULL, `company` varchar(100) NOT NULL, `annualrevenue` int(19) default '0', `industry` varchar(200) default NULL, `campaign` varchar(30) default NULL, `rating` varchar(200) default NULL, `leadstatus` varchar(50) default NULL, `leadsource` varchar(200) default NULL, `converted` int(1) default '0', `designation` varchar(50) default 'SalesMan', `licencekeystatus` varchar(50) default NULL, `space` varchar(250) default NULL, `comments` text, `priority` varchar(50) default NULL, `demorequest` varchar(50) default NULL, `partnercontact` varchar(50) default NULL, `productversion` varchar(20) default NULL, `product` varchar(50) default NULL, `maildate` date default NULL, `nextstepdate` date default NULL, `fundingsituation` varchar(50) default NULL, `purpose` varchar(50) default NULL, `evaluationstatus` varchar(50) default NULL, `transferdate` date default NULL, `revenuetype` varchar(50) default NULL, `noofemployees` int(50) default NULL, `yahooid` varchar(100) default NULL, `assignleadchk` int(1) default '0', PRIMARY KEY (`leadid`), KEY `leaddetails_converted_leadstatus_idx` (`converted`,`leadstatus`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leaddetails` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadgrouprelation` -- DROP TABLE IF EXISTS `vtiger_leadgrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_leadgrouprelation` ( `leadid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`leadid`), KEY `leadgrouprelation_leadid_idx` (`leadid`), KEY `leadgrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadgrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadpotrel` -- DROP TABLE IF EXISTS `vtiger_leadpotrel`; CREATE TABLE IF NOT EXISTS `vtiger_leadpotrel` ( `leadid` int(19) NOT NULL default '0', `potentialid` int(19) NOT NULL default '0', PRIMARY KEY (`potentialid`), UNIQUE KEY `leadpotrel_leadid_idx` (`leadid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadpotrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadscf` -- DROP TABLE IF EXISTS `vtiger_leadscf`; CREATE TABLE IF NOT EXISTS `vtiger_leadscf` ( `leadid` int(19) NOT NULL default '0', PRIMARY KEY (`leadid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadscf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadsource` -- DROP TABLE IF EXISTS `vtiger_leadsource`; CREATE TABLE IF NOT EXISTS `vtiger_leadsource` ( `leadsourceid` int(19) NOT NULL auto_increment, `leadsource` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`leadsourceid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ; -- -- Dumping data for table `vtiger_leadsource` -- INSERT INTO `vtiger_leadsource` (`leadsourceid`, `leadsource`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 2), (2, 'Cold Call', 1, 3), (3, 'Existing Customer', 1, 4), (4, 'Self Generated', 1, 5), (5, 'Employee', 1, 6), (6, 'Partner', 1, 7), (7, 'Public Relations', 1, 8), (8, 'Direct Mail', 1, 9), (9, 'Conference', 1, 10), (10, 'Trade Show', 1, 11), (11, 'Web Site', 1, 12), (12, 'Word of mouth', 1, 13), (13, 'Other', 1, 14); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadsource_seq` -- DROP TABLE IF EXISTS `vtiger_leadsource_seq`; CREATE TABLE IF NOT EXISTS `vtiger_leadsource_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadsource_seq` -- INSERT INTO `vtiger_leadsource_seq` (`id`) VALUES (13); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadstage` -- DROP TABLE IF EXISTS `vtiger_leadstage`; CREATE TABLE IF NOT EXISTS `vtiger_leadstage` ( `leadstageid` int(19) NOT NULL auto_increment, `stage` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`leadstageid`), UNIQUE KEY `leadstage_stage_idx` (`stage`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_leadstage` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadstatus` -- DROP TABLE IF EXISTS `vtiger_leadstatus`; CREATE TABLE IF NOT EXISTS `vtiger_leadstatus` ( `leadstatusid` int(19) NOT NULL auto_increment, `leadstatus` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`leadstatusid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; -- -- Dumping data for table `vtiger_leadstatus` -- INSERT INTO `vtiger_leadstatus` (`leadstatusid`, `leadstatus`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 58), (2, 'Attempted to Contact', 1, 59), (3, 'Cold', 1, 60), (4, 'Contact in Future', 1, 61), (5, 'Contacted', 1, 62), (6, 'Hot', 1, 63), (7, 'Junk Lead', 1, 64), (8, 'Lost Lead', 1, 65), (9, 'Not Contacted', 1, 66), (10, 'Pre Qualified', 1, 67), (11, 'Qualified', 1, 68), (12, 'Warm', 1, 69); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadstatus_seq` -- DROP TABLE IF EXISTS `vtiger_leadstatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_leadstatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadstatus_seq` -- INSERT INTO `vtiger_leadstatus_seq` (`id`) VALUES (12); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_leadsubdetails` -- DROP TABLE IF EXISTS `vtiger_leadsubdetails`; CREATE TABLE IF NOT EXISTS `vtiger_leadsubdetails` ( `leadsubscriptionid` int(19) NOT NULL default '0', `website` varchar(255) default NULL, `callornot` int(1) default '0', `readornot` int(1) default '0', `empct` int(10) default '0', PRIMARY KEY (`leadsubscriptionid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_leadsubdetails` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_licencekeystatus` -- DROP TABLE IF EXISTS `vtiger_licencekeystatus`; CREATE TABLE IF NOT EXISTS `vtiger_licencekeystatus` ( `licencekeystatusid` int(19) NOT NULL auto_increment, `licencekeystatus` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`licencekeystatusid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_licencekeystatus` -- INSERT INTO `vtiger_licencekeystatus` (`licencekeystatusid`, `licencekeystatus`, `sortorderid`, `presence`) VALUES (1, '--None--', 0, 1), (2, 'Sent', 1, 1), (3, 'Not Sent', 2, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_licencekeystatus_seq` -- DROP TABLE IF EXISTS `vtiger_licencekeystatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_licencekeystatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_licencekeystatus_seq` -- INSERT INTO `vtiger_licencekeystatus_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_loginhistory` -- DROP TABLE IF EXISTS `vtiger_loginhistory`; CREATE TABLE IF NOT EXISTS `vtiger_loginhistory` ( `login_id` int(11) NOT NULL auto_increment, `user_name` varchar(25) NOT NULL, `user_ip` varchar(25) NOT NULL, `logout_time` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `login_time` timestamp NOT NULL default '0000-00-00 00:00:00', `status` varchar(25) default NULL, PRIMARY KEY (`login_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `vtiger_loginhistory` -- INSERT INTO `vtiger_loginhistory` (`login_id`, `user_name`, `user_ip`, `logout_time`, `login_time`, `status`) VALUES (1, 'admin', '10.110.89.105', '2008-04-16 13:50:01', '2008-04-16 13:44:29', 'Signed off'), (2, 'admin', '10.110.89.105', '0000-00-00 00:00:00', '2008-04-16 13:55:33', 'Signed in'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_mail_accounts` -- DROP TABLE IF EXISTS `vtiger_mail_accounts`; CREATE TABLE IF NOT EXISTS `vtiger_mail_accounts` ( `account_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `display_name` varchar(50) default NULL, `mail_id` varchar(50) default NULL, `account_name` varchar(50) default NULL, `mail_protocol` varchar(20) default NULL, `mail_username` varchar(50) NOT NULL, `mail_password` varchar(250) NOT NULL, `mail_servername` varchar(50) default NULL, `box_refresh` int(10) default NULL, `mails_per_page` int(10) default NULL, `ssltype` varchar(50) default NULL, `sslmeth` varchar(50) default NULL, `int_mailer` int(1) default '0', `status` varchar(10) default NULL, `set_default` int(2) default NULL, PRIMARY KEY (`account_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_mail_accounts` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_manufacturer` -- DROP TABLE IF EXISTS `vtiger_manufacturer`; CREATE TABLE IF NOT EXISTS `vtiger_manufacturer` ( `manufacturerid` int(19) NOT NULL auto_increment, `manufacturer` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`manufacturerid`), UNIQUE KEY `manufacturer_manufacturer_idx` (`manufacturer`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_manufacturer` -- INSERT INTO `vtiger_manufacturer` (`manufacturerid`, `manufacturer`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 122), (2, 'AltvetPet Inc.', 1, 123), (3, 'LexPon Inc.', 1, 124), (4, 'MetBeat Corp', 1, 125); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_manufacturer_seq` -- DROP TABLE IF EXISTS `vtiger_manufacturer_seq`; CREATE TABLE IF NOT EXISTS `vtiger_manufacturer_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_manufacturer_seq` -- INSERT INTO `vtiger_manufacturer_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_moduleowners` -- DROP TABLE IF EXISTS `vtiger_moduleowners`; CREATE TABLE IF NOT EXISTS `vtiger_moduleowners` ( `tabid` int(19) NOT NULL default '0', `user_id` varchar(11) NOT NULL, PRIMARY KEY (`tabid`), KEY `moduleowners_tabid_user_id_idx` (`tabid`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_moduleowners` -- INSERT INTO `vtiger_moduleowners` (`tabid`, `user_id`) VALUES (2, '1'), (4, '1'), (6, '1'), (7, '1'), (8, '1'), (9, '1'), (10, '1'), (13, '1'), (14, '1'), (15, '1'), (18, '1'), (19, '1'), (20, '1'), (21, '1'), (22, '1'), (23, '1'), (25, '1'), (26, '1'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_notes` -- DROP TABLE IF EXISTS `vtiger_notes`; CREATE TABLE IF NOT EXISTS `vtiger_notes` ( `notesid` int(19) NOT NULL default '0', `contact_id` int(19) default '0', `title` varchar(50) NOT NULL, `filename` varchar(50) default NULL, `notecontent` text, PRIMARY KEY (`notesid`), KEY `notes_title_idx` (`title`), KEY `notes_notesid_idx` (`notesid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_notes` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_notificationscheduler` -- DROP TABLE IF EXISTS `vtiger_notificationscheduler`; CREATE TABLE IF NOT EXISTS `vtiger_notificationscheduler` ( `schedulednotificationid` int(19) NOT NULL auto_increment, `schedulednotificationname` varchar(200) default NULL, `active` int(1) default NULL, `notificationsubject` varchar(200) default NULL, `notificationbody` text, `label` varchar(50) default NULL, `type` varchar(10) default NULL, PRIMARY KEY (`schedulednotificationid`), UNIQUE KEY `notificationscheduler_schedulednotificationname_idx` (`schedulednotificationname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; -- -- Dumping data for table `vtiger_notificationscheduler` -- INSERT INTO `vtiger_notificationscheduler` (`schedulednotificationid`, `schedulednotificationname`, `active`, `notificationsubject`, `notificationbody`, `label`, `type`) VALUES (1, 'LBL_TASK_NOTIFICATION_DESCRITPION', 1, 'Task Delay Notification', 'Tasks delayed beyond 24 hrs ', 'LBL_TASK_NOTIFICATION', NULL), (2, 'LBL_BIG_DEAL_DESCRIPTION', 1, 'Big Deal notification', 'Success! A big deal has been won! ', 'LBL_BIG_DEAL', NULL), (3, 'LBL_TICKETS_DESCRIPTION', 1, 'Pending Tickets notification', 'Ticket pending please ', 'LBL_PENDING_TICKETS', NULL), (4, 'LBL_MANY_TICKETS_DESCRIPTION', 1, 'Too many tickets Notification', 'Too many tickets pending against this entity ', 'LBL_MANY_TICKETS', NULL), (5, 'LBL_START_DESCRIPTION', 1, 'Support Start Notification', '10', 'LBL_START_NOTIFICATION', 'select'), (6, 'LBL_SUPPORT_DESCRIPTION', 1, 'Support ending please', '11', 'LBL_SUPPORT_NOTICIATION', 'select'), (7, 'LBL_SUPPORT_DESCRIPTION_MONTH', 1, 'Support ending please', '12', 'LBL_SUPPORT_NOTICIATION_MONTH', 'select'), (8, 'LBL_ACTIVITY_REMINDER_DESCRIPTION', 1, 'Activity Reminder Notification', 'This is a reminder notification for the Activity', 'LBL_ACTIVITY_NOTIFICATION', NULL); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_notificationscheduler_seq` -- DROP TABLE IF EXISTS `vtiger_notificationscheduler_seq`; CREATE TABLE IF NOT EXISTS `vtiger_notificationscheduler_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_notificationscheduler_seq` -- INSERT INTO `vtiger_notificationscheduler_seq` (`id`) VALUES (8); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_opportunity_type` -- DROP TABLE IF EXISTS `vtiger_opportunity_type`; CREATE TABLE IF NOT EXISTS `vtiger_opportunity_type` ( `opptypeid` int(19) NOT NULL auto_increment, `opportunity_type` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`opptypeid`), UNIQUE KEY `opportunity_type_opportunity_type_idx` (`opportunity_type`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_opportunity_type` -- INSERT INTO `vtiger_opportunity_type` (`opptypeid`, `opportunity_type`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 76), (2, 'Existing Business', 1, 77), (3, 'New Business', 1, 78); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_opportunity_type_seq` -- DROP TABLE IF EXISTS `vtiger_opportunity_type_seq`; CREATE TABLE IF NOT EXISTS `vtiger_opportunity_type_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_opportunity_type_seq` -- INSERT INTO `vtiger_opportunity_type_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_opportunitystage` -- DROP TABLE IF EXISTS `vtiger_opportunitystage`; CREATE TABLE IF NOT EXISTS `vtiger_opportunitystage` ( `potstageid` int(19) NOT NULL auto_increment, `stage` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', `probability` decimal(3,2) default '0.00', PRIMARY KEY (`potstageid`), UNIQUE KEY `opportunitystage_stage_idx` (`stage`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_opportunitystage` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_org_share_action2tab` -- DROP TABLE IF EXISTS `vtiger_org_share_action2tab`; CREATE TABLE IF NOT EXISTS `vtiger_org_share_action2tab` ( `share_action_id` int(19) NOT NULL, `tabid` int(19) NOT NULL, PRIMARY KEY (`share_action_id`,`tabid`), KEY `fk_2_vtiger_org_share_action2tab` (`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_org_share_action2tab` -- INSERT INTO `vtiger_org_share_action2tab` (`share_action_id`, `tabid`) VALUES (0, 2), (1, 2), (2, 2), (3, 2), (0, 4), (1, 4), (2, 4), (3, 4), (0, 6), (1, 6), (2, 6), (3, 6), (0, 7), (1, 7), (2, 7), (3, 7), (0, 9), (1, 9), (2, 9), (3, 9), (0, 10), (1, 10), (2, 10), (3, 10), (0, 13), (1, 13), (2, 13), (3, 13), (0, 16), (1, 16), (2, 16), (3, 16), (0, 20), (1, 20), (2, 20), (3, 20), (0, 21), (1, 21), (2, 21), (3, 21), (0, 22), (1, 22), (2, 22), (3, 22), (0, 23), (1, 23), (2, 23), (3, 23), (0, 26), (1, 26), (2, 26), (3, 26); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_org_share_action_mapping` -- DROP TABLE IF EXISTS `vtiger_org_share_action_mapping`; CREATE TABLE IF NOT EXISTS `vtiger_org_share_action_mapping` ( `share_action_id` int(19) NOT NULL, `share_action_name` varchar(200) default NULL, PRIMARY KEY (`share_action_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_org_share_action_mapping` -- INSERT INTO `vtiger_org_share_action_mapping` (`share_action_id`, `share_action_name`) VALUES (0, 'Public: Read Only'), (1, 'Public: Read, Create/Edit'), (2, 'Public: Read, Create/Edit, Delete'), (3, 'Private'), (4, 'Hide Details'), (5, 'Hide Details and Add Events'), (6, 'Show Details'), (7, 'Show Details and Add Events'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_organizationdetails` -- DROP TABLE IF EXISTS `vtiger_organizationdetails`; CREATE TABLE IF NOT EXISTS `vtiger_organizationdetails` ( `organizationname` varchar(60) NOT NULL, `address` varchar(150) default NULL, `city` varchar(100) default NULL, `state` varchar(100) default NULL, `country` varchar(100) default NULL, `code` varchar(30) default NULL, `phone` varchar(30) default NULL, `fax` varchar(30) default NULL, `website` varchar(100) default NULL, `logoname` varchar(50) default NULL, `logo` text, PRIMARY KEY (`organizationname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_organizationdetails` -- INSERT INTO `vtiger_organizationdetails` (`organizationname`, `address`, `city`, `state`, `country`, `code`, `phone`, `fax`, `website`, `logoname`, `logo`) VALUES ('vtiger', ' 40-41-42, Sivasundar Apartments, Flat D-II, Shastri Street, Velachery', 'Chennai', 'Tamil Nadu', 'India', '600 042', '+91-44-5202-1990', '+91-44-5202-1990', 'www.vtiger.com', 'vtiger-crm-logo.jpg', NULL); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ownernotify` -- DROP TABLE IF EXISTS `vtiger_ownernotify`; CREATE TABLE IF NOT EXISTS `vtiger_ownernotify` ( `crmid` int(19) default NULL, `smownerid` int(19) default NULL, `flag` int(3) default NULL, KEY `ownernotify_crmid_flag_idx` (`crmid`,`flag`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ownernotify` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_parenttab` -- DROP TABLE IF EXISTS `vtiger_parenttab`; CREATE TABLE IF NOT EXISTS `vtiger_parenttab` ( `parenttabid` int(19) NOT NULL, `parenttab_label` varchar(100) NOT NULL, `sequence` int(10) NOT NULL, `visible` int(2) NOT NULL default '0', PRIMARY KEY (`parenttabid`), KEY `parenttab_parenttabid_parenttabl_label_visible_idx` (`parenttabid`,`parenttab_label`,`visible`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_parenttab` -- INSERT INTO `vtiger_parenttab` (`parenttabid`, `parenttab_label`, `sequence`, `visible`) VALUES (1, 'My Home Page', 1, 0), (2, 'Marketing', 2, 0), (3, 'Sales', 3, 0), (4, 'Support', 4, 0), (5, 'Analytics', 5, 0), (6, 'Inventory', 6, 0), (7, 'Tools', 7, 0), (8, 'Settings', 8, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_parenttabrel` -- DROP TABLE IF EXISTS `vtiger_parenttabrel`; CREATE TABLE IF NOT EXISTS `vtiger_parenttabrel` ( `parenttabid` int(19) NOT NULL, `tabid` int(19) NOT NULL, `sequence` int(3) NOT NULL, KEY `parenttabrel_tabid_parenttabid_idx` (`tabid`,`parenttabid`), KEY `fk_2_vtiger_parenttabrel` (`parenttabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_parenttabrel` -- INSERT INTO `vtiger_parenttabrel` (`parenttabid`, `tabid`, `sequence`) VALUES (1, 9, 2), (1, 28, 4), (1, 3, 1), (3, 7, 1), (3, 6, 2), (3, 4, 3), (3, 2, 4), (3, 20, 5), (3, 22, 6), (3, 23, 7), (3, 14, 8), (3, 19, 9), (3, 8, 10), (4, 13, 1), (4, 15, 2), (4, 6, 3), (4, 4, 4), (4, 14, 5), (4, 8, 6), (5, 1, 1), (5, 25, 2), (6, 14, 1), (6, 18, 2), (6, 19, 3), (6, 21, 4), (6, 22, 5), (6, 20, 6), (6, 23, 7), (7, 24, 1), (7, 27, 2), (7, 8, 3), (2, 26, 1), (2, 6, 2), (2, 4, 3), (2, 28, 4), (4, 28, 7), (2, 7, 5), (2, 9, 6), (4, 9, 8), (2, 8, 8), (3, 9, 11); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_picklist` -- DROP TABLE IF EXISTS `vtiger_picklist`; CREATE TABLE IF NOT EXISTS `vtiger_picklist` ( `picklistid` int(19) NOT NULL auto_increment, `name` varchar(200) NOT NULL, PRIMARY KEY (`picklistid`), UNIQUE KEY `picklist_name_idx` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=30 ; -- -- Dumping data for table `vtiger_picklist` -- INSERT INTO `vtiger_picklist` (`picklistid`, `name`) VALUES (2, 'accounttype'), (28, 'campaignstatus'), (27, 'campaigntype'), (22, 'carrier'), (13, 'eventstatus'), (29, 'expectedresponse'), (18, 'faqcategories'), (23, 'faqstatus'), (20, 'glacct'), (3, 'industry'), (24, 'invoicestatus'), (1, 'leadsource'), (4, 'leadstatus'), (16, 'manufacturer'), (6, 'opportunity_type'), (25, 'postatus'), (17, 'productcategory'), (21, 'quotestage'), (5, 'rating'), (8, 'sales_stage'), (7, 'salutationtype'), (26, 'sostatus'), (15, 'taskpriority'), (14, 'taskstatus'), (12, 'ticketcategories'), (10, 'ticketpriorities'), (11, 'ticketseverities'), (9, 'ticketstatus'), (19, 'usageunit'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_picklist_seq` -- DROP TABLE IF EXISTS `vtiger_picklist_seq`; CREATE TABLE IF NOT EXISTS `vtiger_picklist_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_picklist_seq` -- INSERT INTO `vtiger_picklist_seq` (`id`) VALUES (29); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_picklistvalues_seq` -- DROP TABLE IF EXISTS `vtiger_picklistvalues_seq`; CREATE TABLE IF NOT EXISTS `vtiger_picklistvalues_seq` ( `id` int(11) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_picklistvalues_seq` -- INSERT INTO `vtiger_picklistvalues_seq` (`id`) VALUES (207); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_pobillads` -- DROP TABLE IF EXISTS `vtiger_pobillads`; CREATE TABLE IF NOT EXISTS `vtiger_pobillads` ( `pobilladdressid` int(19) NOT NULL default '0', `bill_city` varchar(30) default NULL, `bill_code` varchar(30) default NULL, `bill_country` varchar(30) default NULL, `bill_state` varchar(30) default NULL, `bill_street` varchar(250) default NULL, `bill_pobox` varchar(30) default NULL, PRIMARY KEY (`pobilladdressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_pobillads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_pogrouprelation` -- DROP TABLE IF EXISTS `vtiger_pogrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_pogrouprelation` ( `purchaseorderid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`purchaseorderid`), KEY `pogrouprelation_groupname_purchaseorderid_idx` (`groupname`,`purchaseorderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_pogrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_portal` -- DROP TABLE IF EXISTS `vtiger_portal`; CREATE TABLE IF NOT EXISTS `vtiger_portal` ( `portalid` int(19) NOT NULL, `portalname` varchar(200) NOT NULL, `portalurl` varchar(255) NOT NULL, `sequence` int(3) NOT NULL, `setdefault` int(3) NOT NULL default '0', PRIMARY KEY (`portalid`), KEY `portal_portalname_idx` (`portalname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_portal` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_portalinfo` -- DROP TABLE IF EXISTS `vtiger_portalinfo`; CREATE TABLE IF NOT EXISTS `vtiger_portalinfo` ( `id` int(11) NOT NULL, `user_name` varchar(50) default NULL, `user_password` varchar(30) default NULL, `type` varchar(5) default NULL, `last_login_time` datetime NOT NULL, `login_time` datetime NOT NULL, `logout_time` datetime NOT NULL, `isactive` int(1) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_portalinfo` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_poshipads` -- DROP TABLE IF EXISTS `vtiger_poshipads`; CREATE TABLE IF NOT EXISTS `vtiger_poshipads` ( `poshipaddressid` int(19) NOT NULL default '0', `ship_city` varchar(30) default NULL, `ship_code` varchar(30) default NULL, `ship_country` varchar(30) default NULL, `ship_state` varchar(30) default NULL, `ship_street` varchar(250) default NULL, `ship_pobox` varchar(30) default NULL, PRIMARY KEY (`poshipaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_poshipads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_postatus` -- DROP TABLE IF EXISTS `vtiger_postatus`; CREATE TABLE IF NOT EXISTS `vtiger_postatus` ( `postatusid` int(19) NOT NULL auto_increment, `postatus` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`postatusid`), UNIQUE KEY `postatus_postatus_idx` (`postatus`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `vtiger_postatus` -- INSERT INTO `vtiger_postatus` (`postatusid`, `postatus`, `presence`, `picklist_valueid`) VALUES (1, 'Created', 0, 175), (2, 'Approved', 0, 176), (3, 'Delivered', 0, 177), (4, 'Cancelled', 0, 178), (5, 'Received Shipment', 0, 179); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_postatus_seq` -- DROP TABLE IF EXISTS `vtiger_postatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_postatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_postatus_seq` -- INSERT INTO `vtiger_postatus_seq` (`id`) VALUES (5); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_postatushistory` -- DROP TABLE IF EXISTS `vtiger_postatushistory`; CREATE TABLE IF NOT EXISTS `vtiger_postatushistory` ( `historyid` int(19) NOT NULL auto_increment, `purchaseorderid` int(19) NOT NULL, `vendorname` varchar(100) default NULL, `total` decimal(10,0) default NULL, `postatus` varchar(200) default NULL, `lastmodified` datetime default NULL, PRIMARY KEY (`historyid`), KEY `postatushistory_purchaseorderid_idx` (`purchaseorderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_postatushistory` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_potcompetitorrel` -- DROP TABLE IF EXISTS `vtiger_potcompetitorrel`; CREATE TABLE IF NOT EXISTS `vtiger_potcompetitorrel` ( `potentialid` int(19) NOT NULL, `competitorid` int(19) NOT NULL, PRIMARY KEY (`potentialid`,`competitorid`), KEY `potcompetitorrel_potentialid_idx` (`potentialid`), KEY `potcompetitorrel_competitorid_idx` (`competitorid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_potcompetitorrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_potential` -- DROP TABLE IF EXISTS `vtiger_potential`; CREATE TABLE IF NOT EXISTS `vtiger_potential` ( `potentialid` int(19) NOT NULL default '0', `accountid` int(19) default NULL, `potentialname` varchar(120) NOT NULL, `amount` decimal(14,2) default '0.00', `currency` varchar(20) default NULL, `closingdate` date default NULL, `typeofrevenue` varchar(50) default NULL, `nextstep` varchar(100) default NULL, `private` int(1) default '0', `probability` decimal(7,3) default '0.000', `campaignid` int(19) default NULL, `sales_stage` varchar(200) default NULL, `potentialtype` varchar(200) default NULL, `leadsource` varchar(200) default NULL, `productid` int(50) default NULL, `productversion` varchar(50) default NULL, `quotationref` varchar(50) default NULL, `partnercontact` varchar(50) default NULL, `remarks` varchar(50) default NULL, `runtimefee` int(19) default '0', `followupdate` date default NULL, `evaluationstatus` varchar(50) default NULL, `description` text, `forecastcategory` int(19) default '0', `outcomeanalysis` int(19) default '0', PRIMARY KEY (`potentialid`), KEY `potential_accountid_idx` (`accountid`), KEY `potential_potentialid_idx` (`potentialid`), KEY `potentail_sales_stage_idx` (`sales_stage`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_potential` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_potentialgrouprelation` -- DROP TABLE IF EXISTS `vtiger_potentialgrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_potentialgrouprelation` ( `potentialid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`potentialid`), KEY `potentialgrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_potentialgrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_potentialscf` -- DROP TABLE IF EXISTS `vtiger_potentialscf`; CREATE TABLE IF NOT EXISTS `vtiger_potentialscf` ( `potentialid` int(19) NOT NULL default '0', PRIMARY KEY (`potentialid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_potentialscf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_potstagehistory` -- DROP TABLE IF EXISTS `vtiger_potstagehistory`; CREATE TABLE IF NOT EXISTS `vtiger_potstagehistory` ( `historyid` int(19) NOT NULL auto_increment, `potentialid` int(19) NOT NULL, `amount` decimal(10,0) default NULL, `stage` varchar(100) default NULL, `probability` decimal(7,3) default NULL, `expectedrevenue` decimal(10,0) default NULL, `closedate` date default NULL, `lastmodified` datetime default NULL, PRIMARY KEY (`historyid`), KEY `potstagehistory_potentialid_idx` (`potentialid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_potstagehistory` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_pricebook` -- DROP TABLE IF EXISTS `vtiger_pricebook`; CREATE TABLE IF NOT EXISTS `vtiger_pricebook` ( `pricebookid` int(19) NOT NULL default '0', `bookname` varchar(100) default NULL, `active` int(1) default NULL, `description` text, PRIMARY KEY (`pricebookid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_pricebook` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_pricebookcf` -- DROP TABLE IF EXISTS `vtiger_pricebookcf`; CREATE TABLE IF NOT EXISTS `vtiger_pricebookcf` ( `pricebookid` int(19) NOT NULL default '0', PRIMARY KEY (`pricebookid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_pricebookcf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_pricebookproductrel` -- DROP TABLE IF EXISTS `vtiger_pricebookproductrel`; CREATE TABLE IF NOT EXISTS `vtiger_pricebookproductrel` ( `pricebookid` int(19) NOT NULL, `productid` int(19) NOT NULL, `listprice` decimal(25,3) default NULL, PRIMARY KEY (`pricebookid`,`productid`), KEY `pricebookproductrel_pricebookid_idx` (`pricebookid`), KEY `pricebookproductrel_productid_idx` (`productid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_pricebookproductrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_priority` -- DROP TABLE IF EXISTS `vtiger_priority`; CREATE TABLE IF NOT EXISTS `vtiger_priority` ( `priorityid` int(19) NOT NULL auto_increment, `priority` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`priorityid`), UNIQUE KEY `priority_priority_idx` (`priority`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_priority` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_productcategory` -- DROP TABLE IF EXISTS `vtiger_productcategory`; CREATE TABLE IF NOT EXISTS `vtiger_productcategory` ( `productcategoryid` int(19) NOT NULL auto_increment, `productcategory` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`productcategoryid`), UNIQUE KEY `productcategory_productcategory_idx` (`productcategory`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_productcategory` -- INSERT INTO `vtiger_productcategory` (`productcategoryid`, `productcategory`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 126), (2, 'Hardware', 1, 127), (3, 'Software', 1, 128), (4, 'CRM Applications', 1, 129); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_productcategory_seq` -- DROP TABLE IF EXISTS `vtiger_productcategory_seq`; CREATE TABLE IF NOT EXISTS `vtiger_productcategory_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_productcategory_seq` -- INSERT INTO `vtiger_productcategory_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_productcf` -- DROP TABLE IF EXISTS `vtiger_productcf`; CREATE TABLE IF NOT EXISTS `vtiger_productcf` ( `productid` int(19) NOT NULL default '0', PRIMARY KEY (`productid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_productcf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_productcollaterals` -- DROP TABLE IF EXISTS `vtiger_productcollaterals`; CREATE TABLE IF NOT EXISTS `vtiger_productcollaterals` ( `productid` int(11) NOT NULL, `date_entered` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `data` longblob, `description` text, `filename` varchar(50) default NULL, `filesize` varchar(50) NOT NULL, `filetype` varchar(20) NOT NULL, PRIMARY KEY (`productid`), KEY `productcollaterals_productid_filename_idx` (`productid`,`filename`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_productcollaterals` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_products` -- DROP TABLE IF EXISTS `vtiger_products`; CREATE TABLE IF NOT EXISTS `vtiger_products` ( `productid` int(11) NOT NULL, `productname` varchar(50) NOT NULL, `productcode` varchar(40) default NULL, `productcategory` varchar(200) default NULL, `manufacturer` varchar(200) default NULL, `product_description` text, `qty_per_unit` decimal(11,2) default '0.00', `unit_price` decimal(25,2) default NULL, `weight` decimal(11,3) default NULL, `pack_size` int(11) default NULL, `sales_start_date` date default NULL, `sales_end_date` date default NULL, `start_date` date default NULL, `expiry_date` date default NULL, `cost_factor` int(11) default NULL, `commissionrate` decimal(7,3) default NULL, `commissionmethod` varchar(50) default NULL, `discontinued` int(1) NOT NULL default '0', `usageunit` varchar(200) default NULL, `handler` int(11) default NULL, `currency` varchar(200) default NULL, `reorderlevel` int(11) default NULL, `website` varchar(100) default NULL, `taxclass` varchar(200) default NULL, `mfr_part_no` varchar(200) default NULL, `vendor_part_no` varchar(200) default NULL, `serialno` varchar(200) default NULL, `qtyinstock` decimal(25,3) default NULL, `productsheet` varchar(200) default NULL, `qtyindemand` int(11) default NULL, `glacct` varchar(200) default NULL, `vendor_id` int(11) default NULL, `imagename` text, PRIMARY KEY (`productid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_products` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_producttaxrel` -- DROP TABLE IF EXISTS `vtiger_producttaxrel`; CREATE TABLE IF NOT EXISTS `vtiger_producttaxrel` ( `productid` int(11) NOT NULL, `taxid` int(3) NOT NULL, `taxpercentage` decimal(7,3) default NULL, KEY `producttaxrel_productid_idx` (`productid`), KEY `producttaxrel_taxid_idx` (`taxid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_producttaxrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_profile` -- DROP TABLE IF EXISTS `vtiger_profile`; CREATE TABLE IF NOT EXISTS `vtiger_profile` ( `profileid` int(10) NOT NULL auto_increment, `profilename` varchar(50) NOT NULL, `description` text, PRIMARY KEY (`profileid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_profile` -- INSERT INTO `vtiger_profile` (`profileid`, `profilename`, `description`) VALUES (1, 'Administrator', 'Admin Profile'), (2, 'Sales Profile', 'Profile Related to Sales'), (3, 'Support Profile', 'Profile Related to Support'), (4, 'Guest Profile', 'Guest Profile for Test Users'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_profile2field` -- DROP TABLE IF EXISTS `vtiger_profile2field`; CREATE TABLE IF NOT EXISTS `vtiger_profile2field` ( `profileid` int(11) NOT NULL, `tabid` int(10) default NULL, `fieldid` int(19) NOT NULL, `visible` int(19) default NULL, `readonly` int(19) default NULL, PRIMARY KEY (`profileid`,`fieldid`), KEY `profile2field_profileid_tabid_fieldname_idx` (`profileid`,`tabid`), KEY `profile2field_tabid_profileid_idx` (`tabid`,`profileid`), KEY `profile2field_visible_profileid_idx` (`visible`,`profileid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_profile2field` -- INSERT INTO `vtiger_profile2field` (`profileid`, `tabid`, `fieldid`, `visible`, `readonly`) VALUES (1, 6, 1, 0, 1), (1, 6, 2, 0, 1), (1, 6, 3, 0, 1), (1, 6, 4, 0, 1), (1, 6, 5, 0, 1), (1, 6, 6, 0, 1), (1, 6, 7, 0, 1), (1, 6, 8, 0, 1), (1, 6, 9, 0, 1), (1, 6, 10, 0, 1), (1, 6, 11, 0, 1), (1, 6, 12, 0, 1), (1, 6, 13, 0, 1), (1, 6, 14, 0, 1), (1, 6, 15, 0, 1), (1, 6, 16, 0, 1), (1, 6, 17, 0, 1), (1, 6, 18, 0, 1), (1, 6, 19, 0, 1), (1, 6, 20, 0, 1), (1, 6, 21, 0, 1), (1, 6, 22, 0, 1), (1, 6, 23, 0, 1), (1, 6, 24, 0, 1), (1, 6, 25, 0, 1), (1, 6, 26, 0, 1), (1, 6, 27, 0, 1), (1, 6, 28, 0, 1), (1, 6, 29, 0, 1), (1, 6, 30, 0, 1), (1, 6, 31, 0, 1), (1, 6, 32, 0, 1), (1, 6, 33, 0, 1), (1, 6, 34, 0, 1), (1, 7, 35, 0, 1), (1, 7, 36, 0, 1), (1, 7, 37, 0, 1), (1, 7, 38, 0, 1), (1, 7, 39, 0, 1), (1, 7, 40, 0, 1), (1, 7, 41, 0, 1), (1, 7, 42, 0, 1), (1, 7, 43, 0, 1), (1, 7, 44, 0, 1), (1, 7, 45, 0, 1), (1, 7, 46, 0, 1), (1, 7, 47, 0, 1), (1, 7, 48, 0, 1), (1, 7, 49, 0, 1), (1, 7, 50, 0, 1), (1, 7, 51, 0, 1), (1, 7, 52, 0, 1), (1, 7, 53, 0, 1), (1, 7, 54, 0, 1), (1, 7, 55, 0, 1), (1, 7, 56, 0, 1), (1, 7, 57, 0, 1), (1, 7, 58, 0, 1), (1, 7, 59, 0, 1), (1, 7, 60, 0, 1), (1, 7, 61, 0, 1), (1, 4, 62, 0, 1), (1, 4, 63, 0, 1), (1, 4, 64, 0, 1), (1, 4, 65, 0, 1), (1, 4, 66, 0, 1), (1, 4, 67, 0, 1), (1, 4, 68, 0, 1), (1, 4, 69, 0, 1), (1, 4, 70, 0, 1), (1, 4, 71, 0, 1), (1, 4, 72, 0, 1), (1, 4, 73, 0, 1), (1, 4, 74, 0, 1), (1, 4, 75, 0, 1), (1, 4, 76, 0, 1), (1, 4, 77, 0, 1), (1, 4, 78, 0, 1), (1, 4, 79, 0, 1), (1, 4, 80, 0, 1), (1, 4, 81, 0, 1), (1, 4, 82, 0, 1), (1, 4, 83, 0, 1), (1, 4, 84, 0, 1), (1, 4, 85, 0, 1), (1, 4, 86, 0, 1), (1, 4, 87, 0, 1), (1, 4, 88, 0, 1), (1, 4, 89, 0, 1), (1, 4, 90, 0, 1), (1, 4, 91, 0, 1), (1, 4, 92, 0, 1), (1, 4, 93, 0, 1), (1, 4, 94, 0, 1), (1, 4, 95, 0, 1), (1, 4, 96, 0, 1), (1, 4, 97, 0, 1), (1, 4, 98, 0, 1), (1, 4, 99, 0, 1), (1, 4, 100, 0, 1), (1, 4, 101, 0, 1), (1, 4, 102, 0, 1), (1, 4, 103, 0, 1), (1, 2, 104, 0, 1), (1, 2, 105, 0, 1), (1, 2, 106, 0, 1), (1, 2, 107, 0, 1), (1, 2, 108, 0, 1), (1, 2, 109, 0, 1), (1, 2, 110, 0, 1), (1, 2, 111, 0, 1), (1, 2, 112, 0, 1), (1, 2, 113, 0, 1), (1, 2, 114, 0, 1), (1, 2, 115, 0, 1), (1, 2, 116, 0, 1), (1, 2, 117, 0, 1), (1, 26, 118, 0, 1), (1, 26, 119, 0, 1), (1, 26, 120, 0, 1), (1, 26, 121, 0, 1), (1, 26, 122, 0, 1), (1, 26, 123, 0, 1), (1, 26, 124, 0, 1), (1, 26, 125, 0, 1), (1, 26, 126, 0, 1), (1, 26, 127, 0, 1), (1, 26, 128, 0, 1), (1, 26, 129, 0, 1), (1, 26, 130, 0, 1), (1, 26, 131, 0, 1), (1, 26, 132, 0, 1), (1, 26, 133, 0, 1), (1, 26, 134, 0, 1), (1, 26, 135, 0, 1), (1, 26, 136, 0, 1), (1, 26, 137, 0, 1), (1, 26, 138, 0, 1), (1, 26, 139, 0, 1), (1, 26, 140, 0, 1), (1, 13, 141, 0, 1), (1, 13, 142, 0, 1), (1, 13, 143, 0, 1), (1, 13, 144, 0, 1), (1, 13, 145, 0, 1), (1, 13, 146, 0, 1), (1, 13, 147, 0, 1), (1, 13, 148, 0, 1), (1, 13, 149, 0, 1), (1, 13, 150, 0, 1), (1, 13, 151, 0, 1), (1, 13, 152, 0, 1), (1, 13, 153, 0, 1), (1, 13, 154, 0, 1), (1, 13, 155, 0, 1), (1, 14, 156, 0, 1), (1, 14, 157, 0, 1), (1, 14, 158, 0, 1), (1, 14, 159, 0, 1), (1, 14, 160, 0, 1), (1, 14, 161, 0, 1), (1, 14, 162, 0, 1), (1, 14, 163, 0, 1), (1, 14, 164, 0, 1), (1, 14, 165, 0, 1), (1, 14, 166, 0, 1), (1, 14, 167, 0, 1), (1, 14, 168, 0, 1), (1, 14, 169, 0, 1), (1, 14, 170, 0, 1), (1, 14, 171, 0, 1), (1, 14, 172, 0, 1), (1, 14, 173, 0, 1), (1, 14, 174, 0, 1), (1, 14, 175, 0, 1), (1, 14, 176, 0, 1), (1, 14, 177, 0, 1), (1, 14, 178, 0, 1), (1, 14, 179, 0, 1), (1, 14, 180, 0, 1), (1, 14, 181, 0, 1), (1, 14, 182, 0, 1), (1, 14, 183, 0, 1), (1, 14, 184, 0, 1), (1, 8, 185, 0, 1), (1, 8, 186, 0, 1), (1, 8, 187, 0, 1), (1, 8, 188, 0, 1), (1, 8, 189, 0, 1), (1, 8, 190, 0, 1), (1, 8, 191, 0, 1), (1, 10, 192, 0, 1), (1, 10, 193, 0, 1), (1, 10, 194, 0, 1), (1, 10, 195, 0, 1), (1, 10, 196, 0, 1), (1, 10, 197, 0, 1), (1, 10, 198, 0, 1), (1, 10, 199, 0, 1), (1, 10, 200, 0, 1), (1, 10, 201, 0, 1), (1, 10, 202, 0, 1), (1, 9, 203, 0, 1), (1, 9, 204, 0, 1), (1, 9, 205, 0, 1), (1, 9, 206, 0, 1), (1, 9, 207, 0, 1), (1, 9, 208, 0, 1), (1, 9, 209, 0, 1), (1, 9, 210, 0, 1), (1, 9, 211, 0, 1), (1, 9, 212, 0, 1), (1, 9, 213, 0, 1), (1, 9, 214, 0, 1), (1, 9, 215, 0, 1), (1, 9, 216, 0, 1), (1, 9, 217, 0, 1), (1, 9, 218, 0, 1), (1, 9, 219, 0, 1), (1, 9, 220, 0, 1), (1, 9, 221, 0, 1), (1, 9, 222, 0, 1), (1, 9, 223, 0, 1), (1, 9, 224, 0, 1), (1, 9, 225, 0, 1), (1, 16, 226, 0, 1), (1, 16, 227, 0, 1), (1, 16, 228, 0, 1), (1, 16, 229, 0, 1), (1, 16, 230, 0, 1), (1, 16, 231, 0, 1), (1, 16, 232, 0, 1), (1, 16, 233, 0, 1), (1, 16, 234, 0, 1), (1, 16, 235, 0, 1), (1, 16, 236, 0, 1), (1, 16, 237, 0, 1), (1, 16, 238, 0, 1), (1, 16, 239, 0, 1), (1, 16, 240, 0, 1), (1, 16, 241, 0, 1), (1, 16, 242, 0, 1), (1, 16, 243, 0, 1), (1, 16, 244, 0, 1), (1, 16, 245, 0, 1), (1, 16, 246, 0, 1), (1, 15, 247, 0, 1), (1, 15, 248, 0, 1), (1, 15, 249, 0, 1), (1, 15, 250, 0, 1), (1, 15, 251, 0, 1), (1, 15, 252, 0, 1), (1, 15, 253, 0, 1), (1, 15, 254, 0, 1), (1, 18, 255, 0, 1), (1, 18, 256, 0, 1), (1, 18, 257, 0, 1), (1, 18, 258, 0, 1), (1, 18, 259, 0, 1), (1, 18, 260, 0, 1), (1, 18, 261, 0, 1), (1, 18, 262, 0, 1), (1, 18, 263, 0, 1), (1, 18, 264, 0, 1), (1, 18, 265, 0, 1), (1, 18, 266, 0, 1), (1, 18, 267, 0, 1), (1, 18, 268, 0, 1), (1, 18, 269, 0, 1), (1, 19, 270, 0, 1), (1, 19, 271, 0, 1), (1, 19, 272, 0, 1), (1, 19, 273, 0, 1), (1, 19, 274, 0, 1), (1, 20, 275, 0, 1), (1, 20, 276, 0, 1), (1, 20, 277, 0, 1), (1, 20, 278, 0, 1), (1, 20, 279, 0, 1), (1, 20, 280, 0, 1), (1, 20, 281, 0, 1), (1, 20, 282, 0, 1), (1, 20, 283, 0, 1), (1, 20, 284, 0, 1), (1, 20, 285, 0, 1), (1, 20, 286, 0, 1), (1, 20, 287, 0, 1), (1, 20, 288, 0, 1), (1, 20, 289, 0, 1), (1, 20, 290, 0, 1), (1, 20, 291, 0, 1), (1, 20, 292, 0, 1), (1, 20, 293, 0, 1), (1, 20, 294, 0, 1), (1, 20, 295, 0, 1), (1, 20, 296, 0, 1), (1, 20, 297, 0, 1), (1, 20, 298, 0, 1), (1, 20, 299, 0, 1), (1, 20, 300, 0, 1), (1, 20, 301, 0, 1), (1, 20, 302, 0, 1), (1, 20, 303, 0, 1), (1, 20, 304, 0, 1), (1, 20, 305, 0, 1), (1, 20, 306, 0, 1), (1, 20, 307, 0, 1), (1, 21, 308, 0, 1), (1, 21, 309, 0, 1), (1, 21, 310, 0, 1), (1, 21, 311, 0, 1), (1, 21, 312, 0, 1), (1, 21, 313, 0, 1), (1, 21, 314, 0, 1), (1, 21, 315, 0, 1), (1, 21, 316, 0, 1), (1, 21, 317, 0, 1), (1, 21, 318, 0, 1), (1, 21, 319, 0, 1), (1, 21, 320, 0, 1), (1, 21, 321, 0, 1), (1, 21, 322, 0, 1), (1, 21, 323, 0, 1), (1, 21, 324, 0, 1), (1, 21, 325, 0, 1), (1, 21, 326, 0, 1), (1, 21, 327, 0, 1), (1, 21, 328, 0, 1), (1, 21, 329, 0, 1), (1, 21, 330, 0, 1), (1, 21, 331, 0, 1), (1, 21, 332, 0, 1), (1, 21, 333, 0, 1), (1, 21, 334, 0, 1), (1, 21, 335, 0, 1), (1, 21, 336, 0, 1), (1, 21, 337, 0, 1), (1, 21, 338, 0, 1), (1, 21, 339, 0, 1), (1, 21, 340, 0, 1), (1, 21, 341, 0, 1), (1, 22, 342, 0, 1), (1, 22, 343, 0, 1), (1, 22, 344, 0, 1), (1, 22, 345, 0, 1), (1, 22, 346, 0, 1), (1, 22, 347, 0, 1), (1, 22, 348, 0, 1), (1, 22, 349, 0, 1), (1, 22, 350, 0, 1), (1, 22, 351, 0, 1), (1, 22, 352, 0, 1), (1, 22, 353, 0, 1), (1, 22, 354, 0, 1), (1, 22, 355, 0, 1), (1, 22, 356, 0, 1), (1, 22, 357, 0, 1), (1, 22, 358, 0, 1), (1, 22, 359, 0, 1), (1, 22, 360, 0, 1), (1, 22, 361, 0, 1), (1, 22, 362, 0, 1), (1, 22, 363, 0, 1), (1, 22, 364, 0, 1), (1, 22, 365, 0, 1), (1, 22, 366, 0, 1), (1, 22, 367, 0, 1), (1, 22, 368, 0, 1), (1, 22, 369, 0, 1), (1, 22, 370, 0, 1), (1, 22, 371, 0, 1), (1, 22, 372, 0, 1), (1, 22, 373, 0, 1), (1, 22, 374, 0, 1), (1, 22, 375, 0, 1), (1, 22, 376, 0, 1), (1, 22, 377, 0, 1), (1, 22, 378, 0, 1), (1, 23, 379, 0, 1), (1, 23, 380, 0, 1), (1, 23, 381, 0, 1), (1, 23, 382, 0, 1), (1, 23, 383, 0, 1), (1, 23, 384, 0, 1), (1, 23, 385, 0, 1), (1, 23, 386, 0, 1), (1, 23, 387, 0, 1), (1, 23, 388, 0, 1), (1, 23, 389, 0, 1), (1, 23, 390, 0, 1), (1, 23, 391, 0, 1), (1, 23, 392, 0, 1), (1, 23, 393, 0, 1), (1, 23, 394, 0, 1), (1, 23, 395, 0, 1), (1, 23, 396, 0, 1), (1, 23, 397, 0, 1), (1, 23, 398, 0, 1), (1, 23, 399, 0, 1), (1, 23, 400, 0, 1), (1, 23, 401, 0, 1), (1, 23, 402, 0, 1), (1, 23, 403, 0, 1), (1, 23, 404, 0, 1), (1, 23, 405, 0, 1), (1, 23, 406, 0, 1), (1, 23, 407, 0, 1), (1, 23, 408, 0, 1), (1, 23, 409, 0, 1), (1, 23, 410, 0, 1), (1, 23, 411, 0, 1), (1, 23, 412, 0, 1), (1, 23, 413, 0, 1), (1, 23, 414, 0, 1), (2, 6, 1, 0, 1), (2, 6, 2, 0, 1), (2, 6, 3, 0, 1), (2, 6, 4, 0, 1), (2, 6, 5, 0, 1), (2, 6, 6, 0, 1), (2, 6, 7, 0, 1), (2, 6, 8, 0, 1), (2, 6, 9, 0, 1), (2, 6, 10, 0, 1), (2, 6, 11, 0, 1), (2, 6, 12, 0, 1), (2, 6, 13, 0, 1), (2, 6, 14, 0, 1), (2, 6, 15, 0, 1), (2, 6, 16, 0, 1), (2, 6, 17, 0, 1), (2, 6, 18, 0, 1), (2, 6, 19, 0, 1), (2, 6, 20, 0, 1), (2, 6, 21, 0, 1), (2, 6, 22, 0, 1), (2, 6, 23, 0, 1), (2, 6, 24, 0, 1), (2, 6, 25, 0, 1), (2, 6, 26, 0, 1), (2, 6, 27, 0, 1), (2, 6, 28, 0, 1), (2, 6, 29, 0, 1), (2, 6, 30, 0, 1), (2, 6, 31, 0, 1), (2, 6, 32, 0, 1), (2, 6, 33, 0, 1), (2, 6, 34, 0, 1), (2, 7, 35, 0, 1), (2, 7, 36, 0, 1), (2, 7, 37, 0, 1), (2, 7, 38, 0, 1), (2, 7, 39, 0, 1), (2, 7, 40, 0, 1), (2, 7, 41, 0, 1), (2, 7, 42, 0, 1), (2, 7, 43, 0, 1), (2, 7, 44, 0, 1), (2, 7, 45, 0, 1), (2, 7, 46, 0, 1), (2, 7, 47, 0, 1), (2, 7, 48, 0, 1), (2, 7, 49, 0, 1), (2, 7, 50, 0, 1), (2, 7, 51, 0, 1), (2, 7, 52, 0, 1), (2, 7, 53, 0, 1), (2, 7, 54, 0, 1), (2, 7, 55, 0, 1), (2, 7, 56, 0, 1), (2, 7, 57, 0, 1), (2, 7, 58, 0, 1), (2, 7, 59, 0, 1), (2, 7, 60, 0, 1), (2, 7, 61, 0, 1), (2, 4, 62, 0, 1), (2, 4, 63, 0, 1), (2, 4, 64, 0, 1), (2, 4, 65, 0, 1), (2, 4, 66, 0, 1), (2, 4, 67, 0, 1), (2, 4, 68, 0, 1), (2, 4, 69, 0, 1), (2, 4, 70, 0, 1), (2, 4, 71, 0, 1), (2, 4, 72, 0, 1), (2, 4, 73, 0, 1), (2, 4, 74, 0, 1), (2, 4, 75, 0, 1), (2, 4, 76, 0, 1), (2, 4, 77, 0, 1), (2, 4, 78, 0, 1), (2, 4, 79, 0, 1), (2, 4, 80, 0, 1), (2, 4, 81, 0, 1), (2, 4, 82, 0, 1), (2, 4, 83, 0, 1), (2, 4, 84, 0, 1), (2, 4, 85, 0, 1), (2, 4, 86, 0, 1), (2, 4, 87, 0, 1), (2, 4, 88, 0, 1), (2, 4, 89, 0, 1), (2, 4, 90, 0, 1), (2, 4, 91, 0, 1), (2, 4, 92, 0, 1), (2, 4, 93, 0, 1), (2, 4, 94, 0, 1), (2, 4, 95, 0, 1), (2, 4, 96, 0, 1), (2, 4, 97, 0, 1), (2, 4, 98, 0, 1), (2, 4, 99, 0, 1), (2, 4, 100, 0, 1), (2, 4, 101, 0, 1), (2, 4, 102, 0, 1), (2, 4, 103, 0, 1), (2, 2, 104, 0, 1), (2, 2, 105, 0, 1), (2, 2, 106, 0, 1), (2, 2, 107, 0, 1), (2, 2, 108, 0, 1), (2, 2, 109, 0, 1), (2, 2, 110, 0, 1), (2, 2, 111, 0, 1), (2, 2, 112, 0, 1), (2, 2, 113, 0, 1), (2, 2, 114, 0, 1), (2, 2, 115, 0, 1), (2, 2, 116, 0, 1), (2, 2, 117, 0, 1), (2, 26, 118, 0, 1), (2, 26, 119, 0, 1), (2, 26, 120, 0, 1), (2, 26, 121, 0, 1), (2, 26, 122, 0, 1), (2, 26, 123, 0, 1), (2, 26, 124, 0, 1), (2, 26, 125, 0, 1), (2, 26, 126, 0, 1), (2, 26, 127, 0, 1), (2, 26, 128, 0, 1), (2, 26, 129, 0, 1), (2, 26, 130, 0, 1), (2, 26, 131, 0, 1), (2, 26, 132, 0, 1), (2, 26, 133, 0, 1), (2, 26, 134, 0, 1), (2, 26, 135, 0, 1), (2, 26, 136, 0, 1), (2, 26, 137, 0, 1), (2, 26, 138, 0, 1), (2, 26, 139, 0, 1), (2, 26, 140, 0, 1), (2, 13, 141, 0, 1), (2, 13, 142, 0, 1), (2, 13, 143, 0, 1), (2, 13, 144, 0, 1), (2, 13, 145, 0, 1), (2, 13, 146, 0, 1), (2, 13, 147, 0, 1), (2, 13, 148, 0, 1), (2, 13, 149, 0, 1), (2, 13, 150, 0, 1), (2, 13, 151, 0, 1), (2, 13, 152, 0, 1), (2, 13, 153, 0, 1), (2, 13, 154, 0, 1), (2, 13, 155, 0, 1), (2, 14, 156, 0, 1), (2, 14, 157, 0, 1), (2, 14, 158, 0, 1), (2, 14, 159, 0, 1), (2, 14, 160, 0, 1), (2, 14, 161, 0, 1), (2, 14, 162, 0, 1), (2, 14, 163, 0, 1), (2, 14, 164, 0, 1), (2, 14, 165, 0, 1), (2, 14, 166, 0, 1), (2, 14, 167, 0, 1), (2, 14, 168, 0, 1), (2, 14, 169, 0, 1), (2, 14, 170, 0, 1), (2, 14, 171, 0, 1), (2, 14, 172, 0, 1), (2, 14, 173, 0, 1), (2, 14, 174, 0, 1), (2, 14, 175, 0, 1), (2, 14, 176, 0, 1), (2, 14, 177, 0, 1), (2, 14, 178, 0, 1), (2, 14, 179, 0, 1), (2, 14, 180, 0, 1), (2, 14, 181, 0, 1), (2, 14, 182, 0, 1), (2, 14, 183, 0, 1), (2, 14, 184, 0, 1), (2, 8, 185, 0, 1), (2, 8, 186, 0, 1), (2, 8, 187, 0, 1), (2, 8, 188, 0, 1), (2, 8, 189, 0, 1), (2, 8, 190, 0, 1), (2, 8, 191, 0, 1), (2, 10, 192, 0, 1), (2, 10, 193, 0, 1), (2, 10, 194, 0, 1), (2, 10, 195, 0, 1), (2, 10, 196, 0, 1), (2, 10, 197, 0, 1), (2, 10, 198, 0, 1), (2, 10, 199, 0, 1), (2, 10, 200, 0, 1), (2, 10, 201, 0, 1), (2, 10, 202, 0, 1), (2, 9, 203, 0, 1), (2, 9, 204, 0, 1), (2, 9, 205, 0, 1), (2, 9, 206, 0, 1), (2, 9, 207, 0, 1), (2, 9, 208, 0, 1), (2, 9, 209, 0, 1), (2, 9, 210, 0, 1), (2, 9, 211, 0, 1), (2, 9, 212, 0, 1), (2, 9, 213, 0, 1), (2, 9, 214, 0, 1), (2, 9, 215, 0, 1), (2, 9, 216, 0, 1), (2, 9, 217, 0, 1), (2, 9, 218, 0, 1), (2, 9, 219, 0, 1), (2, 9, 220, 0, 1), (2, 9, 221, 0, 1), (2, 9, 222, 0, 1), (2, 9, 223, 0, 1), (2, 9, 224, 0, 1), (2, 9, 225, 0, 1), (2, 16, 226, 0, 1), (2, 16, 227, 0, 1), (2, 16, 228, 0, 1), (2, 16, 229, 0, 1), (2, 16, 230, 0, 1), (2, 16, 231, 0, 1), (2, 16, 232, 0, 1), (2, 16, 233, 0, 1), (2, 16, 234, 0, 1), (2, 16, 235, 0, 1), (2, 16, 236, 0, 1), (2, 16, 237, 0, 1), (2, 16, 238, 0, 1), (2, 16, 239, 0, 1), (2, 16, 240, 0, 1), (2, 16, 241, 0, 1), (2, 16, 242, 0, 1), (2, 16, 243, 0, 1), (2, 16, 244, 0, 1), (2, 16, 245, 0, 1), (2, 16, 246, 0, 1), (2, 15, 247, 0, 1), (2, 15, 248, 0, 1), (2, 15, 249, 0, 1), (2, 15, 250, 0, 1), (2, 15, 251, 0, 1), (2, 15, 252, 0, 1), (2, 15, 253, 0, 1), (2, 15, 254, 0, 1), (2, 18, 255, 0, 1), (2, 18, 256, 0, 1), (2, 18, 257, 0, 1), (2, 18, 258, 0, 1), (2, 18, 259, 0, 1), (2, 18, 260, 0, 1), (2, 18, 261, 0, 1), (2, 18, 262, 0, 1), (2, 18, 263, 0, 1), (2, 18, 264, 0, 1), (2, 18, 265, 0, 1), (2, 18, 266, 0, 1), (2, 18, 267, 0, 1), (2, 18, 268, 0, 1), (2, 18, 269, 0, 1), (2, 19, 270, 0, 1), (2, 19, 271, 0, 1), (2, 19, 272, 0, 1), (2, 19, 273, 0, 1), (2, 19, 274, 0, 1), (2, 20, 275, 0, 1), (2, 20, 276, 0, 1), (2, 20, 277, 0, 1), (2, 20, 278, 0, 1), (2, 20, 279, 0, 1), (2, 20, 280, 0, 1), (2, 20, 281, 0, 1), (2, 20, 282, 0, 1), (2, 20, 283, 0, 1), (2, 20, 284, 0, 1), (2, 20, 285, 0, 1), (2, 20, 286, 0, 1), (2, 20, 287, 0, 1), (2, 20, 288, 0, 1), (2, 20, 289, 0, 1), (2, 20, 290, 0, 1), (2, 20, 291, 0, 1), (2, 20, 292, 0, 1), (2, 20, 293, 0, 1), (2, 20, 294, 0, 1), (2, 20, 295, 0, 1), (2, 20, 296, 0, 1), (2, 20, 297, 0, 1), (2, 20, 298, 0, 1), (2, 20, 299, 0, 1), (2, 20, 300, 0, 1), (2, 20, 301, 0, 1), (2, 20, 302, 0, 1), (2, 20, 303, 0, 1), (2, 20, 304, 0, 1), (2, 20, 305, 0, 1), (2, 20, 306, 0, 1), (2, 20, 307, 0, 1), (2, 21, 308, 0, 1), (2, 21, 309, 0, 1), (2, 21, 310, 0, 1), (2, 21, 311, 0, 1), (2, 21, 312, 0, 1), (2, 21, 313, 0, 1), (2, 21, 314, 0, 1), (2, 21, 315, 0, 1), (2, 21, 316, 0, 1), (2, 21, 317, 0, 1), (2, 21, 318, 0, 1), (2, 21, 319, 0, 1), (2, 21, 320, 0, 1), (2, 21, 321, 0, 1), (2, 21, 322, 0, 1), (2, 21, 323, 0, 1), (2, 21, 324, 0, 1), (2, 21, 325, 0, 1), (2, 21, 326, 0, 1), (2, 21, 327, 0, 1), (2, 21, 328, 0, 1), (2, 21, 329, 0, 1), (2, 21, 330, 0, 1), (2, 21, 331, 0, 1), (2, 21, 332, 0, 1), (2, 21, 333, 0, 1), (2, 21, 334, 0, 1), (2, 21, 335, 0, 1), (2, 21, 336, 0, 1), (2, 21, 337, 0, 1), (2, 21, 338, 0, 1), (2, 21, 339, 0, 1), (2, 21, 340, 0, 1), (2, 21, 341, 0, 1), (2, 22, 342, 0, 1), (2, 22, 343, 0, 1), (2, 22, 344, 0, 1), (2, 22, 345, 0, 1), (2, 22, 346, 0, 1), (2, 22, 347, 0, 1), (2, 22, 348, 0, 1), (2, 22, 349, 0, 1), (2, 22, 350, 0, 1), (2, 22, 351, 0, 1), (2, 22, 352, 0, 1), (2, 22, 353, 0, 1), (2, 22, 354, 0, 1), (2, 22, 355, 0, 1), (2, 22, 356, 0, 1), (2, 22, 357, 0, 1), (2, 22, 358, 0, 1), (2, 22, 359, 0, 1), (2, 22, 360, 0, 1), (2, 22, 361, 0, 1), (2, 22, 362, 0, 1), (2, 22, 363, 0, 1), (2, 22, 364, 0, 1), (2, 22, 365, 0, 1), (2, 22, 366, 0, 1), (2, 22, 367, 0, 1), (2, 22, 368, 0, 1), (2, 22, 369, 0, 1), (2, 22, 370, 0, 1), (2, 22, 371, 0, 1), (2, 22, 372, 0, 1), (2, 22, 373, 0, 1), (2, 22, 374, 0, 1), (2, 22, 375, 0, 1), (2, 22, 376, 0, 1), (2, 22, 377, 0, 1), (2, 22, 378, 0, 1), (2, 23, 379, 0, 1), (2, 23, 380, 0, 1), (2, 23, 381, 0, 1), (2, 23, 382, 0, 1), (2, 23, 383, 0, 1), (2, 23, 384, 0, 1), (2, 23, 385, 0, 1), (2, 23, 386, 0, 1), (2, 23, 387, 0, 1), (2, 23, 388, 0, 1), (2, 23, 389, 0, 1), (2, 23, 390, 0, 1), (2, 23, 391, 0, 1), (2, 23, 392, 0, 1), (2, 23, 393, 0, 1), (2, 23, 394, 0, 1), (2, 23, 395, 0, 1), (2, 23, 396, 0, 1), (2, 23, 397, 0, 1), (2, 23, 398, 0, 1), (2, 23, 399, 0, 1), (2, 23, 400, 0, 1), (2, 23, 401, 0, 1), (2, 23, 402, 0, 1), (2, 23, 403, 0, 1), (2, 23, 404, 0, 1), (2, 23, 405, 0, 1), (2, 23, 406, 0, 1), (2, 23, 407, 0, 1), (2, 23, 408, 0, 1), (2, 23, 409, 0, 1), (2, 23, 410, 0, 1), (2, 23, 411, 0, 1), (2, 23, 412, 0, 1), (2, 23, 413, 0, 1), (2, 23, 414, 0, 1), (3, 6, 1, 0, 1), (3, 6, 2, 0, 1), (3, 6, 3, 0, 1), (3, 6, 4, 0, 1), (3, 6, 5, 0, 1), (3, 6, 6, 0, 1), (3, 6, 7, 0, 1), (3, 6, 8, 0, 1), (3, 6, 9, 0, 1), (3, 6, 10, 0, 1), (3, 6, 11, 0, 1), (3, 6, 12, 0, 1), (3, 6, 13, 0, 1), (3, 6, 14, 0, 1), (3, 6, 15, 0, 1), (3, 6, 16, 0, 1), (3, 6, 17, 0, 1), (3, 6, 18, 0, 1), (3, 6, 19, 0, 1), (3, 6, 20, 0, 1), (3, 6, 21, 0, 1), (3, 6, 22, 0, 1), (3, 6, 23, 0, 1), (3, 6, 24, 0, 1), (3, 6, 25, 0, 1), (3, 6, 26, 0, 1), (3, 6, 27, 0, 1), (3, 6, 28, 0, 1), (3, 6, 29, 0, 1), (3, 6, 30, 0, 1), (3, 6, 31, 0, 1), (3, 6, 32, 0, 1), (3, 6, 33, 0, 1), (3, 6, 34, 0, 1), (3, 7, 35, 0, 1), (3, 7, 36, 0, 1), (3, 7, 37, 0, 1), (3, 7, 38, 0, 1), (3, 7, 39, 0, 1), (3, 7, 40, 0, 1), (3, 7, 41, 0, 1), (3, 7, 42, 0, 1), (3, 7, 43, 0, 1), (3, 7, 44, 0, 1), (3, 7, 45, 0, 1), (3, 7, 46, 0, 1), (3, 7, 47, 0, 1), (3, 7, 48, 0, 1), (3, 7, 49, 0, 1), (3, 7, 50, 0, 1), (3, 7, 51, 0, 1), (3, 7, 52, 0, 1), (3, 7, 53, 0, 1), (3, 7, 54, 0, 1), (3, 7, 55, 0, 1), (3, 7, 56, 0, 1), (3, 7, 57, 0, 1), (3, 7, 58, 0, 1), (3, 7, 59, 0, 1), (3, 7, 60, 0, 1), (3, 7, 61, 0, 1), (3, 4, 62, 0, 1), (3, 4, 63, 0, 1), (3, 4, 64, 0, 1), (3, 4, 65, 0, 1), (3, 4, 66, 0, 1), (3, 4, 67, 0, 1), (3, 4, 68, 0, 1), (3, 4, 69, 0, 1), (3, 4, 70, 0, 1), (3, 4, 71, 0, 1), (3, 4, 72, 0, 1), (3, 4, 73, 0, 1), (3, 4, 74, 0, 1), (3, 4, 75, 0, 1), (3, 4, 76, 0, 1), (3, 4, 77, 0, 1), (3, 4, 78, 0, 1), (3, 4, 79, 0, 1), (3, 4, 80, 0, 1), (3, 4, 81, 0, 1), (3, 4, 82, 0, 1), (3, 4, 83, 0, 1), (3, 4, 84, 0, 1), (3, 4, 85, 0, 1), (3, 4, 86, 0, 1), (3, 4, 87, 0, 1), (3, 4, 88, 0, 1), (3, 4, 89, 0, 1), (3, 4, 90, 0, 1), (3, 4, 91, 0, 1), (3, 4, 92, 0, 1), (3, 4, 93, 0, 1), (3, 4, 94, 0, 1), (3, 4, 95, 0, 1), (3, 4, 96, 0, 1), (3, 4, 97, 0, 1), (3, 4, 98, 0, 1), (3, 4, 99, 0, 1), (3, 4, 100, 0, 1), (3, 4, 101, 0, 1), (3, 4, 102, 0, 1), (3, 4, 103, 0, 1), (3, 2, 104, 0, 1), (3, 2, 105, 0, 1), (3, 2, 106, 0, 1), (3, 2, 107, 0, 1), (3, 2, 108, 0, 1), (3, 2, 109, 0, 1), (3, 2, 110, 0, 1), (3, 2, 111, 0, 1), (3, 2, 112, 0, 1), (3, 2, 113, 0, 1), (3, 2, 114, 0, 1), (3, 2, 115, 0, 1), (3, 2, 116, 0, 1), (3, 2, 117, 0, 1), (3, 26, 118, 0, 1), (3, 26, 119, 0, 1), (3, 26, 120, 0, 1), (3, 26, 121, 0, 1), (3, 26, 122, 0, 1), (3, 26, 123, 0, 1), (3, 26, 124, 0, 1), (3, 26, 125, 0, 1), (3, 26, 126, 0, 1), (3, 26, 127, 0, 1), (3, 26, 128, 0, 1), (3, 26, 129, 0, 1), (3, 26, 130, 0, 1), (3, 26, 131, 0, 1), (3, 26, 132, 0, 1), (3, 26, 133, 0, 1), (3, 26, 134, 0, 1), (3, 26, 135, 0, 1), (3, 26, 136, 0, 1), (3, 26, 137, 0, 1), (3, 26, 138, 0, 1), (3, 26, 139, 0, 1), (3, 26, 140, 0, 1), (3, 13, 141, 0, 1), (3, 13, 142, 0, 1), (3, 13, 143, 0, 1), (3, 13, 144, 0, 1), (3, 13, 145, 0, 1), (3, 13, 146, 0, 1), (3, 13, 147, 0, 1), (3, 13, 148, 0, 1), (3, 13, 149, 0, 1), (3, 13, 150, 0, 1), (3, 13, 151, 0, 1), (3, 13, 152, 0, 1), (3, 13, 153, 0, 1), (3, 13, 154, 0, 1), (3, 13, 155, 0, 1), (3, 14, 156, 0, 1), (3, 14, 157, 0, 1), (3, 14, 158, 0, 1), (3, 14, 159, 0, 1), (3, 14, 160, 0, 1), (3, 14, 161, 0, 1), (3, 14, 162, 0, 1), (3, 14, 163, 0, 1), (3, 14, 164, 0, 1), (3, 14, 165, 0, 1), (3, 14, 166, 0, 1), (3, 14, 167, 0, 1), (3, 14, 168, 0, 1), (3, 14, 169, 0, 1), (3, 14, 170, 0, 1), (3, 14, 171, 0, 1), (3, 14, 172, 0, 1), (3, 14, 173, 0, 1), (3, 14, 174, 0, 1), (3, 14, 175, 0, 1), (3, 14, 176, 0, 1), (3, 14, 177, 0, 1), (3, 14, 178, 0, 1), (3, 14, 179, 0, 1), (3, 14, 180, 0, 1), (3, 14, 181, 0, 1), (3, 14, 182, 0, 1), (3, 14, 183, 0, 1), (3, 14, 184, 0, 1), (3, 8, 185, 0, 1), (3, 8, 186, 0, 1), (3, 8, 187, 0, 1), (3, 8, 188, 0, 1), (3, 8, 189, 0, 1), (3, 8, 190, 0, 1), (3, 8, 191, 0, 1), (3, 10, 192, 0, 1), (3, 10, 193, 0, 1), (3, 10, 194, 0, 1), (3, 10, 195, 0, 1), (3, 10, 196, 0, 1), (3, 10, 197, 0, 1), (3, 10, 198, 0, 1), (3, 10, 199, 0, 1), (3, 10, 200, 0, 1), (3, 10, 201, 0, 1), (3, 10, 202, 0, 1), (3, 9, 203, 0, 1), (3, 9, 204, 0, 1), (3, 9, 205, 0, 1), (3, 9, 206, 0, 1), (3, 9, 207, 0, 1), (3, 9, 208, 0, 1), (3, 9, 209, 0, 1), (3, 9, 210, 0, 1), (3, 9, 211, 0, 1), (3, 9, 212, 0, 1), (3, 9, 213, 0, 1), (3, 9, 214, 0, 1), (3, 9, 215, 0, 1), (3, 9, 216, 0, 1), (3, 9, 217, 0, 1), (3, 9, 218, 0, 1), (3, 9, 219, 0, 1), (3, 9, 220, 0, 1), (3, 9, 221, 0, 1), (3, 9, 222, 0, 1), (3, 9, 223, 0, 1), (3, 9, 224, 0, 1), (3, 9, 225, 0, 1), (3, 16, 226, 0, 1), (3, 16, 227, 0, 1), (3, 16, 228, 0, 1), (3, 16, 229, 0, 1), (3, 16, 230, 0, 1), (3, 16, 231, 0, 1), (3, 16, 232, 0, 1), (3, 16, 233, 0, 1), (3, 16, 234, 0, 1), (3, 16, 235, 0, 1), (3, 16, 236, 0, 1), (3, 16, 237, 0, 1), (3, 16, 238, 0, 1), (3, 16, 239, 0, 1), (3, 16, 240, 0, 1), (3, 16, 241, 0, 1), (3, 16, 242, 0, 1), (3, 16, 243, 0, 1), (3, 16, 244, 0, 1), (3, 16, 245, 0, 1), (3, 16, 246, 0, 1), (3, 15, 247, 0, 1), (3, 15, 248, 0, 1), (3, 15, 249, 0, 1), (3, 15, 250, 0, 1), (3, 15, 251, 0, 1), (3, 15, 252, 0, 1), (3, 15, 253, 0, 1), (3, 15, 254, 0, 1), (3, 18, 255, 0, 1), (3, 18, 256, 0, 1), (3, 18, 257, 0, 1), (3, 18, 258, 0, 1), (3, 18, 259, 0, 1), (3, 18, 260, 0, 1), (3, 18, 261, 0, 1), (3, 18, 262, 0, 1), (3, 18, 263, 0, 1), (3, 18, 264, 0, 1), (3, 18, 265, 0, 1), (3, 18, 266, 0, 1), (3, 18, 267, 0, 1), (3, 18, 268, 0, 1), (3, 18, 269, 0, 1), (3, 19, 270, 0, 1), (3, 19, 271, 0, 1), (3, 19, 272, 0, 1), (3, 19, 273, 0, 1), (3, 19, 274, 0, 1), (3, 20, 275, 0, 1), (3, 20, 276, 0, 1), (3, 20, 277, 0, 1), (3, 20, 278, 0, 1), (3, 20, 279, 0, 1), (3, 20, 280, 0, 1), (3, 20, 281, 0, 1), (3, 20, 282, 0, 1), (3, 20, 283, 0, 1), (3, 20, 284, 0, 1), (3, 20, 285, 0, 1), (3, 20, 286, 0, 1), (3, 20, 287, 0, 1), (3, 20, 288, 0, 1), (3, 20, 289, 0, 1), (3, 20, 290, 0, 1), (3, 20, 291, 0, 1), (3, 20, 292, 0, 1), (3, 20, 293, 0, 1), (3, 20, 294, 0, 1), (3, 20, 295, 0, 1), (3, 20, 296, 0, 1), (3, 20, 297, 0, 1), (3, 20, 298, 0, 1), (3, 20, 299, 0, 1), (3, 20, 300, 0, 1), (3, 20, 301, 0, 1), (3, 20, 302, 0, 1), (3, 20, 303, 0, 1), (3, 20, 304, 0, 1), (3, 20, 305, 0, 1), (3, 20, 306, 0, 1), (3, 20, 307, 0, 1), (3, 21, 308, 0, 1), (3, 21, 309, 0, 1), (3, 21, 310, 0, 1), (3, 21, 311, 0, 1), (3, 21, 312, 0, 1), (3, 21, 313, 0, 1), (3, 21, 314, 0, 1), (3, 21, 315, 0, 1), (3, 21, 316, 0, 1), (3, 21, 317, 0, 1), (3, 21, 318, 0, 1), (3, 21, 319, 0, 1), (3, 21, 320, 0, 1), (3, 21, 321, 0, 1), (3, 21, 322, 0, 1), (3, 21, 323, 0, 1), (3, 21, 324, 0, 1), (3, 21, 325, 0, 1), (3, 21, 326, 0, 1), (3, 21, 327, 0, 1), (3, 21, 328, 0, 1), (3, 21, 329, 0, 1), (3, 21, 330, 0, 1), (3, 21, 331, 0, 1), (3, 21, 332, 0, 1), (3, 21, 333, 0, 1), (3, 21, 334, 0, 1), (3, 21, 335, 0, 1), (3, 21, 336, 0, 1), (3, 21, 337, 0, 1), (3, 21, 338, 0, 1), (3, 21, 339, 0, 1), (3, 21, 340, 0, 1), (3, 21, 341, 0, 1), (3, 22, 342, 0, 1), (3, 22, 343, 0, 1), (3, 22, 344, 0, 1), (3, 22, 345, 0, 1), (3, 22, 346, 0, 1), (3, 22, 347, 0, 1), (3, 22, 348, 0, 1), (3, 22, 349, 0, 1), (3, 22, 350, 0, 1), (3, 22, 351, 0, 1), (3, 22, 352, 0, 1), (3, 22, 353, 0, 1), (3, 22, 354, 0, 1), (3, 22, 355, 0, 1), (3, 22, 356, 0, 1), (3, 22, 357, 0, 1), (3, 22, 358, 0, 1), (3, 22, 359, 0, 1), (3, 22, 360, 0, 1), (3, 22, 361, 0, 1), (3, 22, 362, 0, 1), (3, 22, 363, 0, 1), (3, 22, 364, 0, 1), (3, 22, 365, 0, 1), (3, 22, 366, 0, 1), (3, 22, 367, 0, 1), (3, 22, 368, 0, 1), (3, 22, 369, 0, 1), (3, 22, 370, 0, 1), (3, 22, 371, 0, 1), (3, 22, 372, 0, 1), (3, 22, 373, 0, 1), (3, 22, 374, 0, 1), (3, 22, 375, 0, 1), (3, 22, 376, 0, 1), (3, 22, 377, 0, 1), (3, 22, 378, 0, 1), (3, 23, 379, 0, 1), (3, 23, 380, 0, 1), (3, 23, 381, 0, 1), (3, 23, 382, 0, 1), (3, 23, 383, 0, 1), (3, 23, 384, 0, 1), (3, 23, 385, 0, 1), (3, 23, 386, 0, 1), (3, 23, 387, 0, 1), (3, 23, 388, 0, 1), (3, 23, 389, 0, 1), (3, 23, 390, 0, 1), (3, 23, 391, 0, 1), (3, 23, 392, 0, 1), (3, 23, 393, 0, 1), (3, 23, 394, 0, 1), (3, 23, 395, 0, 1), (3, 23, 396, 0, 1), (3, 23, 397, 0, 1), (3, 23, 398, 0, 1), (3, 23, 399, 0, 1), (3, 23, 400, 0, 1), (3, 23, 401, 0, 1), (3, 23, 402, 0, 1), (3, 23, 403, 0, 1), (3, 23, 404, 0, 1), (3, 23, 405, 0, 1), (3, 23, 406, 0, 1), (3, 23, 407, 0, 1), (3, 23, 408, 0, 1), (3, 23, 409, 0, 1), (3, 23, 410, 0, 1), (3, 23, 411, 0, 1), (3, 23, 412, 0, 1), (3, 23, 413, 0, 1), (3, 23, 414, 0, 1), (4, 6, 1, 0, 1), (4, 6, 2, 0, 1), (4, 6, 3, 0, 1), (4, 6, 4, 0, 1), (4, 6, 5, 0, 1), (4, 6, 6, 0, 1), (4, 6, 7, 0, 1), (4, 6, 8, 0, 1), (4, 6, 9, 0, 1), (4, 6, 10, 0, 1), (4, 6, 11, 0, 1), (4, 6, 12, 0, 1), (4, 6, 13, 0, 1), (4, 6, 14, 0, 1), (4, 6, 15, 0, 1), (4, 6, 16, 0, 1), (4, 6, 17, 0, 1), (4, 6, 18, 0, 1), (4, 6, 19, 0, 1), (4, 6, 20, 0, 1), (4, 6, 21, 0, 1), (4, 6, 22, 0, 1), (4, 6, 23, 0, 1), (4, 6, 24, 0, 1), (4, 6, 25, 0, 1), (4, 6, 26, 0, 1), (4, 6, 27, 0, 1), (4, 6, 28, 0, 1), (4, 6, 29, 0, 1), (4, 6, 30, 0, 1), (4, 6, 31, 0, 1), (4, 6, 32, 0, 1), (4, 6, 33, 0, 1), (4, 6, 34, 0, 1), (4, 7, 35, 0, 1), (4, 7, 36, 0, 1), (4, 7, 37, 0, 1), (4, 7, 38, 0, 1), (4, 7, 39, 0, 1), (4, 7, 40, 0, 1), (4, 7, 41, 0, 1), (4, 7, 42, 0, 1), (4, 7, 43, 0, 1), (4, 7, 44, 0, 1), (4, 7, 45, 0, 1), (4, 7, 46, 0, 1), (4, 7, 47, 0, 1), (4, 7, 48, 0, 1), (4, 7, 49, 0, 1), (4, 7, 50, 0, 1), (4, 7, 51, 0, 1), (4, 7, 52, 0, 1), (4, 7, 53, 0, 1), (4, 7, 54, 0, 1), (4, 7, 55, 0, 1), (4, 7, 56, 0, 1), (4, 7, 57, 0, 1), (4, 7, 58, 0, 1), (4, 7, 59, 0, 1), (4, 7, 60, 0, 1), (4, 7, 61, 0, 1), (4, 4, 62, 0, 1), (4, 4, 63, 0, 1), (4, 4, 64, 0, 1), (4, 4, 65, 0, 1), (4, 4, 66, 0, 1), (4, 4, 67, 0, 1), (4, 4, 68, 0, 1), (4, 4, 69, 0, 1), (4, 4, 70, 0, 1), (4, 4, 71, 0, 1), (4, 4, 72, 0, 1), (4, 4, 73, 0, 1), (4, 4, 74, 0, 1), (4, 4, 75, 0, 1), (4, 4, 76, 0, 1), (4, 4, 77, 0, 1), (4, 4, 78, 0, 1), (4, 4, 79, 0, 1), (4, 4, 80, 0, 1), (4, 4, 81, 0, 1), (4, 4, 82, 0, 1), (4, 4, 83, 0, 1), (4, 4, 84, 0, 1), (4, 4, 85, 0, 1), (4, 4, 86, 0, 1), (4, 4, 87, 0, 1), (4, 4, 88, 0, 1), (4, 4, 89, 0, 1), (4, 4, 90, 0, 1), (4, 4, 91, 0, 1), (4, 4, 92, 0, 1), (4, 4, 93, 0, 1), (4, 4, 94, 0, 1), (4, 4, 95, 0, 1), (4, 4, 96, 0, 1), (4, 4, 97, 0, 1), (4, 4, 98, 0, 1), (4, 4, 99, 0, 1), (4, 4, 100, 0, 1), (4, 4, 101, 0, 1), (4, 4, 102, 0, 1), (4, 4, 103, 0, 1), (4, 2, 104, 0, 1), (4, 2, 105, 0, 1), (4, 2, 106, 0, 1), (4, 2, 107, 0, 1), (4, 2, 108, 0, 1), (4, 2, 109, 0, 1), (4, 2, 110, 0, 1), (4, 2, 111, 0, 1), (4, 2, 112, 0, 1), (4, 2, 113, 0, 1), (4, 2, 114, 0, 1), (4, 2, 115, 0, 1), (4, 2, 116, 0, 1), (4, 2, 117, 0, 1), (4, 26, 118, 0, 1), (4, 26, 119, 0, 1), (4, 26, 120, 0, 1), (4, 26, 121, 0, 1), (4, 26, 122, 0, 1), (4, 26, 123, 0, 1), (4, 26, 124, 0, 1), (4, 26, 125, 0, 1), (4, 26, 126, 0, 1), (4, 26, 127, 0, 1), (4, 26, 128, 0, 1), (4, 26, 129, 0, 1), (4, 26, 130, 0, 1), (4, 26, 131, 0, 1), (4, 26, 132, 0, 1), (4, 26, 133, 0, 1), (4, 26, 134, 0, 1), (4, 26, 135, 0, 1), (4, 26, 136, 0, 1), (4, 26, 137, 0, 1), (4, 26, 138, 0, 1), (4, 26, 139, 0, 1), (4, 26, 140, 0, 1), (4, 13, 141, 0, 1), (4, 13, 142, 0, 1), (4, 13, 143, 0, 1), (4, 13, 144, 0, 1), (4, 13, 145, 0, 1), (4, 13, 146, 0, 1), (4, 13, 147, 0, 1), (4, 13, 148, 0, 1), (4, 13, 149, 0, 1), (4, 13, 150, 0, 1), (4, 13, 151, 0, 1), (4, 13, 152, 0, 1), (4, 13, 153, 0, 1), (4, 13, 154, 0, 1), (4, 13, 155, 0, 1), (4, 14, 156, 0, 1), (4, 14, 157, 0, 1), (4, 14, 158, 0, 1), (4, 14, 159, 0, 1), (4, 14, 160, 0, 1), (4, 14, 161, 0, 1), (4, 14, 162, 0, 1), (4, 14, 163, 0, 1), (4, 14, 164, 0, 1), (4, 14, 165, 0, 1), (4, 14, 166, 0, 1), (4, 14, 167, 0, 1), (4, 14, 168, 0, 1), (4, 14, 169, 0, 1), (4, 14, 170, 0, 1), (4, 14, 171, 0, 1), (4, 14, 172, 0, 1), (4, 14, 173, 0, 1), (4, 14, 174, 0, 1), (4, 14, 175, 0, 1), (4, 14, 176, 0, 1), (4, 14, 177, 0, 1), (4, 14, 178, 0, 1), (4, 14, 179, 0, 1), (4, 14, 180, 0, 1), (4, 14, 181, 0, 1), (4, 14, 182, 0, 1), (4, 14, 183, 0, 1), (4, 14, 184, 0, 1), (4, 8, 185, 0, 1), (4, 8, 186, 0, 1), (4, 8, 187, 0, 1), (4, 8, 188, 0, 1), (4, 8, 189, 0, 1), (4, 8, 190, 0, 1), (4, 8, 191, 0, 1), (4, 10, 192, 0, 1), (4, 10, 193, 0, 1), (4, 10, 194, 0, 1), (4, 10, 195, 0, 1), (4, 10, 196, 0, 1), (4, 10, 197, 0, 1), (4, 10, 198, 0, 1), (4, 10, 199, 0, 1), (4, 10, 200, 0, 1), (4, 10, 201, 0, 1), (4, 10, 202, 0, 1), (4, 9, 203, 0, 1), (4, 9, 204, 0, 1), (4, 9, 205, 0, 1), (4, 9, 206, 0, 1), (4, 9, 207, 0, 1), (4, 9, 208, 0, 1), (4, 9, 209, 0, 1), (4, 9, 210, 0, 1), (4, 9, 211, 0, 1), (4, 9, 212, 0, 1), (4, 9, 213, 0, 1), (4, 9, 214, 0, 1), (4, 9, 215, 0, 1), (4, 9, 216, 0, 1), (4, 9, 217, 0, 1), (4, 9, 218, 0, 1), (4, 9, 219, 0, 1), (4, 9, 220, 0, 1), (4, 9, 221, 0, 1), (4, 9, 222, 0, 1), (4, 9, 223, 0, 1), (4, 9, 224, 0, 1), (4, 9, 225, 0, 1), (4, 16, 226, 0, 1), (4, 16, 227, 0, 1), (4, 16, 228, 0, 1), (4, 16, 229, 0, 1), (4, 16, 230, 0, 1), (4, 16, 231, 0, 1), (4, 16, 232, 0, 1), (4, 16, 233, 0, 1), (4, 16, 234, 0, 1), (4, 16, 235, 0, 1), (4, 16, 236, 0, 1), (4, 16, 237, 0, 1), (4, 16, 238, 0, 1), (4, 16, 239, 0, 1), (4, 16, 240, 0, 1), (4, 16, 241, 0, 1), (4, 16, 242, 0, 1), (4, 16, 243, 0, 1), (4, 16, 244, 0, 1), (4, 16, 245, 0, 1), (4, 16, 246, 0, 1), (4, 15, 247, 0, 1), (4, 15, 248, 0, 1), (4, 15, 249, 0, 1), (4, 15, 250, 0, 1), (4, 15, 251, 0, 1), (4, 15, 252, 0, 1), (4, 15, 253, 0, 1), (4, 15, 254, 0, 1), (4, 18, 255, 0, 1), (4, 18, 256, 0, 1), (4, 18, 257, 0, 1), (4, 18, 258, 0, 1), (4, 18, 259, 0, 1), (4, 18, 260, 0, 1), (4, 18, 261, 0, 1), (4, 18, 262, 0, 1), (4, 18, 263, 0, 1), (4, 18, 264, 0, 1), (4, 18, 265, 0, 1), (4, 18, 266, 0, 1), (4, 18, 267, 0, 1), (4, 18, 268, 0, 1), (4, 18, 269, 0, 1), (4, 19, 270, 0, 1), (4, 19, 271, 0, 1), (4, 19, 272, 0, 1), (4, 19, 273, 0, 1), (4, 19, 274, 0, 1), (4, 20, 275, 0, 1), (4, 20, 276, 0, 1), (4, 20, 277, 0, 1), (4, 20, 278, 0, 1), (4, 20, 279, 0, 1), (4, 20, 280, 0, 1), (4, 20, 281, 0, 1), (4, 20, 282, 0, 1), (4, 20, 283, 0, 1), (4, 20, 284, 0, 1), (4, 20, 285, 0, 1), (4, 20, 286, 0, 1), (4, 20, 287, 0, 1), (4, 20, 288, 0, 1), (4, 20, 289, 0, 1), (4, 20, 290, 0, 1), (4, 20, 291, 0, 1), (4, 20, 292, 0, 1), (4, 20, 293, 0, 1), (4, 20, 294, 0, 1), (4, 20, 295, 0, 1), (4, 20, 296, 0, 1), (4, 20, 297, 0, 1), (4, 20, 298, 0, 1), (4, 20, 299, 0, 1), (4, 20, 300, 0, 1), (4, 20, 301, 0, 1), (4, 20, 302, 0, 1), (4, 20, 303, 0, 1), (4, 20, 304, 0, 1), (4, 20, 305, 0, 1), (4, 20, 306, 0, 1), (4, 20, 307, 0, 1), (4, 21, 308, 0, 1), (4, 21, 309, 0, 1), (4, 21, 310, 0, 1), (4, 21, 311, 0, 1), (4, 21, 312, 0, 1), (4, 21, 313, 0, 1), (4, 21, 314, 0, 1), (4, 21, 315, 0, 1), (4, 21, 316, 0, 1), (4, 21, 317, 0, 1), (4, 21, 318, 0, 1), (4, 21, 319, 0, 1), (4, 21, 320, 0, 1), (4, 21, 321, 0, 1), (4, 21, 322, 0, 1), (4, 21, 323, 0, 1), (4, 21, 324, 0, 1), (4, 21, 325, 0, 1), (4, 21, 326, 0, 1), (4, 21, 327, 0, 1), (4, 21, 328, 0, 1), (4, 21, 329, 0, 1), (4, 21, 330, 0, 1), (4, 21, 331, 0, 1), (4, 21, 332, 0, 1), (4, 21, 333, 0, 1), (4, 21, 334, 0, 1), (4, 21, 335, 0, 1), (4, 21, 336, 0, 1), (4, 21, 337, 0, 1), (4, 21, 338, 0, 1), (4, 21, 339, 0, 1), (4, 21, 340, 0, 1), (4, 21, 341, 0, 1), (4, 22, 342, 0, 1), (4, 22, 343, 0, 1), (4, 22, 344, 0, 1), (4, 22, 345, 0, 1), (4, 22, 346, 0, 1), (4, 22, 347, 0, 1), (4, 22, 348, 0, 1), (4, 22, 349, 0, 1), (4, 22, 350, 0, 1), (4, 22, 351, 0, 1), (4, 22, 352, 0, 1), (4, 22, 353, 0, 1), (4, 22, 354, 0, 1), (4, 22, 355, 0, 1), (4, 22, 356, 0, 1), (4, 22, 357, 0, 1), (4, 22, 358, 0, 1), (4, 22, 359, 0, 1), (4, 22, 360, 0, 1), (4, 22, 361, 0, 1), (4, 22, 362, 0, 1), (4, 22, 363, 0, 1), (4, 22, 364, 0, 1), (4, 22, 365, 0, 1), (4, 22, 366, 0, 1), (4, 22, 367, 0, 1), (4, 22, 368, 0, 1), (4, 22, 369, 0, 1), (4, 22, 370, 0, 1), (4, 22, 371, 0, 1), (4, 22, 372, 0, 1), (4, 22, 373, 0, 1), (4, 22, 374, 0, 1), (4, 22, 375, 0, 1), (4, 22, 376, 0, 1), (4, 22, 377, 0, 1), (4, 22, 378, 0, 1), (4, 23, 379, 0, 1), (4, 23, 380, 0, 1), (4, 23, 381, 0, 1), (4, 23, 382, 0, 1), (4, 23, 383, 0, 1), (4, 23, 384, 0, 1), (4, 23, 385, 0, 1), (4, 23, 386, 0, 1), (4, 23, 387, 0, 1), (4, 23, 388, 0, 1), (4, 23, 389, 0, 1), (4, 23, 390, 0, 1), (4, 23, 391, 0, 1), (4, 23, 392, 0, 1), (4, 23, 393, 0, 1), (4, 23, 394, 0, 1), (4, 23, 395, 0, 1), (4, 23, 396, 0, 1), (4, 23, 397, 0, 1), (4, 23, 398, 0, 1), (4, 23, 399, 0, 1), (4, 23, 400, 0, 1), (4, 23, 401, 0, 1), (4, 23, 402, 0, 1), (4, 23, 403, 0, 1), (4, 23, 404, 0, 1), (4, 23, 405, 0, 1), (4, 23, 406, 0, 1), (4, 23, 407, 0, 1), (4, 23, 408, 0, 1), (4, 23, 409, 0, 1), (4, 23, 410, 0, 1), (4, 23, 411, 0, 1), (4, 23, 412, 0, 1), (4, 23, 413, 0, 1), (4, 23, 414, 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_profile2globalpermissions` -- DROP TABLE IF EXISTS `vtiger_profile2globalpermissions`; CREATE TABLE IF NOT EXISTS `vtiger_profile2globalpermissions` ( `profileid` int(19) NOT NULL, `globalactionid` int(19) NOT NULL, `globalactionpermission` int(19) default NULL, PRIMARY KEY (`profileid`,`globalactionid`), KEY `idx_profile2globalpermissions` (`profileid`,`globalactionid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_profile2globalpermissions` -- INSERT INTO `vtiger_profile2globalpermissions` (`profileid`, `globalactionid`, `globalactionpermission`) VALUES (1, 1, 0), (1, 2, 0), (2, 1, 1), (2, 2, 1), (3, 1, 1), (3, 2, 1), (4, 1, 1), (4, 2, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_profile2standardpermissions` -- DROP TABLE IF EXISTS `vtiger_profile2standardpermissions`; CREATE TABLE IF NOT EXISTS `vtiger_profile2standardpermissions` ( `profileid` int(11) NOT NULL, `tabid` int(10) NOT NULL, `Operation` int(10) NOT NULL, `permissions` int(1) default NULL, PRIMARY KEY (`profileid`,`tabid`,`Operation`), KEY `profile2standardpermissions_profileid_tabid_Operation_idx` (`profileid`,`tabid`,`Operation`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_profile2standardpermissions` -- INSERT INTO `vtiger_profile2standardpermissions` (`profileid`, `tabid`, `Operation`, `permissions`) VALUES (1, 2, 0, 0), (1, 2, 1, 0), (1, 2, 2, 0), (1, 2, 3, 0), (1, 2, 4, 0), (1, 4, 0, 0), (1, 4, 1, 0), (1, 4, 2, 0), (1, 4, 3, 0), (1, 4, 4, 0), (1, 6, 0, 0), (1, 6, 1, 0), (1, 6, 2, 0), (1, 6, 3, 0), (1, 6, 4, 0), (1, 7, 0, 0), (1, 7, 1, 0), (1, 7, 2, 0), (1, 7, 3, 0), (1, 7, 4, 0), (1, 8, 0, 0), (1, 8, 1, 0), (1, 8, 2, 0), (1, 8, 3, 0), (1, 8, 4, 0), (1, 9, 0, 0), (1, 9, 1, 0), (1, 9, 2, 0), (1, 9, 3, 0), (1, 9, 4, 0), (1, 13, 0, 0), (1, 13, 1, 0), (1, 13, 2, 0), (1, 13, 3, 0), (1, 13, 4, 0), (1, 14, 0, 0), (1, 14, 1, 0), (1, 14, 2, 0), (1, 14, 3, 0), (1, 14, 4, 0), (1, 15, 0, 0), (1, 15, 1, 0), (1, 15, 2, 0), (1, 15, 3, 0), (1, 15, 4, 0), (1, 16, 0, 0), (1, 16, 1, 0), (1, 16, 2, 0), (1, 16, 3, 0), (1, 16, 4, 0), (1, 18, 0, 0), (1, 18, 1, 0), (1, 18, 2, 0), (1, 18, 3, 0), (1, 18, 4, 0), (1, 19, 0, 0), (1, 19, 1, 0), (1, 19, 2, 0), (1, 19, 3, 0), (1, 19, 4, 0), (1, 20, 0, 0), (1, 20, 1, 0), (1, 20, 2, 0), (1, 20, 3, 0), (1, 20, 4, 0), (1, 21, 0, 0), (1, 21, 1, 0), (1, 21, 2, 0), (1, 21, 3, 0), (1, 21, 4, 0), (1, 22, 0, 0), (1, 22, 1, 0), (1, 22, 2, 0), (1, 22, 3, 0), (1, 22, 4, 0), (1, 23, 0, 0), (1, 23, 1, 0), (1, 23, 2, 0), (1, 23, 3, 0), (1, 23, 4, 0), (1, 26, 0, 0), (1, 26, 1, 0), (1, 26, 2, 0), (1, 26, 3, 0), (1, 26, 4, 0), (2, 2, 0, 0), (2, 2, 1, 0), (2, 2, 2, 0), (2, 2, 3, 0), (2, 2, 4, 0), (2, 4, 0, 0), (2, 4, 1, 0), (2, 4, 2, 0), (2, 4, 3, 0), (2, 4, 4, 0), (2, 6, 0, 0), (2, 6, 1, 0), (2, 6, 2, 0), (2, 6, 3, 0), (2, 6, 4, 0), (2, 7, 0, 0), (2, 7, 1, 0), (2, 7, 2, 0), (2, 7, 3, 0), (2, 7, 4, 0), (2, 8, 0, 0), (2, 8, 1, 0), (2, 8, 2, 0), (2, 8, 3, 0), (2, 8, 4, 0), (2, 9, 0, 0), (2, 9, 1, 0), (2, 9, 2, 0), (2, 9, 3, 0), (2, 9, 4, 0), (2, 13, 0, 1), (2, 13, 1, 1), (2, 13, 2, 1), (2, 13, 3, 0), (2, 13, 4, 0), (2, 14, 0, 0), (2, 14, 1, 0), (2, 14, 2, 0), (2, 14, 3, 0), (2, 14, 4, 0), (2, 15, 0, 0), (2, 15, 1, 0), (2, 15, 2, 0), (2, 15, 3, 0), (2, 15, 4, 0), (2, 16, 0, 0), (2, 16, 1, 0), (2, 16, 2, 0), (2, 16, 3, 0), (2, 16, 4, 0), (2, 18, 0, 0), (2, 18, 1, 0), (2, 18, 2, 0), (2, 18, 3, 0), (2, 18, 4, 0), (2, 19, 0, 0), (2, 19, 1, 0), (2, 19, 2, 0), (2, 19, 3, 0), (2, 19, 4, 0), (2, 20, 0, 0), (2, 20, 1, 0), (2, 20, 2, 0), (2, 20, 3, 0), (2, 20, 4, 0), (2, 21, 0, 0), (2, 21, 1, 0), (2, 21, 2, 0), (2, 21, 3, 0), (2, 21, 4, 0), (2, 22, 0, 0), (2, 22, 1, 0), (2, 22, 2, 0), (2, 22, 3, 0), (2, 22, 4, 0), (2, 23, 0, 0), (2, 23, 1, 0), (2, 23, 2, 0), (2, 23, 3, 0), (2, 23, 4, 0), (2, 26, 0, 0), (2, 26, 1, 0), (2, 26, 2, 0), (2, 26, 3, 0), (2, 26, 4, 0), (3, 2, 0, 1), (3, 2, 1, 1), (3, 2, 2, 1), (3, 2, 3, 0), (3, 2, 4, 0), (3, 4, 0, 0), (3, 4, 1, 0), (3, 4, 2, 0), (3, 4, 3, 0), (3, 4, 4, 0), (3, 6, 0, 0), (3, 6, 1, 0), (3, 6, 2, 0), (3, 6, 3, 0), (3, 6, 4, 0), (3, 7, 0, 0), (3, 7, 1, 0), (3, 7, 2, 0), (3, 7, 3, 0), (3, 7, 4, 0), (3, 8, 0, 0), (3, 8, 1, 0), (3, 8, 2, 0), (3, 8, 3, 0), (3, 8, 4, 0), (3, 9, 0, 0), (3, 9, 1, 0), (3, 9, 2, 0), (3, 9, 3, 0), (3, 9, 4, 0), (3, 13, 0, 0), (3, 13, 1, 0), (3, 13, 2, 0), (3, 13, 3, 0), (3, 13, 4, 0), (3, 14, 0, 0), (3, 14, 1, 0), (3, 14, 2, 0), (3, 14, 3, 0), (3, 14, 4, 0), (3, 15, 0, 0), (3, 15, 1, 0), (3, 15, 2, 0), (3, 15, 3, 0), (3, 15, 4, 0), (3, 16, 0, 0), (3, 16, 1, 0), (3, 16, 2, 0), (3, 16, 3, 0), (3, 16, 4, 0), (3, 18, 0, 0), (3, 18, 1, 0), (3, 18, 2, 0), (3, 18, 3, 0), (3, 18, 4, 0), (3, 19, 0, 0), (3, 19, 1, 0), (3, 19, 2, 0), (3, 19, 3, 0), (3, 19, 4, 0), (3, 20, 0, 0), (3, 20, 1, 0), (3, 20, 2, 0), (3, 20, 3, 0), (3, 20, 4, 0), (3, 21, 0, 0), (3, 21, 1, 0), (3, 21, 2, 0), (3, 21, 3, 0), (3, 21, 4, 0), (3, 22, 0, 0), (3, 22, 1, 0), (3, 22, 2, 0), (3, 22, 3, 0), (3, 22, 4, 0), (3, 23, 0, 0), (3, 23, 1, 0), (3, 23, 2, 0), (3, 23, 3, 0), (3, 23, 4, 0), (3, 26, 0, 0), (3, 26, 1, 0), (3, 26, 2, 0), (3, 26, 3, 0), (3, 26, 4, 0), (4, 2, 0, 1), (4, 2, 1, 1), (4, 2, 2, 1), (4, 2, 3, 0), (4, 2, 4, 0), (4, 4, 0, 1), (4, 4, 1, 1), (4, 4, 2, 1), (4, 4, 3, 0), (4, 4, 4, 0), (4, 6, 0, 1), (4, 6, 1, 1), (4, 6, 2, 1), (4, 6, 3, 0), (4, 6, 4, 0), (4, 7, 0, 1), (4, 7, 1, 1), (4, 7, 2, 1), (4, 7, 3, 0), (4, 7, 4, 0), (4, 8, 0, 1), (4, 8, 1, 1), (4, 8, 2, 1), (4, 8, 3, 0), (4, 8, 4, 0), (4, 9, 0, 1), (4, 9, 1, 1), (4, 9, 2, 1), (4, 9, 3, 0), (4, 9, 4, 0), (4, 13, 0, 1), (4, 13, 1, 1), (4, 13, 2, 1), (4, 13, 3, 0), (4, 13, 4, 0), (4, 14, 0, 1), (4, 14, 1, 1), (4, 14, 2, 1), (4, 14, 3, 0), (4, 14, 4, 0), (4, 15, 0, 1), (4, 15, 1, 1), (4, 15, 2, 1), (4, 15, 3, 0), (4, 15, 4, 0), (4, 16, 0, 1), (4, 16, 1, 1), (4, 16, 2, 1), (4, 16, 3, 0), (4, 16, 4, 0), (4, 18, 0, 1), (4, 18, 1, 1), (4, 18, 2, 1), (4, 18, 3, 0), (4, 18, 4, 0), (4, 19, 0, 1), (4, 19, 1, 1), (4, 19, 2, 1), (4, 19, 3, 0), (4, 19, 4, 0), (4, 20, 0, 1), (4, 20, 1, 1), (4, 20, 2, 1), (4, 20, 3, 0), (4, 20, 4, 0), (4, 21, 0, 1), (4, 21, 1, 1), (4, 21, 2, 1), (4, 21, 3, 0), (4, 21, 4, 0), (4, 22, 0, 1), (4, 22, 1, 1), (4, 22, 2, 1), (4, 22, 3, 0), (4, 22, 4, 0), (4, 23, 0, 1), (4, 23, 1, 1), (4, 23, 2, 1), (4, 23, 3, 0), (4, 23, 4, 0), (4, 26, 0, 1), (4, 26, 1, 1), (4, 26, 2, 1), (4, 26, 3, 0), (4, 26, 4, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_profile2tab` -- DROP TABLE IF EXISTS `vtiger_profile2tab`; CREATE TABLE IF NOT EXISTS `vtiger_profile2tab` ( `profileid` int(11) default NULL, `tabid` int(10) default NULL, `permissions` int(10) NOT NULL default '0', KEY `profile2tab_profileid_tabid_idx` (`profileid`,`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_profile2tab` -- INSERT INTO `vtiger_profile2tab` (`profileid`, `tabid`, `permissions`) VALUES (1, 1, 0), (1, 2, 0), (1, 3, 0), (1, 4, 0), (1, 6, 0), (1, 7, 0), (1, 8, 0), (1, 9, 0), (1, 10, 0), (1, 13, 0), (1, 14, 0), (1, 15, 0), (1, 16, 0), (1, 18, 0), (1, 19, 0), (1, 20, 0), (1, 21, 0), (1, 22, 0), (1, 23, 0), (1, 24, 0), (1, 25, 0), (1, 26, 0), (1, 27, 0), (2, 1, 0), (2, 2, 0), (2, 3, 0), (2, 4, 0), (2, 6, 0), (2, 7, 0), (2, 8, 0), (2, 9, 0), (2, 10, 0), (2, 13, 0), (2, 14, 0), (2, 15, 0), (2, 16, 0), (2, 18, 0), (2, 19, 0), (2, 20, 0), (2, 21, 0), (2, 22, 0), (2, 23, 0), (2, 24, 0), (2, 25, 0), (2, 26, 0), (2, 27, 0), (3, 1, 0), (3, 2, 0), (3, 3, 0), (3, 4, 0), (3, 6, 0), (3, 7, 0), (3, 8, 0), (3, 9, 0), (3, 10, 0), (3, 13, 0), (3, 14, 0), (3, 15, 0), (3, 16, 0), (3, 18, 0), (3, 19, 0), (3, 20, 0), (3, 21, 0), (3, 22, 0), (3, 23, 0), (3, 24, 0), (3, 25, 0), (3, 26, 0), (3, 27, 0), (4, 1, 0), (4, 2, 0), (4, 3, 0), (4, 4, 0), (4, 6, 0), (4, 7, 0), (4, 8, 0), (4, 9, 0), (4, 10, 0), (4, 13, 0), (4, 14, 0), (4, 15, 0), (4, 16, 0), (4, 18, 0), (4, 19, 0), (4, 20, 0), (4, 21, 0), (4, 22, 0), (4, 23, 0), (4, 24, 0), (4, 25, 0), (4, 26, 0), (4, 27, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_profile2utility` -- DROP TABLE IF EXISTS `vtiger_profile2utility`; CREATE TABLE IF NOT EXISTS `vtiger_profile2utility` ( `profileid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `activityid` int(11) NOT NULL, `permission` int(1) default NULL, PRIMARY KEY (`profileid`,`tabid`,`activityid`), KEY `profile2utility_profileid_tabid_activityid_idx` (`profileid`,`tabid`,`activityid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_profile2utility` -- INSERT INTO `vtiger_profile2utility` (`profileid`, `tabid`, `activityid`, `permission`) VALUES (1, 2, 5, 0), (1, 2, 6, 0), (1, 4, 5, 0), (1, 4, 6, 0), (1, 4, 8, 0), (1, 6, 5, 0), (1, 6, 6, 0), (1, 6, 8, 0), (1, 7, 5, 0), (1, 7, 6, 0), (1, 7, 8, 0), (1, 7, 9, 0), (1, 8, 6, 0), (1, 13, 5, 0), (1, 13, 6, 0), (1, 13, 8, 0), (1, 14, 5, 0), (1, 14, 6, 0), (1, 18, 5, 0), (1, 18, 6, 0), (2, 2, 5, 1), (2, 2, 6, 1), (2, 4, 5, 1), (2, 4, 6, 1), (2, 4, 8, 0), (2, 6, 5, 1), (2, 6, 6, 1), (2, 6, 8, 0), (2, 7, 5, 1), (2, 7, 6, 1), (2, 7, 8, 0), (2, 7, 9, 0), (2, 8, 6, 1), (2, 13, 5, 1), (2, 13, 6, 1), (2, 13, 8, 0), (2, 14, 5, 1), (2, 14, 6, 1), (2, 18, 5, 1), (2, 18, 6, 1), (3, 2, 5, 1), (3, 2, 6, 1), (3, 4, 5, 1), (3, 4, 6, 1), (3, 4, 8, 0), (3, 6, 5, 1), (3, 6, 6, 1), (3, 6, 8, 0), (3, 7, 5, 1), (3, 7, 6, 1), (3, 7, 8, 0), (3, 7, 9, 0), (3, 8, 6, 1), (3, 13, 5, 1), (3, 13, 6, 1), (3, 13, 8, 0), (3, 14, 5, 1), (3, 14, 6, 1), (3, 18, 5, 1), (3, 18, 6, 1), (4, 2, 5, 1), (4, 2, 6, 1), (4, 4, 5, 1), (4, 4, 6, 1), (4, 4, 8, 1), (4, 6, 5, 1), (4, 6, 6, 1), (4, 6, 8, 1), (4, 7, 5, 1), (4, 7, 6, 1), (4, 7, 8, 1), (4, 7, 9, 0), (4, 8, 6, 1), (4, 13, 5, 1), (4, 13, 6, 1), (4, 13, 8, 1), (4, 14, 5, 1), (4, 14, 6, 1), (4, 18, 5, 1), (4, 18, 6, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_profile_seq` -- DROP TABLE IF EXISTS `vtiger_profile_seq`; CREATE TABLE IF NOT EXISTS `vtiger_profile_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_profile_seq` -- INSERT INTO `vtiger_profile_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_purchaseorder` -- DROP TABLE IF EXISTS `vtiger_purchaseorder`; CREATE TABLE IF NOT EXISTS `vtiger_purchaseorder` ( `purchaseorderid` int(19) NOT NULL default '0', `subject` varchar(100) default NULL, `quoteid` int(19) default NULL, `vendorid` int(19) default NULL, `requisition_no` varchar(100) default NULL, `tracking_no` varchar(100) default NULL, `contactid` int(19) default NULL, `duedate` date default NULL, `carrier` varchar(200) default NULL, `type` varchar(100) default NULL, `adjustment` decimal(25,3) default NULL, `salescommission` decimal(25,3) default NULL, `exciseduty` decimal(25,3) default NULL, `total` decimal(25,3) default NULL, `subtotal` decimal(25,3) default NULL, `taxtype` varchar(25) default NULL, `discount_percent` decimal(25,3) default NULL, `discount_amount` decimal(25,3) default NULL, `s_h_amount` decimal(25,3) default NULL, `terms_conditions` text, `postatus` varchar(200) default NULL, PRIMARY KEY (`purchaseorderid`), KEY `purchaseorder_vendorid_idx` (`vendorid`), KEY `purchaseorder_quoteid_idx` (`quoteid`), KEY `purchaseorder_contactid_idx` (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_purchaseorder` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_purchaseordercf` -- DROP TABLE IF EXISTS `vtiger_purchaseordercf`; CREATE TABLE IF NOT EXISTS `vtiger_purchaseordercf` ( `purchaseorderid` int(19) NOT NULL default '0', PRIMARY KEY (`purchaseorderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_purchaseordercf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotegrouprelation` -- DROP TABLE IF EXISTS `vtiger_quotegrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_quotegrouprelation` ( `quoteid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`quoteid`), KEY `quotegrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_quotegrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotes` -- DROP TABLE IF EXISTS `vtiger_quotes`; CREATE TABLE IF NOT EXISTS `vtiger_quotes` ( `quoteid` int(19) NOT NULL default '0', `subject` varchar(100) default NULL, `potentialid` int(19) default NULL, `quotestage` varchar(200) default NULL, `validtill` date default NULL, `contactid` int(19) default NULL, `currency` varchar(100) default NULL, `subtotal` decimal(25,3) default NULL, `carrier` varchar(200) default NULL, `shipping` varchar(100) default NULL, `inventorymanager` int(19) default NULL, `type` varchar(100) default NULL, `adjustment` decimal(25,3) default NULL, `total` decimal(25,3) default NULL, `taxtype` varchar(25) default NULL, `discount_percent` decimal(25,3) default NULL, `discount_amount` decimal(25,3) default NULL, `s_h_amount` decimal(25,3) default NULL, `accountid` int(19) default NULL, `terms_conditions` text, PRIMARY KEY (`quoteid`), KEY `quote_quotestage_idx` (`quotestage`), KEY `quotes_potentialid_idx` (`potentialid`), KEY `quotes_contactid_idx` (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_quotes` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotesbillads` -- DROP TABLE IF EXISTS `vtiger_quotesbillads`; CREATE TABLE IF NOT EXISTS `vtiger_quotesbillads` ( `quotebilladdressid` int(19) NOT NULL default '0', `bill_city` varchar(30) default NULL, `bill_code` varchar(30) default NULL, `bill_country` varchar(30) default NULL, `bill_state` varchar(30) default NULL, `bill_street` varchar(250) default NULL, `bill_pobox` varchar(30) default NULL, PRIMARY KEY (`quotebilladdressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_quotesbillads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotescf` -- DROP TABLE IF EXISTS `vtiger_quotescf`; CREATE TABLE IF NOT EXISTS `vtiger_quotescf` ( `quoteid` int(19) NOT NULL default '0', PRIMARY KEY (`quoteid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_quotescf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotesshipads` -- DROP TABLE IF EXISTS `vtiger_quotesshipads`; CREATE TABLE IF NOT EXISTS `vtiger_quotesshipads` ( `quoteshipaddressid` int(19) NOT NULL default '0', `ship_city` varchar(30) default NULL, `ship_code` varchar(30) default NULL, `ship_country` varchar(30) default NULL, `ship_state` varchar(30) default NULL, `ship_street` varchar(250) default NULL, `ship_pobox` varchar(30) default NULL, PRIMARY KEY (`quoteshipaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_quotesshipads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotestage` -- DROP TABLE IF EXISTS `vtiger_quotestage`; CREATE TABLE IF NOT EXISTS `vtiger_quotestage` ( `quotestageid` int(19) NOT NULL auto_increment, `quotestage` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`quotestageid`), UNIQUE KEY `quotestage_quotestage_idx` (`quotestage`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `vtiger_quotestage` -- INSERT INTO `vtiger_quotestage` (`quotestageid`, `quotestage`, `presence`, `picklist_valueid`) VALUES (1, 'Created', 0, 156), (2, 'Delivered', 0, 157), (3, 'Reviewed', 0, 158), (4, 'Accepted', 0, 159), (5, 'Rejected', 0, 160); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotestage_seq` -- DROP TABLE IF EXISTS `vtiger_quotestage_seq`; CREATE TABLE IF NOT EXISTS `vtiger_quotestage_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_quotestage_seq` -- INSERT INTO `vtiger_quotestage_seq` (`id`) VALUES (5); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_quotestagehistory` -- DROP TABLE IF EXISTS `vtiger_quotestagehistory`; CREATE TABLE IF NOT EXISTS `vtiger_quotestagehistory` ( `historyid` int(19) NOT NULL auto_increment, `quoteid` int(19) NOT NULL, `accountname` varchar(100) default NULL, `total` decimal(10,0) default NULL, `quotestage` varchar(200) default NULL, `lastmodified` datetime default NULL, PRIMARY KEY (`historyid`), KEY `quotestagehistory_quoteid_idx` (`quoteid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_quotestagehistory` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_rating` -- DROP TABLE IF EXISTS `vtiger_rating`; CREATE TABLE IF NOT EXISTS `vtiger_rating` ( `rating_id` int(19) NOT NULL auto_increment, `rating` varchar(200) default NULL, `PRESENCE` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`rating_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `vtiger_rating` -- INSERT INTO `vtiger_rating` (`rating_id`, `rating`, `PRESENCE`, `picklist_valueid`) VALUES (1, '--None--', 1, 70), (2, 'Acquired', 1, 71), (3, 'Active', 1, 72), (4, 'Market Failed', 1, 73), (5, 'Project Cancelled', 1, 74), (6, 'Shutdown', 1, 75); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_rating_seq` -- DROP TABLE IF EXISTS `vtiger_rating_seq`; CREATE TABLE IF NOT EXISTS `vtiger_rating_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_rating_seq` -- INSERT INTO `vtiger_rating_seq` (`id`) VALUES (6); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_recurringevents` -- DROP TABLE IF EXISTS `vtiger_recurringevents`; CREATE TABLE IF NOT EXISTS `vtiger_recurringevents` ( `recurringid` int(19) NOT NULL auto_increment, `activityid` int(19) NOT NULL, `recurringdate` date default NULL, `recurringtype` varchar(30) default NULL, `recurringfreq` int(19) default NULL, `recurringinfo` varchar(50) default NULL, PRIMARY KEY (`recurringid`), KEY `fk_1_vtiger_recurringevents` (`activityid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_recurringevents` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_recurringtype` -- DROP TABLE IF EXISTS `vtiger_recurringtype`; CREATE TABLE IF NOT EXISTS `vtiger_recurringtype` ( `recurringeventid` int(19) NOT NULL auto_increment, `recurringtype` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`recurringeventid`), UNIQUE KEY `recurringtype_status_idx` (`recurringtype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `vtiger_recurringtype` -- INSERT INTO `vtiger_recurringtype` (`recurringeventid`, `recurringtype`, `sortorderid`, `presence`) VALUES (1, '--None--', 0, 1), (2, 'Daily', 1, 1), (3, 'Weekly', 2, 1), (4, 'Monthly', 3, 1), (5, 'Yearly', 4, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_recurringtype_seq` -- DROP TABLE IF EXISTS `vtiger_recurringtype_seq`; CREATE TABLE IF NOT EXISTS `vtiger_recurringtype_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_recurringtype_seq` -- INSERT INTO `vtiger_recurringtype_seq` (`id`) VALUES (5); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_relatedlists` -- DROP TABLE IF EXISTS `vtiger_relatedlists`; CREATE TABLE IF NOT EXISTS `vtiger_relatedlists` ( `relation_id` int(19) NOT NULL, `tabid` int(10) default NULL, `related_tabid` int(10) default NULL, `name` varchar(100) default NULL, `sequence` int(10) default NULL, `label` varchar(100) default NULL, `presence` int(10) NOT NULL default '0', PRIMARY KEY (`relation_id`), KEY `relatedlists_relation_id_idx` (`relation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_relatedlists` -- INSERT INTO `vtiger_relatedlists` (`relation_id`, `tabid`, `related_tabid`, `name`, `sequence`, `label`, `presence`) VALUES (1, 6, 4, 'get_contacts', 1, 'Contacts', 0), (2, 6, 2, 'get_opportunities', 2, 'Potentials', 0), (3, 6, 20, 'get_quotes', 3, 'Quotes', 0), (4, 6, 22, 'get_salesorder', 4, 'Sales Order', 0), (5, 6, 23, 'get_invoices', 5, 'Invoice', 0), (6, 6, 9, 'get_activities', 6, 'Activities', 0), (7, 6, 10, 'get_emails', 7, 'Emails', 0), (8, 6, 9, 'get_history', 8, 'Activity History', 0), (9, 6, 0, 'get_attachments', 9, 'Attachments', 0), (10, 6, 13, 'get_tickets', 10, 'HelpDesk', 0), (11, 6, 14, 'get_products', 11, 'Products', 0), (12, 7, 9, 'get_activities', 1, 'Activities', 0), (13, 7, 10, 'get_emails', 2, 'Emails', 0), (14, 7, 9, 'get_history', 3, 'Activity History', 0), (15, 7, 0, 'get_attachments', 4, 'Attachments', 0), (16, 7, 14, 'get_products', 5, 'Products', 0), (17, 7, 26, 'get_campaigns', 6, 'Campaigns', 0), (18, 4, 2, 'get_opportunities', 1, 'Potentials', 0), (19, 4, 9, 'get_activities', 2, 'Activities', 0), (20, 4, 10, 'get_emails', 3, 'Emails', 0), (21, 4, 13, 'get_tickets', 4, 'HelpDesk', 0), (22, 4, 20, 'get_quotes', 5, 'Quotes', 0), (23, 4, 21, 'get_purchase_orders', 6, 'Purchase Order', 0), (24, 4, 22, 'get_salesorder', 7, 'Sales Order', 0), (25, 4, 14, 'get_products', 8, 'Products', 0), (26, 4, 9, 'get_history', 9, 'Activity History', 0), (27, 4, 0, 'get_attachments', 10, 'Attachments', 0), (28, 4, 26, 'get_campaigns', 11, 'Campaigns', 0), (29, 2, 9, 'get_activities', 1, 'Activities', 0), (30, 2, 4, 'get_contacts', 2, 'Contacts', 0), (31, 2, 14, 'get_products', 3, 'Products', 0), (32, 2, 0, 'get_stage_history', 4, 'Sales Stage History', 0), (33, 2, 0, 'get_attachments', 5, 'Attachments', 0), (34, 2, 20, 'get_Quotes', 6, 'Quotes', 0), (35, 2, 22, 'get_salesorder', 7, 'Sales Order', 0), (36, 2, 9, 'get_history', 8, 'Activity History', 0), (37, 14, 13, 'get_tickets', 1, 'HelpDesk', 0), (38, 14, 0, 'get_attachments', 3, 'Attachments', 0), (39, 14, 20, 'get_quotes', 4, 'Quotes', 0), (40, 14, 21, 'get_purchase_orders', 5, 'Purchase Order', 0), (41, 14, 22, 'get_salesorder', 6, 'Sales Order', 0), (42, 14, 23, 'get_invoices', 7, 'Invoice', 0), (43, 14, 19, 'get_product_pricebooks', 8, 'PriceBooks', 0), (44, 14, 7, 'get_leads', 9, 'Leads', 0), (45, 14, 6, 'get_accounts', 10, 'Accounts', 0), (46, 14, 4, 'get_contacts', 11, 'Contacts', 0), (47, 14, 2, 'get_opportunities', 12, 'Potentials', 0), (48, 10, 4, 'get_contacts', 1, 'Contacts', 0), (49, 10, 0, 'get_users', 2, 'Users', 0), (50, 10, 0, 'get_attachments', 3, 'Attachments', 0), (51, 13, 9, 'get_activities', 1, 'Activities', 0), (52, 13, 0, 'get_attachments', 2, 'Attachments', 0), (53, 13, 0, 'get_ticket_history', 3, 'Ticket History', 0), (54, 13, 9, 'get_history', 4, 'Activity History', 0), (55, 19, 14, 'get_pricebook_products', 2, 'Products', 0), (56, 18, 14, 'get_products', 1, 'Products', 0), (57, 18, 21, 'get_purchase_orders', 2, 'Purchase Order', 0), (58, 18, 4, 'get_contacts', 3, 'Contacts', 0), (59, 20, 23, 'get_salesorder', 1, 'Sales Order', 0), (60, 20, 9, 'get_activities', 2, 'Activities', 0), (61, 20, 0, 'get_attachments', 3, 'Attachments', 0), (62, 20, 9, 'get_history', 4, 'Activity History', 0), (63, 20, 0, 'get_quotestagehistory', 5, 'Quote Stage History', 0), (64, 21, 9, 'get_activities', 1, 'Activities', 0), (65, 21, 0, 'get_attachments', 2, 'Attachments', 0), (66, 21, 9, 'get_history', 3, 'Activity History', 0), (67, 21, 0, 'get_postatushistory', 4, 'PurchaseOrder Status History', 0), (68, 22, 9, 'get_activities', 1, 'Activities', 0), (69, 22, 0, 'get_attachments', 2, 'Attachments', 0), (70, 22, 23, 'get_invoices', 3, 'Invoice', 0), (71, 22, 9, 'get_history', 4, 'Activity History', 0), (72, 22, 0, 'get_sostatushistory', 5, 'SalesOrder Status History', 0), (73, 23, 9, 'get_activities', 1, 'Activities', 0), (74, 23, 0, 'get_attachments', 2, 'Attachments', 0), (75, 23, 9, 'get_history', 3, 'Activity History', 0), (76, 23, 0, 'get_invoicestatushistory', 4, 'Invoice Status History', 0), (77, 9, 0, 'get_users', 1, 'Users', 0), (78, 9, 4, 'get_contacts', 2, 'Contacts', 0), (79, 26, 4, 'get_contacts', 1, 'Contacts', 0), (80, 26, 7, 'get_leads', 2, 'Leads', 0), (81, 26, 2, 'get_opportunities', 3, 'Potentials', 0), (82, 26, 9, 'get_activities', 4, 'Activities', 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_relatedlists_seq` -- DROP TABLE IF EXISTS `vtiger_relatedlists_seq`; CREATE TABLE IF NOT EXISTS `vtiger_relatedlists_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_relatedlists_seq` -- INSERT INTO `vtiger_relatedlists_seq` (`id`) VALUES (82); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_relcriteria` -- DROP TABLE IF EXISTS `vtiger_relcriteria`; CREATE TABLE IF NOT EXISTS `vtiger_relcriteria` ( `queryid` int(19) NOT NULL, `columnindex` int(11) NOT NULL, `columnname` varchar(250) default '', `comparator` varchar(10) default '', `value` varchar(200) default '', PRIMARY KEY (`queryid`,`columnindex`), KEY `relcriteria_queryid_idx` (`queryid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_relcriteria` -- INSERT INTO `vtiger_relcriteria` (`queryid`, `columnindex`, `columnname`, `comparator`, `value`) VALUES (1, 0, 'vtiger_accountContacts:accountname:Contacts_Account_Name:account_id:V', 'n', ''), (2, 0, 'vtiger_accountContacts:accountname:Contacts_Account_Name:account_id:V', 'e', ''), (3, 0, 'vtiger_potential:potentialname:Potentials_Potential_Name:potentialname:V', 'n', ''), (7, 0, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V', 'e', 'Closed Won'), (12, 0, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V', 'n', 'Closed'), (15, 0, 'vtiger_quotes:quotestage:Quotes_Quote_Stage:quotestage:V', 'n', 'Accepted'), (15, 1, 'vtiger_quotes:quotestage:Quotes_Quote_Stage:quotestage:V', 'n', 'Rejected'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_report` -- DROP TABLE IF EXISTS `vtiger_report`; CREATE TABLE IF NOT EXISTS `vtiger_report` ( `reportid` int(19) NOT NULL, `folderid` int(19) NOT NULL, `reportname` varchar(100) default '', `description` varchar(250) default '', `reporttype` varchar(50) default '', `queryid` int(19) NOT NULL default '0', `state` varchar(50) default 'SAVED', `customizable` int(1) default '1', `category` int(11) default '1', PRIMARY KEY (`reportid`), KEY `report_queryid_idx` (`queryid`), KEY `report_folderid_idx` (`folderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_report` -- INSERT INTO `vtiger_report` (`reportid`, `folderid`, `reportname`, `description`, `reporttype`, `queryid`, `state`, `customizable`, `category`) VALUES (1, 1, 'Contacts by Accounts', 'Contacts related to Accounts', 'tabular', 1, 'SAVED', 1, 1), (2, 1, 'Contacts without Accounts', 'Contacts not related to Accounts', 'tabular', 2, 'SAVED', 1, 1), (3, 1, 'Contacts by Potentials', 'Contacts related to Potentials', 'tabular', 3, 'SAVED', 1, 1), (4, 2, 'Lead by Source', 'Lead by Source', 'summary', 4, 'SAVED', 1, 1), (5, 2, 'Lead Status Report', 'Lead Status Report', 'summary', 5, 'SAVED', 1, 1), (6, 3, 'Potential Pipeline', 'Potential Pipeline', 'summary', 6, 'SAVED', 1, 1), (7, 3, 'Closed Potentials', 'Potential that have Won', 'tabular', 7, 'SAVED', 1, 1), (8, 4, 'Last Month Activities', 'Last Month Activities', 'tabular', 8, 'SAVED', 1, 1), (9, 4, 'This Month Activities', 'This Month Activities', 'tabular', 9, 'SAVED', 1, 1), (10, 5, 'Tickets by Products', 'Tickets related to Products', 'tabular', 10, 'SAVED', 1, 1), (11, 5, 'Tickets by Priority', 'Tickets by Priority', 'summary', 11, 'SAVED', 1, 1), (12, 5, 'Open Tickets', 'Tickets that are Open', 'tabular', 12, 'SAVED', 1, 1), (13, 6, 'Product Details', 'Product Detailed Report', 'tabular', 13, 'SAVED', 1, 1), (14, 6, 'Products by Contacts', 'Products related to Contacts', 'tabular', 14, 'SAVED', 1, 1), (15, 7, 'Open Quotes', 'Quotes that are Open', 'tabular', 15, 'SAVED', 1, 1), (16, 7, 'Quotes Detailed Report', 'Quotes Detailed Report', 'tabular', 16, 'SAVED', 1, 1), (17, 8, 'PurchaseOrder by Contacts', 'PurchaseOrder related to Contacts', 'tabular', 17, 'SAVED', 1, 1), (18, 8, 'PurchaseOrder Detailed Report', 'PurchaseOrder Detailed Report', 'tabular', 18, 'SAVED', 1, 1), (19, 9, 'Invoice Detailed Report', 'Invoice Detailed Report', 'tabular', 19, 'SAVED', 1, 1), (20, 10, 'SalesOrder Detailed Report', 'SalesOrder Detailed Report', 'tabular', 20, 'SAVED', 1, 1), (21, 11, 'Campaign Expectations and Actuals', 'Campaign Expectations and Actuals', 'tabular', 21, 'SAVED', 1, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_reportdatefilter` -- DROP TABLE IF EXISTS `vtiger_reportdatefilter`; CREATE TABLE IF NOT EXISTS `vtiger_reportdatefilter` ( `datefilterid` int(19) NOT NULL, `datecolumnname` varchar(250) default '', `datefilter` varchar(250) default '', `startdate` date default NULL, `enddate` date default NULL, PRIMARY KEY (`datefilterid`), KEY `reportdatefilter_datefilterid_idx` (`datefilterid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_reportdatefilter` -- INSERT INTO `vtiger_reportdatefilter` (`datefilterid`, `datecolumnname`, `datefilter`, `startdate`, `enddate`) VALUES (8, 'vtiger_crmentity:modifiedtime:modifiedtime:Calendar_Modified_Time', 'lastmonth', '2005-05-01', '2005-05-31'), (9, 'vtiger_crmentity:modifiedtime:modifiedtime:Calendar_Modified_Time', 'thismonth', '2005-06-01', '2005-06-30'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_reportfolder` -- DROP TABLE IF EXISTS `vtiger_reportfolder`; CREATE TABLE IF NOT EXISTS `vtiger_reportfolder` ( `folderid` int(19) NOT NULL auto_increment, `foldername` varchar(100) NOT NULL default '', `description` varchar(250) default '', `state` varchar(50) default 'SAVED', PRIMARY KEY (`folderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ; -- -- Dumping data for table `vtiger_reportfolder` -- INSERT INTO `vtiger_reportfolder` (`folderid`, `foldername`, `description`, `state`) VALUES (1, 'Account and Contact Reports', 'Account and Contact Reports', 'SAVED'), (2, 'Lead Reports', 'Lead Reports', 'SAVED'), (3, 'Potential Reports', 'Potential Reports', 'SAVED'), (4, 'Activity Reports', 'Activity Reports', 'SAVED'), (5, 'HelpDesk Reports', 'HelpDesk Reports', 'SAVED'), (6, 'Product Reports', 'Product Reports', 'SAVED'), (7, 'Quote Reports', 'Quote Reports', 'SAVED'), (8, 'PurchaseOrder Reports', 'PurchaseOrder Reports', 'SAVED'), (9, 'Invoice Reports', 'Invoice Reports', 'SAVED'), (10, 'SalesOrder Reports', 'SalesOrder Reports', 'SAVED'), (11, 'Campaign Reports', 'Campaign Reports', 'SAVED'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_reportmodules` -- DROP TABLE IF EXISTS `vtiger_reportmodules`; CREATE TABLE IF NOT EXISTS `vtiger_reportmodules` ( `reportmodulesid` int(19) NOT NULL, `primarymodule` varchar(50) NOT NULL default '', `secondarymodules` varchar(250) default '', PRIMARY KEY (`reportmodulesid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_reportmodules` -- INSERT INTO `vtiger_reportmodules` (`reportmodulesid`, `primarymodule`, `secondarymodules`) VALUES (1, 'Contacts', 'Accounts'), (2, 'Contacts', 'Accounts'), (3, 'Contacts', 'Potentials'), (4, 'Leads', ''), (5, 'Leads', ''), (6, 'Potentials', ''), (7, 'Potentials', ''), (8, 'Calendar', ''), (9, 'Calendar', ''), (10, 'HelpDesk', 'Products'), (11, 'HelpDesk', ''), (12, 'HelpDesk', ''), (13, 'Products', ''), (14, 'Products', 'Contacts'), (15, 'Quotes', ''), (16, 'Quotes', ''), (17, 'PurchaseOrder', 'Contacts'), (18, 'PurchaseOrder', ''), (19, 'Invoice', ''), (20, 'SalesOrder', ''), (21, 'Campaigns', ''); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_reportsortcol` -- DROP TABLE IF EXISTS `vtiger_reportsortcol`; CREATE TABLE IF NOT EXISTS `vtiger_reportsortcol` ( `sortcolid` int(19) NOT NULL, `reportid` int(19) NOT NULL, `columnname` varchar(250) default '', `sortorder` varchar(250) default 'Asc', PRIMARY KEY (`sortcolid`,`reportid`), KEY `fk_1_vtiger_reportsortcol` (`reportid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_reportsortcol` -- INSERT INTO `vtiger_reportsortcol` (`sortcolid`, `reportid`, `columnname`, `sortorder`) VALUES (1, 4, 'vtiger_leaddetails:leadsource:Leads_Lead_Source:leadsource:V', 'Ascending'), (1, 5, 'vtiger_leaddetails:leadstatus:Leads_Lead_Status:leadstatus:V', 'Ascending'), (1, 6, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V', 'Ascending'), (1, 11, 'vtiger_troubletickets:priority:HelpDesk_Priority:ticketpriorities:V', 'Ascending'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_reportsummary` -- DROP TABLE IF EXISTS `vtiger_reportsummary`; CREATE TABLE IF NOT EXISTS `vtiger_reportsummary` ( `reportsummaryid` int(19) NOT NULL, `summarytype` int(19) NOT NULL, `columnname` varchar(250) NOT NULL default '', PRIMARY KEY (`reportsummaryid`,`summarytype`,`columnname`), KEY `reportsummary_reportsummaryid_idx` (`reportsummaryid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_reportsummary` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_revenuetype` -- DROP TABLE IF EXISTS `vtiger_revenuetype`; CREATE TABLE IF NOT EXISTS `vtiger_revenuetype` ( `revenuetypeid` int(19) NOT NULL auto_increment, `revenuetype` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`revenuetypeid`), UNIQUE KEY `revenuetype_revenuetype_idx` (`revenuetype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_revenuetype` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_role` -- DROP TABLE IF EXISTS `vtiger_role`; CREATE TABLE IF NOT EXISTS `vtiger_role` ( `roleid` varchar(255) NOT NULL, `rolename` varchar(200) default NULL, `parentrole` varchar(255) default NULL, `depth` int(19) default NULL, PRIMARY KEY (`roleid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_role` -- INSERT INTO `vtiger_role` (`roleid`, `rolename`, `parentrole`, `depth`) VALUES ('H1', 'Organisation', 'H1', 0), ('H2', 'CEO', 'H1::H2', 1), ('H3', 'Vice President', 'H1::H2::H3', 2), ('H4', 'Sales Manager', 'H1::H2::H3::H4', 3), ('H5', 'Sales Man', 'H1::H2::H3::H4::H5', 4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_role2picklist` -- DROP TABLE IF EXISTS `vtiger_role2picklist`; CREATE TABLE IF NOT EXISTS `vtiger_role2picklist` ( `roleid` varchar(255) NOT NULL, `picklistvalueid` int(11) NOT NULL, `picklistid` int(11) NOT NULL, `sortid` int(11) default NULL, PRIMARY KEY (`roleid`,`picklistvalueid`,`picklistid`), KEY `role2picklist_roleid_picklistid_idx` (`roleid`,`picklistid`,`picklistvalueid`), KEY `fk_2_vtiger_role2picklist` (`picklistid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_role2picklist` -- INSERT INTO `vtiger_role2picklist` (`roleid`, `picklistvalueid`, `picklistid`, `sortid`) VALUES ('H1', 2, 1, 0), ('H1', 3, 1, 1), ('H1', 4, 1, 2), ('H1', 5, 1, 3), ('H1', 6, 1, 4), ('H1', 7, 1, 5), ('H1', 8, 1, 6), ('H1', 9, 1, 7), ('H1', 10, 1, 8), ('H1', 11, 1, 9), ('H1', 12, 1, 10), ('H1', 13, 1, 11), ('H1', 14, 1, 12), ('H1', 15, 2, 0), ('H1', 16, 2, 1), ('H1', 17, 2, 2), ('H1', 18, 2, 3), ('H1', 19, 2, 4), ('H1', 20, 2, 5), ('H1', 21, 2, 6), ('H1', 22, 2, 7), ('H1', 23, 2, 8), ('H1', 24, 2, 9), ('H1', 25, 2, 10), ('H1', 26, 3, 0), ('H1', 27, 3, 1), ('H1', 28, 3, 2), ('H1', 29, 3, 3), ('H1', 30, 3, 4), ('H1', 31, 3, 5), ('H1', 32, 3, 6), ('H1', 33, 3, 7), ('H1', 34, 3, 8), ('H1', 35, 3, 9), ('H1', 36, 3, 10), ('H1', 37, 3, 11), ('H1', 38, 3, 12), ('H1', 39, 3, 13), ('H1', 40, 3, 14), ('H1', 41, 3, 15), ('H1', 42, 3, 16), ('H1', 43, 3, 17), ('H1', 44, 3, 18), ('H1', 45, 3, 19), ('H1', 46, 3, 20), ('H1', 47, 3, 21), ('H1', 48, 3, 22), ('H1', 49, 3, 23), ('H1', 50, 3, 24), ('H1', 51, 3, 25), ('H1', 52, 3, 26), ('H1', 53, 3, 27), ('H1', 54, 3, 28), ('H1', 55, 3, 29), ('H1', 56, 3, 30), ('H1', 57, 3, 31), ('H1', 58, 4, 0), ('H1', 59, 4, 1), ('H1', 60, 4, 2), ('H1', 61, 4, 3), ('H1', 62, 4, 4), ('H1', 63, 4, 5), ('H1', 64, 4, 6), ('H1', 65, 4, 7), ('H1', 66, 4, 8), ('H1', 67, 4, 9), ('H1', 68, 4, 10), ('H1', 69, 4, 11), ('H1', 70, 5, 0), ('H1', 71, 5, 1), ('H1', 72, 5, 2), ('H1', 73, 5, 3), ('H1', 74, 5, 4), ('H1', 75, 5, 5), ('H1', 76, 6, 0), ('H1', 77, 6, 1), ('H1', 78, 6, 2), ('H1', 79, 7, 0), ('H1', 80, 7, 1), ('H1', 81, 7, 2), ('H1', 82, 7, 3), ('H1', 83, 7, 4), ('H1', 84, 7, 5), ('H1', 85, 8, 0), ('H1', 86, 8, 1), ('H1', 87, 8, 2), ('H1', 88, 8, 3), ('H1', 89, 8, 4), ('H1', 90, 8, 5), ('H1', 91, 8, 6), ('H1', 92, 8, 7), ('H1', 93, 8, 8), ('H1', 94, 8, 9), ('H1', 95, 9, 0), ('H1', 96, 9, 1), ('H1', 97, 9, 2), ('H1', 98, 9, 3), ('H1', 99, 10, 0), ('H1', 100, 10, 1), ('H1', 101, 10, 2), ('H1', 102, 10, 3), ('H1', 103, 11, 0), ('H1', 104, 11, 1), ('H1', 105, 11, 2), ('H1', 106, 11, 3), ('H1', 107, 12, 0), ('H1', 108, 12, 1), ('H1', 109, 12, 2), ('H1', 110, 13, 0), ('H1', 111, 13, 1), ('H1', 112, 13, 2), ('H1', 113, 14, 0), ('H1', 114, 14, 1), ('H1', 115, 14, 2), ('H1', 116, 14, 3), ('H1', 117, 14, 4), ('H1', 118, 14, 5), ('H1', 119, 15, 0), ('H1', 120, 15, 1), ('H1', 121, 15, 2), ('H1', 122, 16, 0), ('H1', 123, 16, 1), ('H1', 124, 16, 2), ('H1', 125, 16, 3), ('H1', 126, 17, 0), ('H1', 127, 17, 1), ('H1', 128, 17, 2), ('H1', 129, 17, 3), ('H1', 130, 18, 0), ('H1', 131, 19, 0), ('H1', 132, 19, 1), ('H1', 133, 19, 2), ('H1', 134, 19, 3), ('H1', 135, 19, 4), ('H1', 136, 19, 5), ('H1', 137, 19, 6), ('H1', 138, 19, 7), ('H1', 139, 19, 8), ('H1', 140, 19, 9), ('H1', 141, 19, 10), ('H1', 142, 19, 11), ('H1', 143, 19, 12), ('H1', 144, 19, 13), ('H1', 145, 19, 14), ('H1', 146, 19, 15), ('H1', 147, 20, 0), ('H1', 148, 20, 1), ('H1', 149, 20, 2), ('H1', 150, 20, 3), ('H1', 151, 20, 4), ('H1', 152, 20, 5), ('H1', 153, 20, 6), ('H1', 154, 20, 7), ('H1', 155, 20, 8), ('H1', 156, 21, 0), ('H1', 157, 21, 1), ('H1', 158, 21, 2), ('H1', 159, 21, 3), ('H1', 160, 21, 4), ('H1', 161, 22, 0), ('H1', 162, 22, 1), ('H1', 163, 22, 2), ('H1', 164, 22, 3), ('H1', 165, 22, 4), ('H1', 166, 23, 0), ('H1', 167, 23, 1), ('H1', 168, 23, 2), ('H1', 169, 23, 3), ('H1', 170, 24, 0), ('H1', 171, 24, 1), ('H1', 172, 24, 2), ('H1', 173, 24, 3), ('H1', 174, 24, 4), ('H1', 175, 25, 0), ('H1', 176, 25, 1), ('H1', 177, 25, 2), ('H1', 178, 25, 3), ('H1', 179, 25, 4), ('H1', 180, 26, 0), ('H1', 181, 26, 1), ('H1', 182, 26, 2), ('H1', 183, 26, 3), ('H1', 184, 27, 0), ('H1', 185, 27, 1), ('H1', 186, 27, 2), ('H1', 187, 27, 3), ('H1', 188, 27, 4), ('H1', 189, 27, 5), ('H1', 190, 27, 6), ('H1', 191, 27, 7), ('H1', 192, 27, 8), ('H1', 193, 27, 9), ('H1', 194, 27, 10), ('H1', 195, 27, 11), ('H1', 196, 27, 12), ('H1', 197, 28, 0), ('H1', 198, 28, 1), ('H1', 199, 28, 2), ('H1', 200, 28, 3), ('H1', 201, 28, 4), ('H1', 202, 28, 5), ('H1', 203, 29, 0), ('H1', 204, 29, 1), ('H1', 205, 29, 2), ('H1', 206, 29, 3), ('H1', 207, 29, 4), ('H2', 2, 1, 0), ('H2', 3, 1, 1), ('H2', 4, 1, 2), ('H2', 5, 1, 3), ('H2', 6, 1, 4), ('H2', 7, 1, 5), ('H2', 8, 1, 6), ('H2', 9, 1, 7), ('H2', 10, 1, 8), ('H2', 11, 1, 9), ('H2', 12, 1, 10), ('H2', 13, 1, 11), ('H2', 14, 1, 12), ('H2', 15, 2, 0), ('H2', 16, 2, 1), ('H2', 17, 2, 2), ('H2', 18, 2, 3), ('H2', 19, 2, 4), ('H2', 20, 2, 5), ('H2', 21, 2, 6), ('H2', 22, 2, 7), ('H2', 23, 2, 8), ('H2', 24, 2, 9), ('H2', 25, 2, 10), ('H2', 26, 3, 0), ('H2', 27, 3, 1), ('H2', 28, 3, 2), ('H2', 29, 3, 3), ('H2', 30, 3, 4), ('H2', 31, 3, 5), ('H2', 32, 3, 6), ('H2', 33, 3, 7), ('H2', 34, 3, 8), ('H2', 35, 3, 9), ('H2', 36, 3, 10), ('H2', 37, 3, 11), ('H2', 38, 3, 12), ('H2', 39, 3, 13), ('H2', 40, 3, 14), ('H2', 41, 3, 15), ('H2', 42, 3, 16), ('H2', 43, 3, 17), ('H2', 44, 3, 18), ('H2', 45, 3, 19), ('H2', 46, 3, 20), ('H2', 47, 3, 21), ('H2', 48, 3, 22), ('H2', 49, 3, 23), ('H2', 50, 3, 24), ('H2', 51, 3, 25), ('H2', 52, 3, 26), ('H2', 53, 3, 27), ('H2', 54, 3, 28), ('H2', 55, 3, 29), ('H2', 56, 3, 30), ('H2', 57, 3, 31), ('H2', 58, 4, 0), ('H2', 59, 4, 1), ('H2', 60, 4, 2), ('H2', 61, 4, 3), ('H2', 62, 4, 4), ('H2', 63, 4, 5), ('H2', 64, 4, 6), ('H2', 65, 4, 7), ('H2', 66, 4, 8), ('H2', 67, 4, 9), ('H2', 68, 4, 10), ('H2', 69, 4, 11), ('H2', 70, 5, 0), ('H2', 71, 5, 1), ('H2', 72, 5, 2), ('H2', 73, 5, 3), ('H2', 74, 5, 4), ('H2', 75, 5, 5), ('H2', 76, 6, 0), ('H2', 77, 6, 1), ('H2', 78, 6, 2), ('H2', 79, 7, 0), ('H2', 80, 7, 1), ('H2', 81, 7, 2), ('H2', 82, 7, 3), ('H2', 83, 7, 4), ('H2', 84, 7, 5), ('H2', 85, 8, 0), ('H2', 86, 8, 1), ('H2', 87, 8, 2), ('H2', 88, 8, 3), ('H2', 89, 8, 4), ('H2', 90, 8, 5), ('H2', 91, 8, 6), ('H2', 92, 8, 7), ('H2', 93, 8, 8), ('H2', 94, 8, 9), ('H2', 95, 9, 0), ('H2', 96, 9, 1), ('H2', 97, 9, 2), ('H2', 98, 9, 3), ('H2', 99, 10, 0), ('H2', 100, 10, 1), ('H2', 101, 10, 2), ('H2', 102, 10, 3), ('H2', 103, 11, 0), ('H2', 104, 11, 1), ('H2', 105, 11, 2), ('H2', 106, 11, 3), ('H2', 107, 12, 0), ('H2', 108, 12, 1), ('H2', 109, 12, 2), ('H2', 110, 13, 0), ('H2', 111, 13, 1), ('H2', 112, 13, 2), ('H2', 113, 14, 0), ('H2', 114, 14, 1), ('H2', 115, 14, 2), ('H2', 116, 14, 3), ('H2', 117, 14, 4), ('H2', 118, 14, 5), ('H2', 119, 15, 0), ('H2', 120, 15, 1), ('H2', 121, 15, 2), ('H2', 122, 16, 0), ('H2', 123, 16, 1), ('H2', 124, 16, 2), ('H2', 125, 16, 3), ('H2', 126, 17, 0), ('H2', 127, 17, 1), ('H2', 128, 17, 2), ('H2', 129, 17, 3), ('H2', 130, 18, 0), ('H2', 131, 19, 0), ('H2', 132, 19, 1), ('H2', 133, 19, 2), ('H2', 134, 19, 3), ('H2', 135, 19, 4), ('H2', 136, 19, 5), ('H2', 137, 19, 6), ('H2', 138, 19, 7), ('H2', 139, 19, 8), ('H2', 140, 19, 9), ('H2', 141, 19, 10), ('H2', 142, 19, 11), ('H2', 143, 19, 12), ('H2', 144, 19, 13), ('H2', 145, 19, 14), ('H2', 146, 19, 15), ('H2', 147, 20, 0), ('H2', 148, 20, 1), ('H2', 149, 20, 2), ('H2', 150, 20, 3), ('H2', 151, 20, 4), ('H2', 152, 20, 5), ('H2', 153, 20, 6), ('H2', 154, 20, 7), ('H2', 155, 20, 8), ('H2', 156, 21, 0), ('H2', 157, 21, 1), ('H2', 158, 21, 2), ('H2', 159, 21, 3), ('H2', 160, 21, 4), ('H2', 161, 22, 0), ('H2', 162, 22, 1), ('H2', 163, 22, 2), ('H2', 164, 22, 3), ('H2', 165, 22, 4), ('H2', 166, 23, 0), ('H2', 167, 23, 1), ('H2', 168, 23, 2), ('H2', 169, 23, 3), ('H2', 170, 24, 0), ('H2', 171, 24, 1), ('H2', 172, 24, 2), ('H2', 173, 24, 3), ('H2', 174, 24, 4), ('H2', 175, 25, 0), ('H2', 176, 25, 1), ('H2', 177, 25, 2), ('H2', 178, 25, 3), ('H2', 179, 25, 4), ('H2', 180, 26, 0), ('H2', 181, 26, 1), ('H2', 182, 26, 2), ('H2', 183, 26, 3), ('H2', 184, 27, 0), ('H2', 185, 27, 1), ('H2', 186, 27, 2), ('H2', 187, 27, 3), ('H2', 188, 27, 4), ('H2', 189, 27, 5), ('H2', 190, 27, 6), ('H2', 191, 27, 7), ('H2', 192, 27, 8), ('H2', 193, 27, 9), ('H2', 194, 27, 10), ('H2', 195, 27, 11), ('H2', 196, 27, 12), ('H2', 197, 28, 0), ('H2', 198, 28, 1), ('H2', 199, 28, 2), ('H2', 200, 28, 3), ('H2', 201, 28, 4), ('H2', 202, 28, 5), ('H2', 203, 29, 0), ('H2', 204, 29, 1), ('H2', 205, 29, 2), ('H2', 206, 29, 3), ('H2', 207, 29, 4), ('H3', 2, 1, 0), ('H3', 3, 1, 1), ('H3', 4, 1, 2), ('H3', 5, 1, 3), ('H3', 6, 1, 4), ('H3', 7, 1, 5), ('H3', 8, 1, 6), ('H3', 9, 1, 7), ('H3', 10, 1, 8), ('H3', 11, 1, 9), ('H3', 12, 1, 10), ('H3', 13, 1, 11), ('H3', 14, 1, 12), ('H3', 15, 2, 0), ('H3', 16, 2, 1), ('H3', 17, 2, 2), ('H3', 18, 2, 3), ('H3', 19, 2, 4), ('H3', 20, 2, 5), ('H3', 21, 2, 6), ('H3', 22, 2, 7), ('H3', 23, 2, 8), ('H3', 24, 2, 9), ('H3', 25, 2, 10), ('H3', 26, 3, 0), ('H3', 27, 3, 1), ('H3', 28, 3, 2), ('H3', 29, 3, 3), ('H3', 30, 3, 4), ('H3', 31, 3, 5), ('H3', 32, 3, 6), ('H3', 33, 3, 7), ('H3', 34, 3, 8), ('H3', 35, 3, 9), ('H3', 36, 3, 10), ('H3', 37, 3, 11), ('H3', 38, 3, 12), ('H3', 39, 3, 13), ('H3', 40, 3, 14), ('H3', 41, 3, 15), ('H3', 42, 3, 16), ('H3', 43, 3, 17), ('H3', 44, 3, 18), ('H3', 45, 3, 19), ('H3', 46, 3, 20), ('H3', 47, 3, 21), ('H3', 48, 3, 22), ('H3', 49, 3, 23), ('H3', 50, 3, 24), ('H3', 51, 3, 25), ('H3', 52, 3, 26), ('H3', 53, 3, 27), ('H3', 54, 3, 28), ('H3', 55, 3, 29), ('H3', 56, 3, 30), ('H3', 57, 3, 31), ('H3', 58, 4, 0), ('H3', 59, 4, 1), ('H3', 60, 4, 2), ('H3', 61, 4, 3), ('H3', 62, 4, 4), ('H3', 63, 4, 5), ('H3', 64, 4, 6), ('H3', 65, 4, 7), ('H3', 66, 4, 8), ('H3', 67, 4, 9), ('H3', 68, 4, 10), ('H3', 69, 4, 11), ('H3', 70, 5, 0), ('H3', 71, 5, 1), ('H3', 72, 5, 2), ('H3', 73, 5, 3), ('H3', 74, 5, 4), ('H3', 75, 5, 5), ('H3', 76, 6, 0), ('H3', 77, 6, 1), ('H3', 78, 6, 2), ('H3', 79, 7, 0), ('H3', 80, 7, 1), ('H3', 81, 7, 2), ('H3', 82, 7, 3), ('H3', 83, 7, 4), ('H3', 84, 7, 5), ('H3', 85, 8, 0), ('H3', 86, 8, 1), ('H3', 87, 8, 2), ('H3', 88, 8, 3), ('H3', 89, 8, 4), ('H3', 90, 8, 5), ('H3', 91, 8, 6), ('H3', 92, 8, 7), ('H3', 93, 8, 8), ('H3', 94, 8, 9), ('H3', 95, 9, 0), ('H3', 96, 9, 1), ('H3', 97, 9, 2), ('H3', 98, 9, 3), ('H3', 99, 10, 0), ('H3', 100, 10, 1), ('H3', 101, 10, 2), ('H3', 102, 10, 3), ('H3', 103, 11, 0), ('H3', 104, 11, 1), ('H3', 105, 11, 2), ('H3', 106, 11, 3), ('H3', 107, 12, 0), ('H3', 108, 12, 1), ('H3', 109, 12, 2), ('H3', 110, 13, 0), ('H3', 111, 13, 1), ('H3', 112, 13, 2), ('H3', 113, 14, 0), ('H3', 114, 14, 1), ('H3', 115, 14, 2), ('H3', 116, 14, 3), ('H3', 117, 14, 4), ('H3', 118, 14, 5), ('H3', 119, 15, 0), ('H3', 120, 15, 1), ('H3', 121, 15, 2), ('H3', 122, 16, 0), ('H3', 123, 16, 1), ('H3', 124, 16, 2), ('H3', 125, 16, 3), ('H3', 126, 17, 0), ('H3', 127, 17, 1), ('H3', 128, 17, 2), ('H3', 129, 17, 3), ('H3', 130, 18, 0), ('H3', 131, 19, 0), ('H3', 132, 19, 1), ('H3', 133, 19, 2), ('H3', 134, 19, 3), ('H3', 135, 19, 4), ('H3', 136, 19, 5), ('H3', 137, 19, 6), ('H3', 138, 19, 7), ('H3', 139, 19, 8), ('H3', 140, 19, 9), ('H3', 141, 19, 10), ('H3', 142, 19, 11), ('H3', 143, 19, 12), ('H3', 144, 19, 13), ('H3', 145, 19, 14), ('H3', 146, 19, 15), ('H3', 147, 20, 0), ('H3', 148, 20, 1), ('H3', 149, 20, 2), ('H3', 150, 20, 3), ('H3', 151, 20, 4), ('H3', 152, 20, 5), ('H3', 153, 20, 6), ('H3', 154, 20, 7), ('H3', 155, 20, 8), ('H3', 156, 21, 0), ('H3', 157, 21, 1), ('H3', 158, 21, 2), ('H3', 159, 21, 3), ('H3', 160, 21, 4), ('H3', 161, 22, 0), ('H3', 162, 22, 1), ('H3', 163, 22, 2), ('H3', 164, 22, 3), ('H3', 165, 22, 4), ('H3', 166, 23, 0), ('H3', 167, 23, 1), ('H3', 168, 23, 2), ('H3', 169, 23, 3), ('H3', 170, 24, 0), ('H3', 171, 24, 1), ('H3', 172, 24, 2), ('H3', 173, 24, 3), ('H3', 174, 24, 4), ('H3', 175, 25, 0), ('H3', 176, 25, 1), ('H3', 177, 25, 2), ('H3', 178, 25, 3), ('H3', 179, 25, 4), ('H3', 180, 26, 0), ('H3', 181, 26, 1), ('H3', 182, 26, 2), ('H3', 183, 26, 3), ('H3', 184, 27, 0), ('H3', 185, 27, 1), ('H3', 186, 27, 2), ('H3', 187, 27, 3), ('H3', 188, 27, 4), ('H3', 189, 27, 5), ('H3', 190, 27, 6), ('H3', 191, 27, 7), ('H3', 192, 27, 8), ('H3', 193, 27, 9), ('H3', 194, 27, 10), ('H3', 195, 27, 11), ('H3', 196, 27, 12), ('H3', 197, 28, 0), ('H3', 198, 28, 1), ('H3', 199, 28, 2), ('H3', 200, 28, 3), ('H3', 201, 28, 4), ('H3', 202, 28, 5), ('H3', 203, 29, 0), ('H3', 204, 29, 1), ('H3', 205, 29, 2), ('H3', 206, 29, 3), ('H3', 207, 29, 4), ('H4', 2, 1, 0), ('H4', 3, 1, 1), ('H4', 4, 1, 2), ('H4', 5, 1, 3), ('H4', 6, 1, 4), ('H4', 7, 1, 5), ('H4', 8, 1, 6), ('H4', 9, 1, 7), ('H4', 10, 1, 8), ('H4', 11, 1, 9), ('H4', 12, 1, 10), ('H4', 13, 1, 11), ('H4', 14, 1, 12), ('H4', 15, 2, 0), ('H4', 16, 2, 1), ('H4', 17, 2, 2), ('H4', 18, 2, 3), ('H4', 19, 2, 4), ('H4', 20, 2, 5), ('H4', 21, 2, 6), ('H4', 22, 2, 7), ('H4', 23, 2, 8), ('H4', 24, 2, 9), ('H4', 25, 2, 10), ('H4', 26, 3, 0), ('H4', 27, 3, 1), ('H4', 28, 3, 2), ('H4', 29, 3, 3), ('H4', 30, 3, 4), ('H4', 31, 3, 5), ('H4', 32, 3, 6), ('H4', 33, 3, 7), ('H4', 34, 3, 8), ('H4', 35, 3, 9), ('H4', 36, 3, 10), ('H4', 37, 3, 11), ('H4', 38, 3, 12), ('H4', 39, 3, 13), ('H4', 40, 3, 14), ('H4', 41, 3, 15), ('H4', 42, 3, 16), ('H4', 43, 3, 17), ('H4', 44, 3, 18), ('H4', 45, 3, 19), ('H4', 46, 3, 20), ('H4', 47, 3, 21), ('H4', 48, 3, 22), ('H4', 49, 3, 23), ('H4', 50, 3, 24), ('H4', 51, 3, 25), ('H4', 52, 3, 26), ('H4', 53, 3, 27), ('H4', 54, 3, 28), ('H4', 55, 3, 29), ('H4', 56, 3, 30), ('H4', 57, 3, 31), ('H4', 58, 4, 0), ('H4', 59, 4, 1), ('H4', 60, 4, 2), ('H4', 61, 4, 3), ('H4', 62, 4, 4), ('H4', 63, 4, 5), ('H4', 64, 4, 6), ('H4', 65, 4, 7), ('H4', 66, 4, 8), ('H4', 67, 4, 9), ('H4', 68, 4, 10), ('H4', 69, 4, 11), ('H4', 70, 5, 0), ('H4', 71, 5, 1), ('H4', 72, 5, 2), ('H4', 73, 5, 3), ('H4', 74, 5, 4), ('H4', 75, 5, 5), ('H4', 76, 6, 0), ('H4', 77, 6, 1), ('H4', 78, 6, 2), ('H4', 79, 7, 0), ('H4', 80, 7, 1), ('H4', 81, 7, 2), ('H4', 82, 7, 3), ('H4', 83, 7, 4), ('H4', 84, 7, 5), ('H4', 85, 8, 0), ('H4', 86, 8, 1), ('H4', 87, 8, 2), ('H4', 88, 8, 3), ('H4', 89, 8, 4), ('H4', 90, 8, 5), ('H4', 91, 8, 6), ('H4', 92, 8, 7), ('H4', 93, 8, 8), ('H4', 94, 8, 9), ('H4', 95, 9, 0), ('H4', 96, 9, 1), ('H4', 97, 9, 2), ('H4', 98, 9, 3), ('H4', 99, 10, 0), ('H4', 100, 10, 1), ('H4', 101, 10, 2), ('H4', 102, 10, 3), ('H4', 103, 11, 0), ('H4', 104, 11, 1), ('H4', 105, 11, 2), ('H4', 106, 11, 3), ('H4', 107, 12, 0), ('H4', 108, 12, 1), ('H4', 109, 12, 2), ('H4', 110, 13, 0), ('H4', 111, 13, 1), ('H4', 112, 13, 2), ('H4', 113, 14, 0), ('H4', 114, 14, 1), ('H4', 115, 14, 2), ('H4', 116, 14, 3), ('H4', 117, 14, 4), ('H4', 118, 14, 5), ('H4', 119, 15, 0), ('H4', 120, 15, 1), ('H4', 121, 15, 2), ('H4', 122, 16, 0), ('H4', 123, 16, 1), ('H4', 124, 16, 2), ('H4', 125, 16, 3), ('H4', 126, 17, 0), ('H4', 127, 17, 1), ('H4', 128, 17, 2), ('H4', 129, 17, 3), ('H4', 130, 18, 0), ('H4', 131, 19, 0), ('H4', 132, 19, 1), ('H4', 133, 19, 2), ('H4', 134, 19, 3), ('H4', 135, 19, 4), ('H4', 136, 19, 5), ('H4', 137, 19, 6), ('H4', 138, 19, 7), ('H4', 139, 19, 8), ('H4', 140, 19, 9), ('H4', 141, 19, 10), ('H4', 142, 19, 11), ('H4', 143, 19, 12), ('H4', 144, 19, 13), ('H4', 145, 19, 14), ('H4', 146, 19, 15), ('H4', 147, 20, 0), ('H4', 148, 20, 1), ('H4', 149, 20, 2), ('H4', 150, 20, 3), ('H4', 151, 20, 4), ('H4', 152, 20, 5), ('H4', 153, 20, 6), ('H4', 154, 20, 7), ('H4', 155, 20, 8), ('H4', 156, 21, 0), ('H4', 157, 21, 1), ('H4', 158, 21, 2), ('H4', 159, 21, 3), ('H4', 160, 21, 4), ('H4', 161, 22, 0), ('H4', 162, 22, 1), ('H4', 163, 22, 2), ('H4', 164, 22, 3), ('H4', 165, 22, 4), ('H4', 166, 23, 0), ('H4', 167, 23, 1), ('H4', 168, 23, 2), ('H4', 169, 23, 3), ('H4', 170, 24, 0), ('H4', 171, 24, 1), ('H4', 172, 24, 2), ('H4', 173, 24, 3), ('H4', 174, 24, 4), ('H4', 175, 25, 0), ('H4', 176, 25, 1), ('H4', 177, 25, 2), ('H4', 178, 25, 3), ('H4', 179, 25, 4), ('H4', 180, 26, 0), ('H4', 181, 26, 1), ('H4', 182, 26, 2), ('H4', 183, 26, 3), ('H4', 184, 27, 0), ('H4', 185, 27, 1), ('H4', 186, 27, 2), ('H4', 187, 27, 3), ('H4', 188, 27, 4), ('H4', 189, 27, 5), ('H4', 190, 27, 6), ('H4', 191, 27, 7), ('H4', 192, 27, 8), ('H4', 193, 27, 9), ('H4', 194, 27, 10), ('H4', 195, 27, 11), ('H4', 196, 27, 12), ('H4', 197, 28, 0), ('H4', 198, 28, 1), ('H4', 199, 28, 2), ('H4', 200, 28, 3), ('H4', 201, 28, 4), ('H4', 202, 28, 5), ('H4', 203, 29, 0), ('H4', 204, 29, 1), ('H4', 205, 29, 2), ('H4', 206, 29, 3), ('H4', 207, 29, 4), ('H5', 2, 1, 0), ('H5', 3, 1, 1), ('H5', 4, 1, 2), ('H5', 5, 1, 3), ('H5', 6, 1, 4), ('H5', 7, 1, 5), ('H5', 8, 1, 6), ('H5', 9, 1, 7), ('H5', 10, 1, 8), ('H5', 11, 1, 9), ('H5', 12, 1, 10), ('H5', 13, 1, 11), ('H5', 14, 1, 12), ('H5', 15, 2, 0), ('H5', 16, 2, 1), ('H5', 17, 2, 2), ('H5', 18, 2, 3), ('H5', 19, 2, 4), ('H5', 20, 2, 5), ('H5', 21, 2, 6), ('H5', 22, 2, 7), ('H5', 23, 2, 8), ('H5', 24, 2, 9), ('H5', 25, 2, 10), ('H5', 26, 3, 0), ('H5', 27, 3, 1), ('H5', 28, 3, 2), ('H5', 29, 3, 3), ('H5', 30, 3, 4), ('H5', 31, 3, 5), ('H5', 32, 3, 6), ('H5', 33, 3, 7), ('H5', 34, 3, 8), ('H5', 35, 3, 9), ('H5', 36, 3, 10), ('H5', 37, 3, 11), ('H5', 38, 3, 12), ('H5', 39, 3, 13), ('H5', 40, 3, 14), ('H5', 41, 3, 15), ('H5', 42, 3, 16), ('H5', 43, 3, 17), ('H5', 44, 3, 18), ('H5', 45, 3, 19), ('H5', 46, 3, 20), ('H5', 47, 3, 21), ('H5', 48, 3, 22), ('H5', 49, 3, 23), ('H5', 50, 3, 24), ('H5', 51, 3, 25), ('H5', 52, 3, 26), ('H5', 53, 3, 27), ('H5', 54, 3, 28), ('H5', 55, 3, 29), ('H5', 56, 3, 30), ('H5', 57, 3, 31), ('H5', 58, 4, 0), ('H5', 59, 4, 1), ('H5', 60, 4, 2), ('H5', 61, 4, 3), ('H5', 62, 4, 4), ('H5', 63, 4, 5), ('H5', 64, 4, 6), ('H5', 65, 4, 7), ('H5', 66, 4, 8), ('H5', 67, 4, 9), ('H5', 68, 4, 10), ('H5', 69, 4, 11), ('H5', 70, 5, 0), ('H5', 71, 5, 1), ('H5', 72, 5, 2), ('H5', 73, 5, 3), ('H5', 74, 5, 4), ('H5', 75, 5, 5), ('H5', 76, 6, 0), ('H5', 77, 6, 1), ('H5', 78, 6, 2), ('H5', 79, 7, 0), ('H5', 80, 7, 1), ('H5', 81, 7, 2), ('H5', 82, 7, 3), ('H5', 83, 7, 4), ('H5', 84, 7, 5), ('H5', 85, 8, 0), ('H5', 86, 8, 1), ('H5', 87, 8, 2), ('H5', 88, 8, 3), ('H5', 89, 8, 4), ('H5', 90, 8, 5), ('H5', 91, 8, 6), ('H5', 92, 8, 7), ('H5', 93, 8, 8), ('H5', 94, 8, 9), ('H5', 95, 9, 0), ('H5', 96, 9, 1), ('H5', 97, 9, 2), ('H5', 98, 9, 3), ('H5', 99, 10, 0), ('H5', 100, 10, 1), ('H5', 101, 10, 2), ('H5', 102, 10, 3), ('H5', 103, 11, 0), ('H5', 104, 11, 1), ('H5', 105, 11, 2), ('H5', 106, 11, 3), ('H5', 107, 12, 0), ('H5', 108, 12, 1), ('H5', 109, 12, 2), ('H5', 110, 13, 0), ('H5', 111, 13, 1), ('H5', 112, 13, 2), ('H5', 113, 14, 0), ('H5', 114, 14, 1), ('H5', 115, 14, 2), ('H5', 116, 14, 3), ('H5', 117, 14, 4), ('H5', 118, 14, 5), ('H5', 119, 15, 0), ('H5', 120, 15, 1), ('H5', 121, 15, 2), ('H5', 122, 16, 0), ('H5', 123, 16, 1), ('H5', 124, 16, 2), ('H5', 125, 16, 3), ('H5', 126, 17, 0), ('H5', 127, 17, 1), ('H5', 128, 17, 2), ('H5', 129, 17, 3), ('H5', 130, 18, 0), ('H5', 131, 19, 0), ('H5', 132, 19, 1), ('H5', 133, 19, 2), ('H5', 134, 19, 3), ('H5', 135, 19, 4), ('H5', 136, 19, 5), ('H5', 137, 19, 6), ('H5', 138, 19, 7), ('H5', 139, 19, 8), ('H5', 140, 19, 9), ('H5', 141, 19, 10), ('H5', 142, 19, 11), ('H5', 143, 19, 12), ('H5', 144, 19, 13), ('H5', 145, 19, 14), ('H5', 146, 19, 15), ('H5', 147, 20, 0), ('H5', 148, 20, 1), ('H5', 149, 20, 2), ('H5', 150, 20, 3), ('H5', 151, 20, 4), ('H5', 152, 20, 5), ('H5', 153, 20, 6), ('H5', 154, 20, 7), ('H5', 155, 20, 8), ('H5', 156, 21, 0), ('H5', 157, 21, 1), ('H5', 158, 21, 2), ('H5', 159, 21, 3), ('H5', 160, 21, 4), ('H5', 161, 22, 0), ('H5', 162, 22, 1), ('H5', 163, 22, 2), ('H5', 164, 22, 3), ('H5', 165, 22, 4), ('H5', 166, 23, 0), ('H5', 167, 23, 1), ('H5', 168, 23, 2), ('H5', 169, 23, 3), ('H5', 170, 24, 0), ('H5', 171, 24, 1), ('H5', 172, 24, 2), ('H5', 173, 24, 3), ('H5', 174, 24, 4), ('H5', 175, 25, 0), ('H5', 176, 25, 1), ('H5', 177, 25, 2), ('H5', 178, 25, 3), ('H5', 179, 25, 4), ('H5', 180, 26, 0), ('H5', 181, 26, 1), ('H5', 182, 26, 2), ('H5', 183, 26, 3), ('H5', 184, 27, 0), ('H5', 185, 27, 1), ('H5', 186, 27, 2), ('H5', 187, 27, 3), ('H5', 188, 27, 4), ('H5', 189, 27, 5), ('H5', 190, 27, 6), ('H5', 191, 27, 7), ('H5', 192, 27, 8), ('H5', 193, 27, 9), ('H5', 194, 27, 10), ('H5', 195, 27, 11), ('H5', 196, 27, 12), ('H5', 197, 28, 0), ('H5', 198, 28, 1), ('H5', 199, 28, 2), ('H5', 200, 28, 3), ('H5', 201, 28, 4), ('H5', 202, 28, 5), ('H5', 203, 29, 0), ('H5', 204, 29, 1), ('H5', 205, 29, 2), ('H5', 206, 29, 3), ('H5', 207, 29, 4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_role2profile` -- DROP TABLE IF EXISTS `vtiger_role2profile`; CREATE TABLE IF NOT EXISTS `vtiger_role2profile` ( `roleid` varchar(255) NOT NULL, `profileid` int(11) NOT NULL, PRIMARY KEY (`roleid`,`profileid`), KEY `role2profile_roleid_profileid_idx` (`roleid`,`profileid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_role2profile` -- INSERT INTO `vtiger_role2profile` (`roleid`, `profileid`) VALUES ('H2', 1), ('H3', 2), ('H4', 2), ('H5', 2); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_role_seq` -- DROP TABLE IF EXISTS `vtiger_role_seq`; CREATE TABLE IF NOT EXISTS `vtiger_role_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_role_seq` -- INSERT INTO `vtiger_role_seq` (`id`) VALUES (5); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_rss` -- DROP TABLE IF EXISTS `vtiger_rss`; CREATE TABLE IF NOT EXISTS `vtiger_rss` ( `rssid` int(19) NOT NULL, `rssurl` varchar(200) NOT NULL default '', `rsstitle` varchar(200) default NULL, `rsstype` int(10) default '0', `starred` int(1) default '0', PRIMARY KEY (`rssid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_rss` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sales_stage` -- DROP TABLE IF EXISTS `vtiger_sales_stage`; CREATE TABLE IF NOT EXISTS `vtiger_sales_stage` ( `sales_stage_id` int(19) NOT NULL auto_increment, `sales_stage` varchar(200) default NULL, `PRESENCE` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`sales_stage_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Dumping data for table `vtiger_sales_stage` -- INSERT INTO `vtiger_sales_stage` (`sales_stage_id`, `sales_stage`, `PRESENCE`, `picklist_valueid`) VALUES (1, 'Prospecting', 1, 85), (2, 'Qualification', 1, 86), (3, 'Needs Analysis', 1, 87), (4, 'Value Proposition', 1, 88), (5, 'Id. Decision Makers', 1, 89), (6, 'Perception Analysis', 1, 90), (7, 'Proposal/Price Quote', 1, 91), (8, 'Negotiation/Review', 1, 92), (9, 'Closed Won', 0, 93), (10, 'Closed Lost', 0, 94); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sales_stage_seq` -- DROP TABLE IF EXISTS `vtiger_sales_stage_seq`; CREATE TABLE IF NOT EXISTS `vtiger_sales_stage_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_sales_stage_seq` -- INSERT INTO `vtiger_sales_stage_seq` (`id`) VALUES (10); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_salesmanactivityrel` -- DROP TABLE IF EXISTS `vtiger_salesmanactivityrel`; CREATE TABLE IF NOT EXISTS `vtiger_salesmanactivityrel` ( `smid` int(19) NOT NULL default '0', `activityid` int(19) NOT NULL default '0', PRIMARY KEY (`smid`,`activityid`), KEY `salesmanactivityrel_activityid_idx` (`activityid`), KEY `salesmanactivityrel_smid_idx` (`smid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_salesmanactivityrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_salesmanattachmentsrel` -- DROP TABLE IF EXISTS `vtiger_salesmanattachmentsrel`; CREATE TABLE IF NOT EXISTS `vtiger_salesmanattachmentsrel` ( `smid` int(19) NOT NULL default '0', `attachmentsid` int(19) NOT NULL default '0', PRIMARY KEY (`smid`,`attachmentsid`), KEY `salesmanattachmentsrel_smid_idx` (`smid`), KEY `salesmanattachmentsrel_attachmentsid_idx` (`attachmentsid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_salesmanattachmentsrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_salesmanticketrel` -- DROP TABLE IF EXISTS `vtiger_salesmanticketrel`; CREATE TABLE IF NOT EXISTS `vtiger_salesmanticketrel` ( `smid` int(19) NOT NULL default '0', `id` int(19) NOT NULL default '0', PRIMARY KEY (`smid`,`id`), KEY `salesmanticketrel_smid_idx` (`smid`), KEY `salesmanticketrel_id_idx` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_salesmanticketrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_salesorder` -- DROP TABLE IF EXISTS `vtiger_salesorder`; CREATE TABLE IF NOT EXISTS `vtiger_salesorder` ( `salesorderid` int(19) NOT NULL default '0', `subject` varchar(100) default NULL, `potentialid` int(19) default NULL, `customerno` varchar(100) default NULL, `quoteid` int(19) default NULL, `vendorterms` varchar(100) default NULL, `contactid` int(19) default NULL, `vendorid` int(19) default NULL, `duedate` date default NULL, `carrier` varchar(200) default NULL, `pending` varchar(200) default NULL, `type` varchar(100) default NULL, `adjustment` decimal(25,3) default NULL, `salescommission` decimal(25,3) default NULL, `exciseduty` decimal(25,3) default NULL, `total` decimal(25,3) default NULL, `subtotal` decimal(25,3) default NULL, `taxtype` varchar(25) default NULL, `discount_percent` decimal(25,3) default NULL, `discount_amount` decimal(25,3) default NULL, `s_h_amount` decimal(25,3) default NULL, `accountid` int(19) default NULL, `terms_conditions` text, `purchaseorder` varchar(200) default NULL, `sostatus` varchar(200) default NULL, PRIMARY KEY (`salesorderid`), KEY `salesorder_vendorid_idx` (`vendorid`), KEY `salesorder_contactid_idx` (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_salesorder` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_salesordercf` -- DROP TABLE IF EXISTS `vtiger_salesordercf`; CREATE TABLE IF NOT EXISTS `vtiger_salesordercf` ( `salesorderid` int(19) NOT NULL default '0', PRIMARY KEY (`salesorderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_salesordercf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_salutationtype` -- DROP TABLE IF EXISTS `vtiger_salutationtype`; CREATE TABLE IF NOT EXISTS `vtiger_salutationtype` ( `salutationid` int(19) NOT NULL auto_increment, `salutationtype` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`salutationid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `vtiger_salutationtype` -- INSERT INTO `vtiger_salutationtype` (`salutationid`, `salutationtype`, `presence`, `picklist_valueid`) VALUES (1, '--None--', 1, 79), (2, 'Mr.', 1, 80), (3, 'Ms.', 1, 81), (4, 'Mrs.', 1, 82), (5, 'Dr.', 1, 83), (6, 'Prof.', 1, 84); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_salutationtype_seq` -- DROP TABLE IF EXISTS `vtiger_salutationtype_seq`; CREATE TABLE IF NOT EXISTS `vtiger_salutationtype_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_salutationtype_seq` -- INSERT INTO `vtiger_salutationtype_seq` (`id`) VALUES (6); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_seactivityrel` -- DROP TABLE IF EXISTS `vtiger_seactivityrel`; CREATE TABLE IF NOT EXISTS `vtiger_seactivityrel` ( `crmid` int(19) NOT NULL, `activityid` int(19) NOT NULL, PRIMARY KEY (`crmid`,`activityid`), KEY `seactivityrel_activityid_idx` (`activityid`), KEY `seactivityrel_crmid_idx` (`crmid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_seactivityrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_seactivityrel_seq` -- DROP TABLE IF EXISTS `vtiger_seactivityrel_seq`; CREATE TABLE IF NOT EXISTS `vtiger_seactivityrel_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_seactivityrel_seq` -- INSERT INTO `vtiger_seactivityrel_seq` (`id`) VALUES (1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_seattachmentsrel` -- DROP TABLE IF EXISTS `vtiger_seattachmentsrel`; CREATE TABLE IF NOT EXISTS `vtiger_seattachmentsrel` ( `crmid` int(19) NOT NULL default '0', `attachmentsid` int(19) NOT NULL default '0', PRIMARY KEY (`crmid`,`attachmentsid`), KEY `seattachmentsrel_attachmentsid_idx` (`attachmentsid`), KEY `seattachmentsrel_crmid_idx` (`crmid`), KEY `seattachmentsrel_attachmentsid_crmid_idx` (`attachmentsid`,`crmid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_seattachmentsrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_selectcolumn` -- DROP TABLE IF EXISTS `vtiger_selectcolumn`; CREATE TABLE IF NOT EXISTS `vtiger_selectcolumn` ( `queryid` int(19) NOT NULL, `columnindex` int(11) NOT NULL default '0', `columnname` varchar(250) default '', PRIMARY KEY (`queryid`,`columnindex`), KEY `selectcolumn_queryid_idx` (`queryid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_selectcolumn` -- INSERT INTO `vtiger_selectcolumn` (`queryid`, `columnindex`, `columnname`) VALUES (1, 0, 'vtiger_contactdetails:firstname:Contacts_First_Name:firstname:V'), (1, 1, 'vtiger_contactdetails:lastname:Contacts_Last_Name:lastname:V'), (1, 2, 'vtiger_contactsubdetails:leadsource:Contacts_Lead_Source:leadsource:V'), (1, 3, 'vtiger_accountContacts:accountname:Contacts_Account_Name:account_id:V'), (1, 4, 'vtiger_account:industry:Accounts_industry:industry:V'), (1, 5, 'vtiger_contactdetails:email:Contacts_Email:email:E'), (2, 0, 'vtiger_contactdetails:firstname:Contacts_First_Name:firstname:V'), (2, 1, 'vtiger_contactdetails:lastname:Contacts_Last_Name:lastname:V'), (2, 2, 'vtiger_contactsubdetails:leadsource:Contacts_Lead_Source:leadsource:V'), (2, 3, 'vtiger_accountContacts:accountname:Contacts_Account_Name:account_id:V'), (2, 4, 'vtiger_account:industry:Accounts_industry:industry:V'), (2, 5, 'vtiger_contactdetails:email:Contacts_Email:email:E'), (3, 0, 'vtiger_contactdetails:firstname:Contacts_First_Name:firstname:V'), (3, 1, 'vtiger_contactdetails:lastname:Contacts_Last_Name:lastname:V'), (3, 2, 'vtiger_accountContacts:accountname:Contacts_Account_Name:account_id:V'), (3, 3, 'vtiger_contactdetails:email:Contacts_Email:email:E'), (3, 4, 'vtiger_potential:potentialname:Potentials_Potential_Name:potentialname:V'), (3, 5, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V'), (4, 0, 'vtiger_leaddetails:firstname:Leads_First_Name:firstname:V'), (4, 1, 'vtiger_leaddetails:lastname:Leads_Last_Name:lastname:V'), (4, 2, 'vtiger_leaddetails:company:Leads_Company:company:V'), (4, 3, 'vtiger_leaddetails:email:Leads_Email:email:E'), (5, 0, 'vtiger_leaddetails:firstname:Leads_First_Name:firstname:V'), (5, 1, 'vtiger_leaddetails:lastname:Leads_Last_Name:lastname:V'), (5, 2, 'vtiger_leaddetails:company:Leads_Company:company:V'), (5, 3, 'vtiger_leaddetails:email:Leads_Email:email:E'), (5, 4, 'vtiger_leaddetails:leadsource:Leads_Lead_Source:leadsource:V'), (6, 0, 'vtiger_potential:potentialname:Potentials_Potential_Name:potentialname:V'), (6, 1, 'vtiger_potential:amount:Potentials_Amount:amount:N'), (6, 2, 'vtiger_potential:potentialtype:Potentials_Type:opportunity_type:V'), (6, 3, 'vtiger_potential:leadsource:Potentials_Lead_Source:leadsource:V'), (6, 4, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V'), (7, 0, 'vtiger_potential:potentialname:Potentials_Potential_Name:potentialname:V'), (7, 1, 'vtiger_potential:amount:Potentials_Amount:amount:N'), (7, 2, 'vtiger_potential:potentialtype:Potentials_Type:opportunity_type:V'), (7, 3, 'vtiger_potential:leadsource:Potentials_Lead_Source:leadsource:V'), (7, 4, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V'), (8, 0, 'vtiger_activity:subject:Calendar_Subject:subject:V'), (8, 1, 'vtiger_contactdetailsCalendar:lastname:Calendar_Contact_Name:contact_id:I'), (8, 2, 'vtiger_activity:status:Calendar_Status:taskstatus:V'), (8, 3, 'vtiger_activity:priority:Calendar_Priority:taskpriority:V'), (8, 4, 'vtiger_usersCalendar:user_name:Calendar_Assigned_To:assigned_user_id:V'), (9, 0, 'vtiger_activity:subject:Calendar_Subject:subject:V'), (9, 1, 'vtiger_contactdetailsCalendar:lastname:Calendar_Contact_Name:contact_id:I'), (9, 2, 'vtiger_activity:status:Calendar_Status:taskstatus:V'), (9, 3, 'vtiger_activity:priority:Calendar_Priority:taskpriority:V'), (9, 4, 'vtiger_usersCalendar:user_name:Calendar_Assigned_To:assigned_user_id:V'), (10, 0, 'vtiger_troubletickets:title:HelpDesk_Title:ticket_title:V'), (10, 1, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V'), (10, 2, 'vtiger_products:productname:Products_Product_Name:productname:V'), (10, 3, 'vtiger_products:discontinued:Products_Product_Active:discontinued:V'), (10, 4, 'vtiger_products:productcategory:Products_Product_Category:productcategory:V'), (10, 5, 'vtiger_products:manufacturer:Products_Manufacturer:manufacturer:V'), (11, 0, 'vtiger_troubletickets:title:HelpDesk_Title:ticket_title:V'), (11, 1, 'vtiger_troubletickets:priority:HelpDesk_Priority:ticketpriorities:V'), (11, 2, 'vtiger_troubletickets:severity:HelpDesk_Severity:ticketseverities:V'), (11, 3, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V'), (11, 4, 'vtiger_troubletickets:category:HelpDesk_Category:ticketcategories:V'), (11, 5, 'vtiger_usersHelpDesk:user_name:HelpDesk_Assigned_To:assigned_user_id:V'), (12, 0, 'vtiger_troubletickets:title:HelpDesk_Title:ticket_title:V'), (12, 1, 'vtiger_troubletickets:priority:HelpDesk_Priority:ticketpriorities:V'), (12, 2, 'vtiger_troubletickets:severity:HelpDesk_Severity:ticketseverities:V'), (12, 3, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V'), (12, 4, 'vtiger_troubletickets:category:HelpDesk_Category:ticketcategories:V'), (12, 5, 'vtiger_usersHelpDesk:user_name:HelpDesk_Assigned_To:assigned_user_id:V'), (13, 0, 'vtiger_products:productname:Products_Product_Name:productname:V'), (13, 1, 'vtiger_products:productcode:Products_Product_Code:productcode:V'), (13, 2, 'vtiger_products:discontinued:Products_Product_Active:discontinued:V'), (13, 3, 'vtiger_products:productcategory:Products_Product_Category:productcategory:V'), (13, 4, 'vtiger_products:website:Products_Website:website:V'), (13, 5, 'vtiger_vendorRel:vendorname:Products_Vendor_Name:vendor_id:I'), (13, 6, 'vtiger_products:mfr_part_no:Products_Mfr_PartNo:mfr_part_no:V'), (14, 0, 'vtiger_products:productname:Products_Product_Name:productname:V'), (14, 1, 'vtiger_products:manufacturer:Products_Manufacturer:manufacturer:V'), (14, 2, 'vtiger_products:productcategory:Products_Product_Category:productcategory:V'), (14, 3, 'vtiger_contactdetails:firstname:Contacts_First_Name:firstname:V'), (14, 4, 'vtiger_contactdetails:lastname:Contacts_Last_Name:lastname:V'), (14, 5, 'vtiger_contactsubdetails:leadsource:Contacts_Lead_Source:leadsource:V'), (15, 0, 'vtiger_quotes:subject:Quotes_Subject:subject:V'), (15, 1, 'vtiger_potentialRel:potentialname:Quotes_Potential_Name:potential_id:I'), (15, 2, 'vtiger_quotes:quotestage:Quotes_Quote_Stage:quotestage:V'), (15, 3, 'vtiger_contactdetailsQuotes:lastname:Quotes_Contact_Name:contact_id:V'), (15, 4, 'vtiger_usersRel1:user_name:Quotes_Inventory_Manager:assigned_user_id1:I'), (15, 5, 'vtiger_accountQuotes:accountname:Quotes_Account_Name:account_id:I'), (16, 0, 'vtiger_quotes:subject:Quotes_Subject:subject:V'), (16, 1, 'vtiger_potentialRel:potentialname:Quotes_Potential_Name:potential_id:I'), (16, 2, 'vtiger_quotes:quotestage:Quotes_Quote_Stage:quotestage:V'), (16, 3, 'vtiger_contactdetailsQuotes:lastname:Quotes_Contact_Name:contact_id:V'), (16, 4, 'vtiger_usersRel1:user_name:Quotes_Inventory_Manager:assigned_user_id1:I'), (16, 5, 'vtiger_accountQuotes:accountname:Quotes_Account_Name:account_id:I'), (16, 6, 'vtiger_quotes:carrier:Quotes_Carrier:carrier:V'), (16, 7, 'vtiger_quotes:shipping:Quotes_Shipping:shipping:V'), (17, 0, 'vtiger_purchaseorder:subject:PurchaseOrder_Subject:subject:V'), (17, 1, 'vtiger_vendorRel:vendorname:PurchaseOrder_Vendor_Name:vendor_id:I'), (17, 2, 'vtiger_purchaseorder:tracking_no:PurchaseOrder_Tracking_Number:tracking_no:V'), (17, 3, 'vtiger_contactdetails:firstname:Contacts_First_Name:firstname:V'), (17, 4, 'vtiger_contactdetails:lastname:Contacts_Last_Name:lastname:V'), (17, 5, 'vtiger_contactsubdetails:leadsource:Contacts_Lead_Source:leadsource:V'), (17, 6, 'vtiger_contactdetails:email:Contacts_Email:email:E'), (18, 0, 'vtiger_purchaseorder:subject:PurchaseOrder_Subject:subject:V'), (18, 1, 'vtiger_vendorRel:vendorname:PurchaseOrder_Vendor_Name:vendor_id:I'), (18, 2, 'vtiger_purchaseorder:requisition_no:PurchaseOrder_Requisition_No:requisition_no:V'), (18, 3, 'vtiger_purchaseorder:tracking_no:PurchaseOrder_Tracking_Number:tracking_no:V'), (18, 4, 'vtiger_contactdetailsPurchaseOrder:lastname:PurchaseOrder_Contact_Name:contact_id:I'), (18, 5, 'vtiger_purchaseorder:carrier:PurchaseOrder_Carrier:carrier:V'), (18, 6, 'vtiger_purchaseorder:salescommission:PurchaseOrder_Sales_Commission:salescommission:N'), (18, 7, 'vtiger_purchaseorder:exciseduty:PurchaseOrder_Excise_Duty:exciseduty:N'), (18, 8, 'vtiger_usersPurchaseOrder:user_name:PurchaseOrder_Assigned_To:assigned_user_id:V'), (19, 0, 'vtiger_invoice:subject:Invoice_Subject:subject:V'), (19, 1, 'vtiger_invoice:salesorderid:Invoice_Sales_Order:salesorder_id:I'), (19, 2, 'vtiger_invoice:customerno:Invoice_Customer_No:customerno:V'), (19, 3, 'vtiger_invoice:exciseduty:Invoice_Excise_Duty:exciseduty:N'), (19, 4, 'vtiger_invoice:salescommission:Invoice_Sales_Commission:salescommission:N'), (19, 5, 'vtiger_accountInvoice:accountname:Invoice_Account_Name:account_id:I'), (20, 0, 'vtiger_salesorder:subject:SalesOrder_Subject:subject:V'), (20, 1, 'vtiger_quotesSalesOrder:subject:SalesOrder_Quote_Name:quote_id:I'), (20, 2, 'vtiger_contactdetailsSalesOrder:lastname:SalesOrder_Contact_Name:contact_id:I'), (20, 3, 'vtiger_salesorder:duedate:SalesOrder_Due_Date:duedate:D'), (20, 4, 'vtiger_salesorder:carrier:SalesOrder_Carrier:carrier:V'), (20, 5, 'vtiger_salesorder:sostatus:SalesOrder_Status:sostatus:V'), (20, 6, 'vtiger_accountSalesOrder:accountname:SalesOrder_Account_Name:account_id:I'), (20, 7, 'vtiger_salesorder:salescommission:SalesOrder_Sales_Commission:salescommission:N'), (20, 8, 'vtiger_salesorder:exciseduty:SalesOrder_Excise_Duty:exciseduty:N'), (20, 9, 'vtiger_usersSalesOrder:user_name:SalesOrder_Assigned_To:assigned_user_id:V'), (21, 0, 'vtiger_campaign:campaignname:Campaigns_Campaign_Name:campaignname:V'), (21, 1, 'vtiger_campaign:campaigntype:Campaigns_Campaign_Type:campaigntype:V'), (21, 2, 'vtiger_campaign:targetaudience:Campaigns_Target_Audience:targetaudience:V'), (21, 3, 'vtiger_campaign:budgetcost:Campaigns_Budget_Cost:budgetcost:I'), (21, 4, 'vtiger_campaign:actualcost:Campaigns_Actual_Cost:actualcost:I'), (21, 5, 'vtiger_campaign:expectedrevenue:Campaigns_Expected_Revenue:expectedrevenue:I'), (21, 6, 'vtiger_campaign:expectedsalescount:Campaigns_Expected_Sales_Count:expectedsalescount:N'), (21, 7, 'vtiger_campaign:actualsalescount:Campaigns_Actual_Sales_Count:actualsalescount:N'), (21, 8, 'vtiger_usersCampaigns:user_name:Campaigns_Assigned_To:assigned_user_id:V'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_selectquery` -- DROP TABLE IF EXISTS `vtiger_selectquery`; CREATE TABLE IF NOT EXISTS `vtiger_selectquery` ( `queryid` int(19) NOT NULL, `startindex` int(19) default '0', `numofobjects` int(19) default '0', PRIMARY KEY (`queryid`), KEY `selectquery_queryid_idx` (`queryid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_selectquery` -- INSERT INTO `vtiger_selectquery` (`queryid`, `startindex`, `numofobjects`) VALUES (1, 0, 0), (2, 0, 0), (3, 0, 0), (4, 0, 0), (5, 0, 0), (6, 0, 0), (7, 0, 0), (8, 0, 0), (9, 0, 0), (10, 0, 0), (11, 0, 0), (12, 0, 0), (13, 0, 0), (14, 0, 0), (15, 0, 0), (16, 0, 0), (17, 0, 0), (18, 0, 0), (19, 0, 0), (20, 0, 0), (21, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_selectquery_seq` -- DROP TABLE IF EXISTS `vtiger_selectquery_seq`; CREATE TABLE IF NOT EXISTS `vtiger_selectquery_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_selectquery_seq` -- INSERT INTO `vtiger_selectquery_seq` (`id`) VALUES (21); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_senotesrel` -- DROP TABLE IF EXISTS `vtiger_senotesrel`; CREATE TABLE IF NOT EXISTS `vtiger_senotesrel` ( `crmid` int(19) NOT NULL default '0', `notesid` int(19) NOT NULL default '0', PRIMARY KEY (`crmid`,`notesid`), KEY `senotesrel_notesid_idx` (`notesid`), KEY `senotesrel_crmid_idx` (`crmid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_senotesrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_seproductsrel` -- DROP TABLE IF EXISTS `vtiger_seproductsrel`; CREATE TABLE IF NOT EXISTS `vtiger_seproductsrel` ( `crmid` int(19) NOT NULL default '0', `productid` int(19) NOT NULL default '0', `setype` varchar(30) NOT NULL, PRIMARY KEY (`crmid`,`productid`), KEY `seproductsrel_productid_idx` (`productid`), KEY `seproductrel_crmid_idx` (`crmid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_seproductsrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_seticketsrel` -- DROP TABLE IF EXISTS `vtiger_seticketsrel`; CREATE TABLE IF NOT EXISTS `vtiger_seticketsrel` ( `crmid` int(19) NOT NULL default '0', `ticketid` int(19) NOT NULL default '0', PRIMARY KEY (`crmid`,`ticketid`), KEY `seticketsrel_crmid_idx` (`crmid`), KEY `seticketsrel_ticketid_idx` (`ticketid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_seticketsrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sharedcalendar` -- DROP TABLE IF EXISTS `vtiger_sharedcalendar`; CREATE TABLE IF NOT EXISTS `vtiger_sharedcalendar` ( `userid` int(19) NOT NULL, `sharedid` int(19) NOT NULL, PRIMARY KEY (`userid`,`sharedid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_sharedcalendar` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_shippingtaxinfo` -- DROP TABLE IF EXISTS `vtiger_shippingtaxinfo`; CREATE TABLE IF NOT EXISTS `vtiger_shippingtaxinfo` ( `taxid` int(3) NOT NULL, `taxname` varchar(50) default NULL, `taxlabel` varchar(50) default NULL, `percentage` decimal(7,3) default NULL, `deleted` int(1) default NULL, PRIMARY KEY (`taxid`), KEY `shippingtaxinfo_taxname_idx` (`taxname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_shippingtaxinfo` -- INSERT INTO `vtiger_shippingtaxinfo` (`taxid`, `taxname`, `taxlabel`, `percentage`, `deleted`) VALUES (1, 'shtax1', 'VAT', 4.500, 0), (2, 'shtax2', 'Sales', 10.000, 0), (3, 'shtax3', 'Service', 12.500, 0); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_shippingtaxinfo_seq` -- DROP TABLE IF EXISTS `vtiger_shippingtaxinfo_seq`; CREATE TABLE IF NOT EXISTS `vtiger_shippingtaxinfo_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_shippingtaxinfo_seq` -- INSERT INTO `vtiger_shippingtaxinfo_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_soapservice` -- DROP TABLE IF EXISTS `vtiger_soapservice`; CREATE TABLE IF NOT EXISTS `vtiger_soapservice` ( `id` int(19) default NULL, `type` varchar(25) default NULL, `sessionid` varchar(100) default NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_soapservice` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sobillads` -- DROP TABLE IF EXISTS `vtiger_sobillads`; CREATE TABLE IF NOT EXISTS `vtiger_sobillads` ( `sobilladdressid` int(19) NOT NULL default '0', `bill_city` varchar(30) default NULL, `bill_code` varchar(30) default NULL, `bill_country` varchar(30) default NULL, `bill_state` varchar(30) default NULL, `bill_street` varchar(250) default NULL, `bill_pobox` varchar(30) default NULL, PRIMARY KEY (`sobilladdressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_sobillads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sogrouprelation` -- DROP TABLE IF EXISTS `vtiger_sogrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_sogrouprelation` ( `salesorderid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`salesorderid`), KEY `sogrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_sogrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_soshipads` -- DROP TABLE IF EXISTS `vtiger_soshipads`; CREATE TABLE IF NOT EXISTS `vtiger_soshipads` ( `soshipaddressid` int(19) NOT NULL default '0', `ship_city` varchar(30) default NULL, `ship_code` varchar(30) default NULL, `ship_country` varchar(30) default NULL, `ship_state` varchar(30) default NULL, `ship_street` varchar(250) default NULL, `ship_pobox` varchar(30) default NULL, PRIMARY KEY (`soshipaddressid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_soshipads` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sostatus` -- DROP TABLE IF EXISTS `vtiger_sostatus`; CREATE TABLE IF NOT EXISTS `vtiger_sostatus` ( `sostatusid` int(19) NOT NULL auto_increment, `sostatus` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`sostatusid`), UNIQUE KEY `sostatus_sostatus_idx` (`sostatus`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_sostatus` -- INSERT INTO `vtiger_sostatus` (`sostatusid`, `sostatus`, `presence`, `picklist_valueid`) VALUES (1, 'Created', 0, 180), (2, 'Approved', 0, 181), (3, 'Delivered', 0, 182), (4, 'Cancelled', 0, 183); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sostatus_seq` -- DROP TABLE IF EXISTS `vtiger_sostatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_sostatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_sostatus_seq` -- INSERT INTO `vtiger_sostatus_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_sostatushistory` -- DROP TABLE IF EXISTS `vtiger_sostatushistory`; CREATE TABLE IF NOT EXISTS `vtiger_sostatushistory` ( `historyid` int(19) NOT NULL auto_increment, `salesorderid` int(19) NOT NULL, `accountname` varchar(100) default NULL, `total` decimal(10,0) default NULL, `sostatus` varchar(200) default NULL, `lastmodified` datetime default NULL, PRIMARY KEY (`historyid`), KEY `sostatushistory_salesorderid_idx` (`salesorderid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_sostatushistory` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_status` -- DROP TABLE IF EXISTS `vtiger_status`; CREATE TABLE IF NOT EXISTS `vtiger_status` ( `statusid` int(19) NOT NULL auto_increment, `status` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`statusid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `vtiger_status` -- INSERT INTO `vtiger_status` (`statusid`, `status`, `presence`, `picklist_valueid`) VALUES (1, 'Active', 0, 1), (2, 'Inactive', 1, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_status_seq` -- DROP TABLE IF EXISTS `vtiger_status_seq`; CREATE TABLE IF NOT EXISTS `vtiger_status_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_status_seq` -- INSERT INTO `vtiger_status_seq` (`id`) VALUES (2); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_systems` -- DROP TABLE IF EXISTS `vtiger_systems`; CREATE TABLE IF NOT EXISTS `vtiger_systems` ( `id` int(19) NOT NULL, `server` varchar(100) default NULL, `server_port` int(19) default NULL, `server_username` varchar(100) default NULL, `server_password` varchar(100) default NULL, `server_type` varchar(20) default NULL, `smtp_auth` varchar(5) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_systems` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tab` -- DROP TABLE IF EXISTS `vtiger_tab`; CREATE TABLE IF NOT EXISTS `vtiger_tab` ( `tabid` int(19) NOT NULL default '0', `name` varchar(25) NOT NULL, `presence` int(19) NOT NULL default '1', `tabsequence` int(10) default NULL, `tablabel` varchar(25) NOT NULL, `modifiedby` int(19) default NULL, `modifiedtime` int(19) default NULL, `customized` int(19) default NULL, `ownedby` int(19) default NULL, PRIMARY KEY (`tabid`), UNIQUE KEY `tab_name_idx` (`name`), KEY `tab_modifiedby_idx` (`modifiedby`), KEY `tab_tabid_idx` (`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tab` -- INSERT INTO `vtiger_tab` (`tabid`, `name`, `presence`, `tabsequence`, `tablabel`, `modifiedby`, `modifiedtime`, `customized`, `ownedby`) VALUES (1, 'Dashboard', 0, 12, 'Dashboards', NULL, NULL, 0, 1), (2, 'Potentials', 0, 7, 'Potentials', NULL, NULL, 0, 0), (3, 'Home', 0, 1, 'Home', NULL, NULL, 0, 1), (4, 'Contacts', 0, 6, 'Contacts', NULL, NULL, 0, 0), (6, 'Accounts', 0, 5, 'Accounts', NULL, NULL, 0, 0), (7, 'Leads', 0, 4, 'Leads', NULL, NULL, 0, 0), (8, 'Notes', 0, 9, 'Notes', NULL, NULL, 0, 1), (9, 'Calendar', 0, 3, 'Calendar', NULL, NULL, 0, 0), (10, 'Emails', 0, 10, 'Emails', NULL, NULL, 0, 1), (13, 'HelpDesk', 0, 11, 'HelpDesk', NULL, NULL, 0, 0), (14, 'Products', 0, 8, 'Products', NULL, NULL, 0, 1), (15, 'Faq', 0, 14, 'Faq', NULL, NULL, 0, 1), (16, 'Events', 2, 13, 'Events', NULL, NULL, 0, 0), (18, 'Vendors', 0, 15, 'Vendors', NULL, NULL, 0, 1), (19, 'PriceBooks', 0, 16, 'PriceBooks', NULL, NULL, 0, 1), (20, 'Quotes', 0, 17, 'Quotes', NULL, NULL, 0, 0), (21, 'PurchaseOrder', 0, 18, 'PurchaseOrder', NULL, NULL, 0, 0), (22, 'SalesOrder', 0, 19, 'SalesOrder', NULL, NULL, 0, 0), (23, 'Invoice', 0, 20, 'Invoice', NULL, NULL, 0, 0), (24, 'Rss', 0, 21, 'Rss', NULL, NULL, 0, 1), (25, 'Reports', 0, 22, 'Reports', NULL, NULL, 0, 1), (26, 'Campaigns', 0, 23, 'Campaigns', NULL, NULL, 0, 0), (27, 'Portal', 0, 24, 'Portal', NULL, NULL, 0, 1), (28, 'Webmails', 0, 25, 'Webmails', NULL, NULL, 0, 1), (29, 'Users', 0, 26, 'Users', NULL, NULL, 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_taskpriority` -- DROP TABLE IF EXISTS `vtiger_taskpriority`; CREATE TABLE IF NOT EXISTS `vtiger_taskpriority` ( `taskpriorityid` int(19) NOT NULL auto_increment, `taskpriority` varchar(200) default NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`taskpriorityid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_taskpriority` -- INSERT INTO `vtiger_taskpriority` (`taskpriorityid`, `taskpriority`, `presence`, `picklist_valueid`) VALUES (1, 'High', 1, 119), (2, 'Medium', 1, 120), (3, 'Low', 1, 121); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_taskpriority_seq` -- DROP TABLE IF EXISTS `vtiger_taskpriority_seq`; CREATE TABLE IF NOT EXISTS `vtiger_taskpriority_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_taskpriority_seq` -- INSERT INTO `vtiger_taskpriority_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_taskstatus` -- DROP TABLE IF EXISTS `vtiger_taskstatus`; CREATE TABLE IF NOT EXISTS `vtiger_taskstatus` ( `taskstatusid` int(19) NOT NULL auto_increment, `taskstatus` varchar(200) default NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`taskstatusid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `vtiger_taskstatus` -- INSERT INTO `vtiger_taskstatus` (`taskstatusid`, `taskstatus`, `presence`, `picklist_valueid`) VALUES (1, 'Not Started', 0, 113), (2, 'In Progress', 0, 114), (3, 'Completed', 0, 115), (4, 'Pending Input', 0, 116), (5, 'Deferred', 0, 117), (6, 'Planned', 0, 118); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_taskstatus_seq` -- DROP TABLE IF EXISTS `vtiger_taskstatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_taskstatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_taskstatus_seq` -- INSERT INTO `vtiger_taskstatus_seq` (`id`) VALUES (6); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_taxclass` -- DROP TABLE IF EXISTS `vtiger_taxclass`; CREATE TABLE IF NOT EXISTS `vtiger_taxclass` ( `taxclassid` int(19) NOT NULL auto_increment, `taxclass` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`taxclassid`), UNIQUE KEY `taxclass_carrier_idx` (`taxclass`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `vtiger_taxclass` -- INSERT INTO `vtiger_taxclass` (`taxclassid`, `taxclass`, `sortorderid`, `presence`) VALUES (1, 'SalesTax', 0, 1), (2, 'Vat', 1, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_taxclass_seq` -- DROP TABLE IF EXISTS `vtiger_taxclass_seq`; CREATE TABLE IF NOT EXISTS `vtiger_taxclass_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_taxclass_seq` -- INSERT INTO `vtiger_taxclass_seq` (`id`) VALUES (2); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketcategories` -- DROP TABLE IF EXISTS `vtiger_ticketcategories`; CREATE TABLE IF NOT EXISTS `vtiger_ticketcategories` ( `ticketcategories_id` int(19) NOT NULL auto_increment, `ticketcategories` varchar(200) default NULL, `PRESENCE` int(1) NOT NULL default '0', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`ticketcategories_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `vtiger_ticketcategories` -- INSERT INTO `vtiger_ticketcategories` (`ticketcategories_id`, `ticketcategories`, `PRESENCE`, `picklist_valueid`) VALUES (1, 'Big Problem', 1, 107), (2, 'Small Problem', 1, 108), (3, 'Other Problem', 1, 109); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketcategories_seq` -- DROP TABLE IF EXISTS `vtiger_ticketcategories_seq`; CREATE TABLE IF NOT EXISTS `vtiger_ticketcategories_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ticketcategories_seq` -- INSERT INTO `vtiger_ticketcategories_seq` (`id`) VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketcf` -- DROP TABLE IF EXISTS `vtiger_ticketcf`; CREATE TABLE IF NOT EXISTS `vtiger_ticketcf` ( `ticketid` int(19) NOT NULL default '0', PRIMARY KEY (`ticketid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ticketcf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketcomments` -- DROP TABLE IF EXISTS `vtiger_ticketcomments`; CREATE TABLE IF NOT EXISTS `vtiger_ticketcomments` ( `commentid` int(19) NOT NULL auto_increment, `ticketid` int(19) default NULL, `comments` text, `ownerid` int(19) NOT NULL default '0', `ownertype` varchar(10) default NULL, `createdtime` datetime NOT NULL, PRIMARY KEY (`commentid`), KEY `ticketcomments_ticketid_idx` (`ticketid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_ticketcomments` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketgrouprelation` -- DROP TABLE IF EXISTS `vtiger_ticketgrouprelation`; CREATE TABLE IF NOT EXISTS `vtiger_ticketgrouprelation` ( `ticketid` int(19) NOT NULL, `groupname` varchar(100) default NULL, PRIMARY KEY (`ticketid`), KEY `ticketgrouprelation_ticketid_idx` (`ticketid`), KEY `ticketgrouprelation_groupname_idx` (`groupname`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ticketgrouprelation` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketpriorities` -- DROP TABLE IF EXISTS `vtiger_ticketpriorities`; CREATE TABLE IF NOT EXISTS `vtiger_ticketpriorities` ( `ticketpriorities_id` int(19) NOT NULL auto_increment, `ticketpriorities` varchar(200) default NULL, `PRESENCE` int(1) NOT NULL default '0', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`ticketpriorities_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_ticketpriorities` -- INSERT INTO `vtiger_ticketpriorities` (`ticketpriorities_id`, `ticketpriorities`, `PRESENCE`, `picklist_valueid`) VALUES (1, 'Low', 1, 99), (2, 'Normal', 1, 100), (3, 'High', 1, 101), (4, 'Urgent', 1, 102); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketpriorities_seq` -- DROP TABLE IF EXISTS `vtiger_ticketpriorities_seq`; CREATE TABLE IF NOT EXISTS `vtiger_ticketpriorities_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ticketpriorities_seq` -- INSERT INTO `vtiger_ticketpriorities_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketseverities` -- DROP TABLE IF EXISTS `vtiger_ticketseverities`; CREATE TABLE IF NOT EXISTS `vtiger_ticketseverities` ( `ticketseverities_id` int(19) NOT NULL auto_increment, `ticketseverities` varchar(200) default NULL, `PRESENCE` int(1) NOT NULL default '0', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`ticketseverities_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_ticketseverities` -- INSERT INTO `vtiger_ticketseverities` (`ticketseverities_id`, `ticketseverities`, `PRESENCE`, `picklist_valueid`) VALUES (1, 'Minor', 1, 103), (2, 'Major', 1, 104), (3, 'Feature', 1, 105), (4, 'Critical', 1, 106); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketseverities_seq` -- DROP TABLE IF EXISTS `vtiger_ticketseverities_seq`; CREATE TABLE IF NOT EXISTS `vtiger_ticketseverities_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ticketseverities_seq` -- INSERT INTO `vtiger_ticketseverities_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketstatus` -- DROP TABLE IF EXISTS `vtiger_ticketstatus`; CREATE TABLE IF NOT EXISTS `vtiger_ticketstatus` ( `ticketstatus_id` int(19) NOT NULL auto_increment, `ticketstatus` varchar(200) default NULL, `PRESENCE` int(1) NOT NULL default '0', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`ticketstatus_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `vtiger_ticketstatus` -- INSERT INTO `vtiger_ticketstatus` (`ticketstatus_id`, `ticketstatus`, `PRESENCE`, `picklist_valueid`) VALUES (1, 'Open', 0, 95), (2, 'In Progress', 0, 96), (3, 'Wait For Response', 0, 97), (4, 'Closed', 0, 98); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketstatus_seq` -- DROP TABLE IF EXISTS `vtiger_ticketstatus_seq`; CREATE TABLE IF NOT EXISTS `vtiger_ticketstatus_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ticketstatus_seq` -- INSERT INTO `vtiger_ticketstatus_seq` (`id`) VALUES (4); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_ticketstracktime` -- DROP TABLE IF EXISTS `vtiger_ticketstracktime`; CREATE TABLE IF NOT EXISTS `vtiger_ticketstracktime` ( `ticket_id` int(11) NOT NULL default '0', `supporter_id` int(11) NOT NULL default '0', `minutes` int(11) default '0', `date_logged` int(11) NOT NULL default '0', PRIMARY KEY (`ticket_id`), KEY `ticketstracktime_ticket_id_idx` (`ticket_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_ticketstracktime` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_read_group_rel_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_read_group_rel_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_read_group_rel_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `relatedtabid` int(11) NOT NULL, `sharedgroupid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`sharedgroupid`), KEY `tmp_read_group_rel_sharing_per_userid_sharedgroupid_tabid` (`userid`,`sharedgroupid`,`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_read_group_rel_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_read_group_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_read_group_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_read_group_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `sharedgroupid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`sharedgroupid`), KEY `tmp_read_group_sharing_per_userid_sharedgroupid_idx` (`userid`,`sharedgroupid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_read_group_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_read_user_rel_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_read_user_rel_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_read_user_rel_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `relatedtabid` int(11) NOT NULL, `shareduserid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`shareduserid`), KEY `tmp_read_user_rel_sharing_per_userid_shared_reltabid_idx` (`userid`,`shareduserid`,`relatedtabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_read_user_rel_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_read_user_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_read_user_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_read_user_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `shareduserid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`shareduserid`), KEY `tmp_read_user_sharing_per_userid_shareduserid_idx` (`userid`,`shareduserid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_read_user_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_write_group_rel_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_write_group_rel_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_write_group_rel_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `relatedtabid` int(11) NOT NULL, `sharedgroupid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`sharedgroupid`), KEY `tmp_write_group_rel_sharing_per_userid_sharedgroupid_tabid_idx` (`userid`,`sharedgroupid`,`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_write_group_rel_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_write_group_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_write_group_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_write_group_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `sharedgroupid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`sharedgroupid`), KEY `tmp_write_group_sharing_per_UK1` (`userid`,`sharedgroupid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_write_group_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_write_user_rel_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_write_user_rel_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_write_user_rel_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `relatedtabid` int(11) NOT NULL, `shareduserid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`shareduserid`), KEY `tmp_write_user_rel_sharing_per_userid_sharduserid_tabid_idx` (`userid`,`shareduserid`,`tabid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_write_user_rel_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tmp_write_user_sharing_per` -- DROP TABLE IF EXISTS `vtiger_tmp_write_user_sharing_per`; CREATE TABLE IF NOT EXISTS `vtiger_tmp_write_user_sharing_per` ( `userid` int(11) NOT NULL, `tabid` int(11) NOT NULL, `shareduserid` int(11) NOT NULL, PRIMARY KEY (`userid`,`tabid`,`shareduserid`), KEY `tmp_write_user_sharing_per_userid_shareduserid_idx` (`userid`,`shareduserid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_tmp_write_user_sharing_per` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_tracker` -- DROP TABLE IF EXISTS `vtiger_tracker`; CREATE TABLE IF NOT EXISTS `vtiger_tracker` ( `id` int(11) NOT NULL auto_increment, `user_id` varchar(36) default NULL, `module_name` varchar(25) default NULL, `item_id` varchar(36) default NULL, `item_summary` varchar(255) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_tracker` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_troubletickets` -- DROP TABLE IF EXISTS `vtiger_troubletickets`; CREATE TABLE IF NOT EXISTS `vtiger_troubletickets` ( `ticketid` int(19) NOT NULL, `groupname` varchar(100) default NULL, `parent_id` varchar(100) default NULL, `product_id` varchar(100) default NULL, `priority` varchar(200) default NULL, `severity` varchar(200) default NULL, `status` varchar(200) default NULL, `category` varchar(200) default NULL, `title` varchar(255) NOT NULL, `filename` varchar(50) default NULL, `solution` text, `update_log` text, `version_id` int(11) default NULL, PRIMARY KEY (`ticketid`), KEY `troubletickets_ticketid_idx` (`ticketid`), KEY `troubletickets_status_idx` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_troubletickets` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_usageunit` -- DROP TABLE IF EXISTS `vtiger_usageunit`; CREATE TABLE IF NOT EXISTS `vtiger_usageunit` ( `usageunitid` int(19) NOT NULL auto_increment, `usageunit` varchar(200) NOT NULL, `presence` int(1) NOT NULL default '1', `picklist_valueid` int(19) NOT NULL default '0', PRIMARY KEY (`usageunitid`), UNIQUE KEY `usageunit_usageunit_idx` (`usageunit`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ; -- -- Dumping data for table `vtiger_usageunit` -- INSERT INTO `vtiger_usageunit` (`usageunitid`, `usageunit`, `presence`, `picklist_valueid`) VALUES (1, 'Box', 1, 131), (2, 'Carton', 1, 132), (3, 'Dozen', 1, 133), (4, 'Each', 1, 134), (5, 'Hours', 1, 135), (6, 'Impressions', 1, 136), (7, 'Lb', 1, 137), (8, 'M', 1, 138), (9, 'Pack', 1, 139), (10, 'Pages', 1, 140), (11, 'Pieces', 1, 141), (12, 'Quantity', 1, 142), (13, 'Reams', 1, 143), (14, 'Sheet', 1, 144), (15, 'Spiral Binder', 1, 145), (16, 'Sq Ft', 1, 146); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_usageunit_seq` -- DROP TABLE IF EXISTS `vtiger_usageunit_seq`; CREATE TABLE IF NOT EXISTS `vtiger_usageunit_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_usageunit_seq` -- INSERT INTO `vtiger_usageunit_seq` (`id`) VALUES (16); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_user2role` -- DROP TABLE IF EXISTS `vtiger_user2role`; CREATE TABLE IF NOT EXISTS `vtiger_user2role` ( `userid` int(11) NOT NULL, `roleid` varchar(255) NOT NULL, PRIMARY KEY (`userid`), KEY `user2role_roleid_idx` (`roleid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_user2role` -- INSERT INTO `vtiger_user2role` (`userid`, `roleid`) VALUES (1, 'H2'), (2, 'H3'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_users` -- DROP TABLE IF EXISTS `vtiger_users`; CREATE TABLE IF NOT EXISTS `vtiger_users` ( `id` int(11) NOT NULL auto_increment, `user_name` varchar(255) default NULL, `user_password` varchar(30) default NULL, `user_hash` varchar(32) default NULL, `cal_color` varchar(25) default '#E6FAD8', `first_name` varchar(30) default NULL, `last_name` varchar(30) default NULL, `reports_to_id` varchar(36) default NULL, `is_admin` varchar(3) default '0', `currency_id` int(19) NOT NULL default '1', `description` text, `date_entered` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `date_modified` timestamp NOT NULL default '0000-00-00 00:00:00', `modified_user_id` varchar(36) default NULL, `title` varchar(50) default NULL, `department` varchar(50) default NULL, `phone_home` varchar(50) default NULL, `phone_mobile` varchar(50) default NULL, `phone_work` varchar(50) default NULL, `phone_other` varchar(50) default NULL, `phone_fax` varchar(50) default NULL, `email1` varchar(100) default NULL, `email2` varchar(100) default NULL, `yahoo_id` varchar(100) default NULL, `status` varchar(25) default NULL, `signature` varchar(250) default NULL, `address_street` varchar(150) default NULL, `address_city` varchar(100) default NULL, `address_state` varchar(100) default NULL, `address_country` varchar(25) default NULL, `address_postalcode` varchar(9) default NULL, `user_preferences` text, `tz` varchar(30) default NULL, `holidays` varchar(60) default NULL, `namedays` varchar(60) default NULL, `workdays` varchar(30) default NULL, `weekstart` int(11) default NULL, `date_format` varchar(200) default NULL, `hour_format` varchar(30) default 'am/pm', `start_hour` varchar(30) default '10:00', `end_hour` varchar(30) default '23:00', `homeorder` varchar(255) default 'HDB,ALVT,PLVT,QLTQ,CVLVT,HLT,OLV,GRT,OLTSO,ILTI,MNL,OLTPO,LTFAQ', `activity_view` varchar(200) default 'Today', `lead_view` varchar(200) default 'Today', `imagename` varchar(250) default NULL, `deleted` int(1) NOT NULL default '0', `defhomeview` varchar(100) default NULL, `confirm_password` varchar(30) default NULL, `tagcloud_view` int(1) default '1', `internal_mailer` varchar(3) NOT NULL default '1', `crypt_type` varchar(20) NOT NULL default 'MD5', PRIMARY KEY (`id`), KEY `user_user_name_idx` (`user_name`), KEY `user_user_password_idx` (`user_password`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `vtiger_users` -- INSERT INTO `vtiger_users` (`id`, `user_name`, `user_password`, `user_hash`, `cal_color`, `first_name`, `last_name`, `reports_to_id`, `is_admin`, `currency_id`, `description`, `date_entered`, `date_modified`, `modified_user_id`, `title`, `department`, `phone_home`, `phone_mobile`, `phone_work`, `phone_other`, `phone_fax`, `email1`, `email2`, `yahoo_id`, `status`, `signature`, `address_street`, `address_city`, `address_state`, `address_country`, `address_postalcode`, `user_preferences`, `tz`, `holidays`, `namedays`, `workdays`, `weekstart`, `date_format`, `hour_format`, `start_hour`, `end_hour`, `homeorder`, `activity_view`, `lead_view`, `imagename`, `deleted`, `defhomeview`, `confirm_password`, `tagcloud_view`, `internal_mailer`, `crypt_type`) VALUES (1, 'admin', '$1$ad$hsl2KFybNRnbXBa.b.WWv.', '21232f297a57a5a743894a0e4a801fc3', '#E6FAD8', '', 'Administrator', '', 'on', 1, '', '2008-04-16 13:44:29', '0000-00-00 00:00:00', NULL, '', '', '', '', '', '', '', 'root@evb.com', '', '', 'Active', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 'yyyy-mm-dd', 'am/pm', '08:00', '23:00', 'HDB,ALVT,PLVT,QLTQ,CVLVT,HLT,OLV,GRT,OLTSO,ILTI,MNL,OLTPO,LTFAQ', 'This Week', 'Today', '', 0, NULL, '$1$ad$peilFE10wX.4b0aIm7/.t/', 1, '1', 'MD5'), (2, 'standarduser', '$1$st$k35HABw/iAKXXthyFMLPF/', NULL, '#E6FAD8', '', 'StandardUser', '', 'off', 1, '', '2008-04-16 13:42:05', '0000-00-00 00:00:00', NULL, '', '', '', '', '', '', '', 'user@evb.com', '', '', 'Active', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 'yyyy-mm-dd', '24', '08:00', '23:00', 'HDB,ALVT,PLVT,QLTQ,CVLVT,HLT,OLV,GRT,OLTSO,ILTI,MNL,OLTPO,LTFAQ', 'This Week', 'Today', '', 0, NULL, '$1$st$1iX6Nfn6NbdWdlCljgg3u1', 1, '1', 'MD5'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_users2group` -- DROP TABLE IF EXISTS `vtiger_users2group`; CREATE TABLE IF NOT EXISTS `vtiger_users2group` ( `groupid` int(19) NOT NULL, `userid` int(19) NOT NULL, PRIMARY KEY (`groupid`,`userid`), KEY `users2group_groupname_uerid_idx` (`groupid`,`userid`), KEY `fk_2_vtiger_users2group` (`userid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_users2group` -- INSERT INTO `vtiger_users2group` (`groupid`, `userid`) VALUES (2, 1), (1, 2), (2, 2), (3, 2); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_users_last_import` -- DROP TABLE IF EXISTS `vtiger_users_last_import`; CREATE TABLE IF NOT EXISTS `vtiger_users_last_import` ( `id` int(36) NOT NULL auto_increment, `assigned_user_id` varchar(36) default NULL, `bean_type` varchar(36) default NULL, `bean_id` varchar(36) default NULL, `deleted` int(1) NOT NULL default '0', PRIMARY KEY (`id`), KEY `idx_user_id` (`assigned_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_users_last_import` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_users_seq` -- DROP TABLE IF EXISTS `vtiger_users_seq`; CREATE TABLE IF NOT EXISTS `vtiger_users_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_users_seq` -- INSERT INTO `vtiger_users_seq` (`id`) VALUES (2); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_usertype` -- DROP TABLE IF EXISTS `vtiger_usertype`; CREATE TABLE IF NOT EXISTS `vtiger_usertype` ( `usertypeid` int(19) NOT NULL auto_increment, `usertype` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`usertypeid`), UNIQUE KEY `usertype_usertype_idx` (`usertype`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `vtiger_usertype` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_vendor` -- DROP TABLE IF EXISTS `vtiger_vendor`; CREATE TABLE IF NOT EXISTS `vtiger_vendor` ( `vendorid` int(19) NOT NULL default '0', `vendorname` varchar(100) default NULL, `phone` varchar(100) default NULL, `email` varchar(100) default NULL, `website` varchar(100) default NULL, `glacct` varchar(200) default NULL, `category` varchar(50) default NULL, `street` text, `city` varchar(30) default NULL, `state` varchar(30) default NULL, `pobox` varchar(30) default NULL, `postalcode` varchar(100) default NULL, `country` varchar(100) default NULL, `description` text, PRIMARY KEY (`vendorid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_vendor` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_vendorcf` -- DROP TABLE IF EXISTS `vtiger_vendorcf`; CREATE TABLE IF NOT EXISTS `vtiger_vendorcf` ( `vendorid` int(19) NOT NULL default '0', PRIMARY KEY (`vendorid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_vendorcf` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_vendorcontactrel` -- DROP TABLE IF EXISTS `vtiger_vendorcontactrel`; CREATE TABLE IF NOT EXISTS `vtiger_vendorcontactrel` ( `vendorid` int(19) NOT NULL default '0', `contactid` int(19) NOT NULL default '0', PRIMARY KEY (`vendorid`,`contactid`), KEY `vendorcontactrel_vendorid_idx` (`vendorid`), KEY `vendorcontactrel_contact_idx` (`contactid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_vendorcontactrel` -- -- -------------------------------------------------------- -- -- Table structure for table `vtiger_version` -- DROP TABLE IF EXISTS `vtiger_version`; CREATE TABLE IF NOT EXISTS `vtiger_version` ( `id` int(11) NOT NULL auto_increment, `old_version` varchar(30) default NULL, `current_version` varchar(30) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `vtiger_version` -- INSERT INTO `vtiger_version` (`id`, `old_version`, `current_version`) VALUES (1, '5.0.4', '5.0.4'); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_visibility` -- DROP TABLE IF EXISTS `vtiger_visibility`; CREATE TABLE IF NOT EXISTS `vtiger_visibility` ( `visibilityid` int(19) NOT NULL auto_increment, `visibility` varchar(200) NOT NULL, `sortorderid` int(19) NOT NULL default '0', `presence` int(1) NOT NULL default '1', PRIMARY KEY (`visibilityid`), UNIQUE KEY `visibility_visibility_idx` (`visibility`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `vtiger_visibility` -- INSERT INTO `vtiger_visibility` (`visibilityid`, `visibility`, `sortorderid`, `presence`) VALUES (1, 'Private', 0, 1), (2, 'Public', 1, 1); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_visibility_seq` -- DROP TABLE IF EXISTS `vtiger_visibility_seq`; CREATE TABLE IF NOT EXISTS `vtiger_visibility_seq` ( `id` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_visibility_seq` -- INSERT INTO `vtiger_visibility_seq` (`id`) VALUES (2); -- -------------------------------------------------------- -- -- Table structure for table `vtiger_wordtemplates` -- DROP TABLE IF EXISTS `vtiger_wordtemplates`; CREATE TABLE IF NOT EXISTS `vtiger_wordtemplates` ( `templateid` int(19) NOT NULL, `filename` varchar(100) NOT NULL, `module` varchar(30) NOT NULL, `date_entered` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `parent_type` varchar(50) NOT NULL, `data` longblob, `description` text, `filesize` varchar(50) NOT NULL, `filetype` varchar(20) NOT NULL, `deleted` int(1) NOT NULL default '0', PRIMARY KEY (`templateid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `vtiger_wordtemplates` -- -- -- Constraints for dumped tables -- -- -- Constraints for table `vtiger_account` -- ALTER TABLE `vtiger_account` ADD CONSTRAINT `fk_1_vtiger_account` FOREIGN KEY (`accountid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_accountbillads` -- ALTER TABLE `vtiger_accountbillads` ADD CONSTRAINT `fk_1_vtiger_accountbillads` FOREIGN KEY (`accountaddressid`) REFERENCES `vtiger_account` (`accountid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_accountgrouprelation` -- ALTER TABLE `vtiger_accountgrouprelation` ADD CONSTRAINT `fk_2_vtiger_accountgrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE, ADD CONSTRAINT `fk_1_vtiger_accountgrouprelation` FOREIGN KEY (`accountid`) REFERENCES `vtiger_account` (`accountid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_accountscf` -- ALTER TABLE `vtiger_accountscf` ADD CONSTRAINT `fk_1_vtiger_accountscf` FOREIGN KEY (`accountid`) REFERENCES `vtiger_account` (`accountid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_accountshipads` -- ALTER TABLE `vtiger_accountshipads` ADD CONSTRAINT `fk_1_vtiger_accountshipads` FOREIGN KEY (`accountaddressid`) REFERENCES `vtiger_account` (`accountid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_activity` -- ALTER TABLE `vtiger_activity` ADD CONSTRAINT `fk_1_vtiger_activity` FOREIGN KEY (`activityid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_activitygrouprelation` -- ALTER TABLE `vtiger_activitygrouprelation` ADD CONSTRAINT `fk_2_vtiger_activitygrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE, ADD CONSTRAINT `fk_1_vtiger_activitygrouprelation` FOREIGN KEY (`activityid`) REFERENCES `vtiger_activity` (`activityid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_activityproductrel` -- ALTER TABLE `vtiger_activityproductrel` ADD CONSTRAINT `fk_2_vtiger_activityproductrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_attachments` -- ALTER TABLE `vtiger_attachments` ADD CONSTRAINT `fk_1_vtiger_attachments` FOREIGN KEY (`attachmentsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_blocks` -- ALTER TABLE `vtiger_blocks` ADD CONSTRAINT `fk_1_vtiger_blocks` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_campaigncontrel` -- ALTER TABLE `vtiger_campaigncontrel` ADD CONSTRAINT `fk_2_vtiger_campaigncontrel` FOREIGN KEY (`contactid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_campaigngrouprelation` -- ALTER TABLE `vtiger_campaigngrouprelation` ADD CONSTRAINT `fk_2_vtiger_campaigngrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE, ADD CONSTRAINT `fk_1_vtiger_campaigngrouprelation` FOREIGN KEY (`campaignid`) REFERENCES `vtiger_campaign` (`campaignid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_campaignleadrel` -- ALTER TABLE `vtiger_campaignleadrel` ADD CONSTRAINT `fk_2_vtiger_campaignleadrel` FOREIGN KEY (`leadid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_campaignscf` -- ALTER TABLE `vtiger_campaignscf` ADD CONSTRAINT `fk_1_vtiger_campaignscf` FOREIGN KEY (`campaignid`) REFERENCES `vtiger_campaign` (`campaignid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_chat_msg` -- ALTER TABLE `vtiger_chat_msg` ADD CONSTRAINT `fk_1_vtiger_chat_msg` FOREIGN KEY (`chat_from`) REFERENCES `vtiger_chat_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_chat_pchat` -- ALTER TABLE `vtiger_chat_pchat` ADD CONSTRAINT `fk_1_vtiger_chat_pchat` FOREIGN KEY (`msg`) REFERENCES `vtiger_chat_msg` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_chat_pvchat` -- ALTER TABLE `vtiger_chat_pvchat` ADD CONSTRAINT `fk_1_vtiger_chat_pvchat` FOREIGN KEY (`msg`) REFERENCES `vtiger_chat_msg` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_cntactivityrel` -- ALTER TABLE `vtiger_cntactivityrel` ADD CONSTRAINT `fk_2_vtiger_cntactivityrel` FOREIGN KEY (`contactid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_competitor` -- ALTER TABLE `vtiger_competitor` ADD CONSTRAINT `fk_1_vtiger_competitor` FOREIGN KEY (`competitorid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_contactaddress` -- ALTER TABLE `vtiger_contactaddress` ADD CONSTRAINT `fk_1_vtiger_contactaddress` FOREIGN KEY (`contactaddressid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_contactdetails` -- ALTER TABLE `vtiger_contactdetails` ADD CONSTRAINT `fk_1_vtiger_contactdetails` FOREIGN KEY (`contactid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_contactgrouprelation` -- ALTER TABLE `vtiger_contactgrouprelation` ADD CONSTRAINT `fk_2_vtiger_contactgrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE, ADD CONSTRAINT `fk_1_vtiger_contactgrouprelation` FOREIGN KEY (`contactid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_contactscf` -- ALTER TABLE `vtiger_contactscf` ADD CONSTRAINT `fk_1_vtiger_contactscf` FOREIGN KEY (`contactid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_contactsubdetails` -- ALTER TABLE `vtiger_contactsubdetails` ADD CONSTRAINT `fk_1_vtiger_contactsubdetails` FOREIGN KEY (`contactsubscriptionid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_contpotentialrel` -- ALTER TABLE `vtiger_contpotentialrel` ADD CONSTRAINT `fk_2_vtiger_contpotentialrel` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_crmentitynotesrel` -- ALTER TABLE `vtiger_crmentitynotesrel` ADD CONSTRAINT `fk_2_vtiger_crmentitynotesrel` FOREIGN KEY (`notesid`) REFERENCES `vtiger_notes` (`notesid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_customaction` -- ALTER TABLE `vtiger_customaction` ADD CONSTRAINT `fk_1_vtiger_customaction` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_customerdetails` -- ALTER TABLE `vtiger_customerdetails` ADD CONSTRAINT `fk_1_vtiger_customerdetails` FOREIGN KEY (`customerid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_customview` -- ALTER TABLE `vtiger_customview` ADD CONSTRAINT `fk_1_vtiger_customview` FOREIGN KEY (`entitytype`) REFERENCES `vtiger_tab` (`name`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_cvadvfilter` -- ALTER TABLE `vtiger_cvadvfilter` ADD CONSTRAINT `fk_1_vtiger_cvadvfilter` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_cvcolumnlist` -- ALTER TABLE `vtiger_cvcolumnlist` ADD CONSTRAINT `fk_1_vtiger_cvcolumnlist` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_cvstdfilter` -- ALTER TABLE `vtiger_cvstdfilter` ADD CONSTRAINT `fk_1_vtiger_cvstdfilter` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_grp2grp` -- ALTER TABLE `vtiger_datashare_grp2grp` ADD CONSTRAINT `fk_3_vtiger_datashare_grp2grp` FOREIGN KEY (`to_groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_grp2role` -- ALTER TABLE `vtiger_datashare_grp2role` ADD CONSTRAINT `fk_3_vtiger_datashare_grp2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_grp2rs` -- ALTER TABLE `vtiger_datashare_grp2rs` ADD CONSTRAINT `fk_3_vtiger_datashare_grp2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_module_rel` -- ALTER TABLE `vtiger_datashare_module_rel` ADD CONSTRAINT `fk_1_vtiger_datashare_module_rel` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_relatedmodules` -- ALTER TABLE `vtiger_datashare_relatedmodules` ADD CONSTRAINT `fk_2_vtiger_datashare_relatedmodules` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_role2group` -- ALTER TABLE `vtiger_datashare_role2group` ADD CONSTRAINT `fk_3_vtiger_datashare_role2group` FOREIGN KEY (`share_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_role2role` -- ALTER TABLE `vtiger_datashare_role2role` ADD CONSTRAINT `fk_3_vtiger_datashare_role2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_role2rs` -- ALTER TABLE `vtiger_datashare_role2rs` ADD CONSTRAINT `fk_3_vtiger_datashare_role2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_rs2grp` -- ALTER TABLE `vtiger_datashare_rs2grp` ADD CONSTRAINT `fk_3_vtiger_datashare_rs2grp` FOREIGN KEY (`share_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_rs2role` -- ALTER TABLE `vtiger_datashare_rs2role` ADD CONSTRAINT `fk_3_vtiger_datashare_rs2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_datashare_rs2rs` -- ALTER TABLE `vtiger_datashare_rs2rs` ADD CONSTRAINT `fk_3_vtiger_datashare_rs2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_def_org_share` -- ALTER TABLE `vtiger_def_org_share` ADD CONSTRAINT `fk_1_vtiger_def_org_share` FOREIGN KEY (`permission`) REFERENCES `vtiger_org_share_action_mapping` (`share_action_id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_defaultcv` -- ALTER TABLE `vtiger_defaultcv` ADD CONSTRAINT `fk_1_vtiger_defaultcv` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_entityname` -- ALTER TABLE `vtiger_entityname` ADD CONSTRAINT `fk_1_vtiger_entityname` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_faq` -- ALTER TABLE `vtiger_faq` ADD CONSTRAINT `fk_1_vtiger_faq` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_faqcomments` -- ALTER TABLE `vtiger_faqcomments` ADD CONSTRAINT `fk_1_vtiger_faqcomments` FOREIGN KEY (`faqid`) REFERENCES `vtiger_faq` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_field` -- ALTER TABLE `vtiger_field` ADD CONSTRAINT `fk_1_vtiger_field` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_group2grouprel` -- ALTER TABLE `vtiger_group2grouprel` ADD CONSTRAINT `fk_2_vtiger_group2grouprel` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_group2role` -- ALTER TABLE `vtiger_group2role` ADD CONSTRAINT `fk_2_vtiger_group2role` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_group2rs` -- ALTER TABLE `vtiger_group2rs` ADD CONSTRAINT `fk_2_vtiger_group2rs` FOREIGN KEY (`roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_invoice` -- ALTER TABLE `vtiger_invoice` ADD CONSTRAINT `fk_2_vtiger_invoice` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_invoicebillads` -- ALTER TABLE `vtiger_invoicebillads` ADD CONSTRAINT `fk_1_vtiger_invoicebillads` FOREIGN KEY (`invoicebilladdressid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_invoicecf` -- ALTER TABLE `vtiger_invoicecf` ADD CONSTRAINT `fk_1_vtiger_invoicecf` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_invoicegrouprelation` -- ALTER TABLE `vtiger_invoicegrouprelation` ADD CONSTRAINT `fk_2_vtiger_invoicegrouprelation` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_invoicegrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE; -- -- Constraints for table `vtiger_invoiceshipads` -- ALTER TABLE `vtiger_invoiceshipads` ADD CONSTRAINT `fk_1_vtiger_invoiceshipads` FOREIGN KEY (`invoiceshipaddressid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_invoicestatushistory` -- ALTER TABLE `vtiger_invoicestatushistory` ADD CONSTRAINT `fk_1_vtiger_invoicestatushistory` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_lar` -- ALTER TABLE `vtiger_lar` ADD CONSTRAINT `fk_1_vtiger_lar` FOREIGN KEY (`createdby`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_leadacctrel` -- ALTER TABLE `vtiger_leadacctrel` ADD CONSTRAINT `fk_2_vtiger_leadacctrel` FOREIGN KEY (`leadid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_leadaddress` -- ALTER TABLE `vtiger_leadaddress` ADD CONSTRAINT `fk_1_vtiger_leadaddress` FOREIGN KEY (`leadaddressid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_leadcontrel` -- ALTER TABLE `vtiger_leadcontrel` ADD CONSTRAINT `fk_2_vtiger_leadcontrel` FOREIGN KEY (`leadid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_leaddetails` -- ALTER TABLE `vtiger_leaddetails` ADD CONSTRAINT `fk_1_vtiger_leaddetails` FOREIGN KEY (`leadid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_leadgrouprelation` -- ALTER TABLE `vtiger_leadgrouprelation` ADD CONSTRAINT `fk_2_vtiger_leadgrouprelation` FOREIGN KEY (`leadid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_leadgrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE; -- -- Constraints for table `vtiger_leadpotrel` -- ALTER TABLE `vtiger_leadpotrel` ADD CONSTRAINT `fk_2_vtiger_leadpotrel` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_leadscf` -- ALTER TABLE `vtiger_leadscf` ADD CONSTRAINT `fk_1_vtiger_leadscf` FOREIGN KEY (`leadid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_leadsubdetails` -- ALTER TABLE `vtiger_leadsubdetails` ADD CONSTRAINT `fk_1_vtiger_leadsubdetails` FOREIGN KEY (`leadsubscriptionid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_moduleowners` -- ALTER TABLE `vtiger_moduleowners` ADD CONSTRAINT `fk_1_vtiger_moduleowners` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_notes` -- ALTER TABLE `vtiger_notes` ADD CONSTRAINT `fk_1_vtiger_notes` FOREIGN KEY (`notesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_org_share_action2tab` -- ALTER TABLE `vtiger_org_share_action2tab` ADD CONSTRAINT `fk_2_vtiger_org_share_action2tab` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_parenttabrel` -- ALTER TABLE `vtiger_parenttabrel` ADD CONSTRAINT `fk_2_vtiger_parenttabrel` FOREIGN KEY (`parenttabid`) REFERENCES `vtiger_parenttab` (`parenttabid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_parenttabrel` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_pobillads` -- ALTER TABLE `vtiger_pobillads` ADD CONSTRAINT `fk_1_vtiger_pobillads` FOREIGN KEY (`pobilladdressid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_pogrouprelation` -- ALTER TABLE `vtiger_pogrouprelation` ADD CONSTRAINT `fk_2_vtiger_pogrouprelation` FOREIGN KEY (`purchaseorderid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_pogrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE; -- -- Constraints for table `vtiger_portalinfo` -- ALTER TABLE `vtiger_portalinfo` ADD CONSTRAINT `fk_1_vtiger_portalinfo` FOREIGN KEY (`id`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_poshipads` -- ALTER TABLE `vtiger_poshipads` ADD CONSTRAINT `fk_1_vtiger_poshipads` FOREIGN KEY (`poshipaddressid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_postatushistory` -- ALTER TABLE `vtiger_postatushistory` ADD CONSTRAINT `fk_1_vtiger_postatushistory` FOREIGN KEY (`purchaseorderid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_potcompetitorrel` -- ALTER TABLE `vtiger_potcompetitorrel` ADD CONSTRAINT `fk_2_vtiger_potcompetitorrel` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_potential` -- ALTER TABLE `vtiger_potential` ADD CONSTRAINT `fk_1_vtiger_potential` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_potentialgrouprelation` -- ALTER TABLE `vtiger_potentialgrouprelation` ADD CONSTRAINT `fk_2_vtiger_potentialgrouprelation` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_potentialgrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE; -- -- Constraints for table `vtiger_potentialscf` -- ALTER TABLE `vtiger_potentialscf` ADD CONSTRAINT `fk_1_vtiger_potentialscf` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_potstagehistory` -- ALTER TABLE `vtiger_potstagehistory` ADD CONSTRAINT `fk_1_vtiger_potstagehistory` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_pricebook` -- ALTER TABLE `vtiger_pricebook` ADD CONSTRAINT `fk_1_vtiger_pricebook` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_pricebookcf` -- ALTER TABLE `vtiger_pricebookcf` ADD CONSTRAINT `fk_1_vtiger_pricebookcf` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_pricebook` (`pricebookid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_pricebookproductrel` -- ALTER TABLE `vtiger_pricebookproductrel` ADD CONSTRAINT `fk_2_vtiger_pricebookproductrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_productcf` -- ALTER TABLE `vtiger_productcf` ADD CONSTRAINT `fk_1_vtiger_productcf` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_productcollaterals` -- ALTER TABLE `vtiger_productcollaterals` ADD CONSTRAINT `fk_1_vtiger_productcollaterals` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_products` -- ALTER TABLE `vtiger_products` ADD CONSTRAINT `fk_1_vtiger_products` FOREIGN KEY (`productid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_producttaxrel` -- ALTER TABLE `vtiger_producttaxrel` ADD CONSTRAINT `fk_1_vtiger_producttaxrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_profile2globalpermissions` -- ALTER TABLE `vtiger_profile2globalpermissions` ADD CONSTRAINT `fk_1_vtiger_profile2globalpermissions` FOREIGN KEY (`profileid`) REFERENCES `vtiger_profile` (`profileid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_purchaseorder` -- ALTER TABLE `vtiger_purchaseorder` ADD CONSTRAINT `fk_4_vtiger_purchaseorder` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_purchaseordercf` -- ALTER TABLE `vtiger_purchaseordercf` ADD CONSTRAINT `fk_1_vtiger_purchaseordercf` FOREIGN KEY (`purchaseorderid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_quotegrouprelation` -- ALTER TABLE `vtiger_quotegrouprelation` ADD CONSTRAINT `fk_2_vtiger_quotegrouprelation` FOREIGN KEY (`quoteid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_quotegrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE; -- -- Constraints for table `vtiger_quotes` -- ALTER TABLE `vtiger_quotes` ADD CONSTRAINT `fk_3_vtiger_quotes` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_quotesbillads` -- ALTER TABLE `vtiger_quotesbillads` ADD CONSTRAINT `fk_1_vtiger_quotesbillads` FOREIGN KEY (`quotebilladdressid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_quotescf` -- ALTER TABLE `vtiger_quotescf` ADD CONSTRAINT `fk_1_vtiger_quotescf` FOREIGN KEY (`quoteid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_quotesshipads` -- ALTER TABLE `vtiger_quotesshipads` ADD CONSTRAINT `fk_1_vtiger_quotesshipads` FOREIGN KEY (`quoteshipaddressid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_quotestagehistory` -- ALTER TABLE `vtiger_quotestagehistory` ADD CONSTRAINT `fk_1_vtiger_quotestagehistory` FOREIGN KEY (`quoteid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_recurringevents` -- ALTER TABLE `vtiger_recurringevents` ADD CONSTRAINT `fk_1_vtiger_recurringevents` FOREIGN KEY (`activityid`) REFERENCES `vtiger_activity` (`activityid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_relcriteria` -- ALTER TABLE `vtiger_relcriteria` ADD CONSTRAINT `fk_1_vtiger_relcriteria` FOREIGN KEY (`queryid`) REFERENCES `vtiger_selectquery` (`queryid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_report` -- ALTER TABLE `vtiger_report` ADD CONSTRAINT `fk_2_vtiger_report` FOREIGN KEY (`queryid`) REFERENCES `vtiger_selectquery` (`queryid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_reportdatefilter` -- ALTER TABLE `vtiger_reportdatefilter` ADD CONSTRAINT `fk_1_vtiger_reportdatefilter` FOREIGN KEY (`datefilterid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_reportmodules` -- ALTER TABLE `vtiger_reportmodules` ADD CONSTRAINT `fk_1_vtiger_reportmodules` FOREIGN KEY (`reportmodulesid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_reportsortcol` -- ALTER TABLE `vtiger_reportsortcol` ADD CONSTRAINT `fk_1_vtiger_reportsortcol` FOREIGN KEY (`reportid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_reportsummary` -- ALTER TABLE `vtiger_reportsummary` ADD CONSTRAINT `fk_1_vtiger_reportsummary` FOREIGN KEY (`reportsummaryid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_role2picklist` -- ALTER TABLE `vtiger_role2picklist` ADD CONSTRAINT `fk_2_vtiger_role2picklist` FOREIGN KEY (`picklistid`) REFERENCES `vtiger_picklist` (`picklistid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_role2picklist` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_salesmanactivityrel` -- ALTER TABLE `vtiger_salesmanactivityrel` ADD CONSTRAINT `fk_2_vtiger_salesmanactivityrel` FOREIGN KEY (`smid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_salesmanattachmentsrel` -- ALTER TABLE `vtiger_salesmanattachmentsrel` ADD CONSTRAINT `fk_2_vtiger_salesmanattachmentsrel` FOREIGN KEY (`attachmentsid`) REFERENCES `vtiger_attachments` (`attachmentsid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_salesmanticketrel` -- ALTER TABLE `vtiger_salesmanticketrel` ADD CONSTRAINT `fk_2_vtiger_salesmanticketrel` FOREIGN KEY (`smid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_salesorder` -- ALTER TABLE `vtiger_salesorder` ADD CONSTRAINT `fk_3_vtiger_salesorder` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_salesordercf` -- ALTER TABLE `vtiger_salesordercf` ADD CONSTRAINT `fk_1_vtiger_salesordercf` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_seactivityrel` -- ALTER TABLE `vtiger_seactivityrel` ADD CONSTRAINT `fk_2_vtiger_seactivityrel` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_seattachmentsrel` -- ALTER TABLE `vtiger_seattachmentsrel` ADD CONSTRAINT `fk_2_vtiger_seattachmentsrel` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_selectcolumn` -- ALTER TABLE `vtiger_selectcolumn` ADD CONSTRAINT `fk_1_vtiger_selectcolumn` FOREIGN KEY (`queryid`) REFERENCES `vtiger_selectquery` (`queryid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_senotesrel` -- ALTER TABLE `vtiger_senotesrel` ADD CONSTRAINT `fk_2_vtiger_senotesrel` FOREIGN KEY (`notesid`) REFERENCES `vtiger_notes` (`notesid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_seproductsrel` -- ALTER TABLE `vtiger_seproductsrel` ADD CONSTRAINT `fk_2_vtiger_seproductsrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_seticketsrel` -- ALTER TABLE `vtiger_seticketsrel` ADD CONSTRAINT `fk_2_vtiger_seticketsrel` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_troubletickets` (`ticketid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_sobillads` -- ALTER TABLE `vtiger_sobillads` ADD CONSTRAINT `fk_1_vtiger_sobillads` FOREIGN KEY (`sobilladdressid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_sogrouprelation` -- ALTER TABLE `vtiger_sogrouprelation` ADD CONSTRAINT `fk_2_vtiger_sogrouprelation` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_sogrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE; -- -- Constraints for table `vtiger_soshipads` -- ALTER TABLE `vtiger_soshipads` ADD CONSTRAINT `fk_1_vtiger_soshipads` FOREIGN KEY (`soshipaddressid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_sostatushistory` -- ALTER TABLE `vtiger_sostatushistory` ADD CONSTRAINT `fk_1_vtiger_sostatushistory` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_ticketcf` -- ALTER TABLE `vtiger_ticketcf` ADD CONSTRAINT `fk_1_vtiger_ticketcf` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_troubletickets` (`ticketid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_ticketcomments` -- ALTER TABLE `vtiger_ticketcomments` ADD CONSTRAINT `fk_1_vtiger_ticketcomments` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_troubletickets` (`ticketid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_ticketgrouprelation` -- ALTER TABLE `vtiger_ticketgrouprelation` ADD CONSTRAINT `fk_2_vtiger_ticketgrouprelation` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_troubletickets` (`ticketid`) ON DELETE CASCADE, ADD CONSTRAINT `fk_1_vtiger_ticketgrouprelation` FOREIGN KEY (`groupname`) REFERENCES `vtiger_groups` (`groupname`) ON UPDATE CASCADE; -- -- Constraints for table `vtiger_tmp_read_group_rel_sharing_per` -- ALTER TABLE `vtiger_tmp_read_group_rel_sharing_per` ADD CONSTRAINT `fk_4_vtiger_tmp_read_group_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_tmp_read_group_sharing_per` -- ALTER TABLE `vtiger_tmp_read_group_sharing_per` ADD CONSTRAINT `fk_3_vtiger_tmp_read_group_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_tmp_read_user_rel_sharing_per` -- ALTER TABLE `vtiger_tmp_read_user_rel_sharing_per` ADD CONSTRAINT `fk_4_vtiger_tmp_read_user_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_tmp_read_user_sharing_per` -- ALTER TABLE `vtiger_tmp_read_user_sharing_per` ADD CONSTRAINT `fk_3_vtiger_tmp_read_user_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_tmp_write_group_rel_sharing_per` -- ALTER TABLE `vtiger_tmp_write_group_rel_sharing_per` ADD CONSTRAINT `fk_4_vtiger_tmp_write_group_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_tmp_write_group_sharing_per` -- ALTER TABLE `vtiger_tmp_write_group_sharing_per` ADD CONSTRAINT `fk_3_vtiger_tmp_write_group_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_tmp_write_user_rel_sharing_per` -- ALTER TABLE `vtiger_tmp_write_user_rel_sharing_per` ADD CONSTRAINT `fk_4_vtiger_tmp_write_user_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_tmp_write_user_sharing_per` -- ALTER TABLE `vtiger_tmp_write_user_sharing_per` ADD CONSTRAINT `fk_3_vtiger_tmp_write_user_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_troubletickets` -- ALTER TABLE `vtiger_troubletickets` ADD CONSTRAINT `fk_1_vtiger_troubletickets` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_user2role` -- ALTER TABLE `vtiger_user2role` ADD CONSTRAINT `fk_2_vtiger_user2role` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_users2group` -- ALTER TABLE `vtiger_users2group` ADD CONSTRAINT `fk_2_vtiger_users2group` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_vendor` -- ALTER TABLE `vtiger_vendor` ADD CONSTRAINT `fk_1_vtiger_vendor` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_vendorcf` -- ALTER TABLE `vtiger_vendorcf` ADD CONSTRAINT `fk_1_vtiger_vendorcf` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE; -- -- Constraints for table `vtiger_vendorcontactrel` -- ALTER TABLE `vtiger_vendorcontactrel` ADD CONSTRAINT `fk_2_vtiger_vendorcontactrel` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE;