-- Table structure for table `vtiger_customview_seq`
--

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

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

INSERT INTO `vtiger_customview_seq` VALUES (83);

--
-- Table structure for table `vtiger_cv2group`
--

CREATE TABLE `vtiger_cv2group` (
  `cvid` int(25) NOT NULL,
  `groupid` int(25) NOT NULL,
  KEY `vtiger_cv2group_ibfk_1` (`cvid`),
  KEY `vtiger_groups_ibfk_1` (`groupid`),
  CONSTRAINT `vtiger_customview_ibfk_2` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  CONSTRAINT `vtiger_groups_ibfk_1` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_cv2group`
--


--
-- Table structure for table `vtiger_cv2role`
--

CREATE TABLE `vtiger_cv2role` (
  `cvid` int(25) NOT NULL,
  `roleid` varchar(255) NOT NULL,
  KEY `vtiger_cv2role_ibfk_1` (`cvid`),
  KEY `vtiger_role_ibfk_1` (`roleid`),
  CONSTRAINT `vtiger_customview_ibfk_3` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  CONSTRAINT `vtiger_role_ibfk_1` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_cv2role`
--


--
-- Table structure for table `vtiger_cv2rs`
--

CREATE TABLE `vtiger_cv2rs` (
  `cvid` int(25) NOT NULL,
  `rsid` varchar(255) NOT NULL,
  KEY `vtiger_cv2role_ibfk_1` (`cvid`),
  KEY `vtiger_rolesd_ibfk_1` (`rsid`),
  CONSTRAINT `vtiger_customview_ibfk_4` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  CONSTRAINT `vtiger_rolesd_ibfk_1` FOREIGN KEY (`rsid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_cv2rs`
--


--
-- Table structure for table `vtiger_cv2users`
--

CREATE TABLE `vtiger_cv2users` (
  `cvid` int(25) NOT NULL,
  `userid` int(25) NOT NULL,
  KEY `vtiger_cv2users_ibfk_1` (`cvid`),
  KEY `vtiger_users_ibfk_1` (`userid`),
  CONSTRAINT `vtiger_customview_ibfk_1` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  CONSTRAINT `vtiger_users_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_cv2users`
--


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

CREATE TABLE `vtiger_cvadvfilter` (
  `cvid` int(19) NOT NULL,
  `columnindex` int(11) NOT NULL,
  `columnname` varchar(250) DEFAULT '',
  `comparator` varchar(20) DEFAULT NULL,
  `value` varchar(512) DEFAULT NULL,
  `groupid` int(11) DEFAULT 1,
  `column_condition` varchar(255) DEFAULT 'and',
  PRIMARY KEY (`cvid`,`columnindex`),
  KEY `cvadvfilter_cvid_idx` (`cvid`),
  CONSTRAINT `fk_1_vtiger_cvadvfilter` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_cvadvfilter` VALUES (67,0,'vtiger_ctwhatsapp:whatsapp_contactid:whatsapp_contactid:CTWhatsApp_Related_To:V','Y','',1,'and'),(68,0,'vtiger_ctwhatsapp:whatsapp_datetime:whatsapp_datetime:CTWhatsApp_Date_Time_of_message:DT','TODAY','2021-05-03 18:30:00',1,'and'),(69,0,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V','e','',1,'and'),(70,0,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V','e','Send,Recieved,Mass Message,Message,Group,WhatsApp',1,'and'),(70,1,'vtiger_ctwhatsapp:whatsapp_datetime:whatsapp_datetime:CTWhatsApp_Date_Time_of_message:DT','e','2022-02-22 18:30:00',1,'and'),(71,0,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V','e','Recieved',1,'and'),(71,1,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V','e','Unread',1,'and'),(72,1,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V','n','Mass Message',1,'and'),(73,0,'vtiger_ctwhatsapp:whatsapp_chatid:whatsapp_chatid:CTWhatsApp_WhatsApp_ChatId:V','n','',1,'and'),(78,0,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V','n','Registrada,Pagado',1,''),(79,0,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V','n','Pagado',1,''),(79,1,'vtiger_cobranzas:lb_fechadevencimiento:lb_fechadevencimiento:Cobranzas_Fecha_de_Vencimiento:D','today','2024-07-08',2,'or'),(79,2,'vtiger_cobranzas:lb_fechacompromisopa:lb_fechacompromisopa:Cobranzas_Fecha_de_Compromiso_de_Pago	:D','today','2024-07-08',2,''),(80,0,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V','e','En Seguimiento',1,''),(81,0,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V','e','Con Compromiso de Pago',1,'and'),(81,1,'vtiger_cobranzas:lb_fechacompromisopa:lb_fechacompromisopa:Cobranzas_Fecha_de_Compromiso_de_Pago	:D','today','2024-08-09',1,''),(82,0,'vtiger_contactscf:cf_953:cf_953:Contacts_Clasificación:V','e','Black',1,''),(83,0,'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V','e','Negociacion',1,'');

--
-- Table structure for table `vtiger_cvadvfilter_grouping`
--

CREATE TABLE `vtiger_cvadvfilter_grouping` (
  `groupid` int(11) NOT NULL,
  `cvid` int(19) NOT NULL,
  `group_condition` varchar(255) DEFAULT NULL,
  `condition_expression` text DEFAULT NULL,
  PRIMARY KEY (`groupid`,`cvid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_cvadvfilter_grouping`
--

INSERT INTO `vtiger_cvadvfilter_grouping` VALUES (1,2,'',''),(1,5,'',''),(1,11,'',''),(1,12,'',''),(1,14,'',''),(1,15,'',''),(1,17,'',''),(1,18,'',''),(1,31,'',''),(1,32,'',''),(1,33,'',''),(1,34,'',''),(1,35,'',''),(1,36,'',''),(1,37,'',''),(1,78,'and',' 0 '),(1,79,'and',' 0 '),(1,80,'and',' 0 '),(1,81,'and',' 0 and 1 '),(1,82,'and',' 0 '),(1,83,'and',' 0 '),(2,79,NULL,' 1 or 2 ');

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

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

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

INSERT INTO `vtiger_cvcolumnlist` VALUES (1,1,'vtiger_leaddetails:firstname:firstname:Leads_First_Name:V'),(1,2,'vtiger_leaddetails:lastname:lastname:Leads_Last_Name:V'),(1,3,'vtiger_leaddetails:company:company:Leads_Company:V'),(1,4,'vtiger_leadaddress:phone:phone:Leads_Phone:V'),(1,5,'vtiger_leadsubdetails:website:website:Leads_Website:V'),(1,6,'vtiger_leaddetails:email:email:Leads_Email:V'),(1,7,'vtiger_crmentity:smownerid:assigned_user_id:Leads_Assigned_To:V'),(4,0,'vtiger_account:accountname:accountname:Accounts_Account_Name:V'),(4,1,'vtiger_account:siccode:siccode:Accounts_SIC_Code:V'),(4,2,'vtiger_account:phone:phone:Accounts_Phone:V'),(4,3,'vtiger_account:email1:email1:Accounts_Email:V'),(4,4,'vtiger_crmentity:smownerid:assigned_user_id:Accounts_Assigned_To:V'),(4,5,'vtiger_accountbillads:bill_city:bill_city:Accounts_Billing_City:V'),(4,6,'vtiger_account:website:website:Accounts_Website:V'),(7,0,'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V'),(7,1,'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V'),(7,2,'vtiger_contactdetails:lb_dnicontact:lb_dnicontact:Contacts_DNI:V'),(7,3,'vtiger_contactdetails:lb_whatsappcontact:lb_whatsappcontact:Contacts_WhatsApp:V'),(7,4,'vtiger_contactdetails:mobile:mobile:Contacts_Mobile:V'),(7,5,'vtiger_contactdetails:email:email:Contacts_Email:V'),(7,6,'vtiger_crmentity:smownerid:assigned_user_id:Contacts_Assigned_To:V'),(10,1,'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V'),(10,2,'vtiger_potential:related_to:related_to:Potentials_Related_To:V'),(10,3,'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V'),(10,4,'vtiger_potential:leadsource:leadsource:Potentials_Lead_Source:V'),(10,5,'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D'),(10,6,'vtiger_potential:amount:amount:Potentials_Amount:N'),(10,7,'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V'),(10,8,'vtiger_potential:contact_id:contact_id:Potentials_Contact_Name:V'),(13,1,'vtiger_troubletickets:title:ticket_title:HelpDesk_Title:V'),(13,2,'vtiger_troubletickets:parent_id:parent_id:HelpDesk_Related_To:V'),(13,3,'vtiger_troubletickets:status:ticketstatus:HelpDesk_Status:V'),(13,4,'vtiger_troubletickets:priority:ticketpriorities:HelpDesk_Priority:V'),(13,5,'vtiger_crmentity:smownerid:assigned_user_id:HelpDesk_Assigned_To:V'),(13,6,'vtiger_troubletickets:contact_id:contact_id:HelpDesk_Contact_Name:V'),(16,1,'vtiger_quotes:subject:subject:Quotes_Subject:V'),(16,2,'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V'),(16,3,'vtiger_quotes:potentialid:potential_id:Quotes_Potential_Name:V'),(16,4,'vtiger_quotes:accountid:account_id:Quotes_Account_Name:V'),(16,5,'vtiger_quotes:total:hdnGrandTotal:Quotes_Total:N'),(16,6,'vtiger_crmentity:smownerid:assigned_user_id:Quotes_Assigned_To:V'),(19,0,'vtiger_activity:status:taskstatus:Calendar_Status:V'),(19,1,'vtiger_activity:activitytype:activitytype:Calendar_Activity_Type:V'),(19,2,'vtiger_activity:subject:subject:Calendar_Subject:V'),(19,3,'vtiger_seactivityrel:crmid:parent_id:Calendar_Related_To:V'),(19,4,'vtiger_activity:date_start:date_start:Calendar_Start_Date_&_Time:DT'),(19,5,'vtiger_activity:due_date:due_date:Calendar_Due_Date:D'),(19,6,'vtiger_crmentity:smownerid:assigned_user_id:Calendar_Assigned_To:V'),(20,0,'vtiger_activity:subject:subject:Emails_Subject:V'),(20,1,'vtiger_emaildetails:to_email:saved_toid:Emails_To:V'),(20,2,'vtiger_activity:date_start:date_start:Emails_Date_&_Time_Sent:DT'),(21,1,'vtiger_invoice:subject:subject:Invoice_Subject:V'),(21,2,'vtiger_invoice:salesorderid:salesorder_id:Invoice_Sales_Order:V'),(21,3,'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V'),(21,4,'vtiger_invoice:total:hdnGrandTotal:Invoice_Total:N'),(21,5,'vtiger_crmentity:smownerid:assigned_user_id:Invoice_Assigned_To:V'),(22,1,'vtiger_notes:title:notes_title:Documents_Title:V'),(22,2,'vtiger_notes:filename:filename:Documents_File_Name:V'),(22,3,'vtiger_crmentity:modifiedtime:modifiedtime:Documents_Modified_Time:DT'),(22,4,'vtiger_crmentity:smownerid:assigned_user_id:Documents_Assigned_To:V'),(23,1,'vtiger_pricebook:bookname:bookname:PriceBooks_Price_Book_Name:V'),(23,2,'vtiger_pricebook:active:active:PriceBooks_Active:C'),(23,3,'vtiger_pricebook:currency_id:currency_id:PriceBooks_Currency:V'),(24,1,'vtiger_products:productname:productname:Products_Product_Name:V'),(24,2,'vtiger_products:productcode:productcode:Products_Part_Number:V'),(24,3,'vtiger_products:commissionrate:commissionrate:Products_Commission_Rate:N'),(24,4,'vtiger_products:qtyinstock:qtyinstock:Products_Qty_In_Stock:NN'),(24,5,'vtiger_products:qty_per_unit:qty_per_unit:Products_Qty/Unit:N'),(24,6,'vtiger_products:unit_price:unit_price:Products_Unit_Price:N'),(25,1,'vtiger_purchaseorder:subject:subject:PurchaseOrder_Subject:V'),(25,2,'vtiger_purchaseorder:vendorid:vendor_id:PurchaseOrder_Vendor_Name:V'),(25,3,'vtiger_purchaseorder:tracking_no:tracking_no:PurchaseOrder_Tracking_Number:V'),(25,4,'vtiger_purchaseorder:total:hdnGrandTotal:PurchaseOrder_Total:N'),(25,5,'vtiger_crmentity:smownerid:assigned_user_id:PurchaseOrder_Assigned_To:V'),(26,1,'vtiger_salesorder:subject:subject:SalesOrder_Subject:V'),(26,2,'vtiger_salesorder:accountid:account_id:SalesOrder_Account_Name:V'),(26,3,'vtiger_salesorder:quoteid:quote_id:SalesOrder_Quote_Name:V'),(26,4,'vtiger_salesorder:total:hdnGrandTotal:SalesOrder_Total:N'),(26,5,'vtiger_crmentity:smownerid:assigned_user_id:SalesOrder_Assigned_To:V'),(27,1,'vtiger_vendor:vendorname:vendorname:Vendors_Vendor_Name:V'),(27,2,'vtiger_vendor:phone:phone:Vendors_Phone:V'),(27,3,'vtiger_vendor:email:email:Vendors_Email:V'),(27,4,'vtiger_vendor:category:category:Vendors_Category:V'),(27,5,'vtiger_crmentity:smownerid:assigned_user_id:Vendors_Assigned_To:V'),(28,1,'vtiger_faq:question:question:Faq_Question:V'),(28,2,'vtiger_faq:category:faqcategories:Faq_Category:V'),(28,3,'vtiger_faq:product_id:product_id:Faq_Product_Name:V'),(28,4,'vtiger_crmentity:createdtime:createdtime:Faq_Created_Time:DT'),(28,5,'vtiger_crmentity:modifiedtime:modifiedtime:Faq_Modified_Time:DT'),(29,1,'vtiger_campaign:campaignname:campaignname:Campaigns_Campaign_Name:V'),(29,2,'vtiger_campaign:campaigntype:campaigntype:Campaigns_Campaign_Type:V'),(29,3,'vtiger_campaign:campaignstatus:campaignstatus:Campaigns_Campaign_Status:V'),(29,4,'vtiger_campaign:expectedrevenue:expectedrevenue:Campaigns_Expected_Revenue:N'),(29,5,'vtiger_campaign:closingdate:closingdate:Campaigns_Expected_Close_Date:D'),(29,6,'vtiger_crmentity:smownerid:assigned_user_id:Campaigns_Assigned_To:V'),(30,0,'subject:subject:subject:Subject:V'),(30,1,'from:fromname:fromname:From:N'),(30,2,'to:tpname:toname:To:N'),(30,3,'body:body:body:Body:V'),(38,1,'vtiger_servicecontracts:subject:subject:ServiceContracts_Subject:V'),(38,2,'vtiger_servicecontracts:sc_related_to:sc_related_to:ServiceContracts_Related_to:V'),(38,3,'vtiger_crmentity:smownerid:assigned_user_id:ServiceContracts_Assigned_To:V'),(38,4,'vtiger_servicecontracts:start_date:start_date:ServiceContracts_Start_Date:D'),(38,5,'vtiger_servicecontracts:due_date:due_date:ServiceContracts_Due_date:D'),(38,7,'vtiger_servicecontracts:progress:progress:ServiceContracts_Progress:N'),(38,8,'vtiger_servicecontracts:contract_status:contract_status:ServiceContracts_Status:V'),(39,1,'vtiger_service:servicename:servicename:Services_Service_Name:V'),(39,2,'vtiger_service:service_usageunit:service_usageunit:Services_Usage_Unit:V'),(39,3,'vtiger_service:unit_price:unit_price:Services_Price:N'),(39,4,'vtiger_service:qty_per_unit:qty_per_unit:Services_No_of_Units:N'),(39,5,'vtiger_service:servicecategory:servicecategory:Services_Service_Category:V'),(39,6,'vtiger_crmentity:smownerid:assigned_user_id:Services_Owner:I'),(40,0,'vtiger_pbxmanager:callstatus:callstatus:PBXManager_Call_Status:V'),(40,1,'vtiger_pbxmanager:customernumber:customernumber:PBXManager_Customer_Number:V'),(40,2,'vtiger_pbxmanager:customer:customer:PBXManager_Customer:V'),(40,3,'vtiger_pbxmanager:user:user:PBXManager_User:V'),(40,4,'vtiger_pbxmanager:recordingurl:recordingurl:PBXManager_Recording_URL:V'),(40,5,'vtiger_pbxmanager:totalduration:totalduration:PBXManager_Total_Duration:I'),(40,6,'vtiger_pbxmanager:starttime:starttime:PBXManager_Start_Time:DT'),(41,0,'vtiger_modcomments:commentcontent:commentcontent:ModComments_Comment:V'),(41,1,'vtiger_modcomments:related_to:related_to:ModComments_Related_To:V'),(41,2,'vtiger_crmentity:modifiedtime:modifiedtime:ModComments_Modified_Time:DT'),(41,3,'vtiger_crmentity:smownerid:assigned_user_id:ModComments_Assigned_To:V'),(45,1,'vtiger_assets:assetname:assetname:Assets_Asset_Name:V'),(45,2,'vtiger_assets:account:account:Assets_Customer_Name:V'),(45,3,'vtiger_assets:product:product:Assets_Product_Name:V'),(46,0,'vtiger_smsnotifier:message:message:SMSNotifier_message:V'),(46,2,'vtiger_crmentity:smownerid:assigned_user_id:SMSNotifier_Assigned_To:V'),(46,3,'vtiger_crmentity:createdtime:createdtime:SMSNotifier_Created_Time:DT'),(46,4,'vtiger_crmentity:modifiedtime:modifiedtime:SMSNotifier_Modified_Time:DT'),(47,0,'vtiger_projectmilestone:projectmilestonename:projectmilestonename:ProjectMilestone_Project_Milestone_Name:V'),(47,1,'vtiger_projectmilestone:projectmilestonedate:projectmilestonedate:ProjectMilestone_Milestone_Date:D'),(47,3,'vtiger_crmentity:description:description:ProjectMilestone_description:V'),(47,4,'vtiger_crmentity:createdtime:createdtime:ProjectMilestone_Created_Time:DT'),(47,5,'vtiger_crmentity:modifiedtime:modifiedtime:ProjectMilestone_Modified_Time:DT'),(48,2,'vtiger_projecttask:projecttaskname:projecttaskname:ProjectTask_Project_Task_Name:V'),(48,3,'vtiger_projecttask:projectid:projectid:ProjectTask_Related_to:V'),(48,4,'vtiger_projecttask:projecttaskpriority:projecttaskpriority:ProjectTask_Priority:V'),(48,5,'vtiger_projecttask:projecttaskprogress:projecttaskprogress:ProjectTask_Progress:V'),(48,6,'vtiger_projecttask:projecttaskhours:projecttaskhours:ProjectTask_Worked_Hours:V'),(48,7,'vtiger_projecttask:startdate:startdate:ProjectTask_Start_Date:D'),(48,8,'vtiger_projecttask:enddate:enddate:ProjectTask_End_Date:D'),(48,9,'vtiger_crmentity:smownerid:assigned_user_id:ProjectTask_Assigned_To:V'),(49,0,'vtiger_project:projectname:projectname:Project_Project_Name:V'),(49,1,'vtiger_project:linktoaccountscontacts:linktoaccountscontacts:Project_Related_to:V'),(49,2,'vtiger_project:startdate:startdate:Project_Start_Date:D'),(49,3,'vtiger_project:targetenddate:targetenddate:Project_Target_End_Date:D'),(49,4,'vtiger_project:actualenddate:actualenddate:Project_Actual_End_Date:D'),(49,5,'vtiger_project:targetbudget:targetbudget:Project_Target_Budget:V'),(49,6,'vtiger_project:progress:progress:Project_Progress:V'),(49,7,'vtiger_project:projectstatus:projectstatus:Project_Status:V'),(49,8,'vtiger_crmentity:smownerid:assigned_user_id:Project_Assigned_To:V'),(49,19,'vtiger_project:contactid:contactid:Project_Contact_Name:V'),(50,0,'vtiger_cttimetracker:tracking_title:tracking_title:CTTimeTracker_Title:V'),(50,1,'vtiger_cttimetracker:tracking_notes:tracking_notes:CTTimeTracker_Notes:V'),(50,2,'vtiger_cttimetracker:related_to:related_to:CTTimeTracker_Related_to:V'),(50,3,'vtiger_cttimetracker:tracking_user:tracking_user:CTTimeTracker_Employee_Name:I'),(50,4,'vtiger_crmentity:createdtime:createdtime:CTTimeTracker_Created_Time:DT'),(50,5,'vtiger_crmentity:modifiedtime:modifiedtime:CTTimeTracker_Modified_Time:DT'),(50,6,'vtiger_cttimetracker:check_in_address:check_in_address:CTTimeTracker_Location_Address_When_Start_Timer:V'),(50,7,'vtiger_cttimetracker:check_out_address:check_out_address:CTTimeTracker_Location_Address_When_Stop_Timer:V'),(50,8,'vtiger_cttimetracker:total_hour:total_hour:CTTimeTracker_Total_Hours:I'),(50,9,'vtiger_cttimetracker:total_min:total_min:CTTimeTracker_Total_Minutes:I'),(50,10,'vtiger_cttimetracker:tracking_status:tracking_status:CTTimeTracker_Status:V'),(51,1,'vtiger_cttimecontrol:cttimecontrol_no:cttimecontrol_no:CTTimeControl_Time_Control_No:V'),(51,2,'vtiger_cttimecontrol:related_tracking:related_tracking:CTTimeControl_Related_To:I'),(51,3,'vtiger_crmentity:smownerid:assigned_user_id:CTTimeControl_Assigned_To:V'),(52,0,'vtiger_ctrouteplanning:ctroutename:ctroutename:CTRoutePlanning_Route_Name:V'),(52,1,'vtiger_ctrouteplanning:ctroute_date:ctroute_date:CTRoutePlanning_Route_Planning_Date:D'),(52,2,'vtiger_crmentity:smownerid:assigned_user_id:CTRoutePlanning_Assigned_To:V'),(53,1,'vtiger_ctrouteattendance:ctroute_user:ctroute_user:CTRouteAttendance_Employee_Name:V'),(53,2,'vtiger_crmentity:createdtime:createdtime:CTRouteAttendance_Check_In:DT'),(53,3,'vtiger_ctrouteattendance:check_in_address:check_in_address:CTRouteAttendance_Check_In_Address:V'),(53,4,'vtiger_crmentity:modifiedtime:modifiedtime:CTRouteAttendance_Check_Out:DT'),(53,5,'vtiger_ctrouteattendance:check_out_address:check_out_address:CTRouteAttendance_Check_Out_Address:V'),(54,0,'vtiger_ctattendance:employee_name:employee_name:CTAttendance_Employee_Name:V'),(54,1,'vtiger_crmentity:createdtime:createdtime:CTAttendance_Check_In:DT'),(54,2,'vtiger_ctattendance:check_in_address:check_in_address:CTAttendance_Check_In_Address:V'),(54,3,'vtiger_crmentity:modifiedtime:modifiedtime:CTAttendance_Check_Out:DT'),(54,4,'vtiger_ctattendance:check_out_address:check_out_address:CTAttendance_Check_Out_Address:V'),(54,5,'vtiger_ctattendance:eventid:eventid:CTAttendance_Event_Name:V'),(54,6,'vtiger_ctattendance:attendance_status:attendance_status:CTAttendance_Attendance_Status:V'),(57,1,'vtiger_ctuserfilterview:ctuser_filter_view_no:ctuser_filter_view_no:CTUserFilterView_CTMobile_User_Filter_View_No:V'),(57,2,'vtiger_ctuserfilterview:module_name:module_name:CTUserFilterView_Module_Name:V'),(58,0,'vtiger_ctmessagetemplate:description:description:CTMessageTemplate_Description_:V'),(58,1,'vtiger_ctmessagetemplate:template_no:template_no:CTMessageTemplate_Templte_No:V'),(58,2,'vtiger_ctmessagetemplate:message_status:message_status:CTMessageTemplate_Status:V'),(59,1,'vtiger_ctpushnotification:pn_title:pn_title:CTPushNotification_Push_Notification_Title:V'),(59,2,'vtiger_ctpushnotification:pn_related:pn_related:CTPushNotification_Related_Module:V'),(59,3,'vtiger_ctpushnotification:pushnotificationstatus:pushnotificationstatus:CTPushNotification_Push_Notification_Status:V'),(61,0,'vtiger_cobranzas:lb_numerofactura:lb_numerofactura:Cobranzas_Numero_de_Factura:V'),(61,1,'vtiger_cobranzas:lb_razonsocial:lb_razonsocial:Cobranzas_Razon_Social:V'),(61,2,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V'),(61,3,'vtiger_cobranzas:lb_montototal:lb_montototal:Cobranzas_Monto_Total:N'),(61,4,'vtiger_cobranzas:lb_fechadevencimiento:lb_fechadevencimiento:Cobranzas_Fecha_de_Vencimiento:D'),(61,5,'vtiger_crmentity:smownerid:assigned_user_id:Cobranzas_Assigned_To:V'),(61,6,'vtiger_cobranzas:lb_conreclamos:lb_conreclamos:Cobranzas_Con_Reclamos:V'),(61,7,'vtiger_cobranzas:lb_etapa:lb_etapa:Cobranzas_Etapa:V'),(61,8,'vtiger_cobranzas:lb_montofinalacordado:lb_montofinalacordado:Cobranzas_Monto_Final_Acordado:N'),(63,0,'vtiger_pagos:pagosno:pagosno:Pagos_Pagos_No:V'),(63,1,'vtiger_crmentity:smownerid:assigned_user_id:Pagos_Assigned_To:V'),(63,2,'vtiger_pagos:lb_estadopagosparciales:lb_estadopagosparciales:Pagos_Estado_de_Pago:V'),(63,3,'vtiger_pagos:lb_montopagosparciales:lb_montopagosparciales:Pagos_Monto:N'),(63,4,'vtiger_pagos:lb_formapagosparciales:lb_formapagosparciales:Pagos_Forma_de_Pago:V'),(63,5,'vtiger_pagos:lb_cobranzapagosparciales:lb_cobranzapagosparciales:Pagos_Cobranza:V'),(65,0,'vtiger_ctwhatsapp:whatsapp_no:whatsapp_no:CTWhatsApp_WhatsApp_No:V'),(65,1,'vtiger_ctwhatsapp:whatsapp_sendername:whatsapp_sendername:CTWhatsApp_Sender_Name:V'),(65,2,'vtiger_ctwhatsapp:whatsapp_chatid:whatsapp_chatid:CTWhatsApp_WhatsApp_ChatId:V'),(65,3,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V'),(65,4,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V'),(65,5,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(65,6,'vtiger_crmentity:createdtime:createdtime:CTWhatsApp_Created_Time:DT'),(65,7,'vtiger_crmentity:modifiedtime:modifiedtime:CTWhatsApp_Modified_Time:DT'),(65,8,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(65,9,'vtiger_ctwhatsapp:whatsapp_contactid:whatsapp_contactid:CTWhatsApp_Related_To:V'),(65,10,'vtiger_ctwhatsapp:whatsapp_withccode:whatsapp_withccode:CTWhatsApp_With_Country_Code:V'),(65,11,'vtiger_ctwhatsapp:msgid:msgid:CTWhatsApp_Message_ID:V'),(65,12,'vtiger_ctwhatsapp:whatsapp_datetime:whatsapp_datetime:CTWhatsApp_Date_Time_of_message:DT'),(66,0,'vtiger_ctwhatsapp:whatsapp_sendername:whatsapp_sendername:CTWhatsApp_Sender_Name:V'),(66,1,'vtiger_ctwhatsapp:whatsapp_important:whatsapp_important:CTWhatsApp_Important:V'),(66,2,'vtiger_ctwhatsapp:whatsapp_response:whatsapp_response:CTWhatsApp_Response:V'),(66,3,'vtiger_ctwhatsapp:whatsapp_displayname:whatsapp_displayname:CTWhatsApp_Display_Name:V'),(66,4,'vtiger_ctwhatsapp:whatsapp_contactid:whatsapp_contactid:CTWhatsApp_Related_To:V'),(66,5,'vtiger_ctwhatsapp:whatsapp_botid:whatsapp_botid:CTWhatsApp_BotID:V'),(66,6,'vtiger_ctwhatsapp:your_number:your_number:CTWhatsApp_Your_phone_number:V'),(66,7,'vtiger_ctwhatsapp:whatsapp_withccode:whatsapp_withccode:CTWhatsApp_With_Country_Code:V'),(66,8,'vtiger_ctwhatsapp:msgid:msgid:CTWhatsApp_Message_ID:V'),(66,9,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(66,10,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(66,11,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V'),(66,12,'vtiger_crmentity:createdtime:createdtime:CTWhatsApp_Created_Time:DT'),(66,13,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V'),(66,14,'vtiger_ctwhatsapp:whatsapp_chatid:whatsapp_chatid:CTWhatsApp_WhatsApp_ChatId:V'),(66,15,'vtiger_ctwhatsapp:whatsapp_withoccode:whatsapp_withoccode:CTWhatsApp_Mass_Message:V'),(67,0,'vtiger_ctwhatsapp:whatsapp_no:whatsapp_no:CTWhatsApp_WhatsApp_No:V'),(67,1,'vtiger_ctwhatsapp:whatsapp_chatid:whatsapp_chatid:CTWhatsApp_WhatsApp_ChatId:V'),(67,2,'vtiger_ctwhatsapp:whatsapp_sendername:whatsapp_sendername:CTWhatsApp_Sender_Name:V'),(67,3,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V'),(67,4,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(67,5,'vtiger_crmentity:createdtime:createdtime:CTWhatsApp_Created_Time:DT'),(67,6,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(67,7,'vtiger_ctwhatsapp:whatsapp_contactid:whatsapp_contactid:CTWhatsApp_Related_To:V'),(67,8,'vtiger_crmentity:source:source:CTWhatsApp_Source:V'),(67,9,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V'),(67,10,'vtiger_ctwhatsapp:whatsapp_withccode:whatsapp_withccode:CTWhatsApp_With_Country_Code:V'),(67,11,'vtiger_ctwhatsapp:whatsapp_withoccode:whatsapp_withoccode:CTWhatsApp_Mass_Message:V'),(67,12,'vtiger_ctwhatsapp:msgid:msgid:CTWhatsApp_Message_ID:V'),(67,13,'vtiger_ctwhatsapp:whatsapp_datetime:whatsapp_datetime:CTWhatsApp_Date_Time_of_message:DT'),(67,14,'vtiger_ctwhatsapp:whatsapp_important:whatsapp_important:CTWhatsApp_Important:V'),(68,0,'vtiger_ctwhatsapp:whatsapp_no:whatsapp_no:CTWhatsApp_WhatsApp_No:V'),(68,1,'vtiger_ctwhatsapp:whatsapp_sendername:whatsapp_sendername:CTWhatsApp_Sender_Name:V'),(68,2,'vtiger_ctwhatsapp:whatsapp_chatid:whatsapp_chatid:CTWhatsApp_WhatsApp_ChatId:V'),(68,3,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V'),(68,4,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(68,5,'vtiger_crmentity:createdtime:createdtime:CTWhatsApp_Created_Time:DT'),(68,6,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(68,7,'vtiger_ctwhatsapp:whatsapp_contactid:whatsapp_contactid:CTWhatsApp_Related_To:V'),(68,8,'vtiger_crmentity:source:source:CTWhatsApp_Source:V'),(68,9,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V'),(68,10,'vtiger_ctwhatsapp:whatsapp_withccode:whatsapp_withccode:CTWhatsApp_With_Country_Code:V'),(68,11,'vtiger_ctwhatsapp:whatsapp_withoccode:whatsapp_withoccode:CTWhatsApp_Mass_Message:V'),(68,12,'vtiger_ctwhatsapp:msgid:msgid:CTWhatsApp_Message_ID:V'),(68,13,'vtiger_ctwhatsapp:whatsapp_datetime:whatsapp_datetime:CTWhatsApp_Date_Time_of_message:DT'),(68,14,'vtiger_ctwhatsapp:whatsapp_important:whatsapp_important:CTWhatsApp_Important:V'),(69,0,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(69,1,'vtiger_ctwhatsapp:whatsapp_no:whatsapp_no:CTWhatsApp_WhatsApp_No:V'),(69,2,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(70,0,'vtiger_ctwhatsapp:whatsapp_sendername:whatsapp_sendername:CTWhatsApp_Sender_Name:V'),(70,1,'vtiger_ctwhatsapp:whatsapp_withccode:whatsapp_withccode:CTWhatsApp_With_Country_Code:V'),(70,2,'vtiger_ctwhatsapp:whatsapp_no:whatsapp_no:CTWhatsApp_WhatsApp_No:V'),(70,3,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V'),(70,4,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(70,5,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(70,6,'vtiger_ctwhatsapp:whatsapp_chatid:whatsapp_chatid:CTWhatsApp_WhatsApp_ChatId:V'),(70,7,'vtiger_ctwhatsapp:whatsapp_datetime:whatsapp_datetime:CTWhatsApp_Date_Time_of_message:DT'),(70,8,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V'),(70,9,'vtiger_ctwhatsapp:whatsapp_important:whatsapp_important:CTWhatsApp_Important:V'),(70,10,'vtiger_ctwhatsapp:your_number:your_number:CTWhatsApp_Your_phone_number:V'),(71,0,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V'),(71,1,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V'),(71,2,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(71,3,'vtiger_ctwhatsapp:whatsapp_no:whatsapp_no:CTWhatsApp_WhatsApp_No:V'),(71,4,'vtiger_ctwhatsapp:whatsapp_sendername:whatsapp_sendername:CTWhatsApp_Sender_Name:V'),(71,5,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(72,0,'vtiger_ctwhatsapp:whatsapp_datetime:whatsapp_datetime:CTWhatsApp_Date_Time_of_message:DT'),(72,1,'vtiger_ctwhatsapp:whatsapp_no:whatsapp_no:CTWhatsApp_WhatsApp_No:V'),(72,2,'vtiger_ctwhatsapp:message_type:message_type:CTWhatsApp_Message_Type:V'),(72,3,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(72,4,'vtiger_ctwhatsapp:whatsapp_unreadread:whatsapp_unreadread:CTWhatsApp_Read_/_Unread:V'),(72,5,'vtiger_ctwhatsapp:your_number:your_number:CTWhatsApp_Your_phone_number:V'),(72,6,'vtiger_ctwhatsapp:whatsapp_withccode:whatsapp_withccode:CTWhatsApp_With_Country_Code:V'),(72,7,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(73,0,'vtiger_ctwhatsapp:whatsapp_contactid:whatsapp_contactid:CTWhatsApp_Related_To:V'),(73,1,'vtiger_ctwhatsapp:message_body:message_body:CTWhatsApp_Body:V'),(73,2,'vtiger_ctwhatsapp:whatsapp_chatid:whatsapp_chatid:CTWhatsApp_WhatsApp_ChatId:V'),(73,3,'vtiger_ctwhatsapp:whatsapp_sendername:whatsapp_sendername:CTWhatsApp_Sender_Name:V'),(73,4,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsApp_Assigned_To:V'),(73,5,'vtiger_ctwhatsapp:whatsapp_withccode:whatsapp_withccode:CTWhatsApp_With_Country_Code:V'),(73,6,'vtiger_ctwhatsapp:msgid:msgid:CTWhatsApp_Message_ID:V'),(73,7,'vtiger_ctwhatsapp:whatsapp_displayname:whatsapp_displayname:CTWhatsApp_Display_Name:V'),(74,1,'vtiger_ctwhatsapptemplates:wptemplate_scannumber:wptemplate_scannumber:CTWhatsAppTemplates_Template_Number:V'),(74,2,'vtiger_ctwhatsapptemplates:wptemplate_text:wptemplate_text:CTWhatsAppTemplates_WhatsApp_message_to_Send:V'),(74,3,'vtiger_ctwhatsapptemplates:wptemplate_title:wptemplate_title:CTWhatsAppTemplates_Title:V'),(74,4,'vtiger_ctwhatsapptemplates:wptemplate_modules:wptemplate_modules:CTWhatsAppTemplates_Module_Name:V'),(74,5,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsAppTemplates_Assigned_To:V'),(74,6,'vtiger_ctwhatsapptemplates:whatsapptemplates_no:whatsapptemplates_no:CTWhatsAppTemplates_WhatsAppTemplates_No:V'),(74,7,'vtiger_ctwhatsapptemplates:wptemplate_image:wptemplate_image:CTWhatsAppTemplates_WhatsApp_Banner_to_send:V'),(74,8,'vtiger_ctwhatsapptemplates:wptemplate_fields:wptemplate_fields:CTWhatsAppTemplates_Module_Fields:V'),(74,9,'vtiger_crmentity:createdtime:createdtime:CTWhatsAppTemplates_Created_Time:DT'),(74,10,'vtiger_crmentity:modifiedtime:modifiedtime:CTWhatsAppTemplates_Modified_Time:DT'),(74,11,'vtiger_crmentity:source:source:CTWhatsAppTemplates_Source:V'),(75,0,'vtiger_ctwhatsapptemplates:wptemplate_title:wptemplate_title:CTWhatsAppTemplates_Title:V'),(75,1,'vtiger_ctwhatsapptemplates:wptemplate_modules:wptemplate_modules:CTWhatsAppTemplates_Module_Name:V'),(75,2,'vtiger_crmentity:smownerid:assigned_user_id:CTWhatsAppTemplates_Assigned_To:V'),(76,0,'vtiger_whatsapplog:messagelog_body:messagelog_body:WhatsAppLog_Body:V'),(76,1,'vtiger_whatsapplog:whatsapp_numberactive:whatsapp_numberactive:WhatsAppLog_WhatsApp_Active/InActive:C'),(76,2,'vtiger_whatsapplog:whatsapplog_response:whatsapplog_response:WhatsAppLog_Response:V'),(76,3,'vtiger_whatsapplog:whatsapplog_displayname:whatsapplog_displayname:WhatsAppLog_Display_Name:V'),(76,4,'vtiger_whatsapplog:whatsapplog_contactid:whatsapplog_contactid:WhatsAppLog_Contacts_ID:V'),(76,5,'vtiger_whatsapplog:whatsapplog_botid:whatsapplog_botid:WhatsAppLog_BotID:V'),(76,6,'vtiger_whatsapplog:whatsapplog_your_number:whatsapplog_your_number:WhatsAppLog_Your_phone_number:V'),(76,7,'vtiger_whatsapplog:whatsapplog_withccode:whatsapplog_withccode:WhatsAppLog_Customer_phone:V'),(76,8,'vtiger_whatsapplog:whatsapplog_msgid:whatsapplog_msgid:WhatsAppLog_Message_ID:V'),(76,9,'vtiger_crmentity:smownerid:assigned_user_id:WhatsAppLog_Assigned_To:V'),(76,10,'vtiger_whatsapplog:messagelog_type:messagelog_type:WhatsAppLog_Message_Type:V'),(76,11,'vtiger_crmentity:createdtime:createdtime:WhatsAppLog_Created_Time:DT'),(76,12,'vtiger_whatsapplog:whatsapplog_unreadread:whatsapplog_unreadread:WhatsAppLog_Read_/_Unread:V'),(76,13,'vtiger_whatsapplog:whatsapplog_important:whatsapplog_important:WhatsAppLog_Important:V'),(76,14,'vtiger_whatsapplog:whatsapplog_sendername:whatsapplog_sendername:WhatsAppLog_Sender_Name:V'),(77,0,'vtiger_whatsapplog:whatsapplog_important:whatsapplog_important:WhatsAppLog_Important:V'),(77,1,'vtiger_whatsapplog:whatsapplog_no:whatsapplog_no:WhatsAppLog_WhatsAppLog_No:V'),(77,2,'vtiger_whatsapplog:whatsapplog_sendername:whatsapplog_sendername:WhatsAppLog_Sender_Name:V'),(77,3,'vtiger_whatsapplog:whatsapplog_chatid:whatsapplog_chatid:WhatsAppLog_Whatsapp_ChatId:V'),(77,4,'vtiger_whatsapplog:messagelog_type:messagelog_type:WhatsAppLog_Message_Type:V'),(77,5,'vtiger_whatsapplog:messagelog_body:messagelog_body:WhatsAppLog_Body:V'),(77,6,'vtiger_whatsapplog:whatsapplog_quotemessage:whatsapplog_quotemessage:WhatsAppLog_Quote_Message:V'),(77,7,'vtiger_whatsapplog:whatsapplog_contactid:whatsapplog_contactid:WhatsAppLog_Contacts_ID:V'),(77,8,'vtiger_whatsapplog:whatsapplog_unreadread:whatsapplog_unreadread:WhatsAppLog_Read_/_Unread:V'),(77,9,'vtiger_whatsapplog:whatsapplog_withoccode:whatsapplog_withoccode:WhatsAppLog_Mass_Message_:V'),(77,10,'vtiger_whatsapplog:whatsapplog_withccode:whatsapplog_withccode:WhatsAppLog_Customer_phone:V'),(77,11,'vtiger_whatsapplog:whatsapplog_datetime:whatsapplog_datetime:WhatsAppLog_Date_Time_of_message:DT'),(77,12,'vtiger_whatsapplog:whatsapplog_msgid:whatsapplog_msgid:WhatsAppLog_Message_ID:V'),(77,13,'vtiger_whatsapplog:whatsapplog_your_number:whatsapplog_your_number:WhatsAppLog_Your_phone_number:V'),(77,14,'vtiger_crmentity:smownerid:assigned_user_id:WhatsAppLog_Assigned_To:V'),(78,0,'vtiger_cobranzas:lb_razonsocial:lb_razonsocial:Cobranzas_Razon_Social:V'),(78,1,'vtiger_cobranzas:lb_numerofactura:lb_numerofactura:Cobranzas_Numero_de_Factura:V'),(78,2,'vtiger_cobranzas:lb_montototal:lb_montototal:Cobranzas_Monto_Total:N'),(78,3,'vtiger_cobranzas:lb_fechaemision:lb_fechaemision:Cobranzas_Fecha_de_Emisión:D'),(78,4,'vtiger_cobranzas:lb_fechadevencimiento:lb_fechadevencimiento:Cobranzas_Fecha_de_Vencimiento:D'),(78,5,'vtiger_cobranzas:lb_diasvencidos:lb_diasvencidos:Cobranzas_Días_Vencidos:V'),(78,6,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V'),(78,7,'vtiger_cobranzas:lb_contactopag:lb_contactopag:Cobranzas_Contacto:V'),(78,8,'vtiger_contactdetails:email:(lb_contactopag ; (Contacts) email):Contacts_Contacto-Email:V'),(78,9,'vtiger_contactdetails:phone:(lb_contactopag ; (Contacts) phone):Contacts_Contacto-Teléfono:V'),(78,10,'vtiger_crmentity:smownerid:assigned_user_id:Cobranzas_Assigned_To:V'),(79,0,'vtiger_cobranzas:lb_razonsocial:lb_razonsocial:Cobranzas_Razon_Social:V'),(79,1,'vtiger_cobranzas:lb_numerofactura:lb_numerofactura:Cobranzas_Numero_de_Factura:V'),(79,2,'vtiger_cobranzas:lb_fechadevencimiento:lb_fechadevencimiento:Cobranzas_Fecha_de_Vencimiento:D'),(79,3,'vtiger_cobranzas:lb_montototal:lb_montototal:Cobranzas_Monto_Total:N'),(79,4,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V'),(79,5,'vtiger_cobranzas:lb_diasvencidos:lb_diasvencidos:Cobranzas_Días_Vencidos:V'),(79,6,'vtiger_cobranzas:lb_contactopag:lb_contactopag:Cobranzas_Contacto:V'),(79,7,'vtiger_cobranzas:lb_telefonocobran:lb_telefonocobran:Cobranzas_Telefono:V'),(79,8,'vtiger_contactdetails:email:(lb_contactopag ; (Contacts) email):Contacts_Contacto-Email:V'),(79,9,'vtiger_crmentity:smownerid:assigned_user_id:Cobranzas_Assigned_To:V'),(80,0,'vtiger_cobranzas:lb_numerofactura:lb_numerofactura:Cobranzas_Numero_de_Factura:V'),(80,1,'vtiger_cobranzas:lb_razonsocial:lb_razonsocial:Cobranzas_Razon_Social:V'),(80,2,'vtiger_cobranzas:lb_fechaemision:lb_fechaemision:Cobranzas_Fecha_de_Emisión:D'),(80,3,'vtiger_cobranzas:lb_fechadevencimiento:lb_fechadevencimiento:Cobranzas_Fecha_de_Vencimiento:D'),(80,4,'vtiger_cobranzas:lb_fechacompromisopa:lb_fechacompromisopa:Cobranzas_Fecha_de_Compromiso_de_Pago	:D'),(80,5,'vtiger_cobranzas:lb_montototal:lb_montototal:Cobranzas_Monto_Total:N'),(80,6,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V'),(80,7,'vtiger_cobranzas:lb_diasvencidos:lb_diasvencidos:Cobranzas_Días_Vencidos:V'),(80,8,'vtiger_crmentity:smownerid:assigned_user_id:Cobranzas_Assigned_To:V'),(80,9,'vtiger_cobranzas:lb_contactopag:lb_contactopag:Cobranzas_Contacto:V'),(80,10,'vtiger_cobranzas:lb_telefonocobran:lb_telefonocobran:Cobranzas_Telefono:V'),(81,0,'vtiger_cobranzas:lb_razonsocial:lb_razonsocial:Cobranzas_Razon_Social:V'),(81,1,'vtiger_cobranzas:lb_fechaemision:lb_fechaemision:Cobranzas_Fecha_de_Emisión:D'),(81,2,'vtiger_cobranzas:lb_fechadevencimiento:lb_fechadevencimiento:Cobranzas_Fecha_de_Vencimiento:D'),(81,3,'vtiger_cobranzas:lb_montototal:lb_montototal:Cobranzas_Monto_Total:N'),(81,4,'vtiger_cobranzas:lb_estado:lb_estado:Cobranzas_Estado:V'),(81,5,'vtiger_cobranzas:cobranzasno:cobranzasno:Cobranzas_Cobranzas_No:V'),(81,6,'vtiger_cobranzas:lb_contactopag:lb_contactopag:Cobranzas_Contacto:V'),(81,7,'vtiger_cobranzas:lb_telefonocobran:lb_telefonocobran:Cobranzas_Telefono:V'),(82,0,'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V'),(82,1,'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V'),(82,2,'vtiger_contactscf:cf_953:cf_953:Contacts_Clasificación:V'),(82,3,'vtiger_contactdetails:phone:phone:Contacts_Office_Phone:V'),(82,4,'vtiger_contactdetails:email:email:Contacts_Email:V'),(82,5,'vtiger_contactaddress:mailingcity:mailingcity:Contacts_Mailing_City:V'),(82,6,'vtiger_crmentity:smownerid:assigned_user_id:Contacts_Assigned_To:V'),(83,0,'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V'),(83,1,'vtiger_potential:contact_id:contact_id:Potentials_Contact_Name:V'),(83,2,'vtiger_contactdetails:mobile:(contact_id ; (Contacts) mobile):Contacts_Contacto-Celular:V'),(83,3,'vtiger_contactdetails:email:(contact_id ; (Contacts) email):Contacts_Contacto-Email:V'),(83,4,'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V'),(83,5,'vtiger_potential:amount:amount:Potentials_Amount:N'),(83,6,'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D'),(83,7,'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V');

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

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

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


--
-- Table structure for table `vtiger_dashboard_tabs`
--

CREATE TABLE `vtiger_dashboard_tabs` (
  `id` int(19) NOT NULL AUTO_INCREMENT,
  `tabname` varchar(50) DEFAULT NULL,
  `isdefault` int(1) DEFAULT 0,
  `sequence` int(5) DEFAULT 2,
  `appname` varchar(20) DEFAULT NULL,
  `modulename` varchar(50) DEFAULT NULL,
  `userid` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tabname` (`tabname`,`userid`),
  KEY `vtiger_dashboard_tabs_ibfk_1` (`userid`),
  CONSTRAINT `vtiger_dashboard_tabs_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_dashboard_tabs`
--

INSERT INTO `vtiger_dashboard_tabs` VALUES (4,'My Dashboard',1,1,'','',5),(5,'My Dashboard',1,1,'','',6),(6,'My Dashboard',1,1,'','',7),(7,'My Dashboard',1,1,'','',8),(15,'Creantis Analytics',0,3,NULL,NULL,1),(56,'My Dashboard',1,2,'','',1),(57,'Encuesta',0,4,NULL,NULL,1),(82,'My Dashboard',1,1,'','',9);

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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

INSERT INTO `vtiger_datashare_relatedmodules_seq` VALUES (9);

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

CREATE TABLE `vtiger_date_format` (
  `date_formatid` int(19) NOT NULL AUTO_INCREMENT,
  `date_format` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`date_formatid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

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

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

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

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

INSERT INTO `vtiger_date_format_seq` VALUES (3);

--
-- Table structure for table `vtiger_dayoftheweek`
--

CREATE TABLE `vtiger_dayoftheweek` (
  `dayoftheweekid` int(11) NOT NULL AUTO_INCREMENT,
  `dayoftheweek` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`dayoftheweekid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_dayoftheweek`
--

INSERT INTO `vtiger_dayoftheweek` VALUES (1,'Sunday',0,1),(2,'Monday',1,1),(3,'Tuesday',2,1),(4,'Wednesday',3,1),(5,'Thursday',4,1),(6,'Friday',5,1),(7,'Saturday',6,1);

--
-- Table structure for table `vtiger_dayoftheweek_seq`
--

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

--
-- Dumping data for table `vtiger_dayoftheweek_seq`
--

INSERT INTO `vtiger_dayoftheweek_seq` VALUES (7);

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

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

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

INSERT INTO `vtiger_def_org_field` VALUES (6,1,0,0),(6,2,0,0),(6,3,0,0),(6,4,0,0),(6,5,0,0),(6,6,0,0),(6,7,0,0),(6,8,0,0),(6,9,0,0),(6,10,0,0),(6,11,0,0),(6,12,0,0),(6,13,0,0),(6,14,0,0),(6,15,0,0),(6,16,0,0),(6,17,0,0),(6,18,0,0),(6,19,0,0),(6,20,0,0),(6,21,0,0),(6,22,0,0),(6,23,0,0),(6,24,0,0),(6,25,0,0),(6,26,0,0),(6,27,0,0),(6,28,0,0),(6,29,0,0),(6,30,0,0),(6,31,0,0),(6,32,0,0),(6,33,0,0),(6,34,0,0),(6,35,0,0),(6,36,0,0),(7,37,0,0),(7,38,0,0),(7,39,0,0),(7,40,0,0),(7,41,0,0),(7,42,0,0),(7,43,0,0),(7,44,0,0),(7,45,0,0),(7,46,0,0),(7,47,0,0),(7,48,0,0),(7,49,0,0),(7,50,0,0),(7,51,0,0),(7,52,0,0),(7,53,0,0),(7,54,0,0),(7,55,0,0),(7,56,0,0),(7,57,0,0),(7,58,0,0),(7,59,0,0),(7,60,0,0),(7,61,0,0),(7,62,0,0),(7,63,0,0),(7,64,0,0),(7,65,0,0),(4,66,0,0),(4,67,0,0),(4,68,0,0),(4,69,0,0),(4,70,0,0),(4,71,0,0),(4,72,0,0),(4,73,0,0),(4,74,0,0),(4,75,0,0),(4,76,0,0),(4,77,0,0),(4,78,0,0),(4,79,0,0),(4,80,0,0),(4,81,0,0),(4,82,0,0),(4,83,0,0),(4,84,0,0),(4,85,0,0),(4,86,0,0),(4,87,0,0),(4,88,0,0),(4,89,0,0),(4,90,0,0),(4,91,0,0),(4,92,0,0),(4,93,0,0),(4,94,0,0),(4,95,0,0),(4,96,0,0),(4,97,0,0),(4,98,0,0),(4,99,0,0),(4,100,0,0),(4,101,0,0),(4,102,0,0),(4,103,0,0),(4,104,0,0),(4,105,0,0),(4,106,0,0),(4,107,0,0),(4,108,0,0),(4,109,0,0),(2,110,0,0),(2,111,0,0),(2,112,0,0),(2,113,0,0),(2,114,0,0),(2,115,0,0),(2,116,0,0),(2,117,0,0),(2,118,0,0),(2,119,0,0),(2,120,0,0),(2,121,0,0),(2,122,0,0),(2,123,0,0),(2,124,0,0),(2,125,0,0),(26,126,0,0),(26,127,0,0),(26,128,0,0),(26,129,0,0),(26,130,0,0),(26,131,0,0),(26,132,0,0),(26,133,0,0),(26,134,0,0),(26,135,0,0),(26,136,0,0),(26,137,0,0),(26,138,0,0),(26,139,0,0),(26,140,0,0),(26,141,0,0),(26,142,0,0),(26,143,0,0),(26,144,0,0),(26,145,0,0),(26,146,0,0),(26,147,0,0),(26,148,0,0),(26,149,0,0),(26,150,0,0),(4,151,0,0),(6,152,0,0),(7,153,0,0),(26,154,0,0),(13,155,0,0),(13,156,0,0),(13,157,0,0),(13,158,0,0),(13,159,0,0),(13,160,0,0),(13,161,0,0),(13,162,0,0),(13,163,0,0),(13,164,0,0),(13,165,0,0),(13,166,0,0),(13,167,0,0),(13,168,0,0),(13,169,0,0),(13,170,0,0),(13,171,0,0),(13,172,0,0),(13,173,0,0),(14,174,0,0),(14,175,0,0),(14,176,0,0),(14,177,0,0),(14,178,0,0),(14,179,0,0),(14,180,0,0),(14,181,0,0),(14,182,0,0),(14,183,0,0),(14,184,0,0),(14,185,0,0),(14,186,0,0),(14,187,0,0),(14,188,0,0),(14,189,0,0),(14,190,0,0),(14,191,0,0),(14,192,0,0),(14,193,0,0),(14,194,0,0),(14,195,0,0),(14,196,0,0),(14,197,0,0),(14,198,0,0),(14,199,0,0),(14,200,0,0),(14,201,0,0),(14,202,0,0),(14,203,0,0),(14,204,0,0),(8,205,0,0),(8,206,0,0),(8,207,0,0),(8,208,0,0),(8,209,0,0),(8,210,0,0),(8,211,0,0),(8,212,0,0),(8,213,0,0),(8,214,0,0),(8,215,0,0),(8,216,0,0),(8,217,0,0),(8,218,0,0),(8,219,0,0),(10,220,0,0),(10,221,0,0),(10,222,0,0),(10,223,0,0),(10,224,0,0),(10,225,0,0),(10,226,0,0),(10,227,0,0),(10,228,0,0),(10,229,0,0),(10,230,0,0),(10,231,0,0),(9,232,0,0),(9,233,0,0),(9,234,0,0),(9,235,0,0),(9,236,0,0),(9,237,0,0),(9,238,0,0),(9,239,0,0),(9,240,0,0),(9,241,0,0),(9,242,0,0),(9,243,0,0),(9,244,0,0),(9,245,0,0),(9,246,0,0),(9,247,0,0),(9,248,0,0),(9,249,0,0),(9,250,0,0),(9,251,0,0),(9,252,0,0),(9,253,0,0),(9,254,0,0),(9,255,0,0),(16,256,0,0),(16,257,0,0),(16,258,0,0),(16,259,0,0),(16,260,0,0),(16,261,0,0),(16,262,0,0),(16,263,0,0),(16,264,0,0),(16,265,0,0),(16,266,0,0),(16,267,0,0),(16,268,0,0),(16,269,0,0),(16,270,0,0),(16,271,0,0),(16,272,0,0),(16,273,0,0),(16,274,0,0),(16,275,0,0),(16,276,0,0),(16,277,0,0),(16,278,0,0),(15,279,0,0),(15,280,0,0),(15,281,0,0),(15,282,0,0),(15,283,0,0),(15,284,0,0),(15,285,0,0),(15,286,0,0),(15,287,0,0),(15,288,0,0),(18,289,0,0),(18,290,0,0),(18,291,0,0),(18,292,0,0),(18,293,0,0),(18,294,0,0),(18,295,0,0),(18,296,0,0),(18,297,0,0),(18,298,0,0),(18,299,0,0),(18,300,0,0),(18,301,0,0),(18,302,0,0),(18,303,0,0),(18,304,0,0),(18,305,0,0),(19,306,0,0),(19,307,0,0),(19,308,0,0),(19,309,0,0),(19,310,0,0),(19,311,0,0),(19,312,0,0),(19,313,0,0),(20,314,0,0),(20,315,0,0),(20,316,0,0),(20,317,0,0),(20,318,0,0),(20,319,0,0),(20,320,0,0),(20,321,0,0),(20,322,0,0),(20,323,0,0),(20,324,0,0),(20,325,0,0),(20,326,0,0),(20,327,0,0),(20,328,0,0),(20,329,0,0),(20,330,0,0),(20,331,0,0),(20,332,0,0),(20,333,0,0),(20,334,0,0),(20,335,0,0),(20,336,0,0),(20,337,0,0),(20,338,0,0),(20,339,0,0),(20,340,0,0),(20,341,0,0),(20,342,0,0),(20,343,0,0),(20,344,0,0),(20,345,0,0),(20,346,0,0),(20,347,0,0),(20,348,0,0),(20,349,0,0),(20,350,0,0),(21,351,0,0),(21,352,0,0),(21,353,0,0),(21,354,0,0),(21,355,0,0),(21,356,0,0),(21,357,0,0),(21,358,0,0),(21,359,0,0),(21,360,0,0),(21,361,0,0),(21,362,0,0),(21,363,0,0),(21,364,0,0),(21,365,0,0),(21,366,0,0),(21,367,0,0),(21,368,0,0),(21,369,0,0),(21,370,0,0),(21,371,0,0),(21,372,0,0),(21,373,0,0),(21,374,0,0),(21,375,0,0),(21,376,0,0),(21,377,0,0),(21,378,0,0),(21,379,0,0),(21,380,0,0),(21,381,0,0),(21,382,0,0),(21,383,0,0),(21,384,0,0),(21,385,0,0),(21,386,0,0),(21,387,0,0),(21,388,0,0),(22,389,0,0),(22,390,0,0),(22,391,0,0),(22,392,0,0),(22,393,0,0),(22,394,0,0),(22,395,0,0),(22,396,0,0),(22,397,0,0),(22,398,0,0),(22,399,0,0),(22,400,0,0),(22,401,0,0),(22,402,0,0),(22,403,0,0),(22,404,0,0),(22,405,0,0),(22,406,0,0),(22,407,0,0),(22,408,0,0),(22,409,0,0),(22,410,0,0),(22,411,0,0),(22,412,0,0),(22,413,0,0),(22,414,0,0),(22,415,0,0),(22,416,0,0),(22,417,0,0),(22,418,0,0),(22,419,0,0),(22,420,0,0),(22,421,0,0),(22,422,0,0),(22,423,0,0),(22,424,0,0),(22,425,0,0),(22,426,0,0),(22,427,0,0),(22,428,0,0),(22,429,0,0),(22,430,0,0),(22,431,0,0),(22,432,0,0),(22,433,0,0),(22,434,0,0),(22,435,0,0),(23,436,0,0),(23,437,0,0),(23,438,0,0),(23,439,0,0),(23,440,0,0),(23,441,0,0),(23,442,0,0),(23,443,0,0),(23,444,0,0),(23,445,0,0),(23,446,0,0),(23,447,0,0),(23,448,0,0),(23,449,0,0),(23,450,0,0),(23,451,0,0),(23,452,0,0),(23,453,0,0),(23,454,0,0),(23,455,0,0),(23,456,0,0),(23,457,0,0),(23,458,0,0),(23,459,0,0),(23,460,0,0),(23,461,0,0),(23,462,0,0),(23,463,0,0),(23,464,0,0),(23,465,0,0),(23,466,0,0),(23,467,0,0),(23,468,0,0),(23,469,0,0),(23,470,0,0),(23,471,0,0),(23,472,0,0),(23,473,0,0),(23,474,0,0),(29,475,0,0),(29,479,0,0),(29,480,0,0),(29,481,0,0),(29,482,0,0),(29,489,0,0),(29,490,0,0),(29,491,0,0),(29,492,0,0),(29,493,0,0),(29,494,0,0),(29,495,0,0),(29,496,0,0),(29,497,0,0),(29,498,0,0),(29,499,0,0),(29,504,0,0),(29,505,0,0),(29,506,0,0),(29,507,0,0),(29,510,0,0),(10,520,0,0),(10,521,0,0),(10,522,0,0),(10,523,0,0),(10,524,0,0),(10,525,0,0),(31,526,0,0),(31,527,0,0),(31,528,0,0),(31,529,0,0),(31,530,0,0),(31,531,0,0),(31,532,0,0),(31,533,0,0),(31,534,0,0),(31,535,0,0),(31,536,0,0),(31,537,0,0),(31,538,0,0),(31,539,0,0),(31,540,0,0),(31,541,0,0),(31,542,0,0),(31,543,0,0),(31,544,0,0),(31,545,0,0),(31,546,0,0),(31,547,0,0),(32,548,0,0),(32,549,0,0),(32,550,0,0),(32,551,0,0),(32,552,0,0),(32,553,0,0),(32,554,0,0),(32,555,0,0),(32,556,0,0),(32,557,0,0),(32,558,0,0),(32,559,0,0),(32,560,0,0),(32,561,0,0),(32,562,0,0),(32,563,0,0),(32,564,0,0),(32,565,0,0),(32,566,0,0),(32,567,0,0),(32,568,0,0),(32,569,0,0),(37,570,0,0),(37,571,0,0),(37,572,0,0),(37,573,0,0),(37,574,0,0),(37,575,0,0),(37,576,0,0),(37,577,0,0),(37,578,0,0),(37,579,0,0),(37,580,0,0),(37,581,0,0),(37,582,0,0),(37,583,0,0),(37,584,0,0),(37,585,0,0),(37,586,0,0),(29,587,0,0),(38,588,0,0),(38,589,0,0),(38,590,0,0),(38,591,0,0),(38,592,0,0),(38,593,0,0),(38,594,0,0),(38,595,0,0),(42,596,0,0),(42,597,0,0),(42,598,0,0),(42,599,0,0),(42,600,0,0),(42,601,0,0),(42,602,0,0),(42,603,0,0),(42,604,0,0),(42,605,0,0),(42,606,0,0),(42,607,0,0),(42,608,0,0),(43,609,0,0),(43,610,0,0),(43,611,0,0),(43,612,0,0),(43,613,0,0),(43,614,0,0),(43,615,0,0),(43,616,0,0),(43,617,0,0),(43,618,0,0),(43,619,0,0),(43,620,0,0),(43,621,0,0),(43,622,0,0),(43,623,0,0),(43,624,0,0),(43,625,0,0),(43,626,0,0),(44,627,0,0),(44,628,0,0),(44,629,0,0),(44,630,0,0),(44,631,0,0),(44,632,0,0),(44,633,0,0),(44,634,0,0),(44,635,0,0),(44,636,0,0),(44,637,0,0),(44,638,0,0),(44,639,0,0),(44,640,0,0),(44,641,0,0),(44,642,0,0),(44,643,0,0),(44,644,0,0),(44,645,0,0),(44,646,0,0),(46,647,0,0),(46,648,0,0),(46,649,0,0),(46,650,0,0),(46,651,0,0),(46,652,0,0),(46,653,0,0),(46,654,0,0),(46,655,0,0),(46,656,0,0),(46,657,0,0),(46,658,0,0),(46,659,0,0),(46,660,0,0),(46,661,0,0),(46,662,0,0),(46,663,0,0),(46,664,0,0),(46,665,0,0),(46,666,0,0),(46,667,0,0),(47,668,0,0),(47,669,0,0),(47,670,0,0),(47,671,0,0),(47,672,0,0),(47,673,0,0),(2,674,0,0),(29,675,0,0),(23,676,0,0),(23,677,0,0),(23,678,0,0),(23,679,0,0),(23,680,0,0),(23,681,0,0),(23,682,0,0),(23,683,0,0),(23,684,0,0),(22,685,0,0),(22,686,0,0),(22,687,0,0),(22,688,0,0),(22,689,0,0),(22,690,0,0),(22,691,0,0),(22,692,0,0),(22,693,0,0),(21,694,0,0),(21,695,0,0),(21,696,0,0),(21,697,0,0),(21,698,0,0),(21,699,0,0),(21,700,0,0),(21,701,0,0),(21,702,0,0),(20,703,0,0),(20,704,0,0),(20,705,0,0),(20,706,0,0),(20,707,0,0),(20,708,0,0),(20,709,0,0),(20,710,0,0),(20,711,0,0),(29,712,0,0),(43,713,0,0),(38,714,0,0),(29,715,0,0),(29,716,0,0),(29,717,0,0),(23,718,0,0),(22,719,0,0),(21,720,0,0),(20,721,0,0),(29,722,0,0),(6,723,0,0),(4,724,0,0),(2,725,0,0),(29,726,0,0),(23,727,0,0),(23,728,0,0),(21,729,0,0),(21,730,0,0),(18,731,0,0),(7,732,0,0),(38,733,0,0),(38,734,0,0),(23,735,0,0),(20,736,0,0),(21,737,0,0),(22,738,0,0),(29,739,0,0),(2,740,0,0),(13,741,0,0),(29,742,0,0),(29,743,0,0),(29,744,0,0),(29,745,0,0),(14,772,0,0),(32,773,0,0),(23,774,0,0),(29,775,0,0),(23,776,0,0),(23,777,0,0),(23,778,0,0),(20,779,0,0),(20,780,0,0),(20,781,0,0),(21,782,0,0),(22,783,0,0),(22,784,0,0),(22,785,0,0),(38,786,0,0),(38,787,0,0),(38,788,0,0),(2,789,0,0),(4,790,0,0),(6,791,0,0),(7,792,0,0),(8,793,0,0),(9,794,0,0),(10,795,0,0),(13,796,0,0),(14,797,0,0),(15,798,0,0),(16,799,0,0),(18,800,0,0),(19,801,0,0),(20,802,0,0),(21,803,0,0),(22,804,0,0),(23,805,0,0),(26,806,0,0),(10,807,0,0),(2,808,0,0),(4,809,0,0),(6,810,0,0),(7,811,0,0),(8,812,0,0),(9,813,0,0),(10,814,0,0),(13,815,0,0),(14,816,0,0),(15,817,0,0),(16,818,0,0),(18,819,0,0),(19,820,0,0),(20,821,0,0),(21,822,0,0),(22,823,0,0),(23,824,0,0),(26,825,0,0),(2,826,0,0),(4,827,0,0),(6,828,0,0),(7,829,0,0),(8,830,0,0),(9,831,0,0),(10,832,0,0),(13,833,0,0),(14,834,0,0),(15,835,0,0),(16,836,0,0),(18,837,0,0),(19,838,0,0),(20,839,0,0),(21,840,0,0),(22,841,0,0),(23,842,0,0),(26,843,0,0),(20,844,0,0),(21,845,0,0),(22,846,0,0),(23,847,0,0),(44,848,0,0),(44,849,0,0),(29,850,0,0),(22,851,0,0),(29,852,0,0),(4,954,0,0),(52,955,0,0),(52,956,0,0),(52,957,0,0),(52,958,0,0),(52,959,0,0),(52,960,0,0),(52,961,0,0),(52,962,0,0),(52,963,0,0),(52,964,0,0),(52,965,0,0),(52,966,0,0),(52,967,0,0),(52,968,0,0),(52,969,0,0),(52,970,0,0),(52,971,0,0),(52,972,0,0),(52,973,0,0),(52,974,0,0),(53,975,0,0),(53,976,0,0),(53,977,0,0),(53,978,0,0),(53,979,0,0),(53,980,0,0),(53,981,0,0),(53,982,0,0),(53,983,0,0),(53,984,0,0),(53,985,0,0),(53,986,0,0),(53,987,0,0),(53,988,0,0),(53,989,0,0),(53,990,0,0),(54,991,0,0),(54,992,0,0),(54,993,0,0),(54,994,0,0),(54,995,0,0),(54,996,0,0),(54,997,0,0),(54,998,0,0),(54,999,0,0),(54,1000,0,0),(54,1001,0,0),(55,1002,0,0),(55,1003,0,0),(55,1004,0,0),(55,1005,0,0),(55,1006,0,0),(55,1007,0,0),(55,1008,0,0),(55,1009,0,0),(55,1010,0,0),(55,1011,0,0),(55,1012,0,0),(55,1013,0,0),(55,1014,0,0),(55,1015,0,0),(55,1016,0,0),(56,1017,0,0),(56,1018,0,0),(56,1019,0,0),(56,1020,0,0),(56,1021,0,0),(56,1022,0,0),(56,1023,0,0),(56,1024,0,0),(56,1025,0,0),(56,1026,0,0),(56,1027,0,0),(56,1028,0,0),(56,1029,0,0),(56,1030,0,0),(57,1031,0,0),(57,1032,0,0),(57,1033,0,0),(57,1034,0,0),(57,1035,0,0),(57,1036,0,0),(57,1037,0,0),(57,1038,0,0),(57,1039,0,0),(57,1040,0,0),(58,1041,0,0),(58,1042,0,0),(58,1043,0,0),(58,1044,0,0),(58,1045,0,0),(58,1046,0,0),(58,1047,0,0),(58,1048,0,0),(58,1049,0,0),(58,1050,0,0),(58,1051,0,0),(59,1052,0,0),(59,1053,0,0),(59,1054,0,0),(59,1055,0,0),(59,1056,0,0),(59,1057,0,0),(59,1058,0,0),(59,1059,0,0),(59,1060,0,0),(59,1061,0,0),(59,1062,0,0),(59,1063,0,0),(59,1064,0,0),(59,1065,0,0),(59,1066,0,0),(60,1074,0,0),(60,1075,0,0),(60,1076,0,0),(60,1077,0,0),(60,1078,0,0),(60,1079,0,0),(60,1080,0,0),(60,1081,0,0),(60,1082,0,0),(60,1083,0,0),(60,1084,0,0),(60,1085,0,0),(60,1086,0,0),(60,1087,0,0),(60,1088,0,0),(60,1089,0,0),(61,1090,0,0),(61,1091,0,0),(61,1092,0,0),(61,1093,0,0),(61,1094,0,0),(61,1095,0,0),(61,1096,0,0),(61,1097,0,0),(60,1098,0,0),(60,1099,0,0),(60,1100,0,0),(60,1101,0,0),(60,1102,0,0),(60,1103,0,0),(60,1104,0,0),(60,1105,0,0),(60,1106,0,0),(60,1107,0,0),(60,1108,0,0),(60,1109,0,0),(60,1110,0,0),(60,1111,0,0),(60,1112,0,0),(60,1113,0,0),(60,1114,0,0),(60,1115,0,0),(60,1116,0,0),(60,1117,0,0),(60,1118,0,0),(60,1119,0,0),(60,1120,0,0),(61,1121,0,0),(61,1122,0,0),(61,1123,0,0),(61,1124,0,0),(61,1125,0,0),(61,1126,0,0),(13,1127,0,0),(13,1128,0,0),(13,1129,0,0),(13,1130,0,0),(13,1131,0,0),(13,1132,0,0),(13,1133,0,0),(26,1134,0,0),(26,1135,0,0),(4,1136,0,0),(4,1137,0,0),(4,1138,0,0),(4,1139,0,0),(4,1140,0,0),(4,1141,0,0),(4,1142,0,0),(4,1143,0,0),(4,1144,0,0),(4,1145,0,0),(4,1146,0,0),(4,1147,0,0),(4,1148,0,0),(4,1149,0,0),(4,1150,0,0),(4,1151,0,0),(4,1152,0,0),(4,1153,0,0),(4,1154,0,0),(2,1155,0,0),(2,1156,0,0),(6,1157,0,0),(6,1158,0,0),(6,1159,0,0),(6,1160,0,0),(6,1161,0,0),(6,1162,0,0),(6,1163,0,0),(6,1164,0,0),(6,1165,0,0),(6,1166,0,0),(6,1167,0,0),(6,1168,0,0),(6,1169,0,0),(61,1170,0,0),(61,1171,0,0),(61,1172,0,0),(61,1173,0,0),(61,1174,0,0),(61,1175,0,0),(61,1176,0,0),(61,1177,0,0),(61,1178,0,0),(61,1179,0,0),(61,1180,0,0),(61,1181,0,0),(61,1182,0,0),(61,1183,0,0),(62,1184,0,0),(62,1185,0,0),(62,1186,0,0),(62,1187,0,0),(62,1188,0,0),(62,1189,0,0),(62,1190,0,0),(62,1191,0,0),(62,1192,0,0),(62,1193,0,0),(62,1194,0,0),(62,1195,0,0),(62,1196,0,0),(62,1197,0,0),(62,1198,0,0),(62,1199,0,0),(62,1200,0,0),(62,1201,0,0),(62,1202,0,0),(62,1203,0,0),(62,1204,0,0),(62,1205,0,0),(62,1206,0,0),(62,1207,0,0),(63,1208,0,0),(63,1209,0,0),(63,1210,0,0),(63,1211,0,0),(63,1212,0,0),(63,1213,0,0),(63,1214,0,0),(63,1215,0,0),(63,1216,0,0),(63,1217,0,0),(63,1218,0,0),(63,1219,0,0),(63,1220,0,0),(63,1221,0,0),(63,1222,0,0),(64,1223,0,0),(64,1224,0,0),(64,1225,0,0),(64,1226,0,0),(64,1227,0,0),(64,1228,0,0),(64,1229,0,0),(64,1230,0,0),(64,1231,0,0),(64,1232,0,0),(64,1233,0,0),(64,1234,0,0),(64,1235,0,0),(64,1236,0,0),(64,1237,0,0),(64,1238,0,0),(64,1239,0,0),(64,1240,0,0),(64,1241,0,0),(64,1242,0,0),(64,1243,0,0),(64,1244,0,0),(64,1245,0,0),(64,1246,0,0),(64,1247,0,0),(60,1248,0,0),(60,1249,0,0),(60,1250,0,0);

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

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

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

INSERT INTO `vtiger_def_org_share` VALUES (1,2,2,0),(2,4,2,0),(3,6,2,0),(4,7,2,0),(5,9,3,1),(6,13,2,0),(7,16,3,2),(8,20,2,0),(9,21,2,0),(10,22,2,0),(11,23,2,0),(12,26,2,0),(13,8,2,0),(14,14,2,0),(15,31,2,0),(16,32,2,0),(17,37,3,0),(18,38,2,0),(19,42,2,0),(20,43,2,0),(21,44,2,0),(22,46,2,0),(23,47,2,0),(24,18,2,0),(25,10,2,0),(26,52,3,0),(27,53,3,0),(28,54,3,0),(29,55,3,0),(30,56,3,0),(31,57,3,0),(32,58,3,0),(33,59,3,0),(34,60,3,0),(35,61,3,0),(36,62,2,0),(37,63,2,0),(38,64,2,0);

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

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

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

INSERT INTO `vtiger_def_org_share_seq` VALUES (38);

--
-- Table structure for table `vtiger_default_record_view`
--

CREATE TABLE `vtiger_default_record_view` (
  `default_record_viewid` int(11) NOT NULL AUTO_INCREMENT,
  `default_record_view` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`default_record_viewid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_default_record_view`
--

INSERT INTO `vtiger_default_record_view` VALUES (1,'Summary',1,1),(2,'Detail',0,1);

--
-- Table structure for table `vtiger_default_record_view_seq`
--

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

--
-- Dumping data for table `vtiger_default_record_view_seq`
--

INSERT INTO `vtiger_default_record_view_seq` VALUES (2);

--
-- Table structure for table `vtiger_defaultactivitytype`
--

CREATE TABLE `vtiger_defaultactivitytype` (
  `defaultactivitytypeid` int(11) NOT NULL AUTO_INCREMENT,
  `defaultactivitytype` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  PRIMARY KEY (`defaultactivitytypeid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_defaultactivitytype`
--

INSERT INTO `vtiger_defaultactivitytype` VALUES (1,'Call',1,299,1),(2,'Meeting',1,300,2);

--
-- Table structure for table `vtiger_defaultactivitytype_seq`
--

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

--
-- Dumping data for table `vtiger_defaultactivitytype_seq`
--

INSERT INTO `vtiger_defaultactivitytype_seq` VALUES (2);

--
-- Table structure for table `vtiger_defaultcalendarview`
--

CREATE TABLE `vtiger_defaultcalendarview` (
  `defaultcalendarviewid` int(11) NOT NULL AUTO_INCREMENT,
  `defaultcalendarview` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`defaultcalendarviewid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_defaultcalendarview`
--

INSERT INTO `vtiger_defaultcalendarview` VALUES (1,'ListView',0,1),(2,'MyCalendar',1,1),(3,'SharedCalendar',2,1);

--
-- Table structure for table `vtiger_defaultcalendarview_seq`
--

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

--
-- Dumping data for table `vtiger_defaultcalendarview_seq`
--

INSERT INTO `vtiger_defaultcalendarview_seq` VALUES (3);

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

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

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


--
-- Table structure for table `vtiger_defaulteventstatus`
--

CREATE TABLE `vtiger_defaulteventstatus` (
  `defaulteventstatusid` int(11) NOT NULL AUTO_INCREMENT,
  `defaulteventstatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  PRIMARY KEY (`defaulteventstatusid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_defaulteventstatus`
--

INSERT INTO `vtiger_defaulteventstatus` VALUES (1,'Planned',1,296,1),(2,'Held',1,297,2),(3,'Not Held',1,298,3);

--
-- Table structure for table `vtiger_defaulteventstatus_seq`
--

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

--
-- Dumping data for table `vtiger_defaulteventstatus_seq`
--

INSERT INTO `vtiger_defaulteventstatus_seq` VALUES (3);

--
-- Table structure for table `vtiger_defaultlandingpage`
--

CREATE TABLE `vtiger_defaultlandingpage` (
  `defaultlandingpageid` int(11) NOT NULL AUTO_INCREMENT,
  `defaultlandingpage` 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 (`defaultlandingpageid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_defaultlandingpage`
--

INSERT INTO `vtiger_defaultlandingpage` VALUES (1,'true',1,303,1,NULL),(2,'false',1,304,2,NULL);

--
-- Table structure for table `vtiger_defaultlandingpage_seq`
--

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

--
-- Dumping data for table `vtiger_defaultlandingpage_seq`
--

INSERT INTO `vtiger_defaultlandingpage_seq` VALUES (2);

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

CREATE TABLE `vtiger_duration_minutes` (
  `minutesid` int(19) NOT NULL AUTO_INCREMENT,
  `duration_minutes` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`minutesid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

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

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

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

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

INSERT INTO `vtiger_duration_minutes_seq` VALUES (4);

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

CREATE TABLE `vtiger_durationhrs` (
  `hrsid` int(19) NOT NULL AUTO_INCREMENT,
  `hrs` varchar(50) DEFAULT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`hrsid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


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

CREATE TABLE `vtiger_durationmins` (
  `minsid` int(19) NOT NULL AUTO_INCREMENT,
  `mins` varchar(50) DEFAULT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`minsid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


--
-- Table structure for table `vtiger_email_access`
--

CREATE TABLE `vtiger_email_access` (
  `crmid` int(11) DEFAULT NULL,
  `mailid` int(11) DEFAULT NULL,
  `accessdate` date DEFAULT NULL,
  `accesstime` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_email_access`
--


--
-- Table structure for table `vtiger_email_track`
--

CREATE TABLE `vtiger_email_track` (
  `crmid` int(11) DEFAULT NULL,
  `mailid` int(11) DEFAULT NULL,
  `access_count` int(11) DEFAULT NULL,
  `click_count` int(11) NOT NULL DEFAULT 0,
  UNIQUE KEY `link_tabidtype_idx` (`crmid`,`mailid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_email_track`
--

INSERT INTO `vtiger_email_track` VALUES (170,751,0,0),(170,752,0,0),(734,753,0,0),(735,754,0,0),(735,755,0,0),(170,756,0,0),(170,757,0,0),(743,758,0,0),(745,759,0,0),(746,760,0,0),(762,768,0,0),(763,769,0,0),(763,770,0,0),(763,771,0,0),(163,775,0,0),(777,778,0,0),(786,787,0,0);

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

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

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

INSERT INTO `vtiger_emaildetails` VALUES (751,'cgarcia@creantis.com','[\"cgarcia@creantis.com\"]','[\"\"]','[\"\"]','','170@1|','SENT'),(752,'cgarcia@creantis.com','[\"cgarcia@creantis.com\"]','[\"\"]','[\"\"]','','170@1|','SENT'),(753,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','734@1|','SENT'),(754,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','735@1|','SENT'),(755,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','735@1|','SENT'),(756,'cgarcia@creantis.com','[\"cgarcia@creantis.com\"]','[\"\"]','[\"\"]','','170@1|','SENT'),(757,'cgarcia@creantis.com','[\"cgarcia@creantis.com\"]','[\"\"]','[\"\"]','','170@1|','SENT'),(758,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','743@1|','SENT'),(759,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','745@1|','SENT'),(760,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','746@1|','SENT'),(768,'emonzon@creantis.com','[\"emonzon@creantis.com\"]','[\"\"]','[\"\"]','','762@1|','SENT'),(769,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','763@1|','SENT'),(770,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','763@1|','SENT'),(771,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','763@1|','SENT'),(775,'sloyola@gmail.com','[\"sloyola@gmail.com\"]','[\"\"]','[\"\"]','','163@1|','SENT'),(778,'creantisdevelopment@gmail.com','[\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','777@1|','SENT'),(787,'admin@dominio.com','[\"\",\"creantisdevelopment@gmail.com\"]','[\"\"]','[\"\"]','','786@1|','SENT');

--
-- Table structure for table `vtiger_emails_recipientprefs`
--

CREATE TABLE `vtiger_emails_recipientprefs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tabid` int(11) NOT NULL,
  `prefs` varchar(255) DEFAULT NULL,
  `userid` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_emails_recipientprefs`
--


--
-- Table structure for table `vtiger_emailslookup`
--

CREATE TABLE `vtiger_emailslookup` (
  `crmid` int(20) DEFAULT NULL,
  `setype` varchar(100) DEFAULT NULL,
  `value` varchar(100) DEFAULT NULL,
  `fieldid` int(20) DEFAULT NULL,
  UNIQUE KEY `emailslookup_crmid_setype_fieldname_uk` (`crmid`,`setype`,`fieldid`),
  KEY `emailslookup_fieldid_setype_idx` (`fieldid`,`setype`),
  CONSTRAINT `emailslookup_crmid_fk` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_emailslookup`
--

INSERT INTO `vtiger_emailslookup` VALUES (456,'Cobranzas','gventas@zapler.com',1119),(457,'Cobranzas','osanchez@refineriala.com.pe',1119),(459,'Cobranzas','hperez@minerayanac.com.pe',1119),(465,'Cobranzas','smendez@minerabarri.com.pe',1119),(469,'Cobranzas','acorrales@telefonicam.com.pe',1119),(470,'Cobranzas','bdiaz@perupetros..com.pe',1119),(471,'Cobranzas','cmarcenaro@alicorps.a..com.pe',1119),(472,'Cobranzas','dsolis@uniondecer.com.pe',1119),(473,'Cobranzas','ffoppiano@repsolcomer.com.pe',1119),(474,'Cobranzas','grojas@peruanadec.com.pe',1119),(479,'Cobranzas','mquezada@hipermercado.com.pe',1119),(481,'Cobranzas','ovillanueva@supermercado.com.pe',1119),(483,'Cobranzas','jcruz@rimacintern.com.pe',1119),(484,'Cobranzas','rescobedo@pluspetrolp.com.pe',1119),(485,'Cobranzas','oscarsc@hotmail.com',1119),(486,'Cobranzas','vgutierrez@a.ys.s.a..com.pe',1119),(489,'Cobranzas','ibarron@empresaded.com.pe',1119),(491,'Cobranzas','carellano@sagafalabel.com.pe',1119),(495,'Cobranzas','hbenavente@minsurs.a..com.pe',1119),(496,'Cobranzas','osantacruz@g.ym.s.a..com.pe',1119),(497,'Cobranzas','dlituma@corporacion.com.pe',1119),(498,'Cobranzas','acevasco@superintende.com.pe',1119),(499,'Cobranzas','alima@sanfernando.com.pe',1119),(502,'Cobranzas','mcuenca@tiendaspor.com.pe',1119),(506,'Cobranzas','cmachado@e.wongs.a..com.pe',1119),(507,'Cobranzas','scanales@huntoilcom.com.pe',1119),(508,'Cobranzas','pleon@peruanadep.com.pe',1119),(510,'Cobranzas','lmiyagi@enersurs.a..com.pe',1119),(512,'Cobranzas','gdelatorre@serviciode.com.pe',1119),(514,'Cobranzas','psanchez@doerunperu.com.pe',1119),(516,'Cobranzas','lperez@elpacifico.com.pe',1119),(517,'Cobranzas','hdiaz@conirsas.a..com.pe',1119),(518,'Cobranzas','gpolo@pluspetroln.com.pe',1119),(520,'Cobranzas','mbarron@edegels.a.a.com.pe',1119),(522,'Cobranzas','aarellano@goldfields.com.pe',1119),(523,'Cobranzas','ghurtado@koriperus..com.pe',1119),(524,'Cobranzas','cpaez@procter&ga.com.pe',1119),(525,'Cobranzas','hdelacruz@eckerdperu.com.pe',1119),(526,'Cobranzas','ohernandez@techints.a..com.pe',1119),(528,'Cobranzas','adiaz@cia.minera.com.pe',1119),(530,'Cobranzas','asolis@shouganghie.com.pe',1119),(532,'Cobranzas','aregalado@mibancobanc.com.pe',1119),(534,'Cobranzas','dzuniga@transportado.com.pe',1119),(536,'Cobranzas','gmontes@nexteldelp.com.pe',1119),(537,'Cobranzas','jsegura@cia.minera.com.pe',1119),(538,'Cobranzas','rreyna@manuperuho.com.pe',1119),(539,'Cobranzas','sruiz@l.g.electr.com.pe',1119),(541,'Cobranzas','wpizarro@crediscotia.com.pe',1119),(542,'Cobranzas','xcorcuera@cetcos.a..com.pe',1119),(543,'Cobranzas','kzambrano@sociedadmin.com.pe',1119),(547,'Cobranzas','oparedes@maestrohome.com.pe',1119),(549,'Cobranzas','csegura@sodimacperu.com.pe',1119),(551,'Cobranzas','fruiz@kimberlycla.com.pe',1119),(554,'Cobranzas','jraez@elpacifico.com.pe',1119),(562,'Cobranzas','oaltamirano@cementospac.com.pe',1119),(563,'Cobranzas','jperez@petroleosde.com.pe',1119),(564,'Cobranzas','oscar@creantis.com',1119),(565,'Cobranzas','osantacruz@creantis.net',1119),(566,'Cobranzas','jperez@pacasmayo.com',1119),(567,'Cobranzas','carlos@losvelasquez.net',1119),(568,'Cobranzas','jose.zavaleta@kcc.com',1119),(569,'Cobranzas','carlos@losvelasquez.net',1119),(570,'Cobranzas','jraez@elpacifico.com.pe',1119),(571,'Cobranzas','oaltamirano@cementospac.com.pe',1119),(572,'Cobranzas','jperez@petroleosde.com.pe',1119),(573,'Cobranzas','oscar@creantis.com',1119),(574,'Cobranzas','osantacruz@creantis.net',1119),(575,'Cobranzas','jperez@pacasmayo.com',1119),(576,'Cobranzas','carlos@losvelasquez.net',1119),(577,'Cobranzas','carlos@losvelasquez.net',1119),(578,'Cobranzas','jraez@elpacifico.com.pe',1119),(579,'Cobranzas','oaltamirano@cementospac.com.pe',1119),(580,'Cobranzas','jperez@petroleosde.com.pe',1119),(581,'Cobranzas','oscar@creantis.com',1119),(582,'Cobranzas','osantacruz@creantis.net',1119),(458,'Cobranzas','jrodriguez@southernper.com.pe',1119),(460,'Cobranzas','fdiaz@cia.minera.com.pe',1119),(461,'Cobranzas','dpolo@sociedadmin.com.pe',1119),(462,'Cobranzas','mmanzanares@bancodecre.com.pe',1119),(463,'Cobranzas','jrodriguez@segurosocia.com.pe',1119),(464,'Cobranzas','jrojas@telefonicad.com.pe',1119),(466,'Cobranzas','epacheco@consorciomi.com.pe',1119),(467,'Cobranzas','cdelacruz@bancocentra.com.pe',1119),(468,'Cobranzas','mhernandez@bancocontin.com.pe',1119),(475,'Cobranzas','hcampos@primaxs.a..com.pe',1119),(476,'Cobranzas','jallemant@bancointern.com.pe',1119),(477,'Cobranzas','kvillanes@scotiabankp.com.pe',1119),(480,'Cobranzas','npardo@procesadora.com.pe',1119),(482,'Cobranzas','pnaranjo@glorias.a..com.pe',1119),(487,'Cobranzas','wzapata@corporacion.com.pe',1119),(488,'Cobranzas','xbarrantes@luzdelsur.com.pe',1119),(490,'Cobranzas','afernandez@saviaperus.com.pe',1119),(492,'Cobranzas','dhurtado@universalme.com.pe',1119),(493,'Cobranzas','fpaez@volcancia..com.pe',1119),(494,'Cobranzas','gzevallos@bancodela.com.pe',1119),(500,'Cobranzas','aramos@tecnologica.com.pe',1119),(501,'Cobranzas','avelasquez@cia.demina.com.pe',1119),(503,'Cobranzas','pramirez@empresaside.com.pe',1119),(504,'Cobranzas','aabad@hipermercado.com.pe',1119),(505,'Cobranzas','ginurritegui@empresaelec.com.pe',1119),(509,'Cobranzas','sjayo@quimicasuiz.com.pe',1119),(511,'Cobranzas','hmedina@oricachemic.com.pe',1119),(513,'Cobranzas','sperez@toyotadelp.com.pe',1119),(515,'Cobranzas','srodriguez@nestleperu.com.pe',1119),(519,'Cobranzas','abarrantes@deprodecas.com.pe',1119),(521,'Cobranzas','pfernandez@lanperus.a.com.pe',1119),(527,'Cobranzas','dcorrales@petrobrasen.com.pe',1119),(529,'Cobranzas','amarcenaro@cementoslim.com.pe',1119),(531,'Cobranzas','iaservi@cbiperuana.com.pe',1119),(533,'Cobranzas','csalazar@repsolypfc.com.pe',1119),(535,'Cobranzas','fpachas@fondonacion.com.pe',1119),(540,'Cobranzas','vcastilla@corporacion.com.pe',1119),(544,'Cobranzas','lcarrera@inversiones.com.pe',1119),(545,'Cobranzas','mvillar@australgrou.com.pe',1119),(546,'Cobranzas','nsevillano@xstratatint.com.pe',1119),(548,'Cobranzas','pmontes@pluspetrolc.com.pe',1119),(550,'Cobranzas','dreyna@uniques.a..com.pe',1119),(552,'Cobranzas','gcastilla@pesqueradia.com.pe',1119),(553,'Cobranzas','hpizarro@credibolsas.com.pe',1119),(555,'Cobranzas','oaltamirano@cementospac.com.pe',1119),(556,'Cobranzas','jperez@petroleosde.com.pe',1119),(557,'Cobranzas','oscar@creantis.com',1119),(558,'Cobranzas','osantacruz@creantis.net',1119),(559,'Cobranzas','jperez@pacasmayo.com',1119),(560,'Cobranzas','carlos@losvelasquez.net',1119),(561,'Cobranzas','jraez@elpacifico.com.pe',1119),(478,'Cobranzas','lgalvez@americamovi.com.pe',1119),(170,'Contacts','abarrantes@deprodecas.com.pe',80),(163,'Contacts','gdelatorre@serviciode.com.pe',80);

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

CREATE TABLE `vtiger_emailtemplates` (
  `foldername` varchar(100) DEFAULT NULL,
  `templatename` varchar(100) DEFAULT NULL,
  `templatepath` varchar(100) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `body` text DEFAULT NULL,
  `deleted` int(1) NOT NULL DEFAULT 0,
  `templateid` int(19) NOT NULL AUTO_INCREMENT,
  `systemtemplate` int(1) NOT NULL DEFAULT 0,
  `module` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`templateid`),
  KEY `emailtemplates_foldernamd_templatename_subject_idx` (`foldername`,`templatename`,`subject`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_emailtemplates` VALUES ('Public','Announcement for Release','','Announcement for Release','Announcement of a release','Hello!   <br />\n	<br />\n	On behalf of the vtiger team,  I am pleased to announce the release of vtiger crm4.2 . This is a feature packed release including the mass email template handling, custom view feature, vtiger_reports feature and a host of other utilities. vtiger runs on all platforms.    <br />\n        <br />\n	Notable Features of vtiger are :   <br />\n	<br />\n	-Email Client Integration    <br />\n	-Trouble Ticket Integration   <br />\n	-Invoice Management Integration   <br />\n	-Reports Integration   <br />\n	-Portal Integration   <br />\n	-Enhanced Word Plugin Support   <br />\n	-Custom View Integration   <br />\n	<br />\n	Known Issues:   <br />\n	-ABCD   <br />\n	-EFGH   <br />\n	-IJKL   <br />\n	-MNOP   <br />\n	-QRST',0,1,0,'Contacts'),('Public','Pending Invoices','','Invoices Pending','Payment Due','name <br />\nstreet, <br />\ncity, <br />\nstate, <br />\n zip) <br />\n  <br />\n Dear <br />\n <br />\n Please check the following invoices that are yet to be paid by you: <br />\n <br />\n No. Date      Amount <br />\n 1   1/1/01    $4000 <br />\n 2   2/2//01   $5000 <br />\n 3   3/3/01    $10000 <br />\n 4   7/4/01    $23560 <br />\n <br />\n Kindly let us know if there are any issues that you feel are pending to be discussed. <br />\n We will be more than happy to give you a call. <br />\n We would like to continue our business with you.',0,2,0,'Contacts'),('Public','Acceptance Proposal','','Acceptance Proposal','Acceptance of Proposal',' Dear <br />\n <br />\nYour proposal on the project XYZW has been reviewed by us <br />\nand is acceptable in its entirety. <br />\n <br />\nWe are eagerly looking forward to this project <br />\nand are pleased about having the opportunity to work <br />\ntogether. We look forward to a long standing relationship <br />\nwith your esteemed firm. <br />\n<br />\nI would like to take this opportunity to invite you <br />\nto a game of golf on Wednesday morning 9am at the <br />\nCuff Links Ground. We will be waiting for you in the <br />\nExecutive Lounge. <br />\n<br />\nLooking forward to seeing you there.',0,3,0,'Contacts'),('Public','Goods received acknowledgement','','Goods received acknowledgement','Acknowledged Receipt of Goods',' The undersigned hereby acknowledges receipt and delivery of the goods. <br />\nThe undersigned will release the payment subject to the goods being discovered not satisfactory. <br />\n<br />\nSigned under seal this <date>',0,4,0,'Contacts'),('Public','Accept Order','','Accept Order','Acknowledgement/Acceptance of Order',' Dear <br />\n         We are in receipt of your order as contained in the <br />\n   purchase order form.We consider this to be final and binding on both sides. <br />\nIf there be any exceptions noted, we shall consider them <br />\nonly if the objection is received within ten days of receipt of <br />\nthis notice. <br />\n <br />\nThank you for your patronage.',0,5,0,'Contacts'),('Public','Address Change','','Change of Address','Address Change','Dear <br />\n <br />\nWe are relocating our office to <br />\n11111,XYZDEF Cross, <br />\nUVWWX Circle <br />\nThe telephone number for this new location is (101) 1212-1328. <br />\n<br />\nOur Manufacturing Division will continue operations <br />\nat 3250 Lovedale Square Avenue, in Frankfurt. <br />\n<br />\nWe hope to keep in touch with you all. <br />\nPlease update your addressbooks.',0,6,0,'Contacts'),('Public','Follow Up','','Follow Up','Follow Up of meeting','Dear <br />\n<br />\nThank you for extending us the opportunity to meet with <br />\nyou and members of your staff. <br />\n<br />\nI know that John Doe serviced your account <br />\nfor many years and made many friends at your firm. He has personally <br />\ndiscussed with me the deep relationship that he had with your firm. <br />\nWhile his presence will be missed, I can promise that we will <br />\ncontinue to provide the fine service that was accorded by <br />\nJohn to your firm. <br />\n<br />\nI was genuinely touched to receive such fine hospitality. <br />\n<br />\nThank you once again.',0,7,0,'Contacts'),('Public','Target Crossed!','','Target Crossed!','Fantastic Sales Spree!','Congratulations! <br />\n<br />\nThe numbers are in and I am proud to inform you that our <br />\ntotal sales for the previous quarter <br />\namounts to $100,000,00.00!. This is the first time <br />\nwe have exceeded the target by almost 30%. <br />\nWe have also beat the previous quarter record by a <br />\nwhopping 75%! <br />\n<br />\nLet us meet at Smoking Joe for a drink in the evening! <br />\n\nC you all there guys!',0,8,0,'Contacts'),('Public','Thanks Note','','Thanks Note','Note of thanks','Dear <br />\n<br />\nThank you for your confidence in our ability to serve you. <br />\nWe are glad to be given the chance to serve you.I look <br />\nforward to establishing a long term partnership with you. <br />\nConsider me as a friend. <br />\nShould any need arise,please do give us a call.',0,9,0,'Contacts'),('Public','Customer Login Details','','Customer Portal Login Details','Send Portal login details to customer','<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n        <html>\n        <head>\n          <title></title>\n        </head>\n        <body class=\"scayt-enabled\">\n          <!-- <center> -->\n            <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"borderGrey\" width=\"600px\" style=\"margin-left:0px;\">\n              <tbody>\n                <tr>\n                  <td colspan=\"6\"><!-- Begin Pre header --><!-- // End Pre header \\ --></td>\n                </tr>\n                <tr style=\"height:50px;\">\n                  <td colspan=\"6\" style=\"\n                  font-family: Helvetica,Verdana,sans-serif\">\n                  <div style=\"margin-bottom:10px;color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\"><br />\n                    Dear $contacts-firstname$ $contacts-lastname$,</div>\n\n                    <div style=\"margin-top:20px;margin-bottom:20px; color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">As our customer, you can be assured of getting excellent support from our team. I would like to take this opportunity to introduce the portal we have setup for valuable customers like you. You can submit questions/issues via the portal, see past issues and responses. In addition, Portal provides you access to our knowledge base and documents we shared with you in the past.\n                    </div>\n\n                    <div style=\"margin-top:10px;color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">$URL$ to login to the portal, with the credentials below.</div>\n\n                    <div style=\"margin-top:20px;color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">Your Username: $login_name$</div>\n\n                    <div style=\"margin-bottom:20px;color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">Your Password: $password$</div>\n                    <div class=\"gmail_extra\" style=\"margin-top:10px;color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">Thank you,<br />\n                      $contacts-smownerid$</div>\n\n                    </td>\n                  </tr>\n                  <tr>\n                    <td colspan=\"6\" style=\"font-family: Helvetica,Verdana,sans-serif;font-size: 11px;color: #666666;\">\n                      <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">\n                        <tbody>\n                          <!--copy right data-->\n                          <tr>\n                            <td valign=\"top\" style=\"\n                            padding-left: 0px;\n                            padding-right: 0px;\n                            width:350px\">\n                                <div style=\"margin-top:20px;\"><em>Powered By <a href=\"www.vtiger.com\">Vtiger</a><div>\n                            </td>\n                          </tr>\n                          <!--subscribers links-->\n                        </tbody>\n                      </table>\n                    </td>\n                  </tr>\n                </tbody>\n              </table>\n            <!-- </center> -->\n          </body>\n          </html>',0,10,0,'Contacts'),('Public','Support end notification before a week','','VtigerCRM Support Notification','Send Notification mail to customer before a week of support end date','<table width=\"700\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; text-decoration: none; background-color: rgb(122, 122, 254);\">\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td width=\"50\"> </td>\n            <td>\n            <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n                    <tr>\n                        <td>\n                        <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(255, 255, 255); font-weight: normal; line-height: 25px;\">\n                                <tr>\n                                    <td align=\"center\" rowspan=\"4\">$logo$</td>\n                                    <td align=\"center\"> </td>\n                                </tr>\n                                <tr>\n                                    <td align=\"left\" style=\"background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 24px; color: rgb(255, 255, 255); font-weight: bolder; line-height: 35px;\">vtiger CRM </td>\n                                </tr>\n                                <tr>\n                                    <td align=\"right\" style=\"padding-right: 100px;\">The honest Open Source CRM </td>\n                                </tr>\n                                <tr>\n                                    <td> </td>\n                                </tr>\n                        </table>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td>\n                        <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">\n                                <tr>\n                                    <td valign=\"top\">\n                                    <table width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\">\n                                            <tr>\n                                                <td align=\"right\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);\"> </td>\n                                            </tr>\n                                            <tr>\n                                                <td> </td>\n                                            </tr>\n                                            <tr>\n                                                <td style=\"font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(22, 72, 134); font-weight: bolder; line-height: 15px;\">Dear $contacts-lastname$, </td>\n                                            </tr>\n                                            <tr>\n                                                <td style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; text-align: justify; line-height: 20px;\">This is just a notification mail regarding your support end.<br /><span style=\"font-weight: bold;\">Priority:</span> Urgent<br />Your Support is going to expire on next week<br />Please contact support@vtiger.com.<br /><br /><br /></td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"center\"><br /></td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"right\"><strong style=\"padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: bold;\"><br /><br />Sincerly</strong></td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"right\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; line-height: 20px;\">Support Team </td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"right\"><a style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);\" href=\"http://www.vtiger.com\">www.vtiger.com</a></td>\n                                            </tr>\n                                            <tr>\n                                                <td> </td>\n                                            </tr>\n                                    </table>\n                                    </td>\n                                    <td width=\"1%\" valign=\"top\"> </td>\n                                </tr>\n                        </table>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td>\n                        <table width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(255, 255, 255); font-weight: normal; line-height: 15px; background-color: rgb(51, 51, 51);\">\n                                <tr>\n                                    <td align=\"center\">Shree Narayana Complex, No 11 Sarathy Nagar, Vijaya Nagar , Velachery, Chennai - 600 042 India </td>\n                                </tr>\n                                <tr>\n                                    <td align=\"center\">Telephone No: +91 - 44 - 4202 - 1990     Toll Free No: +1 877 788 4437</td>\n                                </tr>\n                                <tr>\n                                    <td align=\"center\">Email Id: <a style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(255, 255, 255);\" href=\"mailto:info@vtiger.com\">info@vtiger.com</a></td>\n                                </tr>\n                        </table>\n                        </td>\n                    </tr>\n            </table>\n            </td>\n            <td width=\"50\"> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n</table>',0,11,0,'Contacts'),('Public','Support end notification before a month','','VtigerCRM Support Notification','Send Notification mail to customer before a month of support end date','<table width=\"700\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; text-decoration: none; background-color: rgb(122, 122, 254);\">\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td width=\"50\"> </td>\n            <td>\n            <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n                    <tr>\n                        <td>\n                        <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(255, 255, 255); font-weight: normal; line-height: 25px;\">\n                                <tr>\n                                    <td align=\"center\" rowspan=\"4\">$logo$</td>\n                                    <td align=\"center\"> </td>\n                                </tr>\n                                <tr>\n                                    <td align=\"left\" style=\"background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 24px; color: rgb(255, 255, 255); font-weight: bolder; line-height: 35px;\">vtiger CRM </td>\n                                </tr>\n                                <tr>\n                                    <td align=\"right\" style=\"padding-right: 100px;\">The honest Open Source CRM </td>\n                                </tr>\n                                <tr>\n                                    <td> </td>\n                                </tr>\n                        </table>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td>\n                        <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);\">\n                                <tr>\n                                    <td valign=\"top\">\n                                    <table width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\">\n                                            <tr>\n                                                <td align=\"right\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);\"> </td>\n                                            </tr>\n                                            <tr>\n                                                <td> </td>\n                                            </tr>\n                                            <tr>\n                                                <td style=\"font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(22, 72, 134); font-weight: bolder; line-height: 15px;\">Dear $contacts-lastname$, </td>\n                                            </tr>\n                                            <tr>\n                                                <td style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; text-align: justify; line-height: 20px;\">This is just a notification mail regarding your support end.<br /><span style=\"font-weight: bold;\">Priority:</span> Normal<br />Your Support is going to expire on next month.<br />Please contact support@vtiger.com<br /><br /><br /></td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"center\"><br /></td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"right\"><strong style=\"padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: bold;\"><br /><br />Sincerly</strong></td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"right\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; line-height: 20px;\">Support Team </td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"right\"><a href=\"http://www.vtiger.com\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);\">www.vtiger.com</a></td>\n                                            </tr>\n                                            <tr>\n                                                <td> </td>\n                                            </tr>\n                                    </table>\n                                    </td>\n                                    <td width=\"1%\" valign=\"top\"> </td>\n                                </tr>\n                        </table>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td>\n                        <table width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(255, 255, 255); font-weight: normal; line-height: 15px; background-color: rgb(51, 51, 51);\">\n                                <tr>\n                                    <td align=\"center\">Shree Narayana Complex, No 11 Sarathy Nagar, Vijaya Nagar , Velachery, Chennai - 600 042 India </td>\n                                </tr>\n                                <tr>\n                                    <td align=\"center\">Telephone No: +91 - 44 - 4202 - 1990     Toll Free No: +1 877 788 4437</td>\n                                </tr>\n                                <tr>\n                                    <td align=\"center\">Email Id: <a href=\"mailto:info@vtiger.com\" style=\"font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(255, 255, 255);\">info@vtiger.com</a></td>\n                                </tr>\n                        </table>\n                        </td>\n                    </tr>\n            </table>\n            </td>\n            <td width=\"50\"> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n        <tr>\n            <td> </td>\n            <td> </td>\n            <td> </td>\n        </tr>\n</table>',0,12,0,'Contacts'),('Public','Activity Reminder',NULL,'Reminder','Reminder','<p>This is a reminder notification for the Activity<br/>The details are :<br/> \n							&nbsp; Subject : $events-subject$<br/> \n							&nbsp; Start Date & Time : $events-date_start$<br/>\n							&nbsp; End Date & Time : $events-due_date$<br/> \n							&nbsp; Status : $events-eventstatus$<br/> \n							&nbsp; Location : $events-location$<br/> \n							&nbsp; Description : $events-description$<br/><br/> \n							<p/>',0,14,1,'Events'),('Public','ToDo Reminder',NULL,'Activity Reminder','Reminder','<p>This is a reminder notification for the Activity<br/>The details are :<br/>\n								&nbsp; Subject : $calendar-subject$<br/>\n								&nbsp; Start Date & Time : $calendar-date_start$<br/>\n								&nbsp; Due Date : $calendar-due_date$<br/>\n								&nbsp; Status : $calendar-status$<br/>\n								&nbsp; Location : $calendar-location$<br/>\n								&nbsp; Description : $calendar-description$<br/><br/>\n								<p/>',0,15,1,'Events'),('Public','Invite Users',NULL,'Invitation','Invite Users','<p>$invitee_name$,<br/><br/>You have been invited for an activity<br/><br/>The details are :<br/>\n								&nbsp; Subject : $events-subject$<br/>\n								&nbsp; Start Date & Time : $events-date_start$<br/> \n								&nbsp; End Date & Time : $events-due_date$<br/>\n								&nbsp; Status : $events-eventstatus$<br/>\n								&nbsp; Priority : $events-priority$<br/>\n								&nbsp; Related To : $events-crmid$<br/>\n								&nbsp; Contact List : $events-contactid$<br/>\n								&nbsp; Location : $events-location$<br/>\n								&nbsp; Description : $events-description$<br/><br/>\n								Thanks & Regards,<br/>\n								$current_user_name$\n								<p/>',0,16,1,'Events');

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

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

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

INSERT INTO `vtiger_emailtemplates_seq` VALUES (16);

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

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

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

INSERT INTO `vtiger_entityname` VALUES (2,'Potentials','vtiger_potential','potentialname','potentialid','potential_id'),(4,'Contacts','vtiger_contactdetails','firstname,lastname','contactid','contact_id'),(6,'Accounts','vtiger_account','accountname','accountid','account_id'),(7,'Leads','vtiger_leaddetails','firstname,lastname','leadid','leadid'),(8,'Documents','vtiger_notes','title','notesid','notesid'),(9,'Calendar','vtiger_activity','subject','activityid','activityid'),(10,'Emails','vtiger_activity','subject','activityid','activityid'),(13,'HelpDesk','vtiger_troubletickets','title','ticketid','ticketid'),(14,'Products','vtiger_products','productname','productid','product_id'),(15,'Faq','vtiger_faq','question','id','id'),(18,'Vendors','vtiger_vendor','vendorname','vendorid','vendor_id'),(19,'PriceBooks','vtiger_pricebook','bookname','pricebookid','pricebookid'),(20,'Quotes','vtiger_quotes','subject','quoteid','quote_id'),(21,'PurchaseOrder','vtiger_purchaseorder','subject','purchaseorderid','purchaseorderid'),(22,'SalesOrder','vtiger_salesorder','subject','salesorderid','salesorder_id'),(23,'Invoice','vtiger_invoice','subject','invoiceid','invoiceid'),(26,'Campaigns','vtiger_campaign','campaignname','campaignid','campaignid'),(29,'Users','vtiger_users','first_name,last_name','id','id'),(31,'ServiceContracts','vtiger_servicecontracts','subject','servicecontractsid','servicecontractsid'),(32,'Services','vtiger_service','servicename','serviceid','serviceid'),(37,'PBXManager','vtiger_pbxmanager','customernumber','pbxmanagerid','pbxmanagerid'),(38,'ModComments','vtiger_modcomments','commentcontent','modcommentsid','modcommentsid'),(42,'ProjectMilestone','vtiger_projectmilestone','projectmilestonename','projectmilestoneid','projectmilestoneid'),(43,'ProjectTask','vtiger_projecttask','projecttaskname','projecttaskid','projecttaskid'),(44,'Project','vtiger_project','projectname','projectid','projectid'),(46,'Assets','vtiger_assets','assetname','assetsid','assetsid'),(47,'SMSNotifier','vtiger_smsnotifier','message','smsnotifierid','smsnotifierid'),(52,'CTTimeTracker','vtiger_cttimetracker','tracking_title','cttimetrackerid','cttimetrackerid'),(53,'CTTimeControl','vtiger_cttimecontrol','cttimecontrol_no','cttimecontrolid','cttimecontrolid'),(54,'CTRoutePlanning','vtiger_ctrouteplanning','ctrouteplanning_no','ctrouteplanningid','ctrouteplanningid'),(55,'CTRouteAttendance','vtiger_ctrouteattendance','ctrouteattendance_no','ctrouteattendanceid','ctrouteattendanceid'),(57,'CTUserFilterView','vtiger_ctuserfilterview','ctuser_filter_view_no','ctuserfilterviewid','ctuserfilterviewid'),(58,'CTMessageTemplate','vtiger_ctmessagetemplate','templates_name','ctmessagetemplateid','ctmessagetemplateid'),(59,'CTPushNotification','vtiger_ctpushnotification','pushnotification_no','ctpushnotificationid','ctpushnotificationid'),(60,'Cobranzas','vtiger_cobranzas','cobranzasno','cobranzasid','cobranzasid'),(61,'Pagos','vtiger_pagos','pagosno','pagosid','pagosid'),(62,'CTWhatsApp','vtiger_ctwhatsapp','whatsapp_no','ctwhatsappid','ctwhatsappid'),(63,'CTWhatsAppTemplates','vtiger_ctwhatsapptemplates','whatsapptemplates_no','ctwhatsapptemplatesid','ctwhatsapptemplatesid'),(64,'WhatsAppLog','vtiger_whatsapplog','whatsapplog_no','whatsapplogid','whatsapplogid');

--
-- Table structure for table `vtiger_eventhandler_module`
--

CREATE TABLE `vtiger_eventhandler_module` (
  `eventhandler_module_id` int(11) NOT NULL AUTO_INCREMENT,
  `module_name` varchar(100) DEFAULT NULL,
  `handler_class` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`eventhandler_module_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_eventhandler_module`
--

INSERT INTO `vtiger_eventhandler_module` VALUES (1,'ServiceContracts','ServiceContractsHandler'),(2,'ModTracker','ModTrackerHandler'),(3,'Invoice','InvoiceHandler'),(4,'PurchaseOrder','PurchaseOrderHandler');

--
-- Table structure for table `vtiger_eventhandler_module_seq`
--

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

--
-- Dumping data for table `vtiger_eventhandler_module_seq`
--

INSERT INTO `vtiger_eventhandler_module_seq` VALUES (4);

--
-- Table structure for table `vtiger_eventhandlers`
--

CREATE TABLE `vtiger_eventhandlers` (
  `eventhandler_id` int(11) NOT NULL AUTO_INCREMENT,
  `event_name` varchar(100) NOT NULL,
  `handler_path` varchar(400) NOT NULL,
  `handler_class` varchar(100) NOT NULL,
  `cond` text NOT NULL,
  `is_active` int(1) NOT NULL,
  `dependent_on` varchar(255) DEFAULT '[]',
  PRIMARY KEY (`eventhandler_id`,`event_name`,`handler_class`),
  UNIQUE KEY `eventhandler_idx` (`eventhandler_id`)
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_eventhandlers`
--

INSERT INTO `vtiger_eventhandlers` VALUES (1,'vtiger.entity.aftersave','modules/SalesOrder/RecurringInvoiceHandler.php','RecurringInvoiceHandler','',1,'[]'),(2,'vtiger.entity.beforesave','data/VTEntityDelta.php','VTEntityDelta','',1,'[]'),(3,'vtiger.entity.aftersave','data/VTEntityDelta.php','VTEntityDelta','',1,'[]'),(4,'vtiger.entity.aftersave','modules/com_vtiger_workflow/VTEventHandler.inc','VTWorkflowEventHandler','',1,'[\"VTEntityDelta\"]'),(5,'vtiger.entity.afterrestore','modules/com_vtiger_workflow/VTEventHandler.inc','VTWorkflowEventHandler','',1,'[]'),(6,'vtiger.entity.aftersave.final','modules/HelpDesk/HelpDeskHandler.php','HelpDeskHandler','',1,'[]'),(7,'vtiger.entity.beforesave','modules/ServiceContracts/ServiceContractsHandler.php','ServiceContractsHandler','',1,'[]'),(8,'vtiger.entity.aftersave','modules/ServiceContracts/ServiceContractsHandler.php','ServiceContractsHandler','',1,'[]'),(9,'vtiger.entity.aftersave.final','modules/ModTracker/ModTrackerHandler.php','ModTrackerHandler','',1,'[]'),(10,'vtiger.entity.beforedelete','modules/ModTracker/ModTrackerHandler.php','ModTrackerHandler','',1,'[]'),(11,'vtiger.entity.afterrestore','modules/ModTracker/ModTrackerHandler.php','ModTrackerHandler','',1,'[]'),(12,'vtiger.entity.aftersave','modules/WSAPP/WorkFlowHandlers/WSAPPAssignToTracker.php','WSAPPAssignToTracker','',1,'[\"VTEntityDelta\"]'),(13,'vtiger.entity.aftersave','modules/PBXManager/PBXManagerHandler.php','PBXManagerHandler','',1,'[\"VTEntityDelta\"]'),(14,'vtiger.entity.afterdelete','modules/PBXManager/PBXManagerHandler.php','PBXManagerHandler','',1,'[]'),(15,'vtiger.entity.afterrestore','modules/PBXManager/PBXManagerHandler.php','PBXManagerHandler','',1,'[]'),(16,'vtiger.batchevent.save','modules/PBXManager/PBXManagerHandler.php','PBXManagerBatchHandler','',1,'[]'),(17,'vtiger.batchevent.delete','modules/PBXManager/PBXManagerHandler.php','PBXManagerBatchHandler','',1,'[]'),(18,'vtiger.lead.convertlead','modules/PBXManager/PBXManagerHandler.php','PBXManagerHandler','',1,'[]'),(19,'vtiger.entity.aftersave','modules/Invoice/InvoiceHandler.php','InvoiceHandler','',1,'[]'),(20,'vtiger.entity.aftersave','modules/PurchaseOrder/PurchaseOrderHandler.php','PurchaseOrderHandler','',1,'[]'),(21,'vtiger.entity.aftersave','modules/ModComments/ModCommentsHandler.php','ModCommentsHandler','',1,'[]'),(22,'vtiger.picklist.afterrename','modules/Settings/Picklist/handlers/PickListHandler.php','PickListHandler','',1,'[]'),(23,'vtiger.picklist.afterdelete','modules/Settings/Picklist/handlers/PickListHandler.php','PickListHandler','',1,'[]'),(24,'vtiger.entity.aftersave','modules/Vtiger/handlers/EmailLookupHandler.php','EmailLookupHandler','',1,'[\"VTEntityDelta\"]'),(25,'vtiger.entity.afterdelete','modules/Vtiger/handlers/EmailLookupHandler.php','EmailLookupHandler','',1,'[]'),(26,'vtiger.entity.afterrestore','modules/Vtiger/handlers/EmailLookupHandler.php','EmailLookupHandler','',1,'[]'),(27,'vtiger.batchevent.save','modules/Vtiger/handlers/EmailLookupHandler.php','EmailLookupBatchHandler','',1,'[]'),(28,'vtiger.lead.convertlead','modules/Leads/handlers/LeadHandler.php','LeadHandler','',1,'[]'),(29,'vtiger.entity.beforesave','modules/Vtiger/handlers/CheckDuplicateHandler.php','CheckDuplicateHandler','',1,'[]'),(30,'vtiger.entity.beforerestore','modules/Vtiger/handlers/CheckDuplicateHandler.php','CheckDuplicateHandler','',1,'[]'),(31,'vtiger.entity.aftersave','modules/Vtiger/handlers/FollowRecordHandler.php','FollowRecordHandler','',1,'[]'),(32,'vtiger.field.afterdelete','modules/Vtiger/handlers/FieldEventHandler.php','FieldEventHandler','',1,'[]'),(33,'vtiger.entity.beforerelate','modules/Vtiger/handlers/RelateEntitesHandler.php','RelateEntitesHandler','',1,'[]'),(34,'vtiger.entity.afterrelate','modules/Vtiger/handlers/RelateEntitesHandler.php','RelateEntitesHandler','',1,'[]'),(35,'vtiger.entity.aftersave.final','modules/ModComments/CommentsTagsHandler.php','CommentsTagsHandler','',1,'[]');

--
-- Table structure for table `vtiger_eventhandlers_seq`
--

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

--
-- Dumping data for table `vtiger_eventhandlers_seq`
--

INSERT INTO `vtiger_eventhandlers_seq` VALUES (35);

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

CREATE TABLE `vtiger_eventstatus` (
  `eventstatusid` int(19) NOT NULL AUTO_INCREMENT,
  `eventstatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`eventstatusid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_eventstatus` VALUES (1,'Planned',0,38,0,NULL),(2,'Held',0,39,1,NULL),(3,'Not Held',0,40,2,NULL);

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

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

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

INSERT INTO `vtiger_eventstatus_seq` VALUES (3);

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

CREATE TABLE `vtiger_expectedresponse` (
  `expectedresponseid` int(19) NOT NULL AUTO_INCREMENT,
  `expectedresponse` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`expectedresponseid`),
  UNIQUE KEY `CampaignExpRes_UK01` (`expectedresponse`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_expectedresponse` VALUES (2,'Excellent',1,42,1,NULL),(3,'Good',1,43,2,NULL),(4,'Average',1,44,3,NULL),(5,'Poor',1,45,4,NULL),(6,'Excelente',1,489,1,NULL),(7,'Pobre',1,492,1,NULL),(8,'Buena',1,493,1,NULL),(9,'Normal',1,494,1,NULL);

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

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

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

INSERT INTO `vtiger_expectedresponse_seq` VALUES (9);

--
-- Table structure for table `vtiger_extnstore_users`
--

CREATE TABLE `vtiger_extnstore_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) DEFAULT NULL,
  `password` varchar(75) DEFAULT NULL,
  `instanceurl` varchar(255) DEFAULT NULL,
  `createdon` datetime DEFAULT NULL,
  `deleted` int(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_extnstore_users`
--


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

CREATE TABLE `vtiger_faq` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `faq_no` varchar(100) NOT NULL,
  `product_id` varchar(100) DEFAULT NULL,
  `question` text NOT NULL,
  `answer` text DEFAULT NULL,
  `category` varchar(200) NOT NULL,
  `status` varchar(200) NOT NULL,
  `tags` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `faq_id_idx` (`id`),
  CONSTRAINT `fk_1_vtiger_faq` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


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

CREATE TABLE `vtiger_faqcategories` (
  `faqcategories_id` int(19) NOT NULL AUTO_INCREMENT,
  `faqcategories` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`faqcategories_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_faqcategories` VALUES (1,'General',1,46,0,NULL);

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

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

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

INSERT INTO `vtiger_faqcategories_seq` VALUES (1);

--
-- Table structure for table `vtiger_faqcf`
--

CREATE TABLE `vtiger_faqcf` (
  `faqid` int(19) NOT NULL DEFAULT 0,
  PRIMARY KEY (`faqid`),
  CONSTRAINT `fk_1_vtiger_faqcf` FOREIGN KEY (`faqid`) REFERENCES `vtiger_faq` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_faqcf`
--


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

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

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


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

CREATE TABLE `vtiger_faqstatus` (
  `faqstatus_id` int(19) NOT NULL AUTO_INCREMENT,
  `faqstatus` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`faqstatus_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_faqstatus` VALUES (1,'Draft',0,47,0,NULL),(2,'Reviewed',0,48,1,NULL),(3,'Published',0,49,2,NULL),(4,'Obsolete',0,50,3,NULL);

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

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

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

INSERT INTO `vtiger_faqstatus_seq` VALUES (4);

--
-- Table structure for table `vtiger_feedback`
--

CREATE TABLE `vtiger_feedback` (
  `userid` int(19) DEFAULT NULL,
  `dontshow` varchar(19) DEFAULT 'false'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_feedback`
--


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

CREATE TABLE `vtiger_field` (
  `tabid` int(19) NOT NULL,
  `fieldid` int(19) NOT NULL AUTO_INCREMENT,
  `columnname` varchar(30) NOT NULL,
  `tablename` varchar(100) DEFAULT NULL,
  `generatedtype` int(19) NOT NULL DEFAULT 0,
  `uitype` varchar(30) NOT NULL,
  `fieldname` varchar(50) NOT NULL,
  `fieldlabel` varchar(50) NOT NULL,
  `readonly` int(1) NOT NULL,
  `presence` int(19) NOT NULL DEFAULT 1,
  `defaultvalue` text DEFAULT NULL,
  `maximumlength` int(19) DEFAULT NULL,
  `sequence` int(19) DEFAULT NULL,
  `block` int(19) DEFAULT NULL,
  `displaytype` int(19) DEFAULT NULL,
  `typeofdata` varchar(100) DEFAULT NULL,
  `quickcreate` int(10) NOT NULL DEFAULT 1,
  `quickcreatesequence` int(19) DEFAULT NULL,
  `info_type` varchar(20) DEFAULT NULL,
  `masseditable` int(10) NOT NULL DEFAULT 1,
  `helpinfo` text DEFAULT NULL,
  `summaryfield` int(10) NOT NULL DEFAULT 0,
  `headerfield` int(1) DEFAULT 0,
  `isunique` tinyint(1) DEFAULT 0,
  PRIMARY KEY (`fieldid`),
  KEY `field_tabid_idx` (`tabid`),
  KEY `field_fieldname_idx` (`fieldname`),
  KEY `field_block_idx` (`block`),
  KEY `field_displaytype_idx` (`displaytype`),
  CONSTRAINT `fk_1_vtiger_field` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1251 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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



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

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

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

INSERT INTO `vtiger_field_seq` VALUES (1250);

--
-- Table structure for table `vtiger_fieldmodulerel`
--

CREATE TABLE `vtiger_fieldmodulerel` (
  `fieldid` int(11) NOT NULL,
  `module` varchar(100) NOT NULL,
  `relmodule` varchar(100) NOT NULL,
  `status` varchar(10) DEFAULT NULL,
  `sequence` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_fieldmodulerel`
--

INSERT INTO `vtiger_fieldmodulerel` VALUES (113,'Potentials','Accounts',NULL,0),(531,'ServiceContracts','Contacts',NULL,NULL),(531,'ServiceContracts','Accounts',NULL,NULL),(579,'PBXManager','Leads',NULL,NULL),(579,'PBXManager','Contacts',NULL,NULL),(579,'PBXManager','Accounts',NULL,NULL),(592,'ModComments','Leads',NULL,NULL),(592,'ModComments','Contacts',NULL,NULL),(592,'ModComments','Accounts',NULL,NULL),(594,'ModComments','ModComments',NULL,NULL),(592,'ModComments','Potentials',NULL,NULL),(598,'ProjectMilestone','Project',NULL,NULL),(612,'ProjectTask','Project',NULL,NULL),(592,'ModComments','ProjectTask',NULL,NULL),(633,'Project','Accounts',NULL,NULL),(633,'Project','Contacts',NULL,NULL),(592,'ModComments','Project',NULL,NULL),(648,'Assets','Products',NULL,NULL),(654,'Assets','Invoice',NULL,NULL),(659,'Assets','Accounts',NULL,NULL),(660,'Assets','Contacts',NULL,NULL),(676,'Invoice','Products',NULL,NULL),(676,'Invoice','Services',NULL,NULL),(685,'SalesOrder','Products',NULL,NULL),(685,'SalesOrder','Services',NULL,NULL),(694,'PurchaseOrder','Products',NULL,NULL),(694,'PurchaseOrder','Services',NULL,NULL),(703,'Quotes','Products',NULL,NULL),(703,'Quotes','Services',NULL,NULL),(714,'ModComments','Contacts',NULL,NULL),(592,'ModComments','HelpDesk',NULL,NULL),(592,'ModComments','Faq',NULL,NULL),(740,'Potentials','Contacts',NULL,NULL),(157,'HelpDesk','Accounts',NULL,NULL),(741,'HelpDesk','Contacts',NULL,NULL),(238,'Accounts','Calendar',NULL,NULL),(238,'Leads','Calendar',NULL,NULL),(238,'HelpDesk','Calendar',NULL,NULL),(238,'Campaigns','Calendar',NULL,NULL),(238,'Potentials','Calendar',NULL,NULL),(238,'PurchaseOrder','Calendar',NULL,NULL),(238,'SalesOrder','Calendar',NULL,NULL),(238,'Quotes','Calendar',NULL,NULL),(238,'Invoice','Calendar',NULL,NULL),(239,'Contacts','Calendar',NULL,NULL),(774,'Invoice','Potentials',NULL,NULL),(592,'ModComments','Invoice',NULL,NULL),(592,'ModComments','Quotes',NULL,NULL),(592,'ModComments','PurchaseOrder',NULL,NULL),(592,'ModComments','SalesOrder',NULL,NULL),(849,'Project','Potentials',NULL,NULL),(955,'CTTimeTracker','Accounts',NULL,NULL),(955,'CTTimeTracker','Contacts',NULL,NULL),(966,'CTTimeTracker','Users',NULL,NULL),(976,'CTTimeControl','CTTimeTracker',NULL,NULL),(992,'CTRoutePlanning','Leads',NULL,NULL),(992,'CTRoutePlanning','Accounts',NULL,NULL),(992,'CTRoutePlanning','Contacts',NULL,NULL),(992,'CTRoutePlanning','HelpDesk',NULL,NULL),(992,'CTRoutePlanning','Quotes',NULL,NULL),(992,'CTRoutePlanning','Invoice',NULL,NULL),(992,'CTRoutePlanning','SalesOrder',NULL,NULL),(992,'CTRoutePlanning','PurchaseOrder',NULL,NULL),(1013,'CTRouteAttendance','CTRoutePlanning',NULL,NULL),(1014,'CTRouteAttendance','Leads',NULL,NULL),(1014,'CTRouteAttendance','Contacts',NULL,NULL),(1014,'CTRouteAttendance','Accounts',NULL,NULL),(1028,'CTAttendance','Calendar',NULL,NULL),(1028,'CTAttendance','Events',NULL,NULL),(1053,'CTPushNotification','Contacts',NULL,NULL),(1053,'CTPushNotification','Leads',NULL,NULL),(1053,'CTPushNotification','Accounts',NULL,NULL),(1053,'CTPushNotification','HelpDesk',NULL,NULL),(1053,'CTPushNotification','Potentials',NULL,NULL),(1053,'CTPushNotification','Project',NULL,NULL),(1053,'CTPushNotification','ProjectTask',NULL,NULL),(1098,'Cobranzas','Accounts',NULL,NULL),(1118,'Cobranzas','Contacts',NULL,NULL),(1121,'Pagosparciales','Cobranzas',NULL,NULL),(1178,'Pagos','Cobranzas',NULL,NULL),(1192,'CTWhatsApp','Contacts',NULL,NULL),(1192,'CTWhatsApp','Leads',NULL,NULL),(1192,'CTWhatsApp','Accounts',NULL,NULL),(1192,'CTWhatsApp','Products',NULL,NULL),(1192,'CTWhatsApp','HelpDesk',NULL,NULL),(1229,'WhatsAppLog','Contacts',NULL,NULL),(1229,'WhatsAppLog','Leads',NULL,NULL),(1229,'WhatsAppLog','Accounts',NULL,NULL);

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

CREATE TABLE `vtiger_freetagged_objects` (
  `tag_id` int(20) NOT NULL DEFAULT 0,
  `tagger_id` int(20) NOT NULL DEFAULT 0,
  `object_id` int(20) NOT NULL DEFAULT 0,
  `tagged_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `module` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`tag_id`,`tagger_id`,`object_id`),
  KEY `freetagged_objects_tag_id_tagger_id_object_id_idx` (`tag_id`,`tagger_id`,`object_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


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

CREATE TABLE `vtiger_freetags` (
  `id` int(19) NOT NULL,
  `tag` varchar(50) NOT NULL DEFAULT '',
  `raw_tag` varchar(50) NOT NULL DEFAULT '',
  `visibility` varchar(100) NOT NULL DEFAULT 'PRIVATE',
  `owner` int(19) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


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

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

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

INSERT INTO `vtiger_freetags_seq` VALUES (1);

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

CREATE TABLE `vtiger_glacct` (
  `glacctid` int(19) NOT NULL AUTO_INCREMENT,
  `glacct` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`glacctid`),
  UNIQUE KEY `glacct_glacct_idx` (`glacct`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_glacct` VALUES (1,'300-Sales-Software',1,51,0,NULL),(2,'301-Sales-Hardware',1,52,1,NULL),(3,'302-Rental-Income',1,53,2,NULL),(4,'303-Interest-Income',1,54,3,NULL),(5,'304-Sales-Software-Support',1,55,4,NULL),(6,'305-Sales Other',1,56,5,NULL),(7,'306-Internet Sales',1,57,6,NULL),(8,'307-Service-Hardware Labor',1,58,7,NULL),(9,'308-Sales-Books',1,59,8,NULL);

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

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

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

INSERT INTO `vtiger_glacct_seq` VALUES (9);

--
-- Table structure for table `vtiger_google_event_calendar_mapping`
--

CREATE TABLE `vtiger_google_event_calendar_mapping` (
  `event_id` varchar(255) DEFAULT NULL,
  `calendar_id` varchar(255) DEFAULT NULL,
  `user_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_google_event_calendar_mapping`
--


--
-- Table structure for table `vtiger_google_oauth2`
--

CREATE TABLE `vtiger_google_oauth2` (
  `service` varchar(20) DEFAULT NULL,
  `access_token` varchar(500) DEFAULT NULL,
  `refresh_token` varchar(500) DEFAULT NULL,
  `userid` int(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_google_oauth2`
--


--
-- Table structure for table `vtiger_google_sync_fieldmapping`
--

CREATE TABLE `vtiger_google_sync_fieldmapping` (
  `vtiger_field` varchar(255) DEFAULT NULL,
  `google_field` varchar(255) DEFAULT NULL,
  `google_field_type` varchar(255) DEFAULT NULL,
  `google_custom_label` varchar(255) DEFAULT NULL,
  `user` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_google_sync_fieldmapping`
--


--
-- Table structure for table `vtiger_google_sync_settings`
--

CREATE TABLE `vtiger_google_sync_settings` (
  `user` int(11) DEFAULT NULL,
  `module` varchar(50) DEFAULT NULL,
  `clientgroup` varchar(255) DEFAULT NULL,
  `direction` varchar(50) DEFAULT NULL,
  `enabled` tinyint(3) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_google_sync_settings`
--


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

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

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


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

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

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

INSERT INTO `vtiger_group2role` VALUES (2,'H4'),(3,'H2'),(4,'H3');

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

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

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

INSERT INTO `vtiger_group2rs` VALUES (2,'H5'),(3,'H3'),(4,'H3');

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

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

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

INSERT INTO `vtiger_groups` VALUES (2,'Team Selling','Group Related to Sales'),(3,'Marketing Group','Group Related to Marketing Activities'),(4,'Support Group','Group Related to providing Support to Customers');

--
-- Table structure for table `vtiger_home_layout`
--

CREATE TABLE `vtiger_home_layout` (
  `userid` int(19) NOT NULL,
  `layout` int(19) NOT NULL DEFAULT 4,
  PRIMARY KEY (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_home_layout`
--


--
-- Table structure for table `vtiger_homedashbd`
--

CREATE TABLE `vtiger_homedashbd` (
  `stuffid` int(19) NOT NULL DEFAULT 0,
  `dashbdname` varchar(100) DEFAULT NULL,
  `dashbdtype` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`stuffid`),
  KEY `stuff_stuffid_idx` (`stuffid`),
  CONSTRAINT `fk_1_vtiger_homedashbd` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_homedashbd`
--


--
-- Table structure for table `vtiger_homedefault`
--

CREATE TABLE `vtiger_homedefault` (
  `stuffid` int(19) NOT NULL DEFAULT 0,
  `hometype` varchar(30) NOT NULL,
  `maxentries` int(19) DEFAULT NULL,
  `setype` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`stuffid`),
  KEY `stuff_stuffid_idx` (`stuffid`),
  CONSTRAINT `fk_1_vtiger_homedefault` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_homedefault`
--

INSERT INTO `vtiger_homedefault` VALUES (1,'ALVT',5,'Accounts'),(2,'HDB',5,'Dashboard'),(3,'PLVT',5,'Potentials'),(4,'QLTQ',5,'Quotes'),(5,'CVLVT',5,'NULL'),(6,'HLT',5,'HelpDesk'),(7,'UA',5,'Calendar'),(8,'GRT',5,'NULL'),(9,'OLTSO',5,'SalesOrder'),(10,'ILTI',5,'Invoice'),(11,'MNL',5,'Leads'),(12,'OLTPO',5,'PurchaseOrder'),(13,'PA',5,'Calendar'),(14,'LTFAQ',5,'Faq'),(16,'ALVT',5,'Accounts'),(17,'HDB',5,'Dashboard'),(18,'PLVT',5,'Potentials'),(19,'QLTQ',5,'Quotes'),(20,'CVLVT',5,'NULL'),(21,'HLT',5,'HelpDesk'),(22,'UA',5,'Calendar'),(23,'GRT',5,'NULL'),(24,'OLTSO',5,'SalesOrder'),(25,'ILTI',5,'Invoice'),(26,'MNL',5,'Leads'),(27,'OLTPO',5,'PurchaseOrder'),(28,'PA',5,'Calendar'),(29,'LTFAQ',5,'Faq'),(31,'ALVT',5,'Accounts'),(32,'HDB',5,'Dashboard'),(33,'PLVT',5,'Potentials'),(34,'QLTQ',5,'Quotes'),(35,'CVLVT',5,'NULL'),(36,'HLT',5,'HelpDesk'),(37,'UA',5,'Calendar'),(38,'GRT',5,'NULL'),(39,'OLTSO',5,'SalesOrder'),(40,'ILTI',5,'Invoice'),(41,'MNL',5,'Leads'),(42,'OLTPO',5,'PurchaseOrder'),(43,'PA',5,'Calendar'),(44,'LTFAQ',5,'Faq'),(46,'ALVT',5,'Accounts'),(47,'HDB',5,'Dashboard'),(48,'PLVT',5,'Potentials'),(49,'QLTQ',5,'Quotes'),(50,'CVLVT',5,'NULL'),(51,'HLT',5,'HelpDesk'),(52,'UA',5,'Calendar'),(53,'GRT',5,'NULL'),(54,'OLTSO',5,'SalesOrder'),(55,'ILTI',5,'Invoice'),(56,'MNL',5,'Leads'),(57,'OLTPO',5,'PurchaseOrder'),(58,'PA',5,'Calendar'),(59,'LTFAQ',5,'Faq'),(61,'ALVT',5,'Accounts'),(62,'HDB',5,'Dashboard'),(63,'PLVT',5,'Potentials'),(64,'QLTQ',5,'Quotes'),(65,'CVLVT',5,'NULL'),(66,'HLT',5,'HelpDesk'),(67,'UA',5,'Calendar'),(68,'GRT',5,'NULL'),(69,'OLTSO',5,'SalesOrder'),(70,'ILTI',5,'Invoice'),(71,'MNL',5,'Leads'),(72,'OLTPO',5,'PurchaseOrder'),(73,'PA',5,'Calendar'),(74,'LTFAQ',5,'Faq'),(76,'ALVT',5,'Accounts'),(77,'HDB',5,'Dashboard'),(78,'PLVT',5,'Potentials'),(79,'QLTQ',5,'Quotes'),(80,'CVLVT',5,'NULL'),(81,'HLT',5,'HelpDesk'),(82,'UA',5,'Calendar'),(83,'GRT',5,'NULL'),(84,'OLTSO',5,'SalesOrder'),(85,'ILTI',5,'Invoice'),(86,'MNL',5,'Leads'),(87,'OLTPO',5,'PurchaseOrder'),(88,'PA',5,'Calendar'),(89,'LTFAQ',5,'Faq');

--
-- Table structure for table `vtiger_homemodule`
--

CREATE TABLE `vtiger_homemodule` (
  `stuffid` int(19) NOT NULL,
  `modulename` varchar(100) DEFAULT NULL,
  `maxentries` int(19) NOT NULL,
  `customviewid` int(19) NOT NULL,
  `setype` varchar(30) NOT NULL,
  PRIMARY KEY (`stuffid`),
  KEY `stuff_stuffid_idx` (`stuffid`),
  CONSTRAINT `fk_1_vtiger_homemodule` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_homemodule`
--


--
-- Table structure for table `vtiger_homemoduleflds`
--

CREATE TABLE `vtiger_homemoduleflds` (
  `stuffid` int(19) DEFAULT NULL,
  `fieldname` varchar(100) DEFAULT NULL,
  KEY `stuff_stuffid_idx` (`stuffid`),
  CONSTRAINT `fk_1_vtiger_homemoduleflds` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homemodule` (`stuffid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_homemoduleflds`
--


--
-- Table structure for table `vtiger_homereportchart`
--

CREATE TABLE `vtiger_homereportchart` (
  `stuffid` int(11) NOT NULL,
  `reportid` int(19) DEFAULT NULL,
  `reportcharttype` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`stuffid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_homereportchart`
--


--
-- Table structure for table `vtiger_homerss`
--

CREATE TABLE `vtiger_homerss` (
  `stuffid` int(19) NOT NULL DEFAULT 0,
  `url` varchar(100) DEFAULT NULL,
  `maxentries` int(19) NOT NULL,
  PRIMARY KEY (`stuffid`),
  KEY `stuff_stuffid_idx` (`stuffid`),
  CONSTRAINT `fk_1_vtiger_homerss` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_homerss`
--


--
-- Table structure for table `vtiger_homestuff`
--

CREATE TABLE `vtiger_homestuff` (
  `stuffid` int(19) NOT NULL DEFAULT 0,
  `stuffsequence` int(19) NOT NULL DEFAULT 0,
  `stufftype` varchar(100) DEFAULT NULL,
  `userid` int(19) NOT NULL,
  `visible` int(10) NOT NULL DEFAULT 0,
  `stufftitle` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`stuffid`),
  KEY `stuff_stuffid_idx` (`stuffid`),
  KEY `fk_1_vtiger_homestuff` (`userid`),
  CONSTRAINT `fk_1_vtiger_homestuff` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_homestuff`
--

INSERT INTO `vtiger_homestuff` VALUES (1,1,'Default',1,1,'Top Accounts'),(2,2,'Default',1,1,'Home Page Dashboard'),(3,3,'Default',1,1,'Top Potentials'),(4,4,'Default',1,1,'Top Quotes'),(5,5,'Default',1,1,'Key Metrics'),(6,6,'Default',1,1,'Top Trouble Tickets'),(7,7,'Default',1,1,'Upcoming Activities'),(8,8,'Default',1,1,'My Group Allocation'),(9,9,'Default',1,1,'Top Sales Orders'),(10,10,'Default',1,1,'Top Invoices'),(11,11,'Default',1,1,'My New Leads'),(12,12,'Default',1,1,'Top Purchase Orders'),(13,13,'Default',1,1,'Pending Activities'),(14,14,'Default',1,1,'My Recent FAQs'),(15,15,'Tag Cloud',1,0,'Tag Cloud'),(16,1,'Default',5,1,'Top Accounts'),(17,2,'Default',5,1,'Home Page Dashboard'),(18,3,'Default',5,0,'Top Potentials'),(19,4,'Default',5,1,'Top Quotes'),(20,5,'Default',5,0,'Key Metrics'),(21,6,'Default',5,1,'Top Trouble Tickets'),(22,7,'Default',5,0,'Upcoming Activities'),(23,8,'Default',5,1,'My Group Allocation'),(24,9,'Default',5,1,'Top Sales Orders'),(25,10,'Default',5,1,'Top Invoices'),(26,11,'Default',5,1,'My New Leads'),(27,12,'Default',5,1,'Top Purchase Orders'),(28,13,'Default',5,1,'Pending Activities'),(29,14,'Default',5,1,'My Recent FAQs'),(30,15,'Tag Cloud',5,0,'Tag Cloud'),(31,1,'Default',6,1,'Top Accounts'),(32,2,'Default',6,1,'Home Page Dashboard'),(33,3,'Default',6,0,'Top Potentials'),(34,4,'Default',6,1,'Top Quotes'),(35,5,'Default',6,0,'Key Metrics'),(36,6,'Default',6,1,'Top Trouble Tickets'),(37,7,'Default',6,0,'Upcoming Activities'),(38,8,'Default',6,1,'My Group Allocation'),(39,9,'Default',6,1,'Top Sales Orders'),(40,10,'Default',6,1,'Top Invoices'),(41,11,'Default',6,1,'My New Leads'),(42,12,'Default',6,1,'Top Purchase Orders'),(43,13,'Default',6,1,'Pending Activities'),(44,14,'Default',6,1,'My Recent FAQs'),(45,15,'Tag Cloud',6,0,'Tag Cloud'),(46,1,'Default',7,1,'Top Accounts'),(47,2,'Default',7,1,'Home Page Dashboard'),(48,3,'Default',7,0,'Top Potentials'),(49,4,'Default',7,1,'Top Quotes'),(50,5,'Default',7,0,'Key Metrics'),(51,6,'Default',7,1,'Top Trouble Tickets'),(52,7,'Default',7,0,'Upcoming Activities'),(53,8,'Default',7,1,'My Group Allocation'),(54,9,'Default',7,1,'Top Sales Orders'),(55,10,'Default',7,1,'Top Invoices'),(56,11,'Default',7,1,'My New Leads'),(57,12,'Default',7,1,'Top Purchase Orders'),(58,13,'Default',7,1,'Pending Activities'),(59,14,'Default',7,1,'My Recent FAQs'),(60,15,'Tag Cloud',7,0,'Tag Cloud'),(61,1,'Default',8,1,'Top Accounts'),(62,2,'Default',8,1,'Home Page Dashboard'),(63,3,'Default',8,0,'Top Potentials'),(64,4,'Default',8,1,'Top Quotes'),(65,5,'Default',8,0,'Key Metrics'),(66,6,'Default',8,1,'Top Trouble Tickets'),(67,7,'Default',8,0,'Upcoming Activities'),(68,8,'Default',8,1,'My Group Allocation'),(69,9,'Default',8,1,'Top Sales Orders'),(70,10,'Default',8,1,'Top Invoices'),(71,11,'Default',8,1,'My New Leads'),(72,12,'Default',8,1,'Top Purchase Orders'),(73,13,'Default',8,1,'Pending Activities'),(74,14,'Default',8,1,'My Recent FAQs'),(75,15,'Tag Cloud',8,0,'Tag Cloud'),(76,1,'Default',9,1,'Top Accounts'),(77,2,'Default',9,1,'Home Page Dashboard'),(78,3,'Default',9,1,'Top Potentials'),(79,4,'Default',9,1,'Top Quotes'),(80,5,'Default',9,1,'Key Metrics'),(81,6,'Default',9,1,'Top Trouble Tickets'),(82,7,'Default',9,1,'Upcoming Activities'),(83,8,'Default',9,1,'My Group Allocation'),(84,9,'Default',9,1,'Top Sales Orders'),(85,10,'Default',9,1,'Top Invoices'),(86,11,'Default',9,1,'My New Leads'),(87,12,'Default',9,1,'Top Purchase Orders'),(88,13,'Default',9,1,'Pending Activities'),(89,14,'Default',9,1,'My Recent FAQs'),(90,15,'Tag Cloud',9,0,'Tag Cloud');

--
-- Table structure for table `vtiger_homestuff_seq`
--

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

--
-- Dumping data for table `vtiger_homestuff_seq`
--

INSERT INTO `vtiger_homestuff_seq` VALUES (90);

--
-- Table structure for table `vtiger_hour_format`
--

CREATE TABLE `vtiger_hour_format` (
  `hour_formatid` int(11) NOT NULL AUTO_INCREMENT,
  `hour_format` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`hour_formatid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_hour_format`
--

INSERT INTO `vtiger_hour_format` VALUES (1,'12',0,1),(2,'24',1,1);

--
-- Table structure for table `vtiger_hour_format_seq`
--

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

--
-- Dumping data for table `vtiger_hour_format_seq`
--

INSERT INTO `vtiger_hour_format_seq` VALUES (2);

--
-- Table structure for table `vtiger_import_1`
--

CREATE TABLE `vtiger_import_1` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `status` int(11) DEFAULT 0,
  `recordid` int(11) DEFAULT NULL,
  `productname` varchar(100) DEFAULT NULL,
  `product_no` varchar(100) DEFAULT NULL,
  `discontinued` int(1) DEFAULT NULL,
  `productcode` varchar(40) DEFAULT NULL,
  `manufacturer` varchar(200) DEFAULT NULL,
  `productcategory` varchar(200) DEFAULT NULL,
  `expiry_date` varchar(250) DEFAULT NULL,
  `vendor_id` varchar(250) DEFAULT NULL,
  `vendor_part_no` varchar(200) DEFAULT NULL,
  `mfr_part_no` varchar(200) DEFAULT NULL,
  `productsheet` varchar(200) DEFAULT NULL,
  `serial_no` varchar(200) DEFAULT NULL,
  `unit_price` decimal(25,8) DEFAULT NULL,
  `createdtime` varchar(250) DEFAULT NULL,
  `glacct` varchar(200) DEFAULT NULL,
  `taxclass` varchar(250) DEFAULT NULL,
  `qty_per_unit` decimal(11,2) DEFAULT NULL,
  `purchase_cost` decimal(27,8) DEFAULT NULL,
  `commissionrate` decimal(7,3) DEFAULT NULL,
  `qtyinstock` decimal(25,3) DEFAULT NULL,
  `usageunit` varchar(200) DEFAULT NULL,
  `description` mediumtext DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_import_1`
--

INSERT INTO `vtiger_import_1` VALUES (1,1,641,'BOMBA CAVIDAD PROGRESIVA','PRO6',0,'SEEPEX BN 5-12 / A1 C1-C6-F0A','Seepex','','','','','','','',0.00000000,'07-10-2016 12:55:32','','',0.00,0.00000000,0.000,0.000,'',''),(2,1,642,'Cadena de 44 pasos','PRO14',0,'CR7603','','','','','','','','',0.00000000,'10-11-2016 10:39:01','','',0.00,0.00000000,0.000,0.000,'',''),(3,1,643,'rollos de acero','PRO22',0,'0039','LexPon Inc.','','30-04-2018','','','','','',0.00000000,'12-04-2018 15:23:14','','',0.00,0.00000000,10.000,5000.000,'Piezas',''),(4,2,NULL,'Paneles Solares Tipo A','PRO27',0,'ABC123','','','','Paneles Verdes S.A.','','','','',0.00000000,'18-05-2018 13:14:58','','',0.00,0.00000000,0.000,100.000,'Piezas',''),(5,1,644,'Disco de almacenamiento tipo A','PRO28',0,'DRF567','','','','','','','','',0.00000000,'22-05-2018 12:36:32','','',0.00,0.00000000,0.000,60.000,'',''),(6,1,646,'Pantallas A','PRO29',0,'PLK89654','','','','Pantallas Tipo A','','','','',0.00000000,'22-05-2018 13:49:44','','',1.00,0.00000000,0.000,15.000,'Cantidad',''),(7,1,648,'Teclado inalambrico','PRO30',0,'TE-KIH78493','','','','TECNA S.A.','KIH78493','H78493','','78493',0.00000000,'24-05-2018 15:13:10','','',1.00,0.00000000,0.000,10.000,'Cantidad',''),(8,1,650,'KB USB COMBO TEROS 136','PRO32',0,'OKJ-52155','','','','MICRONET ANDINA S.A.C','ACTLP569-006','P569-006','','',0.00000000,'25-05-2018 10:58:06','','',0.00,0.00000000,0.000,40.000,'',''),(9,1,652,'NOTEBOOK LENOVO V330 I7-8AUG-1TB-V2G','PRO33',0,'KMJ-5121','','','','GRUPO VENTURA PERU S.A.C.','SAN-SDCZ50-016G-B35','SDCZ50-016G-B35','','',0.00000000,'25-05-2018 10:58:07','','',0.00,0.00000000,0.000,20.000,'',''),(10,1,653,'Mini Stereo','PRO48',0,'HONDA','','','','','','','','',0.00000000,'10-10-2018 22:40:10','','',0.00,0.00000000,0.000,-1.000,'',''),(11,1,654,'CIVIC SEDAN LX','PRO52',0,'HONDA','','','','','','','','',0.00000000,'15-04-2019 13:14:40','','',0.00,0.00000000,0.000,0.000,'','-  Potencia :   155/6500 (HP/rpm)\n -  Combustible :   Sistema de Inyeccion de Combustible PGM-FI\n -  Motor :   2.0 | 4 cilindros en línea DOHC i-VTEC\n -  Transmisión :   CVT\n -  Suspension:   Delantera Tipo McPherson | Posterior Multi-link'),(12,1,655,'CIVIC SEDAN EXT','PRO53',0,'HONDA','','','','','','','','',0.00000000,'15-04-2019 13:18:31','','',0.00,0.00000000,0.000,1.000,'','-  Potencia :   170/6500 (HP/rpm)\n -  Combustible :   Sistema de Inyeccion Directa\n -  Motor :   1.5 L 4 cilindros en línea DI DOHC i-VTEC Turbocargado\n -  Transmisión :   CVT\n -  Suspension:   Delantera Tipo McPherson | Posterior Multi-link'),(13,2,NULL,'CIVIC ACCORD 1.5 TURBO','PRO54',0,'HONDA','','','','','','','','',0.00000000,'15-04-2019 13:23:19','','',0.00,0.00000000,0.000,5.000,'','-  Potencia :   198/5500 (HP/rpm)\n -  Combustible :   Sistema de Inyeccion Directa\n -  Motor :   1.5 Turbo DOHC \n -  Transmisión :   CVT\n -  Suspension:   Delantera Tipo McPherson | Posterior Multi-link'),(14,1,656,'CIVIC ACCORD 2.0 TURBO','PRO55',0,'HONDA','','','','','','','','',0.00000000,'15-04-2019 13:24:25','','',0.00,0.00000000,0.000,8.000,'','-  Potencia :   247/6500 (HP/rpm)\n -  Combustible :   Sistema de Inyeccion Directa\n -  Motor :   2.0 Turbo DOHC \n -  Transmisión :   AT\n -  Suspension:   Delantera Tipo McPherson | Posterior Multi-link'),(15,1,657,'HR-V LX MT','PRO56',0,'HONDA','','','','','','','','',0.00000000,'15-04-2019 13:27:10','','',1.00,0.00000000,0.000,7.000,'','-  Potencia :   141/6500 (HP/rpm)\n -  Combustible :   Sistema de Inyeccion PGM-FI\n -  Motor :   1.8 Litros SOHC i-VTEC \n -  Transmisión :   MT\n -  Suspension:   Delantera Tipo McPherson | Barra de Torsion Tipo H');

--
-- Table structure for table `vtiger_import_locks`
--

CREATE TABLE `vtiger_import_locks` (
  `vtiger_import_lock_id` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `importid` int(11) NOT NULL,
  `locked_since` datetime DEFAULT NULL,
  PRIMARY KEY (`vtiger_import_lock_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_import_locks`
--


--
-- Table structure for table `vtiger_import_locks_seq`
--

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

--
-- Dumping data for table `vtiger_import_locks_seq`
--

INSERT INTO `vtiger_import_locks_seq` VALUES (9);

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

CREATE TABLE `vtiger_import_maps` (
  `id` int(19) NOT NULL AUTO_INCREMENT,
  `name` varchar(36) NOT NULL,
  `module` varchar(36) NOT NULL,
  `content` longblob DEFAULT NULL,
  `has_header` int(1) NOT NULL DEFAULT 1,
  `deleted` int(1) NOT NULL DEFAULT 0,
  `date_entered` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_modified` datetime DEFAULT NULL,
  `assigned_user_id` varchar(36) DEFAULT NULL,
  `is_published` varchar(3) NOT NULL DEFAULT 'no',
  PRIMARY KEY (`id`),
  KEY `import_maps_assigned_user_id_module_name_deleted_idx` (`assigned_user_id`,`module`,`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


--
-- Table structure for table `vtiger_import_queue`
--

CREATE TABLE `vtiger_import_queue` (
  `importid` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `field_mapping` text DEFAULT NULL,
  `default_values` text DEFAULT NULL,
  `merge_type` int(11) DEFAULT NULL,
  `merge_fields` text DEFAULT NULL,
  `status` int(11) DEFAULT 0,
  `lineitem_currency_id` int(5) DEFAULT NULL,
  `paging` int(1) DEFAULT 0,
  PRIMARY KEY (`importid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_import_queue`
--


--
-- Table structure for table `vtiger_import_queue_seq`
--

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

--
-- Dumping data for table `vtiger_import_queue_seq`
--

INSERT INTO `vtiger_import_queue_seq` VALUES (9);

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

CREATE TABLE `vtiger_industry` (
  `industryid` int(19) NOT NULL AUTO_INCREMENT,
  `industry` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`industryid`),
  UNIQUE KEY `industry_industry_idx` (`industry`)
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

INSERT INTO `vtiger_industry` VALUES (2,'Apparel',1,61,1,NULL),(3,'Banking',1,62,2,NULL),(4,'Biotechnology',1,63,3,NULL),(5,'Chemicals',1,64,4,NULL),(6,'Communications',1,65,5,NULL),(7,'Construction',1,66,6,NULL),(8,'Consulting',1,67,7,NULL),(9,'Education',1,68,8,NULL),(10,'Electronics',1,69,9,NULL),(11,'Energy',1,70,10,NULL),(12,'Engineering',1,71,11,NULL),(13,'Entertainment',1,72,12,NULL),(14,'Environmental',1,73,13,NULL),(15,'Finance',1,74,14,NULL),(16,'Food & Beverage',1,75,15,NULL),(17,'Government',1,76,16,NULL),(18,'Healthcare',1,77,17,NULL),(19,'Hospitality',1,78,18,NULL),(20,'Insurance',1,79,19,NULL),(21,'Machinery',1,80,20,NULL),(22,'Manufacturing',1,81,21,NULL),(23,'Media',1,82,22,NULL),(24,'Not For Profit',1,83,23,NULL),(25,'Recreation',1,84,24,NULL),(26,'Retail',1,85,25,NULL),(27,'Shipping',1,86,26,NULL),(28,'Technology',1,87,27,NULL),(29,'Telecommunications',1,88,28,NULL),(30,'Transportation',1,89,29,NULL),(31,'Utilities',1,90,30,NULL),(32,'Other',1,91,31,NULL),(33,'Tecnología',1,347,1,NULL),(34,'Ingeniería',1,348,1,NULL),(35,'Recreación',1,349,1,NULL),(36,'Energía',1,351,1,NULL),(37,'Electrónicos',1,353,1,NULL);

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

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

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

INSERT INTO `vtiger_industry_seq` VALUES (37);

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

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

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

INSERT INTO `vtiger_inventory_tandc` VALUES (2,'Invoice','\n - Unless otherwise agreed in writing by the supplier all invoices are payable within thirty (30) days of the date of invoice, in the currency of the invoice, drawn on a bank based in India or by such other method as is agreed in advance by the Supplier.\n\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.'),(3,'Quotes','\n - Unless otherwise agreed in writing by the supplier all invoices are payable within thirty (30) days of the date of invoice, in the currency of the invoice, drawn on a bank based in India or by such other method as is agreed in advance by the Supplier.\n\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.'),(4,'PurchaseOrder','\n - Unless otherwise agreed in writing by the supplier all invoices are payable within thirty (30) days of the date of invoice, in the currency of the invoice, drawn on a bank based in India or by such other method as is agreed in advance by the Supplier.\n\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.'),(5,'SalesOrder','\n - Unless otherwise agreed in writing by the supplier all invoices are payable within thirty (30) days of the date of invoice, in the currency of the invoice, drawn on a bank based in India or by such other method as is agreed in advance by the Supplier.\n\n - All prices are not inclusive of VAT which shall be payable in addition by the Customer at the applicable rate.');

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

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

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

INSERT INTO `vtiger_inventory_tandc_seq` VALUES (5);

--
-- Table structure for table `vtiger_inventorycharges`
--

CREATE TABLE `vtiger_inventorycharges` (
  `chargeid` int(5) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `format` varchar(10) DEFAULT NULL,
  `type` varchar(10) DEFAULT NULL,
  `value` decimal(12,5) DEFAULT NULL,
  `regions` text DEFAULT NULL,
  `istaxable` int(1) NOT NULL DEFAULT 1,
  `taxes` varchar(1024) DEFAULT NULL,
  `deleted` int(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`chargeid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_inventorycharges`
--

INSERT INTO `vtiger_inventorycharges` VALUES (1,'Shipping & Handling','Flat','Fixed',0.00000,'[]',1,'[\"1\",\"2\",\"3\"]',0);

--
-- Table structure for table `vtiger_inventorychargesrel`
--

CREATE TABLE `vtiger_inventorychargesrel` (
  `recordid` int(19) NOT NULL,
  `charges` text DEFAULT NULL,
  KEY `record_idx` (`recordid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_inventorychargesrel`
--


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

CREATE TABLE `vtiger_inventorynotification` (
  `notificationid` int(19) NOT NULL AUTO_INCREMENT,
  `notificationname` varchar(200) DEFAULT NULL,
  `notificationsubject` varchar(200) DEFAULT NULL,
  `notificationbody` text DEFAULT NULL,
  `label` varchar(50) DEFAULT NULL,
  `status` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`notificationid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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

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

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

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

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

INSERT INTO `vtiger_inventorynotification_seq` VALUES (3);

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

CREATE TABLE `vtiger_inventoryproductrel` (
  `id` int(19) DEFAULT NULL,
  `productid` int(19) DEFAULT NULL,
  `sequence_no` int(4) DEFAULT NULL,
  `quantity` decimal(25,3) DEFAULT NULL,
  `listprice` decimal(27,8) DEFAULT NULL,
  `discount_percent` decimal(7,3) DEFAULT NULL,
  `discount_amount` decimal(27,8) DEFAULT NULL,
  `comment` text DEFAULT NULL,
  `description` text DEFAULT NULL,
  `incrementondel` int(11) NOT NULL DEFAULT 0,
  `lineitem_id` int(11) NOT NULL AUTO_INCREMENT,
  `tax1` decimal(7,3) DEFAULT NULL,
  `tax2` decimal(7,3) DEFAULT NULL,
  `tax3` decimal(7,3) DEFAULT NULL,
  `image` varchar(2) DEFAULT NULL,
  `purchase_cost` decimal(27,8) DEFAULT NULL,
  `margin` decimal(27,8) DEFAULT NULL,
  PRIMARY KEY (`lineitem_id`),
  KEY `inventoryproductrel_id_idx` (`id`),
  KEY `inventoryproductrel_productid_idx` (`productid`),
  CONSTRAINT `fk_crmid_vtiger_inventoryproductrel` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


--
-- Table structure for table `vtiger_inventoryproductrel_seq`
--

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

--
-- Dumping data for table `vtiger_inventoryproductrel_seq`
--

INSERT INTO `vtiger_inventoryproductrel_seq` VALUES (0);

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

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

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


--
-- Table structure for table `vtiger_inventorysubproductrel`
--

CREATE TABLE `vtiger_inventorysubproductrel` (
  `id` int(19) NOT NULL,
  `sequence_no` int(10) NOT NULL,
  `productid` int(19) NOT NULL,
  `quantity` int(19) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_inventorysubproductrel`
--


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

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

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

INSERT INTO `vtiger_inventorytaxinfo` VALUES (1,'tax1','VAT',4.500,0,'Simple','Fixed','[]','[]'),(2,'tax2','Sales',10.000,0,'Simple','Fixed','[]','[]'),(3,'tax3','Service',12.500,0,'Simple','Fixed','[]','[]');

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

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

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

INSERT INTO `vtiger_inventorytaxinfo_seq` VALUES (3);

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

CREATE TABLE `vtiger_invitees` (
  `activityid` int(19) NOT NULL,
  `inviteeid` int(19) NOT NULL,
  `status` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`activityid`,`inviteeid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

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


--
-- Table structure for table `vtiger_invoice`
--

CREATE TABLE `vtiger_invoice` (
  `invoiceid` int(19) NOT NULL DEFAULT 0,
  `subject` varchar(100) DEFAULT NULL,
  `salesorderid` int(19) DEFAULT NULL,
  `customerno` varchar(100) DEFAULT NULL,
  `contactid` int(19) DEFAULT NULL,
  `notes` varchar(100) DEFAULT NULL,
  `invoicedate` date DEFAULT NULL,
  `duedate` date DEFAULT NULL,
  `invoiceterms` varchar(100) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL,
  `adjustment` decimal(25,8) DEFAULT NULL,
  `salescommission` decimal(25,3) DEFAULT NULL,
  `exciseduty` decimal(25,3) DEFAULT NULL,
  `subtotal` decimal(25,8) DEFAULT NULL,
  `total` decimal(25,8) DEFAULT NULL,
  `taxtype` varchar(25) DEFAULT NULL,
  `discount_percent` decimal(25,3) DEFAULT NULL,
  `discount_amount` decimal(25,8) DEFAULT NULL,
  `s_h_amount` decimal(25,8) DEFAULT NULL,
  `shipping` varchar(100) DEFAULT NULL,
  `accountid` int(19) DEFAULT NULL,
  `terms_conditions` text DEFAULT NULL,
  `purchaseorder` varchar(200) DEFAULT NULL,
  `invoicestatus` varchar(200) DEFAULT NULL,
  `invoice_no` varchar(100) DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `conversion_rate` decimal(10,3) NOT NULL DEFAULT 1.000,
  `compound_taxes_info` text DEFAULT NULL,
  `pre_tax_total` decimal(25,8) DEFAULT NULL,
  `received` decimal(25,8) DEFAULT NULL,
  `balance` decimal(25,8) DEFAULT NULL,
  `s_h_percent` decimal(25,8) DEFAULT NULL,
  `potential_id` varchar(100) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `region_id` int(19) DEFAULT NULL,
  PRIMARY KEY (`invoiceid`),
  KEY `invoice_purchaseorderid_idx` (`invoiceid`),
  KEY `fk_2_vtiger_invoice` (`salesorderid`),
  CONSTRAINT `fk_2_vtiger_invoice` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE,
  CONSTRAINT `fk_crmid_vtiger_invoice` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_invoice`
--


--
-- Table structure for table `vtiger_invoice_recurring_info`
--

CREATE TABLE `vtiger_invoice_recurring_info` (
  `salesorderid` int(11) NOT NULL,
  `recurring_frequency` varchar(200) DEFAULT NULL,
  `start_period` date DEFAULT NULL,
  `end_period` date DEFAULT NULL,
  `last_recurring_date` date DEFAULT NULL,
  `payment_duration` varchar(200) DEFAULT NULL,
  `invoice_status` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`salesorderid`),
  CONSTRAINT `fk_salesorderid_vtiger_invoice_recurring_info` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_invoice_recurring_info`
--


--
-- Table structure for table `vtiger_invoicebillads`
--

CREATE TABLE `vtiger_invoicebillads` (
  `invoicebilladdressid` int(19) NOT NULL DEFAULT 0,
  `bill_city` varchar(30) DEFAULT NULL,
  `bill_code` varchar(30) DEFAULT NULL,
  `bill_country` varchar(30) DEFAULT NULL,
  `bill_state` varchar(30) DEFAULT NULL,
  `bill_street` varchar(250) DEFAULT NULL,
  `bill_pobox` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`invoicebilladdressid`),
  CONSTRAINT `fk_1_vtiger_invoicebillads` FOREIGN KEY (`invoicebilladdressid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_invoicebillads`
--


--
-- Table structure for table `vtiger_invoicecf`
--

CREATE TABLE `vtiger_invoicecf` (
  `invoiceid` int(19) NOT NULL DEFAULT 0,
  PRIMARY KEY (`invoiceid`),
  CONSTRAINT `fk_1_vtiger_invoicecf` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_invoicecf`
--


--
-- Table structure for table `vtiger_invoiceshipads`
--

CREATE TABLE `vtiger_invoiceshipads` (
  `invoiceshipaddressid` int(19) NOT NULL DEFAULT 0,
  `ship_city` varchar(30) DEFAULT NULL,
  `ship_code` varchar(30) DEFAULT NULL,
  `ship_country` varchar(30) DEFAULT NULL,
  `ship_state` varchar(30) DEFAULT NULL,
  `ship_street` varchar(250) DEFAULT NULL,
  `ship_pobox` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`invoiceshipaddressid`),
  CONSTRAINT `fk_1_vtiger_invoiceshipads` FOREIGN KEY (`invoiceshipaddressid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_invoiceshipads`
--


--
-- Table structure for table `vtiger_invoicestatus`
--

CREATE TABLE `vtiger_invoicestatus` (
  `invoicestatusid` int(19) NOT NULL AUTO_INCREMENT,
  `invoicestatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`invoicestatusid`),
  UNIQUE KEY `invoicestatus_invoiestatus_idx` (`invoicestatus`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_invoicestatus`
--

INSERT INTO `vtiger_invoicestatus` VALUES (1,'AutoCreated',0,92,0,NULL),(2,'Created',0,93,1,NULL),(3,'Approved',0,94,2,NULL),(4,'Sent',0,95,3,NULL),(5,'Credit Invoice',0,96,4,NULL),(6,'Paid',0,97,5,NULL),(7,'Cancel',1,288,1,NULL);

--
-- Table structure for table `vtiger_invoicestatus_seq`
--

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

--
-- Dumping data for table `vtiger_invoicestatus_seq`
--

INSERT INTO `vtiger_invoicestatus_seq` VALUES (7);

--
-- Table structure for table `vtiger_invoicestatushistory`
--

CREATE TABLE `vtiger_invoicestatushistory` (
  `historyid` int(19) NOT NULL AUTO_INCREMENT,
  `invoiceid` int(19) NOT NULL,
  `accountname` varchar(100) DEFAULT NULL,
  `total` decimal(10,0) DEFAULT NULL,
  `invoicestatus` varchar(200) DEFAULT NULL,
  `lastmodified` datetime DEFAULT NULL,
  PRIMARY KEY (`historyid`),
  KEY `invoicestatushistory_invoiceid_idx` (`invoiceid`),
  CONSTRAINT `fk_1_vtiger_invoicestatushistory` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_invoicestatushistory`
--


--
-- Table structure for table `vtiger_language`
--

CREATE TABLE `vtiger_language` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) DEFAULT NULL,
  `prefix` varchar(10) DEFAULT NULL,
  `label` varchar(30) DEFAULT NULL,
  `lastupdated` datetime DEFAULT NULL,
  `sequence` int(11) DEFAULT NULL,
  `isdefault` int(1) DEFAULT NULL,
  `active` int(1) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_language`
--

INSERT INTO `vtiger_language` VALUES (1,'English','en_us','US English','2024-05-17 22:18:29',NULL,1,1),(2,'Pack de langue français','fr_fr','Pack de langue français','2024-05-17 22:18:59',NULL,0,1),(3,'Hungarian','hu_hu','HU Magyar','2024-05-17 22:18:53',NULL,0,1),(4,'Arabic','ar_ae','Arabic','2024-05-17 22:19:09',NULL,0,1),(5,'Spanish','es_es','ES Spanish','2024-05-17 22:18:53',NULL,0,1),(6,'Romana','ro_ro','Romana','2024-05-17 22:18:59',NULL,0,1),(7,'Italian','it_it','IT Italian','2024-05-17 22:18:53',NULL,0,1),(8,'Turkce','tr_tr','Turkce Dil Paketi','2024-05-17 22:18:53',NULL,0,1),(9,'Swedish','sv_se','Swedish','2024-05-17 22:19:10',NULL,0,1),(10,'Russian','ru_ru','Russian','2024-05-17 22:18:56',NULL,0,1),(11,'British English','en_gb','British English','2024-05-17 22:18:56',NULL,0,1),(12,'Mexican Spanish','es_mx','ES Mexico','2024-05-17 22:18:56',NULL,0,1),(13,'Język Polski','pl_pl','Język Polski','2024-05-17 22:18:59',NULL,0,1),(14,'Brazilian','pt_br','PT Brasil','2024-05-17 22:18:59',NULL,0,1),(15,'Deutsch','de_de','DE Deutsch','2024-05-17 22:18:58',NULL,0,1),(16,'Dutch','nl_nl','NL-Dutch','2024-05-17 22:18:58',NULL,0,1),(17,'SpanishPeru','es_pe','ES Peru','2024-05-17 21:41:07',NULL,0,1);

--
-- Table structure for table `vtiger_language_seq`
--

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

--
-- Dumping data for table `vtiger_language_seq`
--

INSERT INTO `vtiger_language_seq` VALUES (17);

--
-- Table structure for table `vtiger_lb_accionvocobran`
--

CREATE TABLE `vtiger_lb_accionvocobran` (
  `lb_accionvocobranid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_accionvocobran` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_accionvocobranid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_accionvocobran`
--

INSERT INTO `vtiger_lb_accionvocobran` VALUES (1,'WhatsApp',1,1,'#ffffff'),(2,'Llamada',2,1,'#ffffff'),(3,'Visita',3,1,'#ffffff'),(4,'Carta',4,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_accionvocobran_seq`
--

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

--
-- Dumping data for table `vtiger_lb_accionvocobran_seq`
--

INSERT INTO `vtiger_lb_accionvocobran_seq` VALUES (4);

--
-- Table structure for table `vtiger_lb_aceptodatoper`
--

CREATE TABLE `vtiger_lb_aceptodatoper` (
  `lb_aceptodatoperid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_aceptodatoper` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_aceptodatoperid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_aceptodatoper`
--

INSERT INTO `vtiger_lb_aceptodatoper` VALUES (1,'SI',1,1,'#ffffff'),(2,'No',2,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_aceptodatoper_seq`
--

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

--
-- Dumping data for table `vtiger_lb_aceptodatoper_seq`
--

INSERT INTO `vtiger_lb_aceptodatoper_seq` VALUES (2);

--
-- Table structure for table `vtiger_lb_activitirealizadacobran`
--

CREATE TABLE `vtiger_lb_activitirealizadacobran` (
  `lb_activitirealizadacobranid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_activitirealizadacobran` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_activitirealizadacobranid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_activitirealizadacobran`
--


--
-- Table structure for table `vtiger_lb_asesor`
--

CREATE TABLE `vtiger_lb_asesor` (
  `lb_asesorid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_asesor` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_asesorid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_asesor`
--


--
-- Table structure for table `vtiger_lb_atentidoamablemente`
--

CREATE TABLE `vtiger_lb_atentidoamablemente` (
  `lb_atentidoamablementeid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_atentidoamablemente` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_atentidoamablementeid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_atentidoamablemente`
--

INSERT INTO `vtiger_lb_atentidoamablemente` VALUES (1,'1',1,1,'#ffffff'),(2,'2',2,1,'#ffffff'),(3,'3',3,1,'#ffffff'),(4,'4',4,1,'#ffffff'),(5,'5',5,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_atentidoamablemente_seq`
--

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

--
-- Dumping data for table `vtiger_lb_atentidoamablemente_seq`
--

INSERT INTO `vtiger_lb_atentidoamablemente_seq` VALUES (5);

--
-- Table structure for table `vtiger_lb_calificaciongeneral`
--

CREATE TABLE `vtiger_lb_calificaciongeneral` (
  `lb_calificaciongeneralid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_calificaciongeneral` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_calificaciongeneralid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_calificaciongeneral`
--

INSERT INTO `vtiger_lb_calificaciongeneral` VALUES (1,'1',1,1,'#ffffff'),(2,'2',2,1,'#ffffff'),(3,'3',3,1,'#ffffff'),(4,'4',4,1,'#ffffff'),(5,'5',5,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_calificaciongeneral_seq`
--

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

--
-- Dumping data for table `vtiger_lb_calificaciongeneral_seq`
--

INSERT INTO `vtiger_lb_calificaciongeneral_seq` VALUES (5);

--
-- Table structure for table `vtiger_lb_clasificaciondecontacto`
--

CREATE TABLE `vtiger_lb_clasificaciondecontacto` (
  `lb_clasificaciondecontactoid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_clasificaciondecontacto` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_clasificaciondecontactoid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_clasificaciondecontacto`
--

INSERT INTO `vtiger_lb_clasificaciondecontacto` VALUES (1,'Ninguna',1,1,'#ffffff'),(2,'Black',2,1,'#383838'),(3,'Platinum',3,1,'#7d7d7d'),(4,'Gold',4,1,'#ffd342'),(5,'Silver',5,1,'#cfcfcf');

--
-- Table structure for table `vtiger_lb_clasificaciondecontacto_seq`
--

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

--
-- Dumping data for table `vtiger_lb_clasificaciondecontacto_seq`
--

INSERT INTO `vtiger_lb_clasificaciondecontacto_seq` VALUES (5);

--
-- Table structure for table `vtiger_lb_elcasofueresuelto`
--

CREATE TABLE `vtiger_lb_elcasofueresuelto` (
  `lb_elcasofueresueltoid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_elcasofueresuelto` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_elcasofueresueltoid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_elcasofueresuelto`
--

INSERT INTO `vtiger_lb_elcasofueresuelto` VALUES (1,'Si',1,1,'#ffffff'),(2,'No',2,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_elcasofueresuelto_seq`
--

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

--
-- Dumping data for table `vtiger_lb_elcasofueresuelto_seq`
--

INSERT INTO `vtiger_lb_elcasofueresuelto_seq` VALUES (2);

--
-- Table structure for table `vtiger_lb_estado`
--

CREATE TABLE `vtiger_lb_estado` (
  `lb_estadoid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_estado` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_estadoid`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_estado`
--

INSERT INTO `vtiger_lb_estado` VALUES (1,'Registrada',1,1,'#ffffff'),(2,'En Seguimiento',2,1,'#ffffff'),(3,'Con Compromiso de Pago',3,1,'#ffffff'),(4,'Cancelada con Nota de Credito',4,1,'#ffffff'),(5,'Anulada',5,1,'#ffffff'),(6,'Perdida',6,1,'#ffffff'),(7,'Pagado',7,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_estado_seq`
--

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

--
-- Dumping data for table `vtiger_lb_estado_seq`
--

INSERT INTO `vtiger_lb_estado_seq` VALUES (9);

--
-- Table structure for table `vtiger_lb_estadocivil`
--

CREATE TABLE `vtiger_lb_estadocivil` (
  `lb_estadocivilid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_estadocivil` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_estadocivilid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_estadocivil`
--

INSERT INTO `vtiger_lb_estadocivil` VALUES (1,'Soltero',1,1,'#ffffff'),(2,'--Sin datos--',2,1,'#ffffff'),(3,'Casado',3,1,'#ffffff'),(4,'Viudo',4,1,'#ffffff'),(5,'Divorciado',5,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_estadocivil_seq`
--

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

--
-- Dumping data for table `vtiger_lb_estadocivil_seq`
--

INSERT INTO `vtiger_lb_estadocivil_seq` VALUES (5);

--
-- Table structure for table `vtiger_lb_estadodeago`
--

CREATE TABLE `vtiger_lb_estadodeago` (
  `lb_estadodeagoid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_estadodeago` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_estadodeagoid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_estadodeago`
--

INSERT INTO `vtiger_lb_estadodeago` VALUES (1,'Pendiente',1,1,'#ffffff'),(2,'Pagada',3,1,'#ffffff'),(3,'Vencida',2,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_estadodeago_seq`
--

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

--
-- Dumping data for table `vtiger_lb_estadodeago_seq`
--

INSERT INTO `vtiger_lb_estadodeago_seq` VALUES (3);

--
-- Table structure for table `vtiger_lb_estadopagosparciales`
--

CREATE TABLE `vtiger_lb_estadopagosparciales` (
  `lb_estadopagosparcialesid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_estadopagosparciales` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_estadopagosparcialesid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_estadopagosparciales`
--

INSERT INTO `vtiger_lb_estadopagosparciales` VALUES (1,'Pendiente',1,1,'#ffffff'),(2,'Vencida',2,1,'#ffffff'),(3,'Pagada',3,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_estadopagosparciales_seq`
--

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

--
-- Dumping data for table `vtiger_lb_estadopagosparciales_seq`
--

INSERT INTO `vtiger_lb_estadopagosparciales_seq` VALUES (3);

--
-- Table structure for table `vtiger_lb_etapa`
--

CREATE TABLE `vtiger_lb_etapa` (
  `lb_etapaid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_etapa` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_etapaid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_etapa`
--

INSERT INTO `vtiger_lb_etapa` VALUES (1,'48 horas',1,1,'#ffffff'),(2,'72 horas',2,1,'#ffffff'),(3,'Carta Notarial',3,1,'#ffffff'),(4,'Conciliación',4,1,'#ffffff'),(5,'Judicial',5,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_etapa_seq`
--

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

--
-- Dumping data for table `vtiger_lb_etapa_seq`
--

INSERT INTO `vtiger_lb_etapa_seq` VALUES (5);

--
-- Table structure for table `vtiger_lb_formapagopagpar`
--

CREATE TABLE `vtiger_lb_formapagopagpar` (
  `lb_formapagopagparid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_formapagopagpar` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_formapagopagparid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_formapagopagpar`
--

INSERT INTO `vtiger_lb_formapagopagpar` VALUES (1,'Abono en Cuenta',1,1,'#ffffff'),(2,'Efectivo',2,1,'#ffffff'),(3,'Queche',3,1,'#ffffff'),(4,'Nota de Credito',4,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_formapagopagpar_seq`
--

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

--
-- Dumping data for table `vtiger_lb_formapagopagpar_seq`
--

INSERT INTO `vtiger_lb_formapagopagpar_seq` VALUES (4);

--
-- Table structure for table `vtiger_lb_formapagosparciales`
--

CREATE TABLE `vtiger_lb_formapagosparciales` (
  `lb_formapagosparcialesid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_formapagosparciales` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_formapagosparcialesid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_formapagosparciales`
--

INSERT INTO `vtiger_lb_formapagosparciales` VALUES (1,'Abono en Cuenta',1,1,'#ffffff'),(2,'Efectivo',2,1,'#ffffff'),(3,'Cheque',3,1,'#ffffff'),(4,'Nota de Credito',4,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_formapagosparciales_seq`
--

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

--
-- Dumping data for table `vtiger_lb_formapagosparciales_seq`
--

INSERT INTO `vtiger_lb_formapagosparciales_seq` VALUES (4);

--
-- Table structure for table `vtiger_lb_kenjikaidelamadre`
--

CREATE TABLE `vtiger_lb_kenjikaidelamadre` (
  `lb_kenjikaidelamadreid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_kenjikaidelamadre` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_kenjikaidelamadreid`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_kenjikaidelamadre`
--

INSERT INTO `vtiger_lb_kenjikaidelamadre` VALUES (2,'EHIME',2,1,'#ffffff'),(3,'FUKUOKA',3,1,'#ffffff'),(4,'FUKUSHIMA',4,1,'#ffffff'),(5,'GIFU',5,1,'#ffffff'),(6,'HIROSHIMA',6,1,'#ffffff'),(7,'IBABAKI',7,1,'#ffffff'),(8,'KAGAWA',8,1,'#ffffff'),(9,'KAGOSHIMA',9,1,'#ffffff'),(10,'KOCHI',10,1,'#ffffff'),(11,'KUMAMOTO',11,1,'#ffffff'),(12,'MIYAGI',12,1,'#ffffff'),(13,'NIIGATA',13,1,'#ffffff'),(14,'OITA',14,1,'#ffffff'),(15,'OKAYAMA',15,1,'#ffffff'),(16,'OKINAWA',16,1,'#ffffff'),(17,'SAGA',17,1,'#ffffff'),(18,'SHIGA',18,1,'#ffffff'),(19,'SHIMANE',19,1,'#ffffff'),(20,'SHIZUOKA',20,1,'#ffffff'),(21,'TOCHIGUI',21,1,'#ffffff'),(22,'TOKYO',22,1,'#ffffff'),(23,'TOYAMA',23,1,'#ffffff'),(24,'WAKAYANA',24,1,'#ffffff'),(25,'YAMAGATA',25,1,'#ffffff'),(26,'YAMAGUCHI',26,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_kenjikaidelamadre_seq`
--

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

--
-- Dumping data for table `vtiger_lb_kenjikaidelamadre_seq`
--

INSERT INTO `vtiger_lb_kenjikaidelamadre_seq` VALUES (26);

--
-- Table structure for table `vtiger_lb_kenjinkai`
--

CREATE TABLE `vtiger_lb_kenjinkai` (
  `lb_kenjinkaiid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_kenjinkai` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_kenjinkaiid`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_kenjinkai`
--

INSERT INTO `vtiger_lb_kenjinkai` VALUES (1,'Por definir',1,1,'#ffffff'),(2,'EHIME',2,1,'#ffffff'),(3,'FUKUOKA',3,1,'#ffffff'),(4,'FUKUSHIMA',4,1,'#ffffff'),(5,'GIFU',5,1,'#ffffff'),(6,'HIROSHIMA',6,1,'#ffffff'),(7,'IBABAKI',7,1,'#ffffff'),(8,'KAGAWA',8,1,'#ffffff'),(9,'KAGOSHIMA',9,1,'#ffffff'),(10,'KOCHI',10,1,'#ffffff'),(11,'KUMAMOTO',11,1,'#ffffff'),(12,'MIYAGI',12,1,'#ffffff'),(13,'NIIGATA',13,1,'#ffffff'),(14,'OITA',14,1,'#ffffff'),(15,'OKAYAMA',15,1,'#ffffff'),(16,'OKINAWA',16,1,'#ffffff'),(17,'SAGA',17,1,'#ffffff'),(18,'SHIGA',18,1,'#ffffff'),(19,'SHIMANE',19,1,'#ffffff'),(20,'SHIZUOKA',20,1,'#ffffff'),(21,'TOCHIGUI',21,1,'#ffffff'),(22,'TOKYO',22,1,'#ffffff'),(23,'TOYAMA',23,1,'#ffffff'),(24,'WAKAYANA',24,1,'#ffffff'),(25,'YAMAGATA',25,1,'#ffffff'),(26,'YAMAGUCHI',26,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_kenjinkai_seq`
--

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

--
-- Dumping data for table `vtiger_lb_kenjinkai_seq`
--

INSERT INTO `vtiger_lb_kenjinkai_seq` VALUES (26);

--
-- Table structure for table `vtiger_lb_mediodeaceptacion`
--

CREATE TABLE `vtiger_lb_mediodeaceptacion` (
  `lb_mediodeaceptacionid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_mediodeaceptacion` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_mediodeaceptacionid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_mediodeaceptacion`
--

INSERT INTO `vtiger_lb_mediodeaceptacion` VALUES (1,'Telefono',1,1,'#ffffff'),(2,'Presencial',2,1,'#ffffff'),(3,'Correo electrónico principal',3,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_mediodeaceptacion_seq`
--

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

--
-- Dumping data for table `vtiger_lb_mediodeaceptacion_seq`
--

INSERT INTO `vtiger_lb_mediodeaceptacion_seq` VALUES (3);

--
-- Table structure for table `vtiger_lb_motivopagoparcial`
--

CREATE TABLE `vtiger_lb_motivopagoparcial` (
  `lb_motivopagoparcialid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_motivopagoparcial` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_motivopagoparcialid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_motivopagoparcial`
--

INSERT INTO `vtiger_lb_motivopagoparcial` VALUES (1,'Negociación',1,1,'#ffffff'),(2,'Indidencia',2,1,'#ffffff');

--
-- Table structure for table `vtiger_lb_motivopagoparcial_seq`
--

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

--
-- Dumping data for table `vtiger_lb_motivopagoparcial_seq`
--

INSERT INTO `vtiger_lb_motivopagoparcial_seq` VALUES (3);

--
-- Table structure for table `vtiger_lb_origendeprospectocontact`
--

CREATE TABLE `vtiger_lb_origendeprospectocontact` (
  `lb_origendeprospectocontactid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_origendeprospectocontact` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_origendeprospectocontactid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Dumping data for table `vtiger_lb_origendeprospectocontact`
--


--
-- Table structure for table `vtiger_lb_perfilcontact`
--

CREATE TABLE `vtiger_lb_perfilcontact` (
  `lb_perfilcontactid` int(11) NOT NULL AUTO_INCREMENT,
  `lb_perfilcontact` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`lb_perfilcontactid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
