-- Table structure for table `vtiger_mail_accounts`
--

CREATE TABLE `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` text DEFAULT 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,
  `sent_folder` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mail_accounts`
--


--
-- Table structure for table `vtiger_mailer_queue`
--

CREATE TABLE `vtiger_mailer_queue` (
  `id` int(11) NOT NULL,
  `fromname` varchar(100) DEFAULT NULL,
  `fromemail` varchar(100) DEFAULT NULL,
  `mailer` varchar(10) DEFAULT NULL,
  `content_type` varchar(15) DEFAULT NULL,
  `subject` varchar(999) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `relcrmid` int(11) DEFAULT NULL,
  `failed` int(1) NOT NULL DEFAULT 0,
  `failreason` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailer_queue`
--


--
-- Table structure for table `vtiger_mailer_queueattachments`
--

CREATE TABLE `vtiger_mailer_queueattachments` (
  `id` int(11) DEFAULT NULL,
  `path` text DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `encoding` varchar(50) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailer_queueattachments`
--


--
-- Table structure for table `vtiger_mailer_queueinfo`
--

CREATE TABLE `vtiger_mailer_queueinfo` (
  `id` int(11) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `type` varchar(7) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailer_queueinfo`
--


--
-- Table structure for table `vtiger_mailmanager_mailattachments`
--

CREATE TABLE `vtiger_mailmanager_mailattachments` (
  `userid` int(11) DEFAULT NULL,
  `muid` int(11) DEFAULT NULL,
  `aname` varchar(100) DEFAULT NULL,
  `lastsavedtime` int(11) DEFAULT NULL,
  `attachid` int(19) NOT NULL,
  `path` varchar(200) NOT NULL,
  `cid` varchar(50) DEFAULT NULL,
  KEY `userid_muid_idx` (`userid`,`muid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailmanager_mailattachments`
--


--
-- Table structure for table `vtiger_mailmanager_mailrecord`
--

CREATE TABLE `vtiger_mailmanager_mailrecord` (
  `userid` int(11) DEFAULT NULL,
  `mfrom` varchar(255) DEFAULT NULL,
  `mto` varchar(255) DEFAULT NULL,
  `mcc` varchar(500) DEFAULT NULL,
  `mbcc` varchar(500) DEFAULT NULL,
  `mdate` varchar(20) DEFAULT NULL,
  `msubject` varchar(500) DEFAULT NULL,
  `mbody` text DEFAULT NULL,
  `mcharset` varchar(10) DEFAULT NULL,
  `misbodyhtml` int(1) DEFAULT NULL,
  `mplainmessage` int(1) DEFAULT NULL,
  `mhtmlmessage` int(1) DEFAULT NULL,
  `muniqueid` varchar(500) DEFAULT NULL,
  `mbodyparsed` int(1) DEFAULT NULL,
  `muid` int(11) DEFAULT NULL,
  `lastsavedtime` int(11) DEFAULT NULL,
  `mfolder` varchar(250) DEFAULT NULL,
  KEY `userid_lastsavedtime_idx` (`userid`,`lastsavedtime`),
  KEY `userid_muid_idx` (`userid`,`muid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailmanager_mailrecord`
--


--
-- Table structure for table `vtiger_mailmanager_mailrel`
--

CREATE TABLE `vtiger_mailmanager_mailrel` (
  `mailuid` varchar(999) DEFAULT NULL,
  `crmid` int(11) DEFAULT NULL,
  `emailid` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailmanager_mailrel`
--


--
-- Table structure for table `vtiger_mailscanner`
--

CREATE TABLE `vtiger_mailscanner` (
  `scannerid` int(11) NOT NULL AUTO_INCREMENT,
  `scannername` varchar(30) DEFAULT NULL,
  `server` varchar(100) DEFAULT NULL,
  `protocol` varchar(10) DEFAULT NULL,
  `username` varchar(255) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `ssltype` varchar(10) DEFAULT NULL,
  `sslmethod` varchar(30) DEFAULT NULL,
  `connecturl` varchar(255) DEFAULT NULL,
  `searchfor` varchar(10) DEFAULT NULL,
  `markas` varchar(10) DEFAULT NULL,
  `isvalid` int(1) DEFAULT NULL,
  `scanfrom` varchar(10) DEFAULT 'ALL',
  `time_zone` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`scannerid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailscanner`
--


--
-- Table structure for table `vtiger_mailscanner_actions`
--

CREATE TABLE `vtiger_mailscanner_actions` (
  `actionid` int(11) NOT NULL AUTO_INCREMENT,
  `scannerid` int(11) DEFAULT NULL,
  `actiontype` varchar(10) DEFAULT NULL,
  `module` varchar(30) DEFAULT NULL,
  `lookup` varchar(30) DEFAULT NULL,
  `sequence` int(11) DEFAULT NULL,
  PRIMARY KEY (`actionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailscanner_actions`
--


--
-- Table structure for table `vtiger_mailscanner_folders`
--

CREATE TABLE `vtiger_mailscanner_folders` (
  `folderid` int(11) NOT NULL AUTO_INCREMENT,
  `scannerid` int(11) DEFAULT NULL,
  `foldername` varchar(255) DEFAULT NULL,
  `lastscan` varchar(30) DEFAULT NULL,
  `rescan` int(1) DEFAULT NULL,
  `enabled` int(1) DEFAULT NULL,
  PRIMARY KEY (`folderid`),
  KEY `folderid_idx` (`folderid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailscanner_folders`
--


--
-- Table structure for table `vtiger_mailscanner_ids`
--

CREATE TABLE `vtiger_mailscanner_ids` (
  `scannerid` int(11) DEFAULT NULL,
  `messageid` varchar(512) DEFAULT NULL,
  `crmid` int(11) DEFAULT NULL,
  `refids` text DEFAULT NULL,
  KEY `scanner_message_ids_idx` (`scannerid`,`messageid`(255)),
  KEY `messageids_crmid_idx` (`crmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailscanner_ids`
--

INSERT INTO `vtiger_mailscanner_ids` (`scannerid`, `messageid`, `crmid`, `refids`) VALUES (NULL,'<6yd9yqib1bvs.r3mqs7hcqjxd@server.mydnsserver.in>',106,NULL),(NULL,'<6ju9wwyxvqhg.2phn9hllqrwgo@server.mydnsserver.in>',42,NULL),(NULL,'<5pdo6tvvwdw6.3j3tx35mersww@server.mydnsserver.in>',2,NULL),(NULL,'<7jh3r8v25wb.zqwgf072c8w0@server.mydnsserver.in>',2,NULL),(NULL,'<1e2wy92003ff.1boeabsawktv5@server.mydnsserver.in>',25,NULL),(NULL,'<24awdufw4wgr.3q64mc467xeso@server.mydnsserver.in>',27,NULL),(NULL,'<3mr6u3mqkm43.30oyglbsvhogc@server.mydnsserver.in>',126,NULL),(NULL,'<6e16qgn5slx3.27cpn76rec74w@server.mydnsserver.in>',127,NULL),(NULL,'<5iw9gv81b8u4.39n4uh5ewls0w@server.mydnsserver.in>',130,NULL),(NULL,'<45bkad4wydrf.3qs6610rp5dz@server.mydnsserver.in>',106,NULL),(NULL,'<7bcn99vo3t7t.314k67gt9r6so@server.mydnsserver.in>',106,NULL),(NULL,'<ly934wlj2dz.2gljm4sobmtcw@server.mydnsserver.in>',135,NULL),(NULL,'<2wb8mwry8x5n.ucv9ehnsgbg2@server.mydnsserver.in>',135,NULL),(NULL,'<63eqqzkn3rob.2bb224dkvitck@server.mydnsserver.in>',27,NULL),(NULL,'<6fe6843cpebe.1atq0fdokdngr@server.mydnsserver.in>',165,NULL),(NULL,'<49rav0g92fgi.yydr5wsby9sm@server.mydnsserver.in>',165,NULL),(NULL,'<4xrglpg9qsxe.3frsl572b144w@server.mydnsserver.in>',170,NULL),(NULL,'<48mdbt0l7s4a.f22lbwrof482@server.mydnsserver.in>',48,NULL),(NULL,'<7h9t6r6mn09q.1xy1dgnxvoyba@server.mydnsserver.in>',48,NULL),(NULL,'<21zrl9sfkw7z.1uqtsxbihrz5l@server.mydnsserver.in>',48,NULL),(NULL,'<66rymuwdg1wi.2gqk33is0v0gk@server.mydnsserver.in>',48,NULL),(NULL,'<293i919oqy07.2i8w4exmhlog0@server.mydnsserver.in>',27,NULL),(NULL,'<31c5bkggqx7r.14fwe6slt8fv7@server.mydnsserver.in>',106,NULL),(NULL,'<6hr8htwm2xwm.2t8sye1pra04w@server.mydnsserver.in>',27,NULL),(NULL,'<7li08iyevqju.2jyc46w266qs8@server.mydnsserver.in>',106,NULL),(NULL,'<11h5jbq1f7sb.2vujyii3mcsgc@server.mydnsserver.in>',48,NULL),(NULL,'<20ft4vmqg4rv.31n6hfh4fq04c@server.mydnsserver.in>',48,NULL),(NULL,'<2zp0de5b2mnf.3frf7z9guciso@server.mydnsserver.in>',106,NULL),(NULL,'<4hpw2s9g5uln.1z1msj81s1j44@server.mydnsserver.in>',27,NULL),(NULL,'<5zzlqqhlec6j.3a1dmg4g8r28k@server.mydnsserver.in>',182,NULL),(NULL,'<73h3xe3u3j8r.3mv0t2t0ohics@server.mydnsserver.in>',183,NULL),(NULL,'<2tqafonc6cph.3jzrfqxepni8c@server.mydnsserver.in>',193,NULL),(NULL,'<6inpje6vakpf.36gyya19tnms4@server.mydnsserver.in>',193,NULL),(NULL,'<f15p05ez46s.2lx8hehfufwgg@server.mydnsserver.in>',196,NULL),(NULL,'<6jm2n2249di7.1baulzgmc2sas@server.mydnsserver.in>',207,NULL),(NULL,'<5d6fz1lfbma4.321je4slqawwo@server.mydnsserver.in>',210,NULL);

--
-- Table structure for table `vtiger_mailscanner_ruleactions`
--

CREATE TABLE `vtiger_mailscanner_ruleactions` (
  `ruleid` int(11) DEFAULT NULL,
  `actionid` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailscanner_ruleactions`
--


--
-- Table structure for table `vtiger_mailscanner_rules`
--

CREATE TABLE `vtiger_mailscanner_rules` (
  `ruleid` int(11) NOT NULL AUTO_INCREMENT,
  `scannerid` int(11) DEFAULT NULL,
  `fromaddress` varchar(255) DEFAULT NULL,
  `toaddress` varchar(255) DEFAULT NULL,
  `subjectop` varchar(20) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `bodyop` varchar(20) DEFAULT NULL,
  `body` varchar(255) DEFAULT NULL,
  `matchusing` varchar(5) DEFAULT NULL,
  `sequence` int(11) DEFAULT NULL,
  `assigned_to` int(10) DEFAULT NULL,
  `cc` varchar(255) DEFAULT NULL,
  `bcc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ruleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mailscanner_rules`
--


--
-- Table structure for table `vtiger_manufacturer`
--

CREATE TABLE `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,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`manufacturerid`),
  UNIQUE KEY `manufacturer_manufacturer_idx` (`manufacturer`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_manufacturer`
--

INSERT INTO `vtiger_manufacturer` (`manufacturerid`, `manufacturer`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES (2,'AltvetPet Inc.',1,124,1,NULL),(3,'LexPon Inc.',1,125,2,NULL),(4,'MetBeat Corp',1,126,3,NULL);

--
-- Table structure for table `vtiger_manufacturer_seq`
--

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

--
-- Dumping data for table `vtiger_manufacturer_seq`
--

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

--
-- Table structure for table `vtiger_mobile_alerts`
--

CREATE TABLE `vtiger_mobile_alerts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `handler_path` varchar(500) DEFAULT NULL,
  `handler_class` varchar(50) DEFAULT NULL,
  `sequence` int(11) DEFAULT NULL,
  `deleted` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_mobile_alerts`
--

INSERT INTO `vtiger_mobile_alerts` (`id`, `handler_path`, `handler_class`, `sequence`, `deleted`) VALUES (1,'modules/Mobile/api/ws/models/alerts/IdleTicketsOfMine.php','Mobile_WS_AlertModel_IdleTicketsOfMine',NULL,0),(2,'modules/Mobile/api/ws/models/alerts/NewTicketOfMine.php','Mobile_WS_AlertModel_NewTicketOfMine',NULL,0),(3,'modules/Mobile/api/ws/models/alerts/PendingTicketsOfMine.php','Mobile_WS_AlertModel_PendingTicketsOfMine',NULL,0),(4,'modules/Mobile/api/ws/models/alerts/PotentialsDueIn5Days.php','Mobile_WS_AlertModel_PotentialsDueIn5Days',NULL,0),(5,'modules/Mobile/api/ws/models/alerts/EventsOfMineToday.php','Mobile_WS_AlertModel_EventsOfMineToday',NULL,0),(6,'modules/Mobile/api/ws/models/alerts/ProjectTasksOfMine.php','Mobile_WS_AlertModel_ProjectTasksOfMine',NULL,0),(7,'modules/Mobile/api/ws/models/alerts/Projects.php','Mobile_WS_AlertModel_Projects',NULL,0);

--
-- Table structure for table `vtiger_modcomments`
--

CREATE TABLE `vtiger_modcomments` (
  `modcommentsid` int(11) DEFAULT NULL,
  `commentcontent` text DEFAULT NULL,
  `related_to` int(19) DEFAULT NULL,
  `parent_comments` int(19) DEFAULT NULL,
  `customer` int(19) DEFAULT NULL,
  `userid` int(19) DEFAULT NULL,
  `reasontoedit` varchar(100) DEFAULT NULL,
  `is_private` int(1) DEFAULT 0,
  `filename` varchar(255) DEFAULT NULL,
  `related_email_id` int(11) DEFAULT NULL,
  KEY `relatedto_idx` (`related_to`),
  KEY `fk_crmid_vtiger_modcomments` (`modcommentsid`),
  CONSTRAINT `fk_crmid_vtiger_modcomments` FOREIGN KEY (`modcommentsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_modcomments`
--

INSERT INTO `vtiger_modcomments` (`modcommentsid`, `commentcontent`, `related_to`, `parent_comments`, `customer`, `userid`, `reasontoedit`, `is_private`, `filename`, `related_email_id`) VALUES (5,'123',4,0,0,5,'',0,'0',0),(6,'ییبیب',4,0,0,5,'',0,'0',0),(7,'تست ضمیمه فایل',2,0,0,1,'',0,'8',0),(9,'تست ضمیمه',4,0,0,1,'',0,'10',0),(75,'عکس دیده شود',74,0,0,1,'',0,'0',0),(76,'عکس',74,0,0,1,'',0,'0',0),(89,'تست ضمیمه فایل 2',2,0,0,1,'',0,'90',0),(91,'تست تصویر',2,0,0,1,'',0,'92',0),(100,'ثبت تصویر در نظرات',2,0,0,1,'',0,'101',0),(103,'ا',60,0,0,1,'',0,'0',0),(104,'بب',38,0,0,5,'',0,'105',0),(171,'برای تاریخ 1مرداد نیاز مجدد به ایران برمیگردد و نیاز به اطلاعات تکمیلی دارد',170,0,0,5,'',0,'0',0),(174,'فقط جهت تست',165,0,0,5,'',0,'0',0),(206,'ایشان را جلوی ساختمان قاصدک دیدم\n',198,0,0,5,'',0,'0',0),(208,'1080210342\n',207,0,0,5,'',0,'0',0);

--
-- Table structure for table `vtiger_modcommentscf`
--

CREATE TABLE `vtiger_modcommentscf` (
  `modcommentsid` int(11) NOT NULL,
  PRIMARY KEY (`modcommentsid`),
  CONSTRAINT `fk_modcommentsid_vtiger_modcommentscf` FOREIGN KEY (`modcommentsid`) REFERENCES `vtiger_modcomments` (`modcommentsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_modcommentscf`
--

INSERT INTO `vtiger_modcommentscf` (`modcommentsid`) VALUES (5),(6),(7),(9),(75),(76),(89),(91),(100),(103),(104),(171),(174),(206),(208);

--
-- Table structure for table `vtiger_modentity_num`
--

CREATE TABLE `vtiger_modentity_num` (
  `num_id` int(19) NOT NULL,
  `semodule` varchar(100) DEFAULT NULL,
  `prefix` varchar(50) NOT NULL DEFAULT '',
  `start_id` varchar(50) NOT NULL,
  `cur_id` varchar(50) NOT NULL,
  `active` varchar(2) NOT NULL,
  PRIMARY KEY (`num_id`),
  UNIQUE KEY `num_idx` (`num_id`),
  KEY `semodule_active_idx` (`semodule`,`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_modentity_num`
--

INSERT INTO `vtiger_modentity_num` (`num_id`, `semodule`, `prefix`, `start_id`, `cur_id`, `active`) VALUES (1,'Leads','LEA','1','3','1'),(2,'Accounts','ACC','1','6','1'),(3,'Campaigns','CAM','1','4','1'),(4,'Contacts','CON','1','22','1'),(5,'Potentials','POT','1','21','1'),(6,'HelpDesk','TT','1','15','1'),(7,'Quotes','QUO','1','9','1'),(8,'SalesOrder','SO','1','1','1'),(9,'PurchaseOrder','PO','1','1','1'),(10,'Invoice','INV','1','2','1'),(11,'Products','PRO','1','6','1'),(12,'Vendors','VEN','1','1','1'),(13,'PriceBooks','PB','1','2','1'),(14,'Faq','FAQ','1','1','1'),(15,'Documents','DOC','1','6','1'),(16,'ServiceContracts','SERCON','1','1','1'),(17,'Services','SER','1','1','1'),(18,'Assets','ASSET','1','1','1'),(19,'ProjectMilestone','PM','1','1','1'),(20,'ProjectTask','PT','1','2','1'),(21,'Project','PROJ','1','4','1');

--
-- Table structure for table `vtiger_modentity_num_seq`
--

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

--
-- Dumping data for table `vtiger_modentity_num_seq`
--

INSERT INTO `vtiger_modentity_num_seq` (`id`) VALUES (21);

--
-- Table structure for table `vtiger_modtracker_basic`
--

CREATE TABLE `vtiger_modtracker_basic` (
  `id` int(20) NOT NULL,
  `crmid` int(20) DEFAULT NULL,
  `module` varchar(50) DEFAULT NULL,
  `whodid` int(20) DEFAULT NULL,
  `changedon` datetime DEFAULT NULL,
  `status` int(1) DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `crmidx` (`crmid`),
  KEY `idx` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_modtracker_basic`
--


--
-- Table structure for table `vtiger_modtracker_basic_seq`
--

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

--
-- Dumping data for table `vtiger_modtracker_basic_seq`
--

INSERT INTO `vtiger_modtracker_basic_seq` (`id`) VALUES (408);

--
-- Table structure for table `vtiger_modtracker_detail`
--

CREATE TABLE `vtiger_modtracker_detail` (
  `id` int(11) DEFAULT NULL,
  `fieldname` varchar(100) DEFAULT NULL,
  `prevalue` text DEFAULT NULL,
  `postvalue` text DEFAULT NULL,
  KEY `idx` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_modtracker_detail`
--

INSERT INTO `vtiger_modtracker_detail` (`id`, `fieldname`, `prevalue`, `postvalue`) VALUES (88,'amount',NULL,'0.00000000'),(88,'closingdate',NULL,'2018-05-06'),(88,'sales_stage',NULL,'Perception Analysis'),(88,'assigned_user_id',NULL,'1'),(88,'probability',NULL,'0.000'),(88,'createdtime',NULL,'2018-05-06 06:49:47'),(88,'modifiedby',NULL,'1'),(88,'forecast_amount',NULL,'0.00000000'),(88,'source',NULL,'CRM'),(88,'record_id',NULL,'66'),(88,'record_module',NULL,'Potentials'),(89,'label',NULL,'قرار جلسه'),(89,'subject',NULL,'قرار جلسه'),(89,'assigned_user_id',NULL,'1'),(89,'date_start',NULL,'2018-04-29'),(89,'time_start',NULL,'20:34:16'),(89,'due_date',NULL,'2018-05-01'),(89,'time_end',NULL,'09:34:16'),(89,'duration_hours',NULL,'37'),(89,'eventstatus',NULL,'Planned'),(89,'activitytype',NULL,'Call'),(89,'createdtime',NULL,'2018-05-07 08:51:04'),(89,'visibility',NULL,'Public'),(89,'modifiedby',NULL,'1'),(89,'source',NULL,'CRM'),(89,'record_id',NULL,'68'),(89,'record_module',NULL,'Events'),(90,'date_start','2018-04-29','2018-04-28'),(90,'due_date','2018-05-01','2018-04-30'),(91,'label',NULL,'مشکل تاریخ در تقویم'),(91,'ticket_no',NULL,'TT4'),(91,'assigned_user_id',NULL,'1'),(91,'ticketpriorities',NULL,'High'),(91,'ticketstatus',NULL,'Open'),(91,'hours',NULL,'0.00000000'),(91,'days',NULL,'0.00000000'),(91,'createdtime',NULL,'2018-05-07 08:52:49'),(91,'modifiedby',NULL,'1'),(91,'ticket_title',NULL,'مشکل تاریخ در تقویم'),(91,'description',NULL,'وقتی رویداد اضافه یا کم می کنیم ابتدا به صورت ب.ظ و ق.ظ نشان میدهد و لی داخل لیست خودش به صورت لاتین اسن.\nAM  PM'),(91,'source',NULL,'CRM'),(91,'record_id',NULL,'69'),(91,'record_module',NULL,'HelpDesk'),(92,'label',NULL,'ملاقات'),(92,'subject',NULL,'ملاقات'),(92,'assigned_user_id',NULL,'1'),(92,'date_start',NULL,'2018-05-07'),(92,'time_start',NULL,'09:57:16'),(92,'due_date',NULL,'2018-05-07'),(92,'time_end',NULL,'11:04:16'),(92,'duration_hours',NULL,'1'),(92,'duration_minutes',NULL,'7'),(92,'parent_id',NULL,'66'),(92,'eventstatus',NULL,'Planned'),(92,'activitytype',NULL,'Call'),(92,'createdtime',NULL,'2018-05-07 08:53:29'),(92,'visibility',NULL,'Public'),(92,'modifiedby',NULL,'1'),(92,'source',NULL,'CRM'),(92,'record_id',NULL,'70'),(92,'record_module',NULL,'Events'),(94,'time_start','09:57:16','08:57:16'),(94,'time_end','11:04:16','10:04:16'),(95,'label',NULL,'پی دی اف ساز'),(95,'ticket_no',NULL,'TT5'),(95,'assigned_user_id',NULL,'1'),(95,'ticketpriorities',NULL,'High'),(95,'ticketstatus',NULL,'Open'),(95,'hours',NULL,'0.00000000'),(95,'days',NULL,'0.00000000'),(95,'createdtime',NULL,'2018-05-07 09:01:26'),(95,'modifiedby',NULL,'1'),(95,'ticket_title',NULL,'پی دی اف ساز'),(95,'description',NULL,'پی دی اف ساز نصب شود\n\nیک مورد مهم اینکه تاریخها در فاکتور باید شمسی باشند'),(95,'source',NULL,'CRM'),(95,'record_id',NULL,'71'),(95,'record_module',NULL,'HelpDesk'),(96,'label',NULL,'ایمیل'),(96,'ticket_no',NULL,'TT6'),(96,'assigned_user_id',NULL,'1'),(96,'ticketpriorities',NULL,'Normal'),(96,'ticketstatus',NULL,'Open'),(96,'hours',NULL,'0.00000000'),(96,'days',NULL,'0.00000000'),(96,'createdtime',NULL,'2018-05-07 09:02:46'),(96,'modifiedby',NULL,'1'),(96,'ticket_title',NULL,'ایمیل'),(96,'description',NULL,'سرور خروجی ایمیل تنظیم شود برای تست ایمیل\n\nضمنا باید تاریخهایی که در ایمیل فرستاده میشوند وقتی در صندوق پستی مقد دریافت شدند تست شود که شمسی باشد.\nدر ضمن در قسمت ایمیلهای ارسال شده (در بخش مخاطبین سازمان یا هرجایی که ایمیل ارسال شده) باید تاریخهای ارسال شمسی باشد'),(96,'source',NULL,'CRM'),(96,'record_id',NULL,'72'),(96,'record_module',NULL,'HelpDesk'),(97,'label',NULL,'2'),(97,'potentialname',NULL,'2'),(97,'potential_no',NULL,'POT7'),(97,'amount',NULL,'0.00000000'),(97,'closingdate',NULL,'2018-05-09'),(97,'sales_stage',NULL,'Needs Analysis'),(97,'assigned_user_id',NULL,'1'),(97,'probability',NULL,'0.000'),(97,'createdtime',NULL,'2018-05-07 09:08:15'),(97,'modifiedby',NULL,'1'),(97,'forecast_amount',NULL,'0.00000000'),(97,'source',NULL,'CRM'),(97,'record_id',NULL,'73'),(97,'record_module',NULL,'Potentials'),(98,'label',NULL,'ورک فلو زمانبندی شده'),(98,'ticket_no',NULL,'TT7'),(98,'assigned_user_id',NULL,'1'),(98,'ticketpriorities',NULL,'High'),(98,'ticketstatus',NULL,'Open'),(98,'hours',NULL,'0.00000000'),(98,'days',NULL,'0.00000000'),(98,'createdtime',NULL,'2018-05-07 09:09:54'),(98,'modifiedby',NULL,'1'),(98,'ticket_title',NULL,'ورک فلو زمانبندی شده'),(98,'description',NULL,'وقتی تیریگر را روی تاریخ مشخصی میگذاریم ورک فلو اجرا نمی شود.\nبه دلیل اینکه فرمت تاریخی که در شرط گردش کاری میگیرد با شمسی نمیتواند مطابقت دهد'),(98,'source',NULL,'CRM'),(98,'record_id',NULL,'74'),(98,'record_module',NULL,'HelpDesk'),(100,'label',NULL,'عکس دیده شود'),(100,'commentcontent',NULL,'عکس دیده شود'),(100,'assigned_user_id',NULL,'1'),(100,'createdtime',NULL,'2018-05-07 09:10:19'),(100,'related_to',NULL,'74'),(100,'creator',NULL,'1'),(100,'source',NULL,'CRM'),(100,'userid',NULL,'1'),(100,'record_id',NULL,'75'),(100,'record_module',NULL,'ModComments'),(102,'label',NULL,'عکس'),(102,'commentcontent',NULL,'عکس'),(102,'assigned_user_id',NULL,'1'),(102,'createdtime',NULL,'2018-05-07 09:10:54'),(102,'related_to',NULL,'74'),(102,'creator',NULL,'1'),(102,'source',NULL,'CRM'),(102,'userid',NULL,'1'),(102,'record_id',NULL,'76'),(102,'record_module',NULL,'ModComments'),(103,'label',NULL,'workflow triger'),(103,'notes_title',NULL,'workflow triger'),(103,'createdtime',NULL,'2018-05-07 09:11:31'),(103,'filename',NULL,'workflow_triger.JPG'),(103,'assigned_user_id',NULL,'1'),(103,'filetype',NULL,'image/jpeg'),(103,'filesize',NULL,'26193'),(103,'filelocationtype',NULL,'I'),(103,'filestatus',NULL,'1'),(103,'folderid',NULL,'1'),(103,'note_no',NULL,'DOC1'),(103,'modifiedby',NULL,'1'),(103,'source',NULL,'CRM'),(103,'record_id',NULL,'77'),(103,'record_module',NULL,'Documents'),(105,'label',NULL,'ضمیمه در نظرات'),(105,'ticket_no',NULL,'TT8'),(105,'assigned_user_id',NULL,'1'),(105,'ticketpriorities',NULL,'Normal'),(105,'ticketstatus',NULL,'Open'),(105,'hours',NULL,'0.00000000'),(105,'days',NULL,'0.00000000'),(105,'createdtime',NULL,'2018-05-07 09:12:21'),(105,'modifiedby',NULL,'1'),(105,'ticket_title',NULL,'ضمیمه در نظرات'),(105,'description',NULL,'فایل در نظرات ضمیمه نمیشود.\nعسکس ان را گذاشتم'),(105,'source',NULL,'CRM'),(105,'record_id',NULL,'78'),(105,'record_module',NULL,'HelpDesk'),(106,'label',NULL,'comment attach'),(106,'notes_title',NULL,'comment attach'),(106,'createdtime',NULL,'2018-05-07 09:12:36'),(106,'filename',NULL,'comment_attach.JPG'),(106,'assigned_user_id',NULL,'1'),(106,'filetype',NULL,'image/jpeg'),(106,'filesize',NULL,'29590'),(106,'filelocationtype',NULL,'I'),(106,'filestatus',NULL,'1'),(106,'folderid',NULL,'1'),(106,'note_no',NULL,'DOC2'),(106,'modifiedby',NULL,'1'),(106,'source',NULL,'CRM'),(106,'record_id',NULL,'79'),(106,'record_module',NULL,'Documents'),(108,'label',NULL,'ویرایش ریل تایم'),(108,'ticket_no',NULL,'TT9'),(108,'assigned_user_id',NULL,'1'),(108,'ticketpriorities',NULL,'High'),(108,'ticketstatus',NULL,'Open'),(108,'hours',NULL,'0.00000000'),(108,'days',NULL,'0.00000000'),(108,'createdtime',NULL,'2018-05-07 09:15:14'),(108,'modifiedby',NULL,'1'),(108,'ticket_title',NULL,'ویرایش ریل تایم'),(108,'description',NULL,'روی صفحه اطلاعات که میرویم با زدن دکمه ویرایش اتفاق نمی افتد!'),(108,'source',NULL,'CRM'),(108,'record_id',NULL,'80'),(108,'record_module',NULL,'HelpDesk'),(109,'label',NULL,'edit on time'),(109,'notes_title',NULL,'edit on time'),(109,'createdtime',NULL,'2018-05-07 09:15:28'),(109,'filename',NULL,'edit_on_time.JPG'),(109,'assigned_user_id',NULL,'1'),(109,'filetype',NULL,'image/jpeg'),(109,'filesize',NULL,'69587'),(109,'filelocationtype',NULL,'I'),(109,'filestatus',NULL,'1'),(109,'folderid',NULL,'1'),(109,'note_no',NULL,'DOC3'),(109,'modifiedby',NULL,'1'),(109,'source',NULL,'CRM'),(109,'record_id',NULL,'81'),(109,'record_module',NULL,'Documents'),(111,'closingdate','2018-05-09','2018-05-10'),(112,'label',NULL,'تاریخ برعکس نشان میدهد'),(112,'ticket_no',NULL,'TT10'),(112,'assigned_user_id',NULL,'1'),(112,'ticketpriorities',NULL,'Normal'),(112,'ticketstatus',NULL,'Open'),(112,'hours',NULL,'0.00000000'),(112,'days',NULL,'0.00000000'),(112,'createdtime',NULL,'2018-05-07 09:16:51'),(112,'modifiedby',NULL,'1'),(112,'ticket_title',NULL,'تاریخ برعکس نشان میدهد'),(112,'description',NULL,'وقتی ا=تاریخ را ویرایش میکنیم برعکس نشان میدهد\n\nدر صفحه اصلی داشبوردها هم همینطور'),(112,'source',NULL,'CRM'),(112,'record_id',NULL,'82'),(112,'record_module',NULL,'HelpDesk'),(113,'label',NULL,'date edited'),(113,'notes_title',NULL,'date edited'),(113,'createdtime',NULL,'2018-05-07 09:17:54'),(113,'filename',NULL,'date_edited.JPG'),(113,'assigned_user_id',NULL,'1'),(113,'filetype',NULL,'image/jpeg'),(113,'filesize',NULL,'26106'),(113,'filelocationtype',NULL,'I'),(113,'filestatus',NULL,'1'),(113,'folderid',NULL,'1'),(113,'note_no',NULL,'DOC4'),(113,'modifiedby',NULL,'1'),(113,'source',NULL,'CRM'),(113,'record_id',NULL,'83'),(113,'record_module',NULL,'Documents'),(115,'label',NULL,'تاریخ زمانبندی گزارش'),(115,'ticket_no',NULL,'TT11'),(115,'assigned_user_id',NULL,'1'),(115,'ticketpriorities',NULL,'High'),(115,'ticketstatus',NULL,'Open'),(115,'hours',NULL,'0.00000000'),(115,'days',NULL,'0.00000000'),(115,'createdtime',NULL,'2018-05-07 09:18:29'),(115,'modifiedby',NULL,'1'),(115,'ticket_title',NULL,'تاریخ زمانبندی گزارش'),(115,'description',NULL,'در گزارشات، وقتي تيک زمانبندي را ميزنيم، تاريخ اجراي بعدي گزارش را ميلادي نشان مي دهد. \nتاريخ شمسي شد ولي محاسبه تاريخ اجراي بعدي به صورت ميلادي محاسبه ميشود و نمايش داده مي شود.'),(115,'source',NULL,'CRM'),(115,'record_id',NULL,'84'),(115,'record_module',NULL,'HelpDesk'),(116,'label',NULL,'ففف'),(116,'subject',NULL,'ففف'),(116,'assigned_user_id',NULL,'1'),(116,'date_start',NULL,'2018-05-07'),(116,'time_start',NULL,'10:23:16'),(116,'due_date',NULL,'2018-05-07'),(116,'time_end',NULL,'10:28:16'),(116,'recurringtype',NULL,'--None--'),(116,'duration_minutes',NULL,'5'),(116,'eventstatus',NULL,'Planned'),(116,'sendnotification',NULL,'1'),(116,'activitytype',NULL,'Call'),(116,'createdtime',NULL,'2018-05-07 09:21:25'),(116,'visibility',NULL,'Public'),(116,'modifiedby',NULL,'1'),(116,'source',NULL,'CRM'),(116,'record_id',NULL,'85'),(116,'record_module',NULL,'Events'),(117,'label',NULL,'نوتیفیکیشن'),(117,'ticket_no',NULL,'TT12'),(117,'assigned_user_id',NULL,'1'),(117,'ticketpriorities',NULL,'High'),(117,'ticketstatus',NULL,'Open'),(117,'hours',NULL,'0.00000000'),(117,'days',NULL,'0.00000000'),(117,'createdtime',NULL,'2018-05-07 09:21:57'),(117,'modifiedby',NULL,'1'),(117,'ticket_title',NULL,'نوتیفیکیشن'),(117,'description',NULL,'وقتی در رویداد یا وظیفه تیک ارسال اطلاعیه را میزنیم نوتیفیکیشن ویندوز اجرا شود(ویندوز 10)\n\nدر ضمن در حال حاضر نوتیفیکشن خود ویتایگر هم کار نمیکند'),(117,'source',NULL,'CRM'),(117,'record_id',NULL,'86'),(117,'record_module',NULL,'HelpDesk'),(118,'label',NULL,'2'),(118,'potentialname',NULL,'2'),(118,'potential_no',NULL,'POT8'),(118,'amount',NULL,'0.00000000'),(118,'closingdate',NULL,'2018-05-09'),(118,'sales_stage',NULL,'Qualification'),(118,'assigned_user_id',NULL,'1'),(118,'probability',NULL,'0.000'),(118,'createdtime',NULL,'2018-05-07 09:24:12'),(118,'modifiedby',NULL,'1'),(118,'description',NULL,'تاریخ بعد از امروز است'),(118,'forecast_amount',NULL,'0.00000000'),(118,'source',NULL,'CRM'),(118,'record_id',NULL,'87'),(118,'record_module',NULL,'Potentials'),(119,'label',NULL,'چت سازمانی'),(119,'ticket_no',NULL,'TT13'),(119,'assigned_user_id',NULL,'1'),(119,'ticketpriorities',NULL,'Normal'),(119,'ticketstatus',NULL,'Open'),(119,'hours',NULL,'0.00000000'),(119,'days',NULL,'0.00000000'),(119,'createdtime',NULL,'2018-05-07 09:25:15'),(119,'modifiedby',NULL,'1'),(119,'ticket_title',NULL,'چت سازمانی'),(119,'description',NULL,'امکان چت سازمانی بین کاربران برقرار شود\n\nجزء امکانات اضافی خواهد بود.\nمثل ماژول DUPLICATE CHECK'),(119,'source',NULL,'CRM'),(119,'record_id',NULL,'88'),(119,'record_module',NULL,'HelpDesk'),(133,'label',NULL,'تست ضمیمه فایل 2'),(133,'commentcontent',NULL,'تست ضمیمه فایل 2'),(133,'assigned_user_id',NULL,'1'),(133,'createdtime',NULL,'2018-05-08 09:00:52'),(133,'related_to',NULL,'2'),(133,'creator',NULL,'1'),(133,'source',NULL,'CRM'),(133,'userid',NULL,'1'),(133,'filename',NULL,'90'),(133,'record_id',NULL,'89'),(133,'record_module',NULL,'ModComments'),(135,'label',NULL,'تست تصویر'),(135,'commentcontent',NULL,'تست تصویر'),(135,'assigned_user_id',NULL,'1'),(135,'createdtime',NULL,'2018-05-08 09:01:24'),(135,'related_to',NULL,'2'),(135,'creator',NULL,'1'),(135,'source',NULL,'CRM'),(135,'userid',NULL,'1'),(135,'filename',NULL,'92'),(135,'record_id',NULL,'91'),(135,'record_module',NULL,'ModComments'),(136,'label',NULL,'شماره یک'),(136,'bookname',NULL,'شماره یک'),(136,'pricebook_no',NULL,'PB1'),(136,'active',NULL,'1'),(136,'createdtime',NULL,'2018-05-09 11:53:01'),(136,'currency_id',NULL,'1'),(136,'modifiedby',NULL,'5'),(136,'description',NULL,'شماره'),(136,'source',NULL,'CRM'),(136,'record_id',NULL,'93'),(136,'record_module',NULL,'PriceBooks'),(137,'label',NULL,' رضایی'),(137,'lead_no',NULL,'LEA1'),(137,'lastname',NULL,'رضایی'),(137,'annualrevenue',NULL,'0.00000000'),(137,'assigned_user_id',NULL,'5'),(137,'createdtime',NULL,'2018-05-09 12:32:07'),(137,'modifiedby',NULL,'5'),(137,'source',NULL,'CRM'),(137,'record_id',NULL,'94'),(137,'record_module',NULL,'Leads'),(138,'label',NULL,'پفک'),(138,'quote_no',NULL,'QUO2'),(138,'subject',NULL,'پفک'),(138,'quotestage',NULL,'Created'),(138,'validtill',NULL,'2018-05-08'),(138,'carrier',NULL,'FedEx'),(138,'hdnSubTotal',NULL,'5000000.00000000'),(138,'txtAdjustment',NULL,'0.00000000'),(138,'hdnGrandTotal',NULL,'6350000.00000000'),(138,'hdnTaxType',NULL,'group'),(138,'hdnS_H_Amount',NULL,'0.00000000'),(138,'account_id',NULL,'19'),(138,'assigned_user_id',NULL,'5'),(138,'createdtime',NULL,'2018-05-09 19:52:49'),(138,'modifiedby',NULL,'5'),(138,'currency_id',NULL,'1'),(138,'conversion_rate',NULL,'1.000'),(138,'bill_street',NULL,'اتات'),(138,'ship_street',NULL,'اتات'),(138,'terms_conditions',NULL,'- 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.\n\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.'),(138,'productid',NULL,'23'),(138,'quantity',NULL,'1.000'),(138,'listprice',NULL,'5000000.00000000'),(138,'tax1',NULL,'4.500'),(138,'tax2',NULL,'10.000'),(138,'tax3',NULL,'12.500'),(138,'pre_tax_total',NULL,'5000000.00000000'),(138,'source',NULL,'CRM'),(138,'record_id',NULL,'95'),(138,'record_module',NULL,'Quotes'),(139,'label',NULL,'فضا'),(139,'notes_title',NULL,'فضا'),(139,'createdtime',NULL,'2018-05-09 19:56:17'),(139,'filename',NULL,'diy-backyard-pond-680x680.jpg'),(139,'assigned_user_id',NULL,'5'),(139,'filetype',NULL,'image/jpeg'),(139,'filesize',NULL,'143556'),(139,'filelocationtype',NULL,'I'),(139,'filestatus',NULL,'1'),(139,'folderid',NULL,'1'),(139,'note_no',NULL,'DOC5'),(139,'modifiedby',NULL,'5'),(139,'source',NULL,'CRM'),(139,'record_id',NULL,'96'),(139,'record_module',NULL,'Documents'),(140,'label',NULL,'واریز'),(140,'subject',NULL,'واریز'),(140,'assigned_user_id',NULL,'5'),(140,'date_start',NULL,'2018-05-09'),(140,'time_start',NULL,'21:22:16'),(140,'due_date',NULL,'2018-05-09'),(140,'time_end',NULL,'21:27:16'),(140,'duration_minutes',NULL,'5'),(140,'eventstatus',NULL,'Planned'),(140,'activitytype',NULL,'Meeting'),(140,'createdtime',NULL,'2018-05-09 20:19:11'),(140,'visibility',NULL,'Private'),(140,'modifiedby',NULL,'5'),(140,'source',NULL,'CRM'),(140,'record_id',NULL,'97'),(140,'record_module',NULL,'Events'),(141,'label',NULL,'انتقال وجه'),(141,'subject',NULL,'انتقال وجه'),(141,'assigned_user_id',NULL,'1'),(141,'date_start',NULL,'2018-05-10'),(141,'time_start',NULL,'22:00:00'),(141,'due_date',NULL,'1397-02-22'),(141,'duration_hours',NULL,'45'),(141,'duration_minutes',NULL,'30'),(141,'activitytype',NULL,'Task'),(141,'createdtime',NULL,'2018-05-10 22:01:26'),(141,'visibility',NULL,'Private'),(141,'modifiedby',NULL,'1'),(141,'source',NULL,'CRM'),(141,'taskstatus',NULL,'Not Started'),(141,'record_id',NULL,'98'),(141,'record_module',NULL,'Calendar'),(142,'label',NULL,'تست'),(142,'subject',NULL,'تست'),(142,'assigned_user_id',NULL,'1'),(142,'date_start',NULL,'2018-05-11'),(142,'time_start',NULL,'11:00:00'),(142,'due_date',NULL,'1397-02-21'),(142,'duration_hours',NULL,'8'),(142,'duration_minutes',NULL,'30'),(142,'activitytype',NULL,'Task'),(142,'createdtime',NULL,'2018-05-10 22:02:03'),(142,'visibility',NULL,'Private'),(142,'modifiedby',NULL,'1'),(142,'source',NULL,'CRM'),(142,'taskstatus',NULL,'Not Started'),(142,'record_id',NULL,'99'),(142,'record_module',NULL,'Calendar'),(144,'label',NULL,'ثبت تصویر در نظرات'),(144,'commentcontent',NULL,'ثبت تصویر در نظرات'),(144,'assigned_user_id',NULL,'1'),(144,'createdtime',NULL,'2018-05-13 08:47:34'),(144,'related_to',NULL,'2'),(144,'creator',NULL,'1'),(144,'source',NULL,'CRM'),(144,'userid',NULL,'1'),(144,'filename',NULL,'101'),(144,'record_id',NULL,'100'),(144,'record_module',NULL,'ModComments'),(145,'label','2','فرصت 1'),(145,'potentialname','2','فرصت 1'),(146,'label','2','فرصت 2'),(146,'potentialname','2','فرصت 2'),(147,'label','1','فرصت 3'),(147,'potentialname','1','فرصت 3'),(147,'amount','0.00000000','15000.00000000'),(148,'amount','0.00000000','12000.00000000'),(149,'amount','0.00000000','8000.00000000'),(150,'label',NULL,'فاکتور 1'),(150,'quote_no',NULL,'QUO3'),(150,'subject',NULL,'فاکتور 1'),(150,'potential_id',NULL,'73'),(150,'quotestage',NULL,'Created'),(150,'validtill',NULL,'2018-05-15'),(150,'hdnSubTotal',NULL,'19000000.00000000'),(150,'txtAdjustment',NULL,'0.00000000'),(150,'hdnGrandTotal',NULL,'24130000.00000000'),(150,'hdnTaxType',NULL,'group'),(150,'hdnS_H_Amount',NULL,'0.00000000'),(150,'account_id',NULL,'19'),(150,'assigned_user_id',NULL,'1'),(150,'createdtime',NULL,'2018-05-13 13:26:48'),(150,'modifiedby',NULL,'1'),(150,'currency_id',NULL,'1'),(150,'conversion_rate',NULL,'1.000'),(150,'bill_street',NULL,'لبیلی'),(150,'ship_street',NULL,'لبیلیب'),(150,'terms_conditions',NULL,'- 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.\n\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.'),(150,'productid',NULL,'28'),(150,'quantity',NULL,'2.000'),(150,'listprice',NULL,'2000000.00000000'),(150,'tax1',NULL,'4.500'),(150,'tax2',NULL,'10.000'),(150,'tax3',NULL,'12.500'),(150,'pre_tax_total',NULL,'19000000.00000000'),(150,'source',NULL,'CRM'),(150,'record_id',NULL,'102'),(150,'record_module',NULL,'Quotes'),(152,'label','1','فرصت فروش بسته'),(152,'potentialname','1','فرصت فروش بسته'),(154,'label',NULL,'ا'),(154,'commentcontent',NULL,'ا'),(154,'assigned_user_id',NULL,'1'),(154,'createdtime',NULL,'2018-05-13 13:37:42'),(154,'related_to',NULL,'60'),(154,'creator',NULL,'1'),(154,'source',NULL,'CRM'),(154,'userid',NULL,'1'),(154,'record_id',NULL,'103'),(154,'record_module',NULL,'ModComments'),(155,'amount','0.00000000','15000.00000000'),(156,'sales_stage','Value Proposition','Closed Won'),(158,'label',NULL,'بب'),(158,'commentcontent',NULL,'بب'),(158,'assigned_user_id',NULL,'5'),(158,'createdtime',NULL,'2018-05-16 05:28:28'),(158,'related_to',NULL,'38'),(158,'creator',NULL,'5'),(158,'source',NULL,'CRM'),(158,'userid',NULL,'5'),(158,'filename',NULL,'105'),(158,'record_id',NULL,'104'),(158,'record_module',NULL,'ModComments'),(159,'label',NULL,'مجتبی مخاطب شماره 4'),(159,'firstname',NULL,'مجتبی'),(159,'contact_no',NULL,'CON4'),(159,'lastname',NULL,'مخاطب شماره 4'),(159,'email',NULL,'support@favtiger.ir'),(159,'assigned_user_id',NULL,'5'),(159,'createdtime',NULL,'2018-05-16 05:29:51'),(159,'modifiedby',NULL,'5'),(159,'portal',NULL,'1'),(159,'support_start_date',NULL,'2018-05-16'),(159,'support_end_date',NULL,'2019-05-16'),(159,'source',NULL,'CRM'),(159,'record_id',NULL,'106'),(159,'record_module',NULL,'Contacts'),(160,'label',NULL,'test project'),(160,'projectname',NULL,'test project'),(160,'startdate',NULL,'2018-05-12'),(160,'targetenddate',NULL,'2018-05-21'),(160,'linktoaccountscontacts',NULL,'106'),(160,'assigned_user_id',NULL,'5'),(160,'project_no',NULL,'PROJ3'),(160,'createdtime',NULL,'2018-05-16 05:31:58'),(160,'modifiedby',NULL,'5'),(160,'source',NULL,'CRM'),(160,'record_id',NULL,'107'),(160,'record_module',NULL,'Project'),(162,'projecttype','','operative'),(163,'label',NULL,'وظیفه 1'),(163,'projecttaskname',NULL,'وظیفه 1'),(163,'projectid',NULL,'107'),(163,'assigned_user_id',NULL,'5'),(163,'projecttask_no',NULL,'PT1'),(163,'startdate',NULL,'2018-05-16'),(163,'createdtime',NULL,'2018-05-16 05:34:04'),(163,'modifiedby',NULL,'5'),(163,'source',NULL,'CRM'),(163,'projecttaskstatus',NULL,'In Progress'),(163,'record_id',NULL,'108'),(163,'record_module',NULL,'ProjectTask'),(165,'label',NULL,'تست ایمیل'),(165,'date_start',NULL,'2018-05-16'),(165,'activitytype',NULL,'Emails'),(165,'assigned_user_id',NULL,'1'),(165,'subject',NULL,'تست ایمیل'),(165,'description',NULL,'&lt;html&gt;\r\n&lt;head&gt;\r\n	&lt;title&gt;&lt;/title&gt;\r\n&lt;/head&gt;\r\n&lt;body&gt;سلام&lt;br /&gt;\r\n&amp;nbsp;&lt;/body&gt;\r\n&lt;/html&gt;\r\n'),(165,'time_start',NULL,'05:45'),(165,'createdtime',NULL,'2018-05-16 05:45:12'),(165,'modifiedby',NULL,'1'),(165,'from_email',NULL,'support@favtiger.ir'),(165,'saved_toid',NULL,'[&quot;support@favtiger.ir&quot;]'),(165,'ccmail',NULL,'[&quot;&quot;]'),(165,'bccmail',NULL,'[&quot;&quot;]'),(165,'parent_id',NULL,'106@1|'),(165,'email_flag',NULL,'SENT'),(165,'source',NULL,'CRM'),(165,'record_id',NULL,'109'),(165,'record_module',NULL,'Emails'),(167,'label',NULL,'تیکت جدید'),(167,'ticket_no',NULL,'TT14'),(167,'assigned_user_id',NULL,'1'),(167,'ticketpriorities',NULL,'Normal'),(167,'ticketseverities',NULL,'Minor'),(167,'ticketstatus',NULL,'Open'),(167,'ticketcategories',NULL,'Big Problem'),(167,'hours',NULL,'0.00000000'),(167,'days',NULL,'0.00000000'),(167,'createdtime',NULL,'2018-05-16 05:48:32'),(167,'modifiedby',NULL,'1'),(167,'ticket_title',NULL,'تیکت جدید'),(167,'description',NULL,'تست تیکت است'),(167,'contact_id',NULL,'106'),(167,'source',NULL,'CUSTOMER PORTAL'),(167,'record_id',NULL,'110'),(167,'record_module',NULL,'HelpDesk'),(168,'label',NULL,'پیش فاکتور تست'),(168,'quote_no',NULL,'QUO4'),(168,'subject',NULL,'پیش فاکتور تست'),(168,'quotestage',NULL,'Created'),(168,'contact_id',NULL,'106'),(168,'hdnSubTotal',NULL,'16000000.00000000'),(168,'txtAdjustment',NULL,'0.00000000'),(168,'hdnGrandTotal',NULL,'20320000.00000000'),(168,'hdnTaxType',NULL,'group'),(168,'hdnS_H_Amount',NULL,'0.00000000'),(168,'account_id',NULL,'19'),(168,'assigned_user_id',NULL,'1'),(168,'createdtime',NULL,'2018-05-16 05:50:55'),(168,'modifiedby',NULL,'1'),(168,'currency_id',NULL,'1'),(168,'conversion_rate',NULL,'1.000'),(168,'bill_street',NULL,'یبس'),(168,'ship_street',NULL,'بسیبس'),(168,'terms_conditions',NULL,'- 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.\n\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.'),(168,'productid',NULL,'28'),(168,'quantity',NULL,'3.000'),(168,'listprice',NULL,'2000000.00000000'),(168,'tax1',NULL,'4.500'),(168,'tax2',NULL,'10.000'),(168,'tax3',NULL,'12.500'),(168,'pre_tax_total',NULL,'16000000.00000000'),(168,'source',NULL,'CRM'),(168,'record_id',NULL,'111'),(168,'record_module',NULL,'Quotes'),(170,'validtill','','2018-05-17'),(171,'quotestage','Created','Accepted'),(172,'label',NULL,'فرصت 1'),(172,'potentialname',NULL,'فرصت 1'),(172,'potential_no',NULL,'POT9'),(172,'amount',NULL,'0.00000000'),(172,'closingdate',NULL,'2018-05-16'),(172,'sales_stage',NULL,'Value Proposition'),(172,'assigned_user_id',NULL,'1'),(172,'probability',NULL,'0.000'),(172,'createdtime',NULL,'2018-05-19 09:19:52'),(172,'modifiedby',NULL,'1'),(172,'description',NULL,'تاریخ بعد از امروز است'),(172,'forecast_amount',NULL,'0.00000000'),(172,'source',NULL,'CRM'),(172,'record_id',NULL,'112'),(172,'record_module',NULL,'Potentials'),(173,'amount','0.00000000','100000.00000000'),(173,'closingdate','2018-05-16','2018-05-15'),(173,'opportunity_type','','Existing Business'),(174,'label',NULL,'jsj 2e2'),(174,'potentialname',NULL,'jsj 2e2'),(174,'potential_no',NULL,'POT10'),(174,'amount',NULL,'432000.00000000'),(174,'closingdate',NULL,'2018-05-06'),(174,'sales_stage',NULL,'Value Proposition'),(174,'assigned_user_id',NULL,'1'),(174,'probability',NULL,'0.000'),(174,'createdtime',NULL,'2018-05-19 09:56:22'),(174,'modifiedby',NULL,'1'),(174,'description',NULL,'تاریخ بعد از امروز است'),(174,'forecast_amount',NULL,'0.00000000'),(174,'source',NULL,'CRM'),(174,'record_id',NULL,'113'),(174,'record_module',NULL,'Potentials'),(175,'label',NULL,'2'),(175,'potentialname',NULL,'2'),(175,'potential_no',NULL,'POT11'),(175,'amount',NULL,'3243223.00000000'),(175,'closingdate',NULL,'2018-05-13'),(175,'sales_stage',NULL,'Qualification'),(175,'assigned_user_id',NULL,'1'),(175,'probability',NULL,'0.000'),(175,'createdtime',NULL,'2018-05-20 06:47:43'),(175,'modifiedby',NULL,'1'),(175,'description',NULL,'تاریخ بعد از امروز است'),(175,'forecast_amount',NULL,'0.00000000'),(175,'source',NULL,'CRM'),(175,'record_id',NULL,'114'),(175,'record_module',NULL,'Potentials'),(176,'label','2','3'),(176,'potentialname','2','3'),(177,'label',NULL,'3'),(177,'potentialname',NULL,'3'),(177,'potential_no',NULL,'POT12'),(177,'amount',NULL,'0.00000000'),(177,'closingdate',NULL,'2018-05-07'),(177,'sales_stage',NULL,'Id. Decision Makers'),(177,'assigned_user_id',NULL,'1'),(177,'probability',NULL,'0.000'),(177,'createdtime',NULL,'2018-05-20 06:50:32'),(177,'modifiedby',NULL,'1'),(177,'description',NULL,'تاریخ بعد از امروز است'),(177,'forecast_amount',NULL,'0.00000000'),(177,'source',NULL,'CRM'),(177,'record_id',NULL,'115'),(177,'record_module',NULL,'Potentials'),(178,'label',NULL,'3'),(178,'potentialname',NULL,'3'),(178,'potential_no',NULL,'POT13'),(178,'amount',NULL,'0.00000000'),(178,'closingdate',NULL,'2018-05-23'),(178,'sales_stage',NULL,'Id. Decision Makers'),(178,'assigned_user_id',NULL,'1'),(178,'probability',NULL,'0.000'),(178,'createdtime',NULL,'2018-05-20 06:59:07'),(178,'modifiedby',NULL,'1'),(178,'description',NULL,'تاریخ بعد از امروز است'),(178,'forecast_amount',NULL,'0.00000000'),(178,'source',NULL,'CRM'),(178,'record_id',NULL,'116'),(178,'record_module',NULL,'Potentials'),(180,'label',NULL,'3'),(180,'potentialname',NULL,'3'),(180,'potential_no',NULL,'POT14'),(180,'amount',NULL,'0.00000000'),(180,'closingdate',NULL,'2018-04-30'),(180,'sales_stage',NULL,'Value Proposition'),(180,'assigned_user_id',NULL,'1'),(180,'probability',NULL,'0.000'),(180,'createdtime',NULL,'2018-05-20 07:00:33'),(180,'modifiedby',NULL,'1'),(180,'forecast_amount',NULL,'0.00000000'),(180,'source',NULL,'CRM'),(180,'record_id',NULL,'117'),(180,'record_module',NULL,'Potentials'),(182,'label',NULL,'3'),(182,'potentialname',NULL,'3'),(182,'potential_no',NULL,'POT15'),(182,'amount',NULL,'0.00000000'),(182,'closingdate',NULL,'2018-04-23'),(182,'sales_stage',NULL,'Perception Analysis'),(182,'assigned_user_id',NULL,'1'),(182,'probability',NULL,'0.000'),(182,'createdtime',NULL,'2018-05-20 07:01:51'),(182,'modifiedby',NULL,'1'),(182,'forecast_amount',NULL,'0.00000000'),(182,'source',NULL,'CRM'),(182,'record_id',NULL,'118'),(182,'record_module',NULL,'Potentials'),(183,'label',NULL,'3'),(183,'potentialname',NULL,'3'),(183,'potential_no',NULL,'POT16'),(183,'amount',NULL,'0.00000000'),(183,'closingdate',NULL,'2018-04-30'),(183,'sales_stage',NULL,'Value Proposition'),(183,'assigned_user_id',NULL,'1'),(183,'probability',NULL,'0.000'),(183,'createdtime',NULL,'2018-05-20 07:25:13'),(183,'modifiedby',NULL,'1'),(183,'forecast_amount',NULL,'0.00000000'),(183,'source',NULL,'CRM'),(183,'record_id',NULL,'119'),(183,'record_module',NULL,'Potentials'),(184,'label',NULL,'000000'),(184,'subject',NULL,'000000'),(184,'assigned_user_id',NULL,'5'),(184,'date_start',NULL,'2018-05-23'),(184,'time_start',NULL,'08:04:00'),(184,'due_date',NULL,'2018-05-23'),(184,'duration_hours',NULL,'11'),(184,'duration_minutes',NULL,'26'),(184,'activitytype',NULL,'Task'),(184,'createdtime',NULL,'2018-05-23 08:04:43'),(184,'taskpriority',NULL,'High'),(184,'visibility',NULL,'Private'),(184,'modifiedby',NULL,'5'),(184,'source',NULL,'CRM'),(184,'taskstatus',NULL,'Not Started'),(184,'record_id',NULL,'120'),(184,'record_module',NULL,'Calendar'),(185,'label',NULL,'fgjhgfds'),(185,'subject',NULL,'fgjhgfds'),(185,'assigned_user_id',NULL,'5'),(185,'date_start',NULL,'2018-05-23'),(185,'time_start',NULL,'06:59:00'),(185,'due_date',NULL,'1397-03-02'),(185,'duration_hours',NULL,'12'),(185,'duration_minutes',NULL,'31'),(185,'activitytype',NULL,'Task'),(185,'createdtime',NULL,'2018-05-23 08:04:53'),(185,'taskpriority',NULL,'Medium'),(185,'visibility',NULL,'Private'),(185,'modifiedby',NULL,'5'),(185,'source',NULL,'CRM'),(185,'taskstatus',NULL,'Not Started'),(185,'record_id',NULL,'121'),(185,'record_module',NULL,'Calendar'),(186,'starred','1',''),(187,'label',NULL,'Regarding Contact Assignment'),(187,'date_start',NULL,'2018-05-23'),(187,'activitytype',NULL,'Emails'),(187,'assigned_user_id',NULL,'1'),(187,'subject',NULL,'Regarding Contact Assignment'),(187,'description',NULL,'An Contact has been assigned to you on vtigerCRM&lt;br&gt;Details of Contact are :&lt;br&gt;&lt;br&gt;Contact Id:&lt;b&gt;CON1&lt;/b&gt;&lt;br&gt;LastName:&lt;b&gt;شماره 1&lt;/b&gt;&lt;br&gt;FirstName:&lt;b&gt;مخاطب&lt;/b&gt;&lt;br&gt;Lead Source:&lt;b&gt;&lt;/b&gt;&lt;br&gt;Department:&lt;b&gt;&lt;/b&gt;&lt;br&gt;Description:&lt;b&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And &lt;b&gt;CustomerPortal Login Details&lt;/b&gt; is sent to the EmailID :-admin@gmail.com&lt;br&gt;&lt;br&gt;Thank You&lt;br&gt;Admin&lt;br&gt;&lt;br&gt;'),(187,'time_start',NULL,'13:15:02'),(187,'createdtime',NULL,'2018-05-23 13:15:02'),(187,'modifiedby',NULL,'1'),(187,'from_email',NULL,'admin@support@favtiger.ir.com'),(187,'saved_toid',NULL,'[&quot;support@favtiger.ir&quot;]'),(187,'ccmail',NULL,'[&quot;&quot;]'),(187,'bccmail',NULL,'[&quot;&quot;]'),(187,'parent_id',NULL,'2@1|'),(187,'email_flag',NULL,'SENT'),(187,'source',NULL,'CRM'),(187,'record_id',NULL,'122'),(187,'record_module',NULL,'Emails'),(189,'label',NULL,'Regarding Contact Assignment'),(189,'date_start',NULL,'2018-05-23'),(189,'activitytype',NULL,'Emails'),(189,'assigned_user_id',NULL,'1'),(189,'subject',NULL,'Regarding Contact Assignment'),(189,'description',NULL,'An Contact has been assigned to you on vtigerCRM&lt;br&gt;Details of Contact are :&lt;br&gt;&lt;br&gt;Contact Id:&lt;b&gt;CON1&lt;/b&gt;&lt;br&gt;LastName:&lt;b&gt;مخاطب شماره 3&lt;/b&gt;&lt;br&gt;FirstName:&lt;b&gt;مخاطب&lt;/b&gt;&lt;br&gt;Lead Source:&lt;b&gt;&lt;/b&gt;&lt;br&gt;Department:&lt;b&gt;&lt;/b&gt;&lt;br&gt;Description:&lt;b&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And &lt;b&gt;CustomerPortal Login Details&lt;/b&gt; is sent to the EmailID :-admin@gmail.com&lt;br&gt;&lt;br&gt;Thank You&lt;br&gt;Admin&lt;br&gt;&lt;br&gt;'),(189,'time_start',NULL,'13:15:06'),(189,'createdtime',NULL,'2018-05-23 13:15:06'),(189,'modifiedby',NULL,'1'),(189,'from_email',NULL,'admin@gmail.com'),(189,'saved_toid',NULL,'[&quot;support@favtiger.ir&quot;]'),(189,'ccmail',NULL,'[&quot;&quot;]'),(189,'bccmail',NULL,'[&quot;&quot;]'),(189,'parent_id',NULL,'2@1|'),(189,'email_flag',NULL,'SENT'),(189,'source',NULL,'CRM'),(189,'record_id',NULL,'123'),(189,'record_module',NULL,'Emails'),(191,'label',NULL,'Regarding Potential Assignment'),(191,'date_start',NULL,'2018-05-23'),(191,'activitytype',NULL,'Emails'),(191,'assigned_user_id',NULL,'1'),(191,'subject',NULL,'Regarding Potential Assignment'),(191,'description',NULL,'An Potential has been assigned to you on vtigerCRM&lt;br&gt;Details of Potential are :&lt;br&gt;&lt;br&gt;Potential No:&lt;b&gt;POT1&lt;/b&gt;&lt;br&gt;Potential Name:&lt;b&gt;جشنواره نوروز 97&lt;/b&gt;&lt;br&gt;Amount:&lt;b&gt;﷼200&lt;/b&gt;&lt;br&gt;Expected Close Date:&lt;b&gt;2018-05-18 (yyyy-mm-dd)&lt;/b&gt;&lt;br&gt;Type:&lt;b&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Description :&lt;br&gt;&lt;br&gt;Thank You&lt;br&gt;Admin&lt;br&gt;&lt;br&gt;'),(191,'time_start',NULL,'13:15:07'),(191,'createdtime',NULL,'2018-05-23 13:15:07'),(191,'modifiedby',NULL,'1'),(191,'from_email',NULL,'info@vtiger.com'),(191,'saved_toid',NULL,'[&quot;info@vtiger.com&quot;]'),(191,'ccmail',NULL,'[&quot;&quot;]'),(191,'bccmail',NULL,'[&quot;&quot;]'),(191,'parent_id',NULL,'25@1|'),(191,'email_flag',NULL,'SENT'),(191,'source',NULL,'CRM'),(191,'record_id',NULL,'124'),(191,'record_module',NULL,'Emails'),(193,'label',NULL,'Regarding Contact Assignment'),(193,'date_start',NULL,'2018-05-23'),(193,'activitytype',NULL,'Emails'),(193,'assigned_user_id',NULL,'1'),(193,'subject',NULL,'Regarding Contact Assignment'),(193,'description',NULL,'An Contact has been assigned to you on vtigerCRM&lt;br&gt;Details of Contact are :&lt;br&gt;&lt;br&gt;Contact Id:&lt;b&gt;CON2&lt;/b&gt;&lt;br&gt;LastName:&lt;b&gt;لالات&lt;/b&gt;&lt;br&gt;FirstName:&lt;b&gt;&lt;/b&gt;&lt;br&gt;Lead Source:&lt;b&gt;&lt;/b&gt;&lt;br&gt;Department:&lt;b&gt;&lt;/b&gt;&lt;br&gt;Description:&lt;b&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And &lt;b&gt;CustomerPortal Login Details&lt;/b&gt; is sent to the EmailID :-&lt;br&gt;&lt;br&gt;Thank You&lt;br&gt;Admin&lt;br&gt;&lt;br&gt;'),(193,'time_start',NULL,'13:15:07'),(193,'createdtime',NULL,'2018-05-23 13:15:07'),(193,'modifiedby',NULL,'1'),(193,'from_email',NULL,'info@vtiger.com'),(193,'saved_toid',NULL,'[&quot;info@vtiger.com&quot;]'),(193,'ccmail',NULL,'[&quot;&quot;]'),(193,'bccmail',NULL,'[&quot;&quot;]'),(193,'parent_id',NULL,'27@1|'),(193,'email_flag',NULL,'SENT'),(193,'source',NULL,'CRM'),(193,'record_id',NULL,'125'),(193,'record_module',NULL,'Emails'),(195,'invoicedate','','2018-05-22'),(196,'label',NULL,'aaa'),(196,'potentialname',NULL,'aaa'),(196,'potential_no',NULL,'POT17'),(196,'amount',NULL,'0.00000000'),(196,'closingdate',NULL,'2018-05-30'),(196,'nextstep',NULL,'date is 2 days ago'),(196,'sales_stage',NULL,'Qualification'),(196,'assigned_user_id',NULL,'1'),(196,'probability',NULL,'0.000'),(196,'createdtime',NULL,'2018-06-01 06:50:05'),(196,'modifiedby',NULL,'1'),(196,'forecast_amount',NULL,'0.00000000'),(196,'source',NULL,'CRM'),(196,'record_id',NULL,'126'),(196,'record_module',NULL,'Potentials'),(197,'label',NULL,'3'),(197,'potentialname',NULL,'3'),(197,'potential_no',NULL,'POT18'),(197,'amount',NULL,'0.00000000'),(197,'closingdate',NULL,'2018-06-01'),(197,'sales_stage',NULL,'Needs Analysis'),(197,'assigned_user_id',NULL,'1'),(197,'probability',NULL,'0.000'),(197,'createdtime',NULL,'2018-06-01 06:54:22'),(197,'modifiedby',NULL,'1'),(197,'forecast_amount',NULL,'0.00000000'),(197,'source',NULL,'CRM'),(197,'record_id',NULL,'127'),(197,'record_module',NULL,'Potentials'),(198,'label',NULL,'Regarding Potential Assignment'),(198,'date_start',NULL,'2018-06-01'),(198,'activitytype',NULL,'Emails'),(198,'assigned_user_id',NULL,'1'),(198,'subject',NULL,'Regarding Potential Assignment'),(198,'description',NULL,'An Potential has been assigned to you on vtigerCRM&lt;br&gt;Details of Potential are :&lt;br&gt;&lt;br&gt;Potential No:&lt;b&gt;POT17&lt;/b&gt;&lt;br&gt;Potential Name:&lt;b&gt;aaa&lt;/b&gt;&lt;br&gt;Amount:&lt;b&gt;﷼0&lt;/b&gt;&lt;br&gt;Expected Close Date:&lt;b&gt;2018-05-30 (yyyy-mm-dd)&lt;/b&gt;&lt;br&gt;Type:&lt;b&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Description :&lt;br&gt;&lt;br&gt;Thank You&lt;br&gt;Admin&lt;br&gt;&lt;br&gt;'),(198,'time_start',NULL,'07:00:03'),(198,'createdtime',NULL,'2018-06-01 07:00:03'),(198,'modifiedby',NULL,'1'),(198,'from_email',NULL,'support@favtiger.ir'),(198,'saved_toid',NULL,'[&quot;support@favtiger.ir&quot;]'),(198,'ccmail',NULL,'[&quot;&quot;]'),(198,'bccmail',NULL,'[&quot;&quot;]'),(198,'parent_id',NULL,'126@1|'),(198,'email_flag',NULL,'SENT'),(198,'source',NULL,'CRM'),(198,'record_id',NULL,'128'),(198,'record_module',NULL,'Emails'),(200,'label',NULL,'Regarding Potential Assignment'),(200,'date_start',NULL,'2018-06-01'),(200,'activitytype',NULL,'Emails'),(200,'assigned_user_id',NULL,'1'),(200,'subject',NULL,'Regarding Potential Assignment'),(200,'description',NULL,'An Potential has been assigned to you on vtigerCRM&lt;br&gt;Details of Potential are :&lt;br&gt;&lt;br&gt;Potential No:&lt;b&gt;POT18&lt;/b&gt;&lt;br&gt;Potential Name:&lt;b&gt;3&lt;/b&gt;&lt;br&gt;Amount:&lt;b&gt;﷼0&lt;/b&gt;&lt;br&gt;Expected Close Date:&lt;b&gt;2018-06-01 (yyyy-mm-dd)&lt;/b&gt;&lt;br&gt;Type:&lt;b&gt;&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Description :&lt;br&gt;&lt;br&gt;Thank You&lt;br&gt;Admin&lt;br&gt;&lt;br&gt;'),(200,'time_start',NULL,'07:00:07'),(200,'createdtime',NULL,'2018-06-01 07:00:07'),(200,'modifiedby',NULL,'1'),(200,'from_email',NULL,'support@favtiger.ir'),(200,'saved_toid',NULL,'[&quot;support@favtiger.ir&quot;]'),(200,'ccmail',NULL,'[&quot;&quot;]'),(200,'bccmail',NULL,'[&quot;&quot;]'),(200,'parent_id',NULL,'127@1|'),(200,'email_flag',NULL,'SENT'),(200,'source',NULL,'CRM'),(200,'record_id',NULL,'129'),(200,'record_module',NULL,'Emails'),(202,'label','3','dsadsasa'),(202,'potentialname','3','dsadsasa'),(202,'closingdate','2018-06-01','2018-05-08'),(202,'nextstep','','date is 2 days ago'),(202,'description','گردشی time',''),(203,'forecast_amount',NULL,'0.00000000'),(203,'source',NULL,'CRM'),(203,'record_id',NULL,'130'),(203,'record_module',NULL,'Potentials'),(374,'label',NULL,' تست'),(374,'contact_no',NULL,'CON21'),(374,'lastname',NULL,'تست'),(374,'assigned_user_id',NULL,'1'),(374,'createdtime',NULL,'2019-02-18 09:44:32'),(374,'modifiedby',NULL,'1'),(374,'support_start_date',NULL,'2019-02-18'),(374,'support_end_date',NULL,'2020-02-18'),(374,'source',NULL,'CRM'),(374,'record_id',NULL,'217'),(374,'record_module',NULL,'Contacts'),(375,'label',NULL,'سازمان 1'),(375,'accountname',NULL,'سازمان 1'),(375,'account_no',NULL,'ACC5'),(375,'annual_revenue',NULL,'0.00000000'),(375,'assigned_user_id',NULL,'1'),(375,'createdtime',NULL,'2019-02-18 09:45:44'),(375,'modifiedby',NULL,'1'),(375,'source',NULL,'CRM'),(375,'record_id',NULL,'218'),(375,'record_module',NULL,'Accounts'),(376,'label',NULL,'محصول 1'),(376,'productname',NULL,'محصول 1'),(376,'product_no',NULL,'PRO5'),(376,'discontinued',NULL,'1'),(376,'createdtime',NULL,'2019-02-18 09:48:08'),(376,'modifiedby',NULL,'1'),(376,'unit_price',NULL,'50000.00000000'),(376,'commissionrate',NULL,'0.000'),(376,'qty_per_unit',NULL,'0.00'),(376,'qtyinstock',NULL,'500.000'),(376,'assigned_user_id',NULL,'1'),(376,'purchase_cost',NULL,'0.00000000'),(376,'source',NULL,'CRM'),(376,'record_id',NULL,'219'),(376,'record_module',NULL,'Products'),(377,'label',NULL,'پیش فاکتور'),(377,'quote_no',NULL,'QUO8'),(377,'subject',NULL,'پیش فاکتور'),(377,'quotestage',NULL,'Created'),(377,'contact_id',NULL,'217'),(377,'hdnSubTotal',NULL,'50000.00000000'),(377,'txtAdjustment',NULL,'0.00000000'),(377,'hdnGrandTotal',NULL,'63500.00000000'),(377,'hdnTaxType',NULL,'group'),(377,'hdnS_H_Amount',NULL,'0.00000000'),(377,'account_id',NULL,'218'),(377,'assigned_user_id',NULL,'1'),(377,'createdtime',NULL,'2019-02-18 09:48:32'),(377,'modifiedby',NULL,'1'),(377,'currency_id',NULL,'1'),(377,'conversion_rate',NULL,'1.000'),(377,'bill_street',NULL,'شسطشسط'),(377,'ship_street',NULL,'شسطشسط'),(377,'terms_conditions',NULL,'- 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.'),(377,'productid',NULL,'219'),(377,'quantity',NULL,'1.000'),(377,'listprice',NULL,'50000.00000000'),(377,'tax1',NULL,'4.500'),(377,'tax2',NULL,'10.000'),(377,'tax3',NULL,'12.500'),(377,'pre_tax_total',NULL,'50000.00000000'),(377,'source',NULL,'CRM'),(377,'record_id',NULL,'220'),(377,'record_module',NULL,'Quotes'),(383,'label',NULL,'تست'),(383,'subject',NULL,'تست'),(383,'assigned_user_id',NULL,'1'),(383,'date_start',NULL,'2020-05-20'),(383,'time_start',NULL,'07:30:00'),(383,'due_date',NULL,'2020-05-21'),(383,'time_end',NULL,'14:26:00'),(383,'duration_hours',NULL,'30'),(383,'duration_minutes',NULL,'56'),(383,'eventstatus',NULL,'Planned'),(383,'activitytype',NULL,'Call'),(383,'createdtime',NULL,'2020-04-21 14:22:05'),(383,'visibility',NULL,'Public'),(383,'modifiedby',NULL,'1'),(383,'source',NULL,'CRM'),(383,'record_id',NULL,'221'),(383,'record_module',NULL,'Events');

--
-- Table structure for table `vtiger_modtracker_relations`
--

CREATE TABLE `vtiger_modtracker_relations` (
  `id` int(19) NOT NULL,
  `targetmodule` varchar(100) NOT NULL,
  `targetid` int(19) NOT NULL,
  `changedon` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_modtracker_relations`
--

INSERT INTO `vtiger_modtracker_relations` (`id`, `targetmodule`, `targetid`, `changedon`) VALUES (4,'ModComments',5,'2018-04-24 04:11:49'),(6,'ModComments',6,'2018-04-24 04:12:29'),(8,'ModComments',7,'2018-04-24 13:25:10'),(10,'ModComments',9,'2018-04-24 13:27:28'),(31,'Quotes',26,'2018-04-25 09:27:34'),(58,'Calendar',49,'2018-04-29 08:01:53'),(60,'Calendar',50,'2018-04-29 08:02:08'),(65,'Calendar',55,'2018-04-30 06:21:10'),(68,'Calendar',57,'2018-04-30 06:25:11'),(73,'Calendar',61,'2018-05-05 09:32:10'),(82,'Calendar',63,'2018-05-06 06:24:00'),(84,'Calendar',65,'2018-05-06 06:47:38'),(87,'Calendar',67,'2018-05-06 06:49:47'),(93,'Calendar',70,'2018-05-07 08:53:30'),(99,'ModComments',75,'2018-05-07 09:10:19'),(101,'ModComments',76,'2018-05-07 09:10:54'),(104,'Documents',77,'2018-05-07 09:11:31'),(107,'Documents',79,'2018-05-07 09:12:36'),(110,'Documents',81,'2018-05-07 09:15:29'),(114,'Documents',83,'2018-05-07 09:17:54'),(132,'ModComments',89,'2018-05-08 09:00:52'),(134,'ModComments',91,'2018-05-08 09:01:24'),(143,'ModComments',100,'2018-05-13 08:47:34'),(151,'Quotes',102,'2018-05-13 13:26:48'),(153,'ModComments',103,'2018-05-13 13:37:42'),(157,'ModComments',104,'2018-05-16 05:28:29'),(161,'Project',107,'2018-05-16 05:31:58'),(164,'ProjectTask',108,'2018-05-16 05:34:05'),(166,'Emails',109,'2018-05-16 05:45:12'),(169,'Quotes',111,'2018-05-16 05:50:55'),(188,'Emails',122,'2018-05-23 13:15:02'),(190,'Emails',123,'2018-05-23 13:15:07'),(192,'Emails',124,'2018-05-23 13:15:07'),(194,'Emails',125,'2018-05-23 13:15:07'),(199,'Emails',128,'2018-06-01 07:00:03'),(201,'Emails',129,'2018-06-01 07:00:07'),(205,'Emails',131,'2018-06-01 07:15:08'),(212,'Emails',133,'2018-06-02 04:16:43'),(214,'Emails',134,'2018-06-02 04:18:49'),(217,'Emails',136,'2018-06-02 05:15:03'),(219,'Emails',137,'2018-06-02 05:15:07'),(222,'Emails',144,'2018-06-09 05:30:03'),(228,'Emails',166,'2018-07-02 16:00:02'),(231,'Emails',167,'2018-07-02 16:30:02'),(235,'ModComments',171,'2018-07-02 19:23:31'),(238,'Emails',172,'2018-07-02 19:30:02'),(240,'ModComments',174,'2018-07-03 14:21:22'),(253,'Emails',176,'2018-08-02 14:00:02'),(255,'Emails',177,'2018-08-02 14:00:06'),(257,'Emails',178,'2018-08-02 14:00:07'),(267,'Emails',179,'2018-08-05 14:30:02'),(269,'Emails',180,'2018-08-05 14:30:07'),(271,'Emails',181,'2018-08-05 14:30:07'),(279,'Emails',184,'2018-08-05 14:45:02'),(281,'Emails',185,'2018-08-05 14:45:06'),(283,'Emails',186,'2018-08-05 14:45:07'),(285,'Emails',187,'2018-08-05 14:45:07'),(287,'Emails',188,'2018-08-05 14:45:07'),(289,'Emails',189,'2018-08-05 14:45:07'),(291,'Emails',190,'2018-08-05 14:45:07'),(293,'Emails',191,'2018-08-05 14:45:07'),(298,'Emails',194,'2018-08-25 23:58:21'),(300,'Emails',195,'2018-08-26 00:00:27'),(304,'Emails',197,'2018-10-05 10:50:28'),(305,'ModComments',206,'2018-10-05 13:19:17'),(308,'ModComments',208,'2018-10-05 13:22:12'),(311,'Emails',209,'2018-10-05 13:35:27'),(314,'Emails',211,'2018-10-06 12:20:28'),(378,'Quotes',220,'2019-02-18 09:48:34');

--
-- Table structure for table `vtiger_modtracker_tabs`
--

CREATE TABLE `vtiger_modtracker_tabs` (
  `tabid` int(11) NOT NULL,
  `visible` int(11) DEFAULT 0,
  PRIMARY KEY (`tabid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_modtracker_tabs`
--

INSERT INTO `vtiger_modtracker_tabs` (`tabid`, `visible`) VALUES (2,1),(4,1),(6,1),(7,1),(8,1),(9,1),(10,1),(13,1),(14,1),(15,1),(16,1),(18,1),(19,1),(20,1),(21,1),(22,1),(23,1),(26,1),(28,1),(34,1),(35,1),(36,1),(38,1),(42,1),(43,1),(44,1),(45,1),(47,1);

--
-- Table structure for table `vtiger_module_dashboard_widgets`
--

CREATE TABLE `vtiger_module_dashboard_widgets` (
  `id` int(19) NOT NULL AUTO_INCREMENT,
  `linkid` int(19) DEFAULT NULL,
  `userid` int(19) DEFAULT NULL,
  `filterid` int(19) DEFAULT NULL,
  `title` varchar(100) DEFAULT NULL,
  `data` text DEFAULT NULL,
  `position` varchar(50) DEFAULT NULL,
  `reportid` int(19) DEFAULT NULL,
  `dashboardtabid` int(11) DEFAULT NULL,
  `size` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dashboardtabid` (`dashboardtabid`),
  CONSTRAINT `vtiger_module_dashboard_widgets_ibfk_1` FOREIGN KEY (`dashboardtabid`) REFERENCES `vtiger_dashboard_tabs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_module_dashboard_widgets`
--

INSERT INTO `vtiger_module_dashboard_widgets` (`id`, `linkid`, `userid`, `filterid`, `title`, `data`, `position`, `reportid`, `dashboardtabid`, `size`) VALUES (3,56,1,NULL,NULL,'null','{\"row\":\"1\",\"col\":\"1\"}',NULL,2,NULL),(10,58,1,NULL,NULL,'null','{\"row\":\"1\",\"col\":\"2\"}',NULL,2,'{\"sizex\":\"1\",\"sizey\":\"1\"}'),(11,57,1,NULL,NULL,'null','{\"row\":\"2\",\"col\":\"4\"}',NULL,2,NULL),(12,59,1,NULL,NULL,'null','{\"row\":\"3\",\"col\":\"2\"}',NULL,2,NULL),(13,60,1,NULL,NULL,'null','{\"row\":\"4\",\"col\":\"1\"}',NULL,2,NULL),(14,61,1,NULL,NULL,'null','{\"row\":\"1\",\"col\":\"4\"}',NULL,2,NULL),(15,62,1,NULL,NULL,'null','{\"row\":\"3\",\"col\":\"1\"}',NULL,2,NULL),(16,68,1,NULL,NULL,'null','{\"row\":\"2\",\"col\":\"2\"}',NULL,2,NULL),(17,63,1,NULL,NULL,'null','{\"row\":\"2\",\"col\":\"3\"}',NULL,2,NULL),(18,65,1,NULL,NULL,'null','{\"row\":\"1\",\"col\":\"3\"}',NULL,2,NULL);

--
-- Table structure for table `vtiger_no_of_currency_decimals`
--

CREATE TABLE `vtiger_no_of_currency_decimals` (
  `no_of_currency_decimalsid` int(11) NOT NULL AUTO_INCREMENT,
  `no_of_currency_decimals` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`no_of_currency_decimalsid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_no_of_currency_decimals`
--

INSERT INTO `vtiger_no_of_currency_decimals` (`no_of_currency_decimalsid`, `no_of_currency_decimals`, `sortorderid`, `presence`) VALUES (2,'2',2,1),(3,'3',3,1),(4,'4',4,1),(5,'5',5,1),(6,'0',0,1),(7,'1',1,1);

--
-- Table structure for table `vtiger_no_of_currency_decimals_seq`
--

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

--
-- Dumping data for table `vtiger_no_of_currency_decimals_seq`
--

INSERT INTO `vtiger_no_of_currency_decimals_seq` (`id`) VALUES (7);

--
-- Table structure for table `vtiger_notebook_contents`
--

CREATE TABLE `vtiger_notebook_contents` (
  `userid` int(19) NOT NULL,
  `notebookid` int(19) NOT NULL,
  `contents` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_notebook_contents`
--


--
-- Table structure for table `vtiger_notes`
--

CREATE TABLE `vtiger_notes` (
  `notesid` int(19) NOT NULL DEFAULT 0,
  `note_no` varchar(100) NOT NULL,
  `title` varchar(50) NOT NULL,
  `filename` varchar(200) DEFAULT NULL,
  `notecontent` text DEFAULT NULL,
  `folderid` int(19) NOT NULL DEFAULT 1,
  `filetype` varchar(50) DEFAULT NULL,
  `filelocationtype` varchar(5) DEFAULT NULL,
  `filedownloadcount` int(19) DEFAULT NULL,
  `filestatus` int(19) DEFAULT NULL,
  `filesize` int(19) NOT NULL DEFAULT 0,
  `fileversion` varchar(50) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`notesid`),
  KEY `notes_title_idx` (`title`),
  KEY `notes_notesid_idx` (`notesid`),
  CONSTRAINT `fk_1_vtiger_notes` FOREIGN KEY (`notesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_notes`
--

INSERT INTO `vtiger_notes` (`notesid`, `note_no`, `title`, `filename`, `notecontent`, `folderid`, `filetype`, `filelocationtype`, `filedownloadcount`, `filestatus`, `filesize`, `fileversion`, `tags`) VALUES (77,'DOC1','workflow triger','workflow_triger.JPG','',1,'image/jpeg','I',NULL,1,26193,'',''),(79,'DOC2','comment attach','comment_attach.JPG','',1,'image/jpeg','I',3,1,29590,'',''),(81,'DOC3','edit on time','edit_on_time.JPG','',1,'image/jpeg','I',1,1,69587,'',''),(83,'DOC4','date edited','date_edited.JPG','',1,'image/jpeg','I',6,1,26106,'',''),(96,'DOC5','فضا','diy-backyard-pond-680x680.jpg','',1,'image/jpeg','I',1,1,143556,'','');

--
-- Table structure for table `vtiger_notescf`
--

CREATE TABLE `vtiger_notescf` (
  `notesid` int(19) NOT NULL DEFAULT 0,
  PRIMARY KEY (`notesid`),
  CONSTRAINT `fk_notesid_vtiger_notescf` FOREIGN KEY (`notesid`) REFERENCES `vtiger_notes` (`notesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_notescf`
--

INSERT INTO `vtiger_notescf` (`notesid`) VALUES (77),(79),(81),(83),(96);

--
-- Table structure for table `vtiger_notificationscheduler`
--

CREATE TABLE `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 DEFAULT NULL,
  `label` varchar(50) DEFAULT NULL,
  `type` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`schedulednotificationid`),
  UNIQUE KEY `notificationscheduler_schedulednotificationname_idx` (`schedulednotificationname`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;

--
-- 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`
--

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

--
-- Dumping data for table `vtiger_notificationscheduler_seq`
--

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

--
-- Table structure for table `vtiger_opportunity_type`
--

CREATE TABLE `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,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`opptypeid`),
  UNIQUE KEY `opportunity_type_opportunity_type_idx` (`opportunity_type`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_opportunity_type`
--

INSERT INTO `vtiger_opportunity_type` (`opptypeid`, `opportunity_type`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES (2,'Existing Business',1,128,1,NULL),(3,'New Business',1,129,2,NULL);

--
-- Table structure for table `vtiger_opportunity_type_seq`
--

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

--
-- Dumping data for table `vtiger_opportunity_type_seq`
--

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

--
-- Table structure for table `vtiger_opportunitystage`
--

CREATE TABLE `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=utf8;

--
-- Dumping data for table `vtiger_opportunitystage`
--


--
-- Table structure for table `vtiger_org_share_action2tab`
--

CREATE TABLE `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`),
  CONSTRAINT `fk_2_vtiger_org_share_action2tab` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_org_share_action2tab`
--

INSERT INTO `vtiger_org_share_action2tab` (`share_action_id`, `tabid`) VALUES (0,2),(0,4),(0,6),(0,7),(0,8),(0,9),(0,10),(0,13),(0,14),(0,16),(0,18),(0,20),(0,21),(0,22),(0,23),(0,26),(0,34),(0,35),(0,36),(0,38),(0,42),(0,43),(0,44),(0,45),(0,47),(1,2),(1,4),(1,6),(1,7),(1,8),(1,9),(1,10),(1,13),(1,14),(1,16),(1,18),(1,20),(1,21),(1,22),(1,23),(1,26),(1,34),(1,35),(1,36),(1,38),(1,42),(1,43),(1,44),(1,45),(1,47),(2,2),(2,4),(2,6),(2,7),(2,8),(2,9),(2,10),(2,13),(2,14),(2,16),(2,18),(2,20),(2,21),(2,22),(2,23),(2,26),(2,34),(2,35),(2,36),(2,38),(2,42),(2,43),(2,44),(2,45),(2,47),(3,2),(3,4),(3,6),(3,7),(3,8),(3,9),(3,10),(3,13),(3,14),(3,16),(3,18),(3,20),(3,21),(3,22),(3,23),(3,26),(3,34),(3,35),(3,36),(3,38),(3,42),(3,43),(3,44),(3,45),(3,47);

--
-- Table structure for table `vtiger_org_share_action_mapping`
--

CREATE TABLE `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=utf8;

--
-- 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`
--

CREATE TABLE `vtiger_organizationdetails` (
  `organization_id` int(11) NOT NULL,
  `organizationname` varchar(60) DEFAULT 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 DEFAULT NULL,
  `vatid` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`organization_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_organizationdetails`
--

INSERT INTO `vtiger_organizationdetails` (`organization_id`, `organizationname`, `address`, `city`, `state`, `country`, `code`, `phone`, `fax`, `website`, `logoname`, `logo`, `vatid`) VALUES (1,'فاویتایگر','میرداماد','اصفهان','اصفهان','','560010','031-32349337','','www.favtiger.ir','logo.png',NULL,'');

--
-- Table structure for table `vtiger_organizationdetails_seq`
--

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

--
-- Dumping data for table `vtiger_organizationdetails_seq`
--

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

--
-- Table structure for table `vtiger_othereventduration`
--

CREATE TABLE `vtiger_othereventduration` (
  `othereventdurationid` int(11) NOT NULL AUTO_INCREMENT,
  `othereventduration` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`othereventdurationid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_othereventduration`
--

INSERT INTO `vtiger_othereventduration` (`othereventdurationid`, `othereventduration`, `sortorderid`, `presence`) VALUES (1,'5',0,1),(2,'10',1,1),(3,'30',2,1),(4,'60',3,1),(5,'120',4,1);

--
-- Table structure for table `vtiger_othereventduration_seq`
--

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

--
-- Dumping data for table `vtiger_othereventduration_seq`
--

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

--
-- Table structure for table `vtiger_parenttab`
--

CREATE TABLE `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=utf8;

--
-- 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`
--

CREATE TABLE `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`),
  CONSTRAINT `fk_1_vtiger_parenttabrel` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE,
  CONSTRAINT `fk_2_vtiger_parenttabrel` FOREIGN KEY (`parenttabid`) REFERENCES `vtiger_parenttab` (`parenttabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- 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,19,8),(3,8,9),(4,13,1),(4,15,2),(4,6,3),(4,4,4),(4,8,5),(5,1,2),(5,25,1),(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),(7,31,4),(7,31,5),(7,34,6),(7,34,7),(4,35,9),(4,35,10),(6,36,8),(6,36,9),(6,38,10),(6,38,11),(7,40,8),(7,40,9),(4,43,11),(4,43,12),(4,44,13),(4,44,14),(4,45,15),(4,45,16),(7,46,10),(7,46,11),(3,47,12),(3,47,13),(8,49,1),(8,49,2),(7,24,12),(7,27,13),(7,40,14),(7,46,15),(7,50,16),(7,50,17);

--
-- Table structure for table `vtiger_payment_duration`
--

CREATE TABLE `vtiger_payment_duration` (
  `payment_duration_id` int(11) DEFAULT NULL,
  `payment_duration` varchar(200) DEFAULT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_payment_duration`
--

INSERT INTO `vtiger_payment_duration` (`payment_duration_id`, `payment_duration`, `sortorderid`, `presence`, `color`) VALUES (1,'Net 30 days',0,1,NULL),(2,'Net 45 days',1,1,NULL),(3,'Net 60 days',2,1,NULL);

--
-- Table structure for table `vtiger_payment_duration_seq`
--

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

--
-- Dumping data for table `vtiger_payment_duration_seq`
--

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

--
-- Table structure for table `vtiger_pbxmanager`
--

CREATE TABLE `vtiger_pbxmanager` (
  `pbxmanagerid` int(20) NOT NULL AUTO_INCREMENT,
  `direction` varchar(10) DEFAULT NULL,
  `callstatus` varchar(20) DEFAULT NULL,
  `starttime` datetime DEFAULT NULL,
  `endtime` datetime DEFAULT NULL,
  `totalduration` int(11) DEFAULT NULL,
  `billduration` int(11) DEFAULT NULL,
  `recordingurl` varchar(200) DEFAULT NULL,
  `sourceuuid` varchar(100) DEFAULT NULL,
  `gateway` varchar(20) DEFAULT NULL,
  `customer` varchar(100) DEFAULT NULL,
  `user` varchar(100) DEFAULT NULL,
  `customernumber` varchar(100) DEFAULT NULL,
  `customertype` varchar(100) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`pbxmanagerid`),
  KEY `index_sourceuuid` (`sourceuuid`),
  KEY `index_pbxmanager_id` (`pbxmanagerid`),
  CONSTRAINT `fk_crmid_vtiger_pbxmanager` FOREIGN KEY (`pbxmanagerid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pbxmanager`
--


--
-- Table structure for table `vtiger_pbxmanager_gateway`
--

CREATE TABLE `vtiger_pbxmanager_gateway` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `gateway` varchar(20) DEFAULT NULL,
  `parameters` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pbxmanager_gateway`
--


--
-- Table structure for table `vtiger_pbxmanager_phonelookup`
--

CREATE TABLE `vtiger_pbxmanager_phonelookup` (
  `crmid` int(20) DEFAULT NULL,
  `setype` varchar(30) DEFAULT NULL,
  `fnumber` varchar(100) DEFAULT NULL,
  `rnumber` varchar(100) DEFAULT NULL,
  `fieldname` varchar(50) DEFAULT NULL,
  UNIQUE KEY `unique_key` (`crmid`,`setype`,`fieldname`),
  KEY `index_phone_number` (`fnumber`,`rnumber`),
  CONSTRAINT `vtiger_pbxmanager_phonelookup_ibfk_1` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pbxmanager_phonelookup`
--


--
-- Table structure for table `vtiger_pbxmanagercf`
--

CREATE TABLE `vtiger_pbxmanagercf` (
  `pbxmanagerid` int(11) NOT NULL,
  PRIMARY KEY (`pbxmanagerid`),
  CONSTRAINT `fk_pbxmanagerid_vtiger_pbxmanagercf` FOREIGN KEY (`pbxmanagerid`) REFERENCES `vtiger_pbxmanager` (`pbxmanagerid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pbxmanagercf`
--


--
-- Table structure for table `vtiger_pdfmaker`
--

CREATE TABLE `vtiger_pdfmaker` (
  `templateid` int(11) NOT NULL,
  `filename` varchar(100) NOT NULL,
  `module` varchar(255) NOT NULL,
  `body` longblob NOT NULL,
  `description` text NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`templateid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pdfmaker`
--

INSERT INTO `vtiger_pdfmaker` (`templateid`, `filename`, `module`, `body`, `description`, `deleted`) VALUES (1,'Invoice','Invoice','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body dir=\"ltr\">\r\n<style type=\"text/css\">.clearfix:after {\r\n  content: \"\";\r\n  display: table;\r\n clear: both;\r\n}\r\n\r\na {\r\n    color: #1B9BB8;\r\n    text-decoration: none;\r\n}\r\n\r\nbody {\r\n    color: #555555;\r\n    background: #FFFFFF;\r\n    font-size: 14px;\r\ndirection:rtl;\r\n    font-family: mitra;\r\n}\r\n\r\n#header {\r\n    padding: 10px 0;\r\n    margin-bottom: 0px;\r\n    border-bottom: 1px solid #AAAAAA;\r\n}\r\n\r\n#logo {\r\n    float:right;\r\n    margin: 0px;\r\n    width: 100px;\r\n}\r\n\r\n#logo img {\r\n    height: 30px;\r\n}\r\n\r\n#company {\r\n    float:left;\r\n    text-align: left;\r\n    width:350px;\r\n}\r\n\r\n#details {\r\n    margin-bottom: 15px;\r\n    padding-top: 30px;\r\n}\r\n\r\n#client2 {\r\n    padding: 6px;\r\n    background:#e1e4ee;\r\n    color:#222;\r\n\r\n}\r\n\r\n#client2 .to {\r\n    color: black;\r\n}\r\n\r\nh2.name {\r\n    font-size: 1.4em;\r\n    font-weight: bold;\r\n    margin: 0;\r\n}\r\n\r\n#invoice {\r\n    float: right;\r\n    text-align: right;\r\n}\r\n#invoice2 {\r\n    float: right;\r\n    text-align: right;\r\n\r\n}\r\n\r\n#invoice h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n#invoice2 h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n\r\n#invoice .info {\r\n    font-size: 0.8em;\r\n}\r\n#invoice2 .info {\r\n    font-size: 0.8em;\r\n}\r\n\r\ntable {\r\n    width: 100%;\r\n    border-collapse: collapse;\r\n    border-spacing: 0;\r\n    margin-bottom: 20px;\r\n}\r\n\r\ntable th,\r\ntable td {\r\n    padding: 10px 10px;\r\n    background: #EEEEEE;\r\n    text-align: center;\r\n    border-bottom: 1px solid #FFFFFF;\r\n}\r\n\r\ntable th {\r\n    white-space: nowrap;\r\n    font-weight: normal;\r\n}\r\n\r\ntable td {\r\n    text-align: right;\r\n}\r\n\r\ntable td h3{\r\n    color: #1B9BB8;\r\n    font-size: 10px;\r\n    font-weight: normal;\r\n    margin: 0 0 0.2em 0;\r\n}\r\n\r\ntable .no {\r\n    color: #FFFFFF;\r\n    font-size: 1.2em;\r\n    background: #1B9BB8;\r\n}\r\n\r\ntable .desc {\r\n    text-align: left;\r\n}\r\n\r\ntable .unit {\r\n    background: #DDDDDD;\r\n}\r\n\r\ntable .qty {\r\n    text-align: center;\r\n}\r\n\r\ntable .total {\r\n    background: #1B9BB8;\r\n    color: #FFFFFF;\r\n}\r\n\r\ntable td.unit,\r\ntable td.qty,\r\ntable td.total {\r\n    font-size: 1 em;\r\n}\r\n\r\ntable tbody tr:last-child td {\r\n    border: none;\r\n}\r\n\r\ntable tfoot td {\r\n    padding: 10px;\r\n    font-size: 1.2em;\r\n    background: #FFFFFF;\r\n    border-bottom: none;\r\n    white-space: nowrap;\r\n    border-top: 1px solid #AAAAAA;\r\n}\r\n\r\ntable tfoot .border-none-top {\r\n    border-top: none;\r\n}\r\n\r\ntable tfoot .grand-total {\r\n    padding: 10px 7px;\r\n    color: #1B9BB8;\r\n    font-size: 1.3em;\r\n    border-top: 1px solid #1B9BB8;\r\n    font-weight:bold\r\n}\r\n\r\ntable tfoot .border-none {\r\n    border: none;\r\n}\r\n\r\n#pdf_tag{\r\n    font-size: 1.1em;\r\n    margin: 30px 0px 15px 0px;\r\n}\r\n\r\n#notices{\r\n    padding-left: 6px;\r\n    border-left: 6px solid #1B9BB8;\r\n}\r\n\r\n#notices .notice {\r\n    font-size: 1.2em;\r\n}\r\n\r\n.footer, .footer td {\r\n    background-color:#FFFFFF;\r\n    color: #939598;\r\n    border: none;\r\n    border-top: 1px solid #AAAAAA;\r\n    font-size: 0.9em;\r\n    padding: 10px 0;\r\n}\r\n\r\n.header, .header td {\r\n    background-color:#FFFFFF;\r\n    border: none;\r\n    border-bottom: 1px solid #AAAAAA;\r\n    margin:0px;\r\n    padding:0px;\r\n}\r\n</style>\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-weight: bold;\">خریدار : $INVOICE_ACCOUNT_ID$</span><br />\r\n<span style=\"font-family:nazanin;\">$INVOICE_BILL_STATE$، $INVOICE_BILL_CITY$، $INVOICE_BILL_STREET$، $INVOICE_BILL_CODE$</span></div>\r\n</div>\r\n\r\n<div id=\"pdf_tag\"></div>\r\n\r\n<table border=\"0\" color=\"black\" style=\"font-size:10px;\" width=\"100%\">\r\n	<thead>\r\n		<tr>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9; width:5%\"></th>\r\n			<th style=\"color: white; font-weight: 600; background: rgb(189, 185, 185); width: 45%; border-right: 2px solid white; text-align: right;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Description%</strong></span></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_List Price%</strong></span></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Quantity%</strong></span></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Total%</strong></span></span></span></th>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_START#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background:#BDB9B9;border-bottom:2px solid white\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTPOSITION$</span></span></td>\r\n			<td style=\"text-align:right; border-bottom:2px solid white;border-right:2px solid white;\">\r\n			<h3 style=\"text-align: right;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTTITLE$</span></span></h3>\r\n\r\n			<div style=\"text-align: right;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTEDITDESCRIPTION$</span></span></div>\r\n			</td>\r\n			<td style=\"border-right: 2px solid white; border-bottom: 2px solid white; text-align: center;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTLISTPRICE$ $CURRENCYSYMBOL$</span></span></td>\r\n			<td style=\"border-right: 2px solid white; border-bottom: 2px solid white; text-align: center;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTQUANTITY$</span></span></td>\r\n			<td style=\"border-bottom: 2px solid white; text-align: center;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><strong>$PRODUCTSTOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</strong></span></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_END#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\" style=\"background:white\"></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background: white; border-bottom: 1px solid rgb(189, 185, 185); text-align: left;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Subtotal%</span></span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALWITHOUTVAT$ $CURRENCYSYMBOL$</span></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background: white; border-bottom: 1px solid rgb(189, 185, 185); text-align: left;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_LBL_DISCOUNT%</span></span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALDISCOUNT$ $CURRENCYSYMBOL$</span></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background: white; border-bottom: 1px solid rgb(189, 185, 185); text-align: left;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Total%</span></span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</span></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background: white; border-bottom: 2px solid rgb(189, 185, 185); text-align: left;\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Tax% $VATPERCENT$%</span></span></td>\r\n			<td style=\"background:#BDB9B9;;border-bottom:2px solid #BDB9B9\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$VAT$ $CURRENCYSYMBOL$</span></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background: white; text-align: left;\"><span style=\"font-size:14px;\"><strong>&nbsp;&nbsp;&nbsp;&nbsp; %G_LBL_GRAND_TOTAL%</strong></span></td>\r\n			<td style=\"background:white\"><span style=\"font-size:14px;\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><strong>$TOTAL$ $CURRENCYSYMBOL$</strong></span></span></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$INVOICE_TERMS_CONDITIONS$</span></div>\r\n</div>\r\n</body>\r\n</html>\r\n','قالب فاکتور',0),(2,'SalesOrder','SalesOrder','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<style type=\"text/css\">.clearfix:after {\r\n  content: \"\";\r\n  display: table;\r\n clear: both;\r\n}\r\n\r\na {\r\n    color: #1B9BB8;\r\n    text-decoration: none;\r\n}\r\n\r\nbody {\r\n    color: #555555;\r\n    background: #FFFFFF;\r\n    font-size: 14px;\r\ndirection:rtl;\r\n    font-family: mitra;\r\n}\r\n\r\n#header {\r\n    padding: 10px 0;\r\n    margin-bottom: 0px;\r\n    border-bottom: 1px solid #AAAAAA;\r\n}\r\n\r\n#logo {\r\n    float:right;\r\n    margin: 0px;\r\n    width: 100px;\r\n}\r\n\r\n#logo img {\r\n    height: 30px;\r\n}\r\n\r\n#company {\r\n    float:left;\r\n    text-align: left;\r\n    width:350px;\r\n}\r\n\r\n#details {\r\n    margin-bottom: 15px;\r\n    padding-top: 30px;\r\n}\r\n\r\n#client2 {\r\n    padding: 6px;\r\n    background:#e1e4ee;\r\n    color:#222;\r\n\r\n}\r\n\r\n#client2 .to {\r\n    color: black;\r\n}\r\n\r\nh2.name {\r\n    font-size: 1.4em;\r\n    font-weight: bold;\r\n    margin: 0;\r\n}\r\n\r\n#invoice {\r\n    float: right;\r\n    text-align: right;\r\n}\r\n#invoice2 {\r\n    float: right;\r\n    text-align: right;\r\n\r\n}\r\n\r\n#invoice h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n#invoice2 h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n\r\n#invoice .info {\r\n    font-size: 0.8em;\r\n}\r\n#invoice2 .info {\r\n    font-size: 0.8em;\r\n}\r\n\r\ntable {\r\n    width: 100%;\r\n    border-collapse: collapse;\r\n    border-spacing: 0;\r\n    margin-bottom: 20px;\r\n}\r\n\r\ntable th,\r\ntable td {\r\n    padding: 10px 10px;\r\n    background: #EEEEEE;\r\n    text-align: center;\r\n    border-bottom: 1px solid #FFFFFF;\r\n}\r\n\r\ntable th {\r\n    white-space: nowrap;\r\n    font-weight: normal;\r\n}\r\n\r\ntable td {\r\n    text-align: right;\r\n}\r\n\r\ntable td h3{\r\n    color: #1B9BB8;\r\n    font-size: 10px;\r\n    font-weight: normal;\r\n    margin: 0 0 0.2em 0;\r\n}\r\n\r\ntable .no {\r\n    color: #FFFFFF;\r\n    font-size: 1.2em;\r\n    background: #1B9BB8;\r\n}\r\n\r\ntable .desc {\r\n    text-align: left;\r\n}\r\n\r\ntable .unit {\r\n    background: #DDDDDD;\r\n}\r\n\r\ntable .qty {\r\n    text-align: center;\r\n}\r\n\r\ntable .total {\r\n    background: #1B9BB8;\r\n    color: #FFFFFF;\r\n}\r\n\r\ntable td.unit,\r\ntable td.qty,\r\ntable td.total {\r\n    font-size: 1 em;\r\n}\r\n\r\ntable tbody tr:last-child td {\r\n    border: none;\r\n}\r\n\r\ntable tfoot td {\r\n    padding: 10px;\r\n    font-size: 1.2em;\r\n    background: #FFFFFF;\r\n    border-bottom: none;\r\n    white-space: nowrap;\r\n    border-top: 1px solid #AAAAAA;\r\n}\r\n\r\ntable tfoot .border-none-top {\r\n    border-top: none;\r\n}\r\n\r\ntable tfoot .grand-total {\r\n    padding: 10px 7px;\r\n    color: #1B9BB8;\r\n    font-size: 1.3em;\r\n    border-top: 1px solid #1B9BB8;\r\n    font-weight:bold\r\n}\r\n\r\ntable tfoot .border-none {\r\n    border: none;\r\n}\r\n\r\n#pdf_tag{\r\n    font-size: 1.1em;\r\n    margin: 30px 0px 15px 0px;\r\n}\r\n\r\n#notices{\r\n    padding-left: 6px;\r\n    border-left: 6px solid #1B9BB8;\r\n}\r\n\r\n#notices .notice {\r\n    font-size: 1.2em;\r\n}\r\n\r\n.footer, .footer td {\r\n    background-color:#FFFFFF;\r\n    color: #939598;\r\n    border: none;\r\n    border-top: 1px solid #AAAAAA;\r\n    font-size: 0.9em;\r\n    padding: 10px 0;\r\n}\r\n\r\n.header, .header td {\r\n    background-color:#FFFFFF;\r\n    border: none;\r\n    border-bottom: 1px solid #AAAAAA;\r\n    margin:0px;\r\n    padding:0px;\r\n}\r\n</style>\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-weight: bold;\">$SALESORDER_ACCOUNT_ID$</span><br />\r\n<span style=\"font-family:nazanin;\">$SALESORDER_BILL_STATE$، $SALESORDER_BILL_CITY$، $SALESORDER_BILL_STREET$، $SALESORDER_BILL_CODE$</span></div>\r\n</div>\r\n\r\n<div id=\"pdf_tag\"></div>\r\n\r\n<table border=\"0\" color=\"black\" style=\"font-size:10px;\" width=\"100%\">\r\n	<thead>\r\n		<tr>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9; width:5%\"></th>\r\n			<th style=\"text-align: left;color: white;font-weight: 600;background:#BDB9B9;width:45%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Description%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_List Price%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Quantity%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Total%</strong></span></span></th>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_START#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background:#BDB9B9;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTPOSITION$</span></td>\r\n			<td style=\"text-align:left; border-bottom:2px solid white;border-right:2px solid white;\">\r\n			<h3><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTTITLE$</span></h3>\r\n			<span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTEDITDESCRIPTION$</span></td>\r\n			<td style=\"border-right:2px solid white;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTLISTPRICE$ $CURRENCYSYMBOL$</span></td>\r\n			<td style=\"border-right:2px solid white;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTQUANTITY$</span></td>\r\n			<td style=\"border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><strong>$PRODUCTSTOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</strong></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_END#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\" style=\"background:white\"></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Subtotal%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALWITHOUTVAT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_LBL_DISCOUNT%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALDISCOUNT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Total%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:2px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Tax% $VATPERCENT$%</span></td>\r\n			<td style=\"background:#BDB9B9;;border-bottom:2px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$VAT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white;\"><strong>&nbsp;&nbsp;&nbsp;&nbsp; %G_LBL_GRAND_TOTAL%</strong></td>\r\n			<td style=\"background:white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"font-size:12px;\"><strong>$TOTAL$ $CURRENCYSYMBOL$</strong></span></span></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$SALESORDER_TERMS_CONDITIONS$</span></div>\r\n</div>\r\n\r\n</body>\r\n</html>\r\n','قالب سفارش خرید',0),(3,'PurchaseOrder','PurchaseOrder','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body dir=\"ltr\">\r\n<style type=\"text/css\">.clearfix:after {\r\n  content: \"\";\r\n  display: table;\r\n clear: both;\r\n}\r\n\r\na {\r\n    color: #1B9BB8;\r\n    text-decoration: none;\r\n}\r\n\r\nbody {\r\n    color: #555555;\r\n    background: #FFFFFF;\r\n    font-size: 14px;\r\ndirection:rtl;\r\n    font-family: mitra;\r\n}\r\n\r\n#header {\r\n    padding: 10px 0;\r\n    margin-bottom: 0px;\r\n    border-bottom: 1px solid #AAAAAA;\r\n}\r\n\r\n#logo {\r\n    float:right;\r\n    margin: 0px;\r\n    width: 100px;\r\n}\r\n\r\n#logo img {\r\n    height: 30px;\r\n}\r\n\r\n#company {\r\n    float:left;\r\n    text-align: left;\r\n    width:350px;\r\n}\r\n\r\n#details {\r\n    margin-bottom: 15px;\r\n    padding-top: 30px;\r\n}\r\n\r\n#client2 {\r\n    padding: 6px;\r\n    background:#e1e4ee;\r\n    color:#222;\r\n\r\n}\r\n\r\n#client2 .to {\r\n    color: black;\r\n}\r\n\r\nh2.name {\r\n    font-size: 1.4em;\r\n    font-weight: bold;\r\n    margin: 0;\r\n}\r\n\r\n#invoice {\r\n    float: right;\r\n    text-align: right;\r\n}\r\n#invoice2 {\r\n    float: right;\r\n    text-align: right;\r\n\r\n}\r\n\r\n#invoice h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n#invoice2 h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n\r\n#invoice .info {\r\n    font-size: 0.8em;\r\n}\r\n#invoice2 .info {\r\n    font-size: 0.8em;\r\n}\r\n\r\ntable {\r\n    width: 100%;\r\n    border-collapse: collapse;\r\n    border-spacing: 0;\r\n    margin-bottom: 20px;\r\n}\r\n\r\ntable th,\r\ntable td {\r\n    padding: 10px 10px;\r\n    background: #EEEEEE;\r\n    text-align: center;\r\n    border-bottom: 1px solid #FFFFFF;\r\n}\r\n\r\ntable th {\r\n    white-space: nowrap;\r\n    font-weight: normal;\r\n}\r\n\r\ntable td {\r\n    text-align: right;\r\n}\r\n\r\ntable td h3{\r\n    color: #1B9BB8;\r\n    font-size: 10px;\r\n    font-weight: normal;\r\n    margin: 0 0 0.2em 0;\r\n}\r\n\r\ntable .no {\r\n    color: #FFFFFF;\r\n    font-size: 1.2em;\r\n    background: #1B9BB8;\r\n}\r\n\r\ntable .desc {\r\n    text-align: left;\r\n}\r\n\r\ntable .unit {\r\n    background: #DDDDDD;\r\n}\r\n\r\ntable .qty {\r\n    text-align: center;\r\n}\r\n\r\ntable .total {\r\n    background: #1B9BB8;\r\n    color: #FFFFFF;\r\n}\r\n\r\ntable td.unit,\r\ntable td.qty,\r\ntable td.total {\r\n    font-size: 1 em;\r\n}\r\n\r\ntable tbody tr:last-child td {\r\n    border: none;\r\n}\r\n\r\ntable tfoot td {\r\n    padding: 10px;\r\n    font-size: 1.2em;\r\n    background: #FFFFFF;\r\n    border-bottom: none;\r\n    white-space: nowrap;\r\n    border-top: 1px solid #AAAAAA;\r\n}\r\n\r\ntable tfoot .border-none-top {\r\n    border-top: none;\r\n}\r\n\r\ntable tfoot .grand-total {\r\n    padding: 10px 7px;\r\n    color: #1B9BB8;\r\n    font-size: 1.3em;\r\n    border-top: 1px solid #1B9BB8;\r\n    font-weight:bold\r\n}\r\n\r\ntable tfoot .border-none {\r\n    border: none;\r\n}\r\n\r\n#pdf_tag{\r\n    font-size: 1.1em;\r\n    margin: 30px 0px 15px 0px;\r\n}\r\n\r\n#notices{\r\n    padding-left: 6px;\r\n    border-left: 6px solid #1B9BB8;\r\n}\r\n\r\n#notices .notice {\r\n    font-size: 1.2em;\r\n}\r\n\r\n.footer, .footer td {\r\n    background-color:#FFFFFF;\r\n    color: #939598;\r\n    border: none;\r\n    border-top: 1px solid #AAAAAA;\r\n    font-size: 0.9em;\r\n    padding: 10px 0;\r\n}\r\n\r\n.header, .header td {\r\n    background-color:#FFFFFF;\r\n    border: none;\r\n    border-bottom: 1px solid #AAAAAA;\r\n    margin:0px;\r\n    padding:0px;\r\n}\r\n</style>\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-weight: bold;\">&nbsp;$PURCHASEORDER_VENDOR_ID$</span><br />\r\n<span style=\"font-family:nazanin;\">$PURCHASEORDER_BILL_STATE$، $PURCHASEORDER_BILL_CITY$، $PURCHASEORDER_BILL_STREET$، $PURCHASEORDER_BILL_CODE$</span></div>\r\n</div>\r\n\r\n<div id=\"pdf_tag\"></div>\r\n\r\n<table border=\"0\" color=\"black\" style=\"font-size:10px;\" width=\"100%\">\r\n	<thead>\r\n		<tr>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9; width:5%\"></th>\r\n			<th style=\"text-align: left;color: white;font-weight: 600;background:#BDB9B9;width:45%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Description%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_List Price%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Quantity%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Total%</strong></span></span></th>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_START#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background:#BDB9B9;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTPOSITION$</span></td>\r\n			<td style=\"text-align:left; border-bottom:2px solid white;border-right:2px solid white;\">\r\n			<h3><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTTITLE$</span></h3>\r\n			<span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTEDITDESCRIPTION$</span></td>\r\n			<td style=\"border-right:2px solid white;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTLISTPRICE$ $CURRENCYSYMBOL$</span></td>\r\n			<td style=\"border-right:2px solid white;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTQUANTITY$</span></td>\r\n			<td style=\"border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><strong>$PRODUCTSTOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</strong></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_END#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\" style=\"background:white\"></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Subtotal%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALWITHOUTVAT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_LBL_DISCOUNT%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALDISCOUNT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Total%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:2px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Tax% $VATPERCENT$%</span></td>\r\n			<td style=\"background:#BDB9B9;;border-bottom:2px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$VAT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white;\"><strong>&nbsp;&nbsp;&nbsp;&nbsp; %G_LBL_GRAND_TOTAL%</strong></td>\r\n			<td style=\"background:white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"font-size:12px;\"><strong>$TOTAL$ $CURRENCYSYMBOL$</strong></span></span></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PURCHASEORDER_TERMS_CONDITIONS$</span></div>\r\n</div>\r\n</body>\r\n</html>\r\n','قالب سفارش فروش',0),(4,'Quotes','Quotes','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body dir=\"ltr\">\r\n<style type=\"text/css\">.clearfix:after {\r\n  content: \"\";\r\n  display: table;\r\n clear: both;\r\n}\r\n\r\na {\r\n    color: #1B9BB8;\r\n    text-decoration: none;\r\n}\r\n\r\nbody {\r\n    color: #555555;\r\n    background: #FFFFFF;\r\n    font-size: 14px;\r\ndirection:rtl;\r\n    font-family: mitra;\r\n}\r\n\r\n#header {\r\n    padding: 10px 0;\r\n    margin-bottom: 0px;\r\n    border-bottom: 1px solid #AAAAAA;\r\n}\r\n\r\n#logo {\r\n    float:right;\r\n    margin: 0px;\r\n    width: 100px;\r\n}\r\n\r\n#logo img {\r\n    height: 30px;\r\n}\r\n\r\n#company {\r\n    float:left;\r\n    text-align: left;\r\n    width:350px;\r\n}\r\n\r\n#details {\r\n    margin-bottom: 15px;\r\n    padding-top: 30px;\r\n}\r\n\r\n#client2 {\r\n    padding: 6px;\r\n    background:#e1e4ee;\r\n    color:#222;\r\n\r\n}\r\n\r\n#client2 .to {\r\n    color: black;\r\n}\r\n\r\nh2.name {\r\n    font-size: 1.4em;\r\n    font-weight: bold;\r\n    margin: 0;\r\n}\r\n\r\n#invoice {\r\n    float: right;\r\n    text-align: right;\r\n}\r\n#invoice2 {\r\n    float: right;\r\n    text-align: right;\r\n\r\n}\r\n\r\n#invoice h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n#invoice2 h1, h1 {\r\n    float: right;\r\n    color: #1B9BB8;\r\n    font-size: 2em;\r\n    line-height: 2.2em;\r\n    font-weight: bold;\r\n    margin: 0px;\r\n    padding: 0px;\r\n}\r\n\r\n#invoice .info {\r\n    font-size: 0.8em;\r\n}\r\n#invoice2 .info {\r\n    font-size: 0.8em;\r\n}\r\n\r\ntable {\r\n    width: 100%;\r\n    border-collapse: collapse;\r\n    border-spacing: 0;\r\n    margin-bottom: 20px;\r\n}\r\n\r\ntable th,\r\ntable td {\r\n    padding: 10px 10px;\r\n    background: #EEEEEE;\r\n    text-align: center;\r\n    border-bottom: 1px solid #FFFFFF;\r\n}\r\n\r\ntable th {\r\n    white-space: nowrap;\r\n    font-weight: normal;\r\n}\r\n\r\ntable td {\r\n    text-align: right;\r\n}\r\n\r\ntable td h3{\r\n    color: #1B9BB8;\r\n    font-size: 10px;\r\n    font-weight: normal;\r\n    margin: 0 0 0.2em 0;\r\n}\r\n\r\ntable .no {\r\n    color: #FFFFFF;\r\n    font-size: 1.2em;\r\n    background: #1B9BB8;\r\n}\r\n\r\ntable .desc {\r\n    text-align: left;\r\n}\r\n\r\ntable .unit {\r\n    background: #DDDDDD;\r\n}\r\n\r\ntable .qty {\r\n    text-align: center;\r\n}\r\n\r\ntable .total {\r\n    background: #1B9BB8;\r\n    color: #FFFFFF;\r\n}\r\n\r\ntable td.unit,\r\ntable td.qty,\r\ntable td.total {\r\n    font-size: 1 em;\r\n}\r\n\r\ntable tbody tr:last-child td {\r\n    border: none;\r\n}\r\n\r\ntable tfoot td {\r\n    padding: 10px;\r\n    font-size: 1.2em;\r\n    background: #FFFFFF;\r\n    border-bottom: none;\r\n    white-space: nowrap;\r\n    border-top: 1px solid #AAAAAA;\r\n}\r\n\r\ntable tfoot .border-none-top {\r\n    border-top: none;\r\n}\r\n\r\ntable tfoot .grand-total {\r\n    padding: 10px 7px;\r\n    color: #1B9BB8;\r\n    font-size: 1.3em;\r\n    border-top: 1px solid #1B9BB8;\r\n    font-weight:bold\r\n}\r\n\r\ntable tfoot .border-none {\r\n    border: none;\r\n}\r\n\r\n#pdf_tag{\r\n    font-size: 1.1em;\r\n    margin: 30px 0px 15px 0px;\r\n}\r\n\r\n#notices{\r\n    padding-left: 6px;\r\n    border-left: 6px solid #1B9BB8;\r\n}\r\n\r\n#notices .notice {\r\n    font-size: 1.2em;\r\n}\r\n\r\n.footer, .footer td {\r\n    background-color:#FFFFFF;\r\n    color: #939598;\r\n    border: none;\r\n    border-top: 1px solid #AAAAAA;\r\n    font-size: 0.9em;\r\n    padding: 10px 0;\r\n}\r\n\r\n.header, .header td {\r\n    background-color:#FFFFFF;\r\n    border: none;\r\n    border-bottom: 1px solid #AAAAAA;\r\n    margin:0px;\r\n    padding:0px;\r\n}\r\n</style>\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-weight: bold;\">خریدار : $QUOTES_ACCOUNT_ID$</span><br />\r\n<span style=\"font-family:nazanin;\">$QUOTES_BILL_STATE$، $QUOTES_BILL_CITY$، $QUOTES_BILL_STREET$، $QUOTES_BILL_CODE$</span></div>\r\n</div>\r\n\r\n<div id=\"pdf_tag\"></div>\r\n\r\n<table border=\"0\" color=\"black\" style=\"font-size:10px;\" width=\"100%\">\r\n	<thead>\r\n		<tr>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9; width:5%\"></th>\r\n			<th style=\"text-align: left;color: white;font-weight: 600;background:#BDB9B9;width:45%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Description%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_List Price%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%;border-right:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Quantity%</strong></span></span></th>\r\n			<th style=\"text-align: center;color: white;font-weight: 600;background:#BDB9B9;width:15%\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"color:#000000;\"><strong>%G_Total%</strong></span></span></th>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_START#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background:#BDB9B9;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTPOSITION$</span></td>\r\n			<td style=\"text-align:left; border-bottom:2px solid white;border-right:2px solid white;\">\r\n			<h3><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTTITLE$</span></h3>\r\n			<span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTEDITDESCRIPTION$</span></td>\r\n			<td style=\"border-right:2px solid white;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTLISTPRICE$ $CURRENCYSYMBOL$</span></td>\r\n			<td style=\"border-right:2px solid white;border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$PRODUCTQUANTITY$</span></td>\r\n			<td style=\"border-bottom:2px solid white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><strong>$PRODUCTSTOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</strong></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\"><span style=\"font-family:nazanin,geneva,sans-serif;\">#PRODUCTBLOC_END#</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"5\" style=\"background:white\"></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Subtotal%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALWITHOUTVAT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_LBL_DISCOUNT%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALDISCOUNT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:1px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Total%</span></td>\r\n			<td style=\"background:#BDB9B9;\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$TOTALAFTERDISCOUNT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white; border-bottom:2px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">%G_Tax% $VATPERCENT$%</span></td>\r\n			<td style=\"background:#BDB9B9;;border-bottom:2px solid #BDB9B9\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$VAT$ $CURRENCYSYMBOL$</span></td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"4\" style=\"background:white;\"><strong>&nbsp;&nbsp;&nbsp;&nbsp; %G_LBL_GRAND_TOTAL%</strong></td>\r\n			<td style=\"background:white\"><span style=\"font-family:nazanin,geneva,sans-serif;\"><span style=\"font-size:12px;\"><strong>$TOTAL$ $CURRENCYSYMBOL$</strong></span></span></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n\r\n<div id=\"details\">\r\n<div id=\"client2\"><span style=\"font-family:nazanin,geneva,sans-serif;\">$QUOTES_TERMS_CONDITIONS$</span></div>\r\n</div>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp;</body>\r\n</html>\r\n','قالب پیش فاکتور',0);

--
-- Table structure for table `vtiger_pdfmaker_breakline`
--

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

--
-- Dumping data for table `vtiger_pdfmaker_breakline`
--


--
-- Table structure for table `vtiger_pdfmaker_ignorepicklistvalues`
--

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

--
-- Dumping data for table `vtiger_pdfmaker_ignorepicklistvalues`
--

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

--
-- Table structure for table `vtiger_pdfmaker_images`
--

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

--
-- Dumping data for table `vtiger_pdfmaker_images`
--

INSERT INTO `vtiger_pdfmaker_images` (`crmid`, `productid`, `sequence`, `attachmentid`, `width`, `height`) VALUES (216,163,1,215,100,0);

--
-- Table structure for table `vtiger_pdfmaker_productbloc_tpl`
--

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

--
-- Dumping data for table `vtiger_pdfmaker_productbloc_tpl`
--

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

--
-- Table structure for table `vtiger_pdfmaker_releases`
--

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

--
-- Dumping data for table `vtiger_pdfmaker_releases`
--

INSERT INTO `vtiger_pdfmaker_releases` (`id`, `version`, `date`, `updated`) VALUES (1,'700.0.4','2018-05-27 12:15:54',1),(2,'700.0.4','2018-05-27 17:58:56',1);

--
-- Table structure for table `vtiger_pdfmaker_seq`
--

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

--
-- Dumping data for table `vtiger_pdfmaker_seq`
--

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

--
-- Table structure for table `vtiger_pdfmaker_settings`
--

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

--
-- Dumping data for table `vtiger_pdfmaker_settings`
--

INSERT INTO `vtiger_pdfmaker_settings` (`templateid`, `margin_top`, `margin_bottom`, `margin_left`, `margin_right`, `format`, `orientation`, `decimals`, `decimal_point`, `thousands_separator`, `header`, `footer`, `encoding`, `file_name`, `is_portal`, `is_listview`, `owner`, `sharingtype`, `disp_header`, `disp_footer`) VALUES (1,2.0,2.0,2.0,2.0,'A4','portrait',0,'.',',','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" dir=\"rtl\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td style=\"text-align: right; vertical-align: top; width: 20%;\"><span width=\"50%\">$COMPANY_LOGO$</span></td>\r\n			<td nowrap=\" nowrap\" valign=\"top\" width=\"60%\" align=center>\r\n			<div style=\"text-align: center;\"><span style=\"font-size:30px;\"><span style=\"font-family: nazanin, tahoma; font-weight: 900; \"><span style=\"color:#222222;\"><span style=\"font-size:24px;\"><strong>$COMPANY_NAME$</strong></span></span></span></span></div>\r\n\r\n			<div style=\"text-align: center;\"><span style=\"font-size:30px;\"><span style=\"font-family: nazanin, tahoma; font-weight: 900; \"><span style=\"color:#222222;\"><span style=\"font-size:24px;\"><span style=\"font-size:18px;\">فاکتور فروش</span></span></span></span></span></div>\r\n			</td>\r\n			<td style=\"white-space: nowrap; text-align: right; vertical-align: top; width: 20%;\"><br />\r\n			<span style=\"font-size:16px;color:#333333;text-align: right;\">شماره فاکتور :&nbsp;$INVOICE_INVOICE_NO$</span><br />\r\n			<span dir=\"rtl\" style=\"font-size:16px;color:#333333;text-align: right;\">تاریخ : <span dir=\"ltr\">&nbsp;$INVOICE_INVOICEDATE$</span></span></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n\r\n<div></div>\r\n\r\n<div></div>\r\n</body>\r\n</html>\r\n','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body></body>\r\n</html>\r\n<title></title>\r\n<p style=\"text-align: center;\"><span style=\"color:#666666;\"><span style=\"font-size: 10px; text-align: center;\">$COMPANY_STATE$، $COMPANY_CITY$</span>،<span style=\"font-size:10px;\"><small>&nbsp;</small>$COMPANY_ADDRESS$،<small>&nbsp;</small>$COMPANY_ZIP$<small>&nbsp;</small></span></span></p>\r\n','auto',NULL,0,0,1,'public',3,7),(2,2.0,2.0,2.0,2.0,'A4','portrait',2,',','','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%SALESORDER_SALESORDER_NO% $SALESORDER_SALESORDER_NO$</span></h1>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p>\r\n</body>\r\n</html>\r\n','auto',NULL,0,0,1,'public',3,7),(3,2.0,2.0,2.0,2.0,'A4','portrait',2,',','','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%PURCHASEORDER_PURCHASEORDER_NO% $PURCHASEORDER_PURCHASEORDER_NO$</span></h1>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body></body>\r\n</html>\r\n<title></title>\r\n<p style=\"text-align: center;\"><span style=\"color:#666666;\"><span style=\"font-size: 10px; text-align: center;\">$COMPANY_STATE$، $COMPANY_CITY$</span>،<span style=\"font-size:10px;\"><small>&nbsp;</small>$COMPANY_ADDRESS$،<small>&nbsp;</small>$COMPANY_ZIP$<small>&nbsp;</small></span></span></p>\r\n','auto',NULL,0,0,1,'public',3,7),(4,2.0,2.0,2.0,2.0,'A4','portrait',2,',','','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" dir=\"rtl\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td style=\"text-align: right; vertical-align: top; width: 20%;\"><span width=\"50%\">$COMPANY_LOGO$</span></td>\r\n			<td align=\"center\" nowrap=\" nowrap\" valign=\"top\" width=\"60%\">\r\n			<div style=\"text-align: center;\"><span style=\"font-size:30px;\"><span style=\"font-family: nazanin, tahoma; font-weight: 900; \"><span style=\"color:#222222;\"><span style=\"font-size:24px;\"><strong>$COMPANY_NAME$</strong></span></span></span></span></div>\r\n\r\n			<div style=\"text-align: center;\"><span style=\"font-size:30px;\"><span style=\"font-family: nazanin, tahoma; font-weight: 900; \"><span style=\"color:#222222;\"><span style=\"font-size:24px;\"><span style=\"font-size:18px;\">پیش فاکتور</span></span></span></span></span></div>\r\n			</td>\r\n			<td style=\"white-space: nowrap; text-align: right; vertical-align: top; width: 20%;\"><br />\r\n			<span dir=\"rtl\" style=\"font-size:16px;color:#333333;text-align: right;\">تاریخ : <span dir=\"ltr\">&nbsp;</span></span>$QUOTES_CREATEDTIME$</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n\r\n<div></div>\r\n\r\n<div></div>\r\n</body>\r\n</html>\r\n','<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body></body>\r\n</html>\r\n<title></title>\r\n<p style=\"text-align: center;\"><span style=\"color:#666666;\"><span style=\"font-size: 10px; text-align: center;\">$COMPANY_STATE$، $COMPANY_CITY$</span>،<span style=\"font-size:10px;\"><small>&nbsp;</small>$COMPANY_ADDRESS$،<small>&nbsp;</small>$COMPANY_ZIP$<small>&nbsp;</small></span></span></p>\r\n','auto',NULL,0,0,1,'public',3,7);

--
-- Table structure for table `vtiger_picklist`
--

CREATE TABLE `vtiger_picklist` (
  `picklistid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL,
  PRIMARY KEY (`picklistid`),
  UNIQUE KEY `picklist_name_idx` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_picklist`
--

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

--
-- Table structure for table `vtiger_picklist_dependency`
--

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

--
-- Dumping data for table `vtiger_picklist_dependency`
--

INSERT INTO `vtiger_picklist_dependency` (`id`, `tabid`, `sourcefield`, `targetfield`, `sourcevalue`, `targetvalues`, `criteria`) VALUES (3,53,'storeinout_tks_producttype','storeinout_tks_productmodel','یخچال فریزر','[\"X4\",\"X3\",\"Combi\"]',NULL),(4,53,'storeinout_tks_producttype','storeinout_tks_productmodel','اجاق گاز','[\"Bergamo\",\"Alvino\"]',NULL),(5,53,'storeinout_tks_producttype','storeinout_tks_productmodel','ماشین لباسشویی','[\"X4814\",\"X4714\"]',NULL),(6,53,'storeinout_tks_producttype','storeinout_tks_productmodel','ماشین ظرفشویی','[\"7209\"]',NULL);

--
-- Table structure for table `vtiger_picklist_dependency_seq`
--

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

--
-- Dumping data for table `vtiger_picklist_dependency_seq`
--

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

--
-- Table structure for table `vtiger_picklist_seq`
--

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

--
-- Dumping data for table `vtiger_picklist_seq`
--

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

--
-- Table structure for table `vtiger_picklist_transitions`
--

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

--
-- Dumping data for table `vtiger_picklist_transitions`
--


--
-- Table structure for table `vtiger_picklistvalues_seq`
--

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

--
-- Dumping data for table `vtiger_picklistvalues_seq`
--

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

--
-- Table structure for table `vtiger_pobillads`
--

CREATE TABLE `vtiger_pobillads` (
  `pobilladdressid` int(19) NOT NULL DEFAULT 0,
  `bill_city` varchar(30) DEFAULT NULL,
  `bill_code` varchar(30) DEFAULT NULL,
  `bill_country` varchar(30) DEFAULT NULL,
  `bill_state` varchar(30) DEFAULT NULL,
  `bill_street` varchar(250) DEFAULT NULL,
  `bill_pobox` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`pobilladdressid`),
  CONSTRAINT `fk_1_vtiger_pobillads` FOREIGN KEY (`pobilladdressid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pobillads`
--


--
-- Table structure for table `vtiger_portal`
--

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

--
-- Dumping data for table `vtiger_portal`
--


--
-- Table structure for table `vtiger_portalinfo`
--

CREATE TABLE `vtiger_portalinfo` (
  `id` int(11) NOT NULL,
  `user_name` varchar(50) DEFAULT NULL,
  `user_password` varchar(255) DEFAULT NULL,
  `type` varchar(5) DEFAULT NULL,
  `cryptmode` varchar(20) DEFAULT NULL,
  `last_login_time` datetime DEFAULT NULL,
  `login_time` datetime DEFAULT NULL,
  `logout_time` datetime DEFAULT NULL,
  `isactive` int(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  CONSTRAINT `fk_1_vtiger_portalinfo` FOREIGN KEY (`id`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_portalinfo`
--


--
-- Table structure for table `vtiger_poshipads`
--

CREATE TABLE `vtiger_poshipads` (
  `poshipaddressid` int(19) NOT NULL DEFAULT 0,
  `ship_city` varchar(30) DEFAULT NULL,
  `ship_code` varchar(30) DEFAULT NULL,
  `ship_country` varchar(30) DEFAULT NULL,
  `ship_state` varchar(30) DEFAULT NULL,
  `ship_street` varchar(250) DEFAULT NULL,
  `ship_pobox` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`poshipaddressid`),
  CONSTRAINT `fk_1_vtiger_poshipads` FOREIGN KEY (`poshipaddressid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_poshipads`
--


--
-- Table structure for table `vtiger_postatus`
--

CREATE TABLE `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,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`postatusid`),
  UNIQUE KEY `postatus_postatus_idx` (`postatus`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_postatus`
--

INSERT INTO `vtiger_postatus` (`postatusid`, `postatus`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES (1,'Created',0,130,0,NULL),(2,'Approved',0,131,1,NULL),(3,'Delivered',0,132,2,NULL),(4,'Cancelled',0,133,3,NULL),(5,'Received Shipment',0,134,4,NULL);

--
-- Table structure for table `vtiger_postatus_seq`
--

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

--
-- Dumping data for table `vtiger_postatus_seq`
--

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

--
-- Table structure for table `vtiger_postatushistory`
--

CREATE TABLE `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`),
  CONSTRAINT `fk_1_vtiger_postatushistory` FOREIGN KEY (`purchaseorderid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_postatushistory`
--


--
-- Table structure for table `vtiger_potential`
--

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

--
-- Dumping data for table `vtiger_potential`
--


--
-- Table structure for table `vtiger_potentialscf`
--

CREATE TABLE `vtiger_potentialscf` (
  `potentialid` int(19) NOT NULL DEFAULT 0,
  PRIMARY KEY (`potentialid`),
  CONSTRAINT `fk_1_vtiger_potentialscf` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_potentialscf`
--


--
-- Table structure for table `vtiger_potstagehistory`
--

CREATE TABLE `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`),
  CONSTRAINT `fk_1_vtiger_potstagehistory` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_potstagehistory`
--


--
-- Table structure for table `vtiger_pricebook`
--

CREATE TABLE `vtiger_pricebook` (
  `pricebookid` int(19) NOT NULL DEFAULT 0,
  `pricebook_no` varchar(100) NOT NULL,
  `bookname` varchar(100) DEFAULT NULL,
  `active` int(1) DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `tags` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`pricebookid`),
  CONSTRAINT `fk_1_vtiger_pricebook` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pricebook`
--


--
-- Table structure for table `vtiger_pricebookcf`
--

CREATE TABLE `vtiger_pricebookcf` (
  `pricebookid` int(19) NOT NULL DEFAULT 0,
  PRIMARY KEY (`pricebookid`),
  CONSTRAINT `fk_1_vtiger_pricebookcf` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_pricebook` (`pricebookid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pricebookcf`
--


--
-- Table structure for table `vtiger_pricebookproductrel`
--

CREATE TABLE `vtiger_pricebookproductrel` (
  `pricebookid` int(19) NOT NULL,
  `productid` int(19) NOT NULL,
  `listprice` decimal(27,8) DEFAULT NULL,
  `usedcurrency` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`pricebookid`,`productid`),
  KEY `pricebookproductrel_pricebookid_idx` (`pricebookid`),
  KEY `pricebookproductrel_productid_idx` (`productid`),
  CONSTRAINT `fk_1_vtiger_pricebookproductrel` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_pricebook` (`pricebookid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_pricebookproductrel`
--


--
-- Table structure for table `vtiger_priority`
--

CREATE TABLE `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=utf8;

--
-- Dumping data for table `vtiger_priority`
--


--
-- Table structure for table `vtiger_productcategory`
--

CREATE TABLE `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,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`productcategoryid`),
  UNIQUE KEY `productcategory_productcategory_idx` (`productcategory`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_productcategory`
--

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

--
-- Table structure for table `vtiger_productcategory_seq`
--

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

--
-- Dumping data for table `vtiger_productcategory_seq`
--

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

--
-- Table structure for table `vtiger_productcf`
--

CREATE TABLE `vtiger_productcf` (
  `productid` int(19) NOT NULL DEFAULT 0,
  PRIMARY KEY (`productid`),
  CONSTRAINT `fk_1_vtiger_productcf` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_productcf`
--


--
-- Table structure for table `vtiger_productcurrencyrel`
--

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

--
-- Dumping data for table `vtiger_productcurrencyrel`
--

INSERT INTO `vtiger_productcurrencyrel` (`productid`, `currencyid`, `converted_price`, `actual_price`) VALUES (23,1,5000000.00000000,5000000.00000000),(39,1,0.00000000,0.00000000),(163,1,450000.00000000,450000.00000000),(219,1,50000.00000000,50000.00000000);

--
-- Table structure for table `vtiger_products`
--

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

--
-- Dumping data for table `vtiger_products`
--


--
-- Table structure for table `vtiger_producttaxrel`
--

CREATE TABLE `vtiger_producttaxrel` (
  `productid` int(11) NOT NULL,
  `taxid` int(3) NOT NULL,
  `taxpercentage` decimal(7,3) DEFAULT NULL,
  `regions` text DEFAULT NULL,
  KEY `producttaxrel_productid_idx` (`productid`),
  KEY `producttaxrel_taxid_idx` (`taxid`),
  CONSTRAINT `fk_crmid_vtiger_producttaxrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_producttaxrel`
--


--
-- Table structure for table `vtiger_profile`
--

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

--
-- Dumping data for table `vtiger_profile`
--

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

--
-- Table structure for table `vtiger_profile2field`
--

CREATE TABLE `vtiger_profile2field` (
  `profileid` int(11) NOT NULL,
  `tabid` int(10) DEFAULT NULL,
  `fieldid` int(19) NOT NULL,
  `visible` int(19) DEFAULT NULL,
  `readonly` int(19) DEFAULT NULL,
  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=utf8;

--
-- Dumping data for table `vtiger_profile2field`
--

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

--
-- Table structure for table `vtiger_profile2globalpermissions`
--

CREATE TABLE `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`),
  CONSTRAINT `fk_1_vtiger_profile2globalpermissions` FOREIGN KEY (`profileid`) REFERENCES `vtiger_profile` (`profileid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- 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`
--

CREATE TABLE `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=utf8;

--
-- 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,2,7,0),(1,4,0,0),(1,4,1,0),(1,4,2,0),(1,4,3,0),(1,4,4,0),(1,4,7,0),(1,6,0,0),(1,6,1,0),(1,6,2,0),(1,6,3,0),(1,6,4,0),(1,6,7,0),(1,7,0,0),(1,7,1,0),(1,7,2,0),(1,7,3,0),(1,7,4,0),(1,7,7,0),(1,8,0,0),(1,8,1,0),(1,8,2,0),(1,8,3,0),(1,8,4,0),(1,8,7,0),(1,9,0,0),(1,9,1,0),(1,9,2,0),(1,9,3,0),(1,9,4,0),(1,9,7,0),(1,13,0,0),(1,13,1,0),(1,13,2,0),(1,13,3,0),(1,13,4,0),(1,13,7,0),(1,14,0,0),(1,14,1,0),(1,14,2,0),(1,14,3,0),(1,14,4,0),(1,14,7,0),(1,15,0,0),(1,15,1,0),(1,15,2,0),(1,15,3,0),(1,15,4,0),(1,15,7,0),(1,16,0,0),(1,16,1,0),(1,16,2,0),(1,16,3,0),(1,16,4,0),(1,16,7,0),(1,18,0,0),(1,18,1,0),(1,18,2,0),(1,18,3,0),(1,18,4,0),(1,18,7,0),(1,19,0,0),(1,19,1,0),(1,19,2,0),(1,19,3,0),(1,19,4,0),(1,19,7,0),(1,20,0,0),(1,20,1,0),(1,20,2,0),(1,20,3,0),(1,20,4,0),(1,20,7,0),(1,21,0,0),(1,21,1,0),(1,21,2,0),(1,21,3,0),(1,21,4,0),(1,21,7,0),(1,22,0,0),(1,22,1,0),(1,22,2,0),(1,22,3,0),(1,22,4,0),(1,22,7,0),(1,23,0,0),(1,23,1,0),(1,23,2,0),(1,23,3,0),(1,23,4,0),(1,23,7,0),(1,25,0,1),(1,25,1,1),(1,25,2,1),(1,25,3,0),(1,25,4,0),(1,25,7,1),(1,26,0,0),(1,26,1,0),(1,26,2,0),(1,26,3,0),(1,26,4,0),(1,26,7,0),(1,34,0,0),(1,34,1,0),(1,34,2,0),(1,34,3,0),(1,34,4,0),(1,34,7,0),(1,35,0,0),(1,35,1,0),(1,35,2,0),(1,35,3,0),(1,35,4,0),(1,35,7,0),(1,36,0,0),(1,36,1,0),(1,36,2,0),(1,36,3,0),(1,36,4,0),(1,36,7,0),(1,38,0,0),(1,38,1,0),(1,38,2,0),(1,38,3,0),(1,38,4,0),(1,38,7,0),(1,42,0,0),(1,42,1,0),(1,42,2,0),(1,42,3,0),(1,42,4,0),(1,42,7,0),(1,43,0,0),(1,43,1,0),(1,43,2,0),(1,43,3,0),(1,43,4,0),(1,43,7,0),(1,44,0,0),(1,44,1,0),(1,44,2,0),(1,44,3,0),(1,44,4,0),(1,44,7,0),(1,45,0,0),(1,45,1,0),(1,45,2,0),(1,45,3,0),(1,45,4,0),(1,45,7,0),(1,47,0,0),(1,47,1,0),(1,47,2,0),(1,47,3,0),(1,47,4,0),(1,47,7,0),(2,2,0,0),(2,2,1,0),(2,2,2,0),(2,2,3,0),(2,2,4,0),(2,2,7,0),(2,4,0,0),(2,4,1,0),(2,4,2,0),(2,4,3,0),(2,4,4,0),(2,4,7,0),(2,6,0,0),(2,6,1,0),(2,6,2,0),(2,6,3,0),(2,6,4,0),(2,6,7,0),(2,7,0,0),(2,7,1,0),(2,7,2,0),(2,7,3,0),(2,7,4,0),(2,7,7,0),(2,8,0,0),(2,8,1,0),(2,8,2,0),(2,8,3,0),(2,8,4,0),(2,8,7,0),(2,9,0,0),(2,9,1,0),(2,9,2,0),(2,9,3,0),(2,9,4,0),(2,9,7,0),(2,13,0,1),(2,13,1,1),(2,13,2,1),(2,13,3,0),(2,13,4,0),(2,13,7,1),(2,14,0,0),(2,14,1,0),(2,14,2,0),(2,14,3,0),(2,14,4,0),(2,14,7,0),(2,15,0,0),(2,15,1,0),(2,15,2,0),(2,15,3,0),(2,15,4,0),(2,15,7,0),(2,16,0,0),(2,16,1,0),(2,16,2,0),(2,16,3,0),(2,16,4,0),(2,16,7,0),(2,18,0,0),(2,18,1,0),(2,18,2,0),(2,18,3,0),(2,18,4,0),(2,18,7,0),(2,19,0,0),(2,19,1,0),(2,19,2,0),(2,19,3,0),(2,19,4,0),(2,19,7,0),(2,20,0,0),(2,20,1,0),(2,20,2,0),(2,20,3,0),(2,20,4,0),(2,20,7,0),(2,21,0,0),(2,21,1,0),(2,21,2,0),(2,21,3,0),(2,21,4,0),(2,21,7,0),(2,22,0,0),(2,22,1,0),(2,22,2,0),(2,22,3,0),(2,22,4,0),(2,22,7,0),(2,23,0,0),(2,23,1,0),(2,23,2,0),(2,23,3,0),(2,23,4,0),(2,23,7,0),(2,25,0,1),(2,25,1,1),(2,25,2,1),(2,25,3,0),(2,25,4,0),(2,25,7,1),(2,26,0,0),(2,26,1,0),(2,26,2,0),(2,26,3,0),(2,26,4,0),(2,26,7,0),(2,34,0,0),(2,34,1,0),(2,34,2,0),(2,34,3,0),(2,34,4,0),(2,34,7,0),(2,35,0,0),(2,35,1,0),(2,35,2,0),(2,35,3,0),(2,35,4,0),(2,35,7,0),(2,36,0,0),(2,36,1,0),(2,36,2,0),(2,36,3,0),(2,36,4,0),(2,36,7,0),(2,38,0,0),(2,38,1,0),(2,38,2,0),(2,38,3,0),(2,38,4,0),(2,38,7,0),(2,42,0,0),(2,42,1,0),(2,42,2,0),(2,42,3,0),(2,42,4,0),(2,42,7,0),(2,43,0,0),(2,43,1,0),(2,43,2,0),(2,43,3,0),(2,43,4,0),(2,43,7,0),(2,44,0,0),(2,44,1,0),(2,44,2,0),(2,44,3,0),(2,44,4,0),(2,44,7,0),(2,45,0,0),(2,45,1,0),(2,45,2,0),(2,45,3,0),(2,45,4,0),(2,45,7,0),(2,47,0,0),(2,47,1,0),(2,47,2,0),(2,47,3,0),(2,47,4,0),(2,47,7,0),(3,2,0,1),(3,2,1,1),(3,2,2,1),(3,2,3,0),(3,2,4,0),(3,2,7,1),(3,4,0,0),(3,4,1,0),(3,4,2,0),(3,4,3,0),(3,4,4,0),(3,4,7,0),(3,6,0,0),(3,6,1,0),(3,6,2,0),(3,6,3,0),(3,6,4,0),(3,6,7,0),(3,7,0,0),(3,7,1,0),(3,7,2,0),(3,7,3,0),(3,7,4,0),(3,7,7,0),(3,8,0,0),(3,8,1,0),(3,8,2,0),(3,8,3,0),(3,8,4,0),(3,8,7,0),(3,9,0,0),(3,9,1,0),(3,9,2,0),(3,9,3,0),(3,9,4,0),(3,9,7,0),(3,13,0,0),(3,13,1,0),(3,13,2,0),(3,13,3,0),(3,13,4,0),(3,13,7,0),(3,14,0,0),(3,14,1,0),(3,14,2,0),(3,14,3,0),(3,14,4,0),(3,14,7,0),(3,15,0,0),(3,15,1,0),(3,15,2,0),(3,15,3,0),(3,15,4,0),(3,15,7,0),(3,16,0,0),(3,16,1,0),(3,16,2,0),(3,16,3,0),(3,16,4,0),(3,16,7,0),(3,18,0,0),(3,18,1,0),(3,18,2,0),(3,18,3,0),(3,18,4,0),(3,18,7,0),(3,19,0,0),(3,19,1,0),(3,19,2,0),(3,19,3,0),(3,19,4,0),(3,19,7,0),(3,20,0,0),(3,20,1,0),(3,20,2,0),(3,20,3,0),(3,20,4,0),(3,20,7,0),(3,21,0,0),(3,21,1,0),(3,21,2,0),(3,21,3,0),(3,21,4,0),(3,21,7,0),(3,22,0,0),(3,22,1,0),(3,22,2,0),(3,22,3,0),(3,22,4,0),(3,22,7,0),(3,23,0,0),(3,23,1,0),(3,23,2,0),(3,23,3,0),(3,23,4,0),(3,23,7,0),(3,25,0,1),(3,25,1,1),(3,25,2,1),(3,25,3,0),(3,25,4,0),(3,25,7,1),(3,26,0,0),(3,26,1,0),(3,26,2,0),(3,26,3,0),(3,26,4,0),(3,26,7,0),(3,34,0,0),(3,34,1,0),(3,34,2,0),(3,34,3,0),(3,34,4,0),(3,34,7,0),(3,35,0,0),(3,35,1,0),(3,35,2,0),(3,35,3,0),(3,35,4,0),(3,35,7,0),(3,36,0,0),(3,36,1,0),(3,36,2,0),(3,36,3,0),(3,36,4,0),(3,36,7,0),(3,38,0,0),(3,38,1,0),(3,38,2,0),(3,38,3,0),(3,38,4,0),(3,38,7,0),(3,42,0,0),(3,42,1,0),(3,42,2,0),(3,42,3,0),(3,42,4,0),(3,42,7,0),(3,43,0,0),(3,43,1,0),(3,43,2,0),(3,43,3,0),(3,43,4,0),(3,43,7,0),(3,44,0,0),(3,44,1,0),(3,44,2,0),(3,44,3,0),(3,44,4,0),(3,44,7,0),(3,45,0,0),(3,45,1,0),(3,45,2,0),(3,45,3,0),(3,45,4,0),(3,45,7,0),(3,47,0,0),(3,47,1,0),(3,47,2,0),(3,47,3,0),(3,47,4,0),(3,47,7,0),(4,2,0,1),(4,2,1,1),(4,2,2,1),(4,2,3,0),(4,2,4,0),(4,2,7,1),(4,4,0,1),(4,4,1,1),(4,4,2,1),(4,4,3,0),(4,4,4,0),(4,4,7,1),(4,6,0,1),(4,6,1,1),(4,6,2,1),(4,6,3,0),(4,6,4,0),(4,6,7,1),(4,7,0,1),(4,7,1,1),(4,7,2,1),(4,7,3,0),(4,7,4,0),(4,7,7,1),(4,8,0,1),(4,8,1,1),(4,8,2,1),(4,8,3,0),(4,8,4,0),(4,8,7,1),(4,9,0,1),(4,9,1,1),(4,9,2,1),(4,9,3,0),(4,9,4,0),(4,9,7,1),(4,13,0,1),(4,13,1,1),(4,13,2,1),(4,13,3,0),(4,13,4,0),(4,13,7,1),(4,14,0,1),(4,14,1,1),(4,14,2,1),(4,14,3,0),(4,14,4,0),(4,14,7,1),(4,15,0,1),(4,15,1,1),(4,15,2,1),(4,15,3,0),(4,15,4,0),(4,15,7,1),(4,16,0,1),(4,16,1,1),(4,16,2,1),(4,16,3,0),(4,16,4,0),(4,16,7,1),(4,18,0,1),(4,18,1,1),(4,18,2,1),(4,18,3,0),(4,18,4,0),(4,18,7,1),(4,19,0,1),(4,19,1,1),(4,19,2,1),(4,19,3,0),(4,19,4,0),(4,19,7,1),(4,20,0,1),(4,20,1,1),(4,20,2,1),(4,20,3,0),(4,20,4,0),(4,20,7,1),(4,21,0,1),(4,21,1,1),(4,21,2,1),(4,21,3,0),(4,21,4,0),(4,21,7,1),(4,22,0,1),(4,22,1,1),(4,22,2,1),(4,22,3,0),(4,22,4,0),(4,22,7,1),(4,23,0,1),(4,23,1,1),(4,23,2,1),(4,23,3,0),(4,23,4,0),(4,23,7,1),(4,25,0,1),(4,25,1,1),(4,25,2,1),(4,25,3,0),(4,25,4,0),(4,25,7,1),(4,26,0,1),(4,26,1,1),(4,26,2,1),(4,26,3,0),(4,26,4,0),(4,26,7,1),(4,34,0,0),(4,34,1,0),(4,34,2,0),(4,34,3,0),(4,34,4,0),(4,34,7,0),(4,35,0,0),(4,35,1,0),(4,35,2,0),(4,35,3,0),(4,35,4,0),(4,35,7,0),(4,36,0,0),(4,36,1,0),(4,36,2,0),(4,36,3,0),(4,36,4,0),(4,36,7,0),(4,38,0,0),(4,38,1,0),(4,38,2,0),(4,38,3,0),(4,38,4,0),(4,38,7,0),(4,42,0,0),(4,42,1,0),(4,42,2,0),(4,42,3,0),(4,42,4,0),(4,42,7,0),(4,43,0,0),(4,43,1,0),(4,43,2,0),(4,43,3,0),(4,43,4,0),(4,43,7,0),(4,44,0,0),(4,44,1,0),(4,44,2,0),(4,44,3,0),(4,44,4,0),(4,44,7,0),(4,45,0,0),(4,45,1,0),(4,45,2,0),(4,45,3,0),(4,45,4,0),(4,45,7,0),(4,47,0,0),(4,47,1,0),(4,47,2,0),(4,47,3,0),(4,47,4,0),(4,47,7,0);

--
-- Table structure for table `vtiger_profile2tab`
--

CREATE TABLE `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=utf8;

--
-- 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),(1,30,0),(2,30,0),(3,30,0),(4,30,0),(1,31,0),(2,31,0),(3,31,0),(4,31,0),(1,32,0),(2,32,0),(3,32,0),(4,32,0),(1,33,0),(2,33,0),(3,33,0),(4,33,0),(1,34,0),(2,34,0),(3,34,0),(4,34,0),(1,35,0),(2,35,0),(3,35,0),(4,35,0),(1,36,0),(2,36,0),(3,36,0),(4,36,0),(1,37,0),(2,37,0),(3,37,0),(4,37,0),(1,38,0),(2,38,0),(3,38,0),(4,38,0),(1,39,0),(2,39,0),(3,39,0),(4,39,0),(1,40,0),(2,40,0),(3,40,0),(4,40,0),(1,41,0),(2,41,0),(3,41,0),(4,41,0),(1,42,0),(2,42,0),(3,42,0),(4,42,0),(1,43,0),(2,43,0),(3,43,0),(4,43,0),(1,44,0),(2,44,0),(3,44,0),(4,44,0),(1,45,0),(2,45,0),(3,45,0),(4,45,0),(1,46,0),(2,46,0),(3,46,0),(4,46,0),(1,47,0),(2,47,0),(3,47,0),(4,47,0),(1,48,0),(2,48,0),(3,48,0),(4,48,0),(1,49,0),(2,49,0),(3,49,0),(4,49,0),(1,50,0),(2,50,0),(3,50,0),(4,50,0);

--
-- Table structure for table `vtiger_profile2utility`
--

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

--
-- Dumping data for table `vtiger_profile2utility`
--

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

--
-- Table structure for table `vtiger_profile_seq`
--

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

--
-- Dumping data for table `vtiger_profile_seq`
--

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

--
-- Table structure for table `vtiger_progress`
--

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

--
-- Dumping data for table `vtiger_progress`
--

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

--
-- Table structure for table `vtiger_progress_seq`
--

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

--
-- Dumping data for table `vtiger_progress_seq`
--

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

--
-- Table structure for table `vtiger_project`
--

CREATE TABLE `vtiger_project` (
  `projectid` int(19) NOT NULL,
  `projectname` varchar(255) DEFAULT NULL,
  `project_no` varchar(100) DEFAULT NULL,
  `startdate` date DEFAULT NULL,
  `targetenddate` date DEFAULT NULL,
  `actualenddate` date DEFAULT NULL,
  `targetbudget` varchar(255) DEFAULT NULL,
  `projecturl` varchar(255) DEFAULT NULL,
  `projectstatus` varchar(100) DEFAULT NULL,
  `projectpriority` varchar(100) DEFAULT NULL,
  `projecttype` varchar(100) DEFAULT NULL,
  `progress` varchar(100) DEFAULT NULL,
  `linktoaccountscontacts` varchar(100) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `isconvertedfrompotential` int(1) NOT NULL DEFAULT 0,
  `potentialid` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`projectid`),
  CONSTRAINT `fk_crmid_vtiger_project` FOREIGN KEY (`projectid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_project`
--


--
-- Table structure for table `vtiger_projectcf`
--

CREATE TABLE `vtiger_projectcf` (
  `projectid` int(11) NOT NULL,
  PRIMARY KEY (`projectid`),
  CONSTRAINT `fk_projectid_vtiger_projectcf` FOREIGN KEY (`projectid`) REFERENCES `vtiger_project` (`projectid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_projectcf`
--


--
-- Table structure for table `vtiger_projectmilestone`
--

CREATE TABLE `vtiger_projectmilestone` (
  `projectmilestoneid` int(11) NOT NULL,
  `projectmilestonename` varchar(255) DEFAULT NULL,
  `projectmilestone_no` varchar(100) DEFAULT NULL,
  `projectmilestonedate` varchar(255) DEFAULT NULL,
  `projectid` varchar(100) DEFAULT NULL,
  `projectmilestonetype` varchar(100) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`projectmilestoneid`),
  CONSTRAINT `fk_crmid_vtiger_projectmilestone` FOREIGN KEY (`projectmilestoneid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_projectmilestone`
--


--
-- Table structure for table `vtiger_projectmilestonecf`
--

CREATE TABLE `vtiger_projectmilestonecf` (
  `projectmilestoneid` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`projectmilestoneid`),
  CONSTRAINT `fk_projectmilestoneid_vtiger_projectmilestonecf` FOREIGN KEY (`projectmilestoneid`) REFERENCES `vtiger_projectmilestone` (`projectmilestoneid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vtiger_projectmilestonecf`
--


--
-- Table structure for table `vtiger_projectmilestonetype`
--

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

--
-- Dumping data for table `vtiger_projectmilestonetype`
--

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

--
-- Table structure for table `vtiger_projectmilestonetype_seq`
--

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

--
-- Dumping data for table `vtiger_projectmilestonetype_seq`
--

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

--
