Preview: yeti.sql
Size: 1.57 MB
//var/softaculous/yeti/yeti.sql
-- MySQL dump 10.13 Distrib 8.0.42, for Linux (x86_64)
--
-- Host: localhost Database: yetiforce710
-- ------------------------------------------------------
-- Server version 8.0.37
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `a_yf_adv_permission`
--
DROP TABLE IF EXISTS `a_yf_adv_permission`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_adv_permission` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`tabid` smallint DEFAULT NULL,
`status` tinyint unsigned NOT NULL,
`action` tinyint unsigned NOT NULL,
`conditions` text,
`members` text NOT NULL,
`priority` tinyint unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `tabid` (`tabid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_adv_permission`
--
LOCK TABLES `a_yf_adv_permission` WRITE;
/*!40000 ALTER TABLE `a_yf_adv_permission` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_adv_permission` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_bruteforce`
--
DROP TABLE IF EXISTS `a_yf_bruteforce`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_bruteforce` (
`attempsnumber` tinyint NOT NULL,
`timelock` smallint NOT NULL,
`active` tinyint(1) DEFAULT '0',
`sent` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_bruteforce`
--
LOCK TABLES `a_yf_bruteforce` WRITE;
/*!40000 ALTER TABLE `a_yf_bruteforce` DISABLE KEYS */;
INSERT INTO `a_yf_bruteforce` VALUES (10,15,1,0);
/*!40000 ALTER TABLE `a_yf_bruteforce` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_bruteforce_blocked`
--
DROP TABLE IF EXISTS `a_yf_bruteforce_blocked`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_bruteforce_blocked` (
`id` int NOT NULL AUTO_INCREMENT,
`ip` varchar(50) NOT NULL,
`time` timestamp NULL DEFAULT NULL,
`attempts` tinyint DEFAULT '0',
`blocked` tinyint(1) DEFAULT '0',
`userid` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `bf1_mixed` (`ip`,`time`,`blocked`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_bruteforce_blocked`
--
LOCK TABLES `a_yf_bruteforce_blocked` WRITE;
/*!40000 ALTER TABLE `a_yf_bruteforce_blocked` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_bruteforce_blocked` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_bruteforce_users`
--
DROP TABLE IF EXISTS `a_yf_bruteforce_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_bruteforce_users` (
`id` int NOT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `fk_1_vtiger_bruteforce_users` FOREIGN KEY (`id`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_bruteforce_users`
--
LOCK TABLES `a_yf_bruteforce_users` WRITE;
/*!40000 ALTER TABLE `a_yf_bruteforce_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_bruteforce_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_discounts_config`
--
DROP TABLE IF EXISTS `a_yf_discounts_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_discounts_config` (
`param` varchar(30) NOT NULL,
`value` varchar(255) NOT NULL,
PRIMARY KEY (`param`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_discounts_config`
--
LOCK TABLES `a_yf_discounts_config` WRITE;
/*!40000 ALTER TABLE `a_yf_discounts_config` DISABLE KEYS */;
INSERT INTO `a_yf_discounts_config` VALUES ('aggregation','0'),('default_mode','1'),('discounts','0,1,2');
/*!40000 ALTER TABLE `a_yf_discounts_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_discounts_global`
--
DROP TABLE IF EXISTS `a_yf_discounts_global`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_discounts_global` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`value` decimal(5,2) unsigned NOT NULL DEFAULT '0.00',
`status` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_discounts_global`
--
LOCK TABLES `a_yf_discounts_global` WRITE;
/*!40000 ALTER TABLE `a_yf_discounts_global` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_discounts_global` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_encryption`
--
DROP TABLE IF EXISTS `a_yf_encryption`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_encryption` (
`target` smallint NOT NULL,
`method` varchar(40) NOT NULL,
`pass` varchar(32) NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1',
UNIQUE KEY `a_yf_encryption_target_uidx` (`target`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_encryption`
--
LOCK TABLES `a_yf_encryption` WRITE;
/*!40000 ALTER TABLE `a_yf_encryption` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_encryption` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_inventory_limits`
--
DROP TABLE IF EXISTS `a_yf_inventory_limits`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_inventory_limits` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`status` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL,
`value` int unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_inventory_limits`
--
LOCK TABLES `a_yf_inventory_limits` WRITE;
/*!40000 ALTER TABLE `a_yf_inventory_limits` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_inventory_limits` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_map_coordinates_driver_config`
--
DROP TABLE IF EXISTS `a_yf_map_coordinates_driver_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_map_coordinates_driver_config` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`driver` varchar(100) NOT NULL,
`api_key` varchar(500) DEFAULT NULL,
`active` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_map_coordinates_driver_config`
--
LOCK TABLES `a_yf_map_coordinates_driver_config` WRITE;
/*!40000 ALTER TABLE `a_yf_map_coordinates_driver_config` DISABLE KEYS */;
INSERT INTO `a_yf_map_coordinates_driver_config` VALUES (1,'GoogleGeocoding',NULL,0),(2,'Nominatim',NULL,1),(3,'OpenCage',NULL,0),(4,'GraphHopper',NULL,0);
/*!40000 ALTER TABLE `a_yf_map_coordinates_driver_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_map_routing_driver_config`
--
DROP TABLE IF EXISTS `a_yf_map_routing_driver_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_map_routing_driver_config` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`driver` varchar(100) NOT NULL,
`api_key` varchar(500) DEFAULT NULL,
`params` text,
`active` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_map_routing_driver_config`
--
LOCK TABLES `a_yf_map_routing_driver_config` WRITE;
/*!40000 ALTER TABLE `a_yf_map_routing_driver_config` DISABLE KEYS */;
INSERT INTO `a_yf_map_routing_driver_config` VALUES (1,'GoogleRoutes',NULL,'{\"travelMode\":\"DRIVE\",\"routingPreference\":\"TRAFFIC_UNAWARE\"}',0),(2,'Osrm',NULL,NULL,1),(3,'GraphHopper',NULL,'{\"profile\":\"car\"}',0);
/*!40000 ALTER TABLE `a_yf_map_routing_driver_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_map_tile_layer_driver_config`
--
DROP TABLE IF EXISTS `a_yf_map_tile_layer_driver_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_map_tile_layer_driver_config` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`driver` varchar(100) NOT NULL,
`api_key` varchar(500) DEFAULT NULL,
`active` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_map_tile_layer_driver_config`
--
LOCK TABLES `a_yf_map_tile_layer_driver_config` WRITE;
/*!40000 ALTER TABLE `a_yf_map_tile_layer_driver_config` DISABLE KEYS */;
INSERT INTO `a_yf_map_tile_layer_driver_config` VALUES (1,'OpenStreetMapDefault',NULL,1),(2,'OpenStreetMapHOT',NULL,0),(3,'EsriWorldTopoMap',NULL,0),(4,'EsriWorldImagery',NULL,0),(5,'GoogleMaps',NULL,0);
/*!40000 ALTER TABLE `a_yf_map_tile_layer_driver_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_mapped_config`
--
DROP TABLE IF EXISTS `a_yf_mapped_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_mapped_config` (
`id` int NOT NULL AUTO_INCREMENT,
`tabid` smallint unsigned NOT NULL,
`reltabid` smallint unsigned NOT NULL,
`status` tinyint unsigned DEFAULT '0',
`conditions` text,
`permissions` varchar(255) DEFAULT NULL,
`params` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `tabid` (`tabid`),
KEY `reltabid` (`reltabid`),
KEY `tabid_2` (`tabid`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_mapped_config`
--
LOCK TABLES `a_yf_mapped_config` WRITE;
/*!40000 ALTER TABLE `a_yf_mapped_config` DISABLE KEYS */;
INSERT INTO `a_yf_mapped_config` VALUES (1,104,106,1,'[]','','{\"autofill\":\"on\"}'),(2,6,18,1,'[]','','{\"autofill\":\"on\"}'),(3,90,95,1,'[]',NULL,'{\"autofill\":\"on\"}'),(4,90,100,1,'[]',NULL,'[]'),(5,100,98,1,'[]',NULL,'[]'),(6,90,98,1,'[]',NULL,'[]');
/*!40000 ALTER TABLE `a_yf_mapped_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_mapped_fields`
--
DROP TABLE IF EXISTS `a_yf_mapped_fields`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_mapped_fields` (
`id` int NOT NULL AUTO_INCREMENT,
`mappedid` int DEFAULT NULL,
`type` varchar(30) DEFAULT NULL,
`source` varchar(30) DEFAULT NULL,
`target` varchar(30) DEFAULT NULL,
`default` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `a_yf_mapped_fields_ibfk_1` (`mappedid`),
CONSTRAINT `a_yf_mapped_fields_ibfk_1` FOREIGN KEY (`mappedid`) REFERENCES `a_yf_mapped_config` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=125 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_mapped_fields`
--
LOCK TABLES `a_yf_mapped_fields` WRITE;
/*!40000 ALTER TABLE `a_yf_mapped_fields` DISABLE KEYS */;
INSERT INTO `a_yf_mapped_fields` VALUES (1,1,'INVENTORY','name','name',''),(2,1,'INVENTORY','ean','ean',''),(3,1,'INVENTORY','unit','unit',''),(4,1,'INVENTORY','qty','qty',''),(5,1,'INVENTORY','price','price',''),(6,1,'INVENTORY','comment1','comment1',''),(7,1,'INVENTORY','total','total',''),(8,1,'V','2226','2250',''),(9,1,'SELF','id','2262',''),(10,2,'V','1','288',''),(11,2,'E','9','291',''),(73,3,'V','1834','2040',''),(74,3,'V','1839','2043',NULL),(75,3,'INVENTORY','comment1','comment1',''),(76,3,'INVENTORY','gross','gross',''),(77,3,'INVENTORY','tax','tax',''),(78,3,'INVENTORY','total','total',''),(79,3,'INVENTORY','price','price',''),(80,3,'INVENTORY','qty','qty',''),(81,3,'INVENTORY','name','name',''),(82,3,'INVENTORY','taxmode','taxmode',''),(83,3,'INVENTORY','net','net',''),(84,3,'INVENTORY','discountmode','discountmode',''),(85,3,'INVENTORY','discount','discount',''),(87,3,'V','2818','2044',''),(88,3,'V','1835','2573',''),(89,4,'V','1839','2195',NULL),(90,4,'SELF','id','2345',NULL),(91,4,'V','2792','2157',NULL),(92,4,'INVENTORY','total','total',''),(93,4,'INVENTORY','qty','qty',''),(94,4,'INVENTORY','price','price',''),(95,4,'INVENTORY','name','name',''),(96,4,'INVENTORY','comment1','comment1',''),(97,4,'V','1843','2158','0'),(98,4,'V','1845','2193',''),(99,4,'V','1846','2194',''),(100,4,'V','1834','2156',''),(101,5,'V','2156','2116',''),(102,5,'V','2157','2170',NULL),(103,5,'D','2196','2192',''),(104,5,'V','2158','2117','0'),(105,5,'V','2193','2189',''),(106,5,'V','2194','2190',''),(107,5,'INVENTORY','name','name',''),(108,5,'INVENTORY','ean','ean',''),(109,5,'INVENTORY','unit','unit',''),(110,5,'INVENTORY','subunit','subunit',''),(111,5,'INVENTORY','qty','qty',''),(112,5,'INVENTORY','price','price',''),(113,5,'INVENTORY','total','total',''),(114,5,'INVENTORY','comment1','comment1',''),(115,6,'V','1834','2116',''),(116,6,'V','2792','2170',NULL),(117,6,'V','1843','2117','0'),(118,6,'INVENTORY','name','name',''),(119,6,'INVENTORY','qty','qty',''),(120,6,'INVENTORY','price','price',''),(121,6,'INVENTORY','comment1','comment1',''),(122,6,'INVENTORY','total','total',''),(123,6,'INVENTORY','subunit','subunit',''),(124,6,'INVENTORY','unit','unit','');
/*!40000 ALTER TABLE `a_yf_mapped_fields` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_module_package`
--
DROP TABLE IF EXISTS `a_yf_module_package`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_module_package` (
`id` smallint NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`label` varchar(50) NOT NULL,
`description` varchar(50) NOT NULL,
`icon` varchar(100) DEFAULT NULL,
`sequence` smallint DEFAULT NULL,
`default_active` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_module_package`
--
LOCK TABLES `a_yf_module_package` WRITE;
/*!40000 ALTER TABLE `a_yf_module_package` DISABLE KEYS */;
INSERT INTO `a_yf_module_package` VALUES (1,'Sales','LBL_MODULE_PACKAGE_SALES','LBL_MODULE_PACKAGE_SALES_DESCRIPTION','fa-coins',0,1),(2,'Accounting','LBL_MODULE_PACKAGE_ACCOUNTING','LBL_MODULE_PACKAGE_ACCOUNTING_DESCRIPTION','fa-file-invoice-dollar',1,0),(3,'ProjectManagement','LBL_MODULE_PACKAGE_PROJECT_MANAGEMENT','LBL_MODULE_PACKAGE_PROJECT_MANAGEMENT_DESCRIPTION','fa-list-check',2,0),(4,'Marketing','LBL_MODULE_PACKAGE_MARKETING','LBL_MODULE_PACKAGE_MARKETING_DESCRIPTION','fa-ranking-star',3,0),(5,'Support','LBL_MODULE_PACKAGE_SUPPORT','LBL_MODULE_PACKAGE_SUPPORT_DESCRIPTION','fa-suitcase-medical',4,0);
/*!40000 ALTER TABLE `a_yf_module_package` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_module_reference`
--
DROP TABLE IF EXISTS `a_yf_module_reference`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_module_reference` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`module_id` smallint NOT NULL,
`ref_table` varchar(50) NOT NULL,
`ref_column` varchar(50) NOT NULL,
`sort` tinyint(1) NOT NULL,
`is_custom_field_table` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `fk_module_relations_entityname` (`module_id`),
CONSTRAINT `fk_module_relations_entityname` FOREIGN KEY (`module_id`) REFERENCES `vtiger_entityname` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=279 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_module_reference`
--
LOCK TABLES `a_yf_module_reference` WRITE;
/*!40000 ALTER TABLE `a_yf_module_reference` DISABLE KEYS */;
INSERT INTO `a_yf_module_reference` VALUES (1,4,'vtiger_crmentity','crmid',1,0),(2,4,'vtiger_contactdetails','contactid',2,0),(3,4,'vtiger_contactaddress','contactaddressid',3,0),(4,4,'vtiger_contactsubdetails','contactsubscriptionid',4,0),(5,4,'vtiger_contactscf','contactid',5,1),(6,4,'vtiger_customerdetails','customerid',6,0),(7,4,'vtiger_entity_stats','crmid',7,0),(8,6,'vtiger_crmentity','crmid',1,0),(9,6,'vtiger_account','accountid',2,0),(10,6,'vtiger_accountaddress','accountaddressid',3,0),(11,6,'vtiger_accountscf','accountid',4,1),(12,6,'vtiger_entity_stats','crmid',5,0),(13,7,'vtiger_crmentity','crmid',1,0),(14,7,'vtiger_leaddetails','leadid',2,0),(15,7,'vtiger_leadsubdetails','leadsubscriptionid',3,0),(16,7,'vtiger_leadaddress','leadaddressid',4,0),(17,7,'vtiger_leadscf','leadid',5,1),(18,7,'vtiger_entity_stats','crmid',6,0),(19,8,'vtiger_crmentity','crmid',1,0),(20,8,'vtiger_notes','notesid',2,0),(21,8,'vtiger_notescf','notesid',3,1),(22,9,'vtiger_crmentity','crmid',1,0),(23,9,'vtiger_activity','activityid',2,0),(24,9,'vtiger_activitycf','activityid',3,1),(25,13,'vtiger_crmentity','crmid',1,0),(26,13,'vtiger_troubletickets','ticketid',2,0),(27,13,'vtiger_ticketcf','ticketid',3,1),(28,13,'vtiger_entity_stats','crmid',4,0),(29,14,'vtiger_crmentity','crmid',1,0),(30,14,'vtiger_products','productid',2,0),(31,14,'vtiger_productcf','productid',3,1),(32,15,'vtiger_crmentity','crmid',1,0),(33,15,'vtiger_faq','id',2,0),(34,15,'vtiger_faqcf','faqid',3,1),(35,18,'vtiger_crmentity','crmid',1,0),(36,18,'vtiger_vendor','vendorid',2,0),(37,18,'vtiger_vendoraddress','vendorid',3,0),(38,18,'vtiger_vendorcf','vendorid',4,1),(39,18,'vtiger_entity_stats','crmid',5,0),(40,19,'vtiger_crmentity','crmid',1,0),(41,19,'vtiger_pricebook','pricebookid',2,0),(42,19,'vtiger_pricebookcf','pricebookid',3,1),(43,26,'vtiger_crmentity','crmid',1,0),(44,26,'vtiger_campaign','campaignid',2,0),(45,26,'vtiger_campaignscf','campaignid',3,1),(46,26,'vtiger_entity_stats','crmid',4,0),(47,29,'vtiger_users','id',1,0),(48,29,'vtiger_user2role','userid',2,0),(49,34,'vtiger_crmentity','crmid',1,0),(50,34,'vtiger_servicecontracts','servicecontractsid',2,0),(51,34,'vtiger_servicecontractscf','servicecontractsid',3,1),(52,34,'vtiger_entity_stats','crmid',4,0),(53,35,'vtiger_crmentity','crmid',1,0),(54,35,'vtiger_service','serviceid',2,0),(55,35,'vtiger_servicecf','serviceid',3,1),(56,37,'vtiger_crmentity','crmid',1,0),(57,37,'vtiger_assets','assetsid',2,0),(58,37,'vtiger_assetscf','assetsid',3,1),(59,40,'vtiger_crmentity','crmid',1,0),(60,40,'vtiger_modcomments','modcommentsid',2,0),(61,40,'vtiger_modcommentscf','modcommentsid',3,1),(62,41,'vtiger_crmentity','crmid',1,0),(63,41,'vtiger_projectmilestone','projectmilestoneid',2,0),(64,41,'vtiger_projectmilestonecf','projectmilestoneid',3,1),(65,42,'vtiger_crmentity','crmid',1,0),(66,42,'vtiger_projecttask','projecttaskid',2,0),(67,42,'vtiger_projecttaskcf','projecttaskid',3,1),(68,43,'vtiger_crmentity','crmid',1,0),(69,43,'vtiger_project','projectid',2,0),(70,43,'vtiger_projectcf','projectid',3,1),(71,43,'vtiger_entity_stats','crmid',4,0),(72,45,'vtiger_crmentity','crmid',1,0),(73,45,'vtiger_smsnotifier','smsnotifierid',2,0),(74,45,'vtiger_smsnotifiercf','smsnotifierid',3,1),(75,51,'vtiger_crmentity','crmid',1,0),(76,51,'vtiger_osstimecontrol','osstimecontrolid',2,0),(77,51,'vtiger_osstimecontrolcf','osstimecontrolid',3,1),(78,54,'vtiger_crmentity','crmid',1,0),(79,54,'vtiger_ossmailview','ossmailviewid',2,0),(80,54,'vtiger_ossmailviewcf','ossmailviewid',3,1),(81,57,'vtiger_crmentity','crmid',1,0),(82,57,'vtiger_ossoutsourcedservices','ossoutsourcedservicesid',2,0),(83,57,'vtiger_ossoutsourcedservicescf','ossoutsourcedservicesid',3,1),(84,58,'vtiger_crmentity','crmid',1,0),(85,58,'vtiger_osssoldservices','osssoldservicesid',2,0),(86,58,'vtiger_osssoldservicescf','osssoldservicesid',3,1),(87,59,'vtiger_crmentity','crmid',1,0),(88,59,'vtiger_outsourcedproducts','outsourcedproductsid',2,0),(89,59,'vtiger_outsourcedproductscf','outsourcedproductsid',3,1),(90,61,'vtiger_crmentity','crmid',1,0),(91,61,'vtiger_ossemployees','ossemployeesid',2,0),(92,61,'vtiger_ossemployeescf','ossemployeesid',3,1),(93,61,'vtiger_entity_stats','crmid',4,0),(94,74,'vtiger_crmentity','crmid',1,0),(95,74,'vtiger_callhistory','callhistoryid',2,0),(96,74,'vtiger_callhistorycf','callhistoryid',3,1),(97,75,'vtiger_crmentity','crmid',1,0),(98,75,'vtiger_ideas','ideasid',2,0),(99,75,'vtiger_ideascf','ideasid',3,1),(100,78,'vtiger_crmentity','crmid',1,0),(101,78,'vtiger_holidaysentitlement','holidaysentitlementid',2,0),(102,78,'vtiger_holidaysentitlementcf','holidaysentitlementid',3,1),(103,79,'vtiger_crmentity','crmid',1,0),(104,79,'vtiger_paymentsin','paymentsinid',2,0),(105,79,'vtiger_paymentsincf','paymentsinid',3,1),(106,80,'vtiger_crmentity','crmid',1,0),(107,80,'vtiger_paymentsout','paymentsoutid',2,0),(108,80,'vtiger_paymentsoutcf','paymentsoutid',3,1),(109,81,'vtiger_crmentity','crmid',1,0),(110,81,'vtiger_lettersin','lettersinid',2,0),(111,81,'vtiger_lettersincf','lettersinid',3,1),(112,82,'vtiger_crmentity','crmid',1,0),(113,82,'vtiger_lettersout','lettersoutid',2,0),(114,82,'vtiger_lettersoutcf','lettersoutid',3,1),(115,83,'vtiger_crmentity','crmid',1,0),(116,83,'u_yf_announcement','announcementid',2,0),(117,83,'u_yf_announcementcf','announcementid',3,1),(118,84,'vtiger_crmentity','crmid',1,0),(119,84,'vtiger_reservations','reservationsid',2,0),(120,84,'vtiger_reservationscf','reservationsid',3,1),(121,85,'vtiger_crmentity','crmid',1,0),(122,85,'u_yf_squoteenquiries','squoteenquiriesid',2,0),(123,85,'u_yf_squoteenquiriescf','squoteenquiriesid',3,1),(124,85,'vtiger_entity_stats','crmid',4,0),(125,86,'vtiger_crmentity','crmid',1,0),(126,86,'u_yf_ssalesprocesses','ssalesprocessesid',2,0),(127,86,'u_yf_ssalesprocessescf','ssalesprocessesid',3,1),(128,86,'vtiger_entity_stats','crmid',4,0),(129,87,'vtiger_crmentity','crmid',1,0),(130,87,'u_yf_srequirementscards','srequirementscardsid',2,0),(131,87,'u_yf_srequirementscardscf','srequirementscardsid',3,1),(132,87,'vtiger_entity_stats','crmid',4,0),(133,88,'vtiger_crmentity','crmid',1,0),(134,88,'u_yf_scalculations','scalculationsid',2,0),(135,88,'u_yf_scalculationscf','scalculationsid',3,1),(136,88,'vtiger_entity_stats','crmid',4,0),(137,89,'vtiger_crmentity','crmid',1,0),(138,89,'u_yf_squotes','squotesid',2,0),(139,89,'u_yf_squotescf','squotesid',3,1),(140,89,'u_yf_squotes_address','squotesaddressid',4,0),(141,89,'vtiger_entity_stats','crmid',5,0),(142,90,'vtiger_crmentity','crmid',1,0),(143,90,'u_yf_ssingleorders','ssingleordersid',2,0),(144,90,'u_yf_ssingleorderscf','ssingleordersid',3,1),(145,90,'u_yf_ssingleorders_address','ssingleordersaddressid',4,0),(146,90,'vtiger_entity_stats','crmid',5,0),(147,91,'vtiger_crmentity','crmid',1,0),(148,91,'u_yf_srecurringorders','srecurringordersid',2,0),(149,91,'u_yf_srecurringorderscf','srecurringordersid',3,1),(150,91,'u_yf_recurring_info','srecurringordersid',4,0),(151,91,'u_yf_srecurringorders_address','srecurringordersaddressid',5,0),(152,91,'vtiger_entity_stats','crmid',6,0),(153,92,'vtiger_crmentity','crmid',1,0),(154,92,'u_yf_partners','partnersid',2,0),(155,92,'u_yf_partnerscf','partnersid',3,1),(156,92,'u_yf_partners_address','partneraddressid',4,0),(157,92,'vtiger_entity_stats','crmid',5,0),(158,93,'vtiger_crmentity','crmid',1,0),(159,93,'u_yf_competition','competitionid',2,0),(160,93,'u_yf_competitioncf','competitionid',3,1),(161,93,'u_yf_competition_address','competitionaddressid',4,0),(162,93,'vtiger_entity_stats','crmid',5,0),(163,94,'vtiger_crmentity','crmid',1,0),(164,94,'u_yf_fbookkeeping','fbookkeepingid',2,0),(165,94,'u_yf_fbookkeepingcf','fbookkeepingid',3,1),(166,95,'vtiger_crmentity','crmid',1,0),(167,95,'u_yf_finvoice','finvoiceid',2,0),(168,95,'u_yf_finvoicecf','finvoiceid',3,1),(169,95,'u_yf_finvoice_address','finvoiceaddressid',4,0),(170,96,'vtiger_crmentity','crmid',1,0),(171,96,'u_yf_knowledgebase','knowledgebaseid',2,0),(172,96,'u_yf_knowledgebasecf','knowledgebaseid',3,1),(173,97,'vtiger_crmentity','crmid',1,0),(174,97,'u_yf_istorages','istorageid',2,0),(175,97,'u_yf_istoragescf','istorageid',3,1),(176,97,'u_yf_istorages_address','istorageaddressid',4,0),(177,98,'vtiger_crmentity','crmid',1,0),(178,98,'u_yf_igrn','igrnid',2,0),(179,98,'u_yf_igrncf','igrnid',3,1),(180,99,'vtiger_crmentity','crmid',1,0),(181,99,'u_yf_finvoiceproforma','finvoiceproformaid',2,0),(182,99,'u_yf_finvoiceproformacf','finvoiceproformaid',3,1),(183,99,'u_yf_finvoiceproforma_address','finvoiceproformaaddressid',4,0),(184,100,'vtiger_crmentity','crmid',1,0),(185,100,'u_yf_igdn','igdnid',2,0),(186,100,'u_yf_igdncf','igdnid',3,1),(187,101,'vtiger_crmentity','crmid',1,0),(188,101,'u_yf_iidn','iidnid',2,0),(189,101,'u_yf_iidncf','iidnid',3,1),(190,102,'vtiger_crmentity','crmid',1,0),(191,102,'u_yf_igin','iginid',2,0),(192,102,'u_yf_igincf','iginid',3,1),(193,103,'vtiger_crmentity','crmid',1,0),(194,103,'u_yf_ipreorder','ipreorderid',2,0),(195,103,'u_yf_ipreordercf','ipreorderid',3,1),(196,104,'vtiger_crmentity','crmid',1,0),(197,104,'u_yf_istdn','istdnid',2,0),(198,104,'u_yf_istdncf','istdnid',3,1),(199,105,'vtiger_crmentity','crmid',1,0),(200,105,'u_yf_istn','istnid',2,0),(201,105,'u_yf_istncf','istnid',3,1),(202,106,'vtiger_crmentity','crmid',1,0),(203,106,'u_yf_istrn','istrnid',2,0),(204,106,'u_yf_istrncf','istrnid',3,1),(205,107,'vtiger_crmentity','crmid',1,0),(206,107,'u_yf_fcorectinginvoice','fcorectinginvoiceid',2,0),(207,107,'u_yf_fcorectinginvoicecf','fcorectinginvoiceid',3,1),(208,107,'u_yf_fcorectinginvoice_address','fcorectinginvoiceaddressid',4,0),(209,108,'vtiger_crmentity','crmid',1,0),(210,108,'u_yf_igrnc','igrncid',2,0),(211,108,'u_yf_igrnccf','igrncid',3,1),(212,109,'vtiger_crmentity','crmid',1,0),(213,109,'u_yf_igdnc','igdncid',2,0),(214,109,'u_yf_igdnccf','igdncid',3,1),(215,111,'vtiger_crmentity','crmid',1,0),(216,111,'u_yf_notification','notificationid',2,0),(217,112,'vtiger_crmentity','crmid',1,0),(218,112,'u_yf_emailtemplates','emailtemplatesid',2,0),(219,113,'vtiger_crmentity','crmid',1,0),(220,113,'u_yf_cfixedassets','cfixedassetsid',2,0),(221,113,'u_yf_cfixedassetscf','cfixedassetsid',3,1),(222,114,'vtiger_crmentity','crmid',1,0),(223,114,'u_yf_cinternaltickets','cinternalticketsid',2,0),(224,114,'u_yf_cinternalticketscf','cinternalticketsid',3,1),(225,115,'vtiger_crmentity','crmid',1,0),(226,115,'u_yf_finvoicecost','finvoicecostid',2,0),(227,115,'u_yf_finvoicecostcf','finvoicecostid',3,1),(228,115,'u_yf_finvoicecost_address','finvoicecostaddressid',4,0),(229,116,'vtiger_crmentity','crmid',1,0),(230,116,'u_yf_cmileagelogbook','cmileagelogbookid',2,0),(231,116,'u_yf_cmileagelogbookcf','cmileagelogbookid',3,1),(232,117,'vtiger_crmentity','crmid',1,0),(233,117,'u_yf_svendorenquiries','svendorenquiriesid',2,0),(234,117,'u_yf_svendorenquiriescf','svendorenquiriesid',3,1),(235,117,'vtiger_entity_stats','crmid',4,0),(236,119,'vtiger_crmentity','crmid',1,0),(237,119,'u_yf_multicompany','multicompanyid',2,0),(238,119,'u_yf_multicompanycf','multicompanyid',3,1),(239,121,'vtiger_crmentity','crmid',1,0),(240,121,'u_yf_datasetregister','datasetregisterid',2,0),(241,121,'u_yf_datasetregistercf','datasetregisterid',3,1),(242,122,'vtiger_crmentity','crmid',1,0),(243,122,'u_yf_activityregister','activityregisterid',2,0),(244,122,'u_yf_activityregistercf','activityregisterid',3,1),(245,123,'vtiger_crmentity','crmid',1,0),(246,123,'u_yf_locationregister','locationregisterid',2,0),(247,123,'u_yf_locationregistercf','locationregisterid',3,1),(248,124,'vtiger_crmentity','crmid',1,0),(249,124,'u_yf_incidentregister','incidentregisterid',2,0),(250,124,'u_yf_incidentregistercf','incidentregisterid',3,1),(251,125,'vtiger_crmentity','crmid',1,0),(252,125,'u_yf_auditregister','auditregisterid',2,0),(253,125,'u_yf_auditregistercf','auditregisterid',3,1),(254,127,'vtiger_crmentity','crmid',1,0),(255,127,'u_yf_approvals','approvalsid',2,0),(256,128,'vtiger_crmentity','crmid',1,0),(257,128,'u_yf_approvalsregister','approvalsregisterid',2,0),(258,130,'vtiger_crmentity','crmid',1,0),(259,130,'u_yf_locations','locationsid',2,0),(260,130,'u_yf_locations_address','locationaddressid',3,0),(261,131,'vtiger_crmentity','crmid',1,0),(262,131,'u_yf_occurrences','occurrencesid',2,0),(263,132,'vtiger_crmentity','crmid',1,0),(264,132,'u_yf_productcategory','productcategoryid',2,0),(265,132,'u_yf_productcategorycf','productcategoryid',3,1),(266,133,'vtiger_crmentity','crmid',1,0),(267,133,'u_yf_bankaccounts','bankaccountsid',2,0),(268,133,'u_yf_bankaccountscf','bankaccountsid',3,1),(269,134,'vtiger_crmentity','crmid',1,0),(270,134,'u_yf_queue','queueid',2,0),(271,135,'vtiger_crmentity','crmid',1,0),(272,135,'u_yf_passwords','passwordsid',2,0),(273,136,'vtiger_crmentity','crmid',1,0),(274,136,'u_yf_smstemplates','smstemplatesid',2,0),(275,136,'u_yf_smstemplatescf','smstemplatesid',3,1),(276,138,'vtiger_crmentity','crmid',1,0),(277,138,'u_yf_report_template','id',2,0),(278,138,'u_yf_report_template_cf','id',3,1);
/*!40000 ALTER TABLE `a_yf_module_reference` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_modules_packages`
--
DROP TABLE IF EXISTS `a_yf_modules_packages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_modules_packages` (
`package_id` smallint NOT NULL,
`module_id` smallint NOT NULL,
KEY `a_yf_modules_packages_package_fk` (`package_id`),
KEY `a_yf_modules_packages_module_fk` (`module_id`),
CONSTRAINT `a_yf_modules_packages_module_fk` FOREIGN KEY (`module_id`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE,
CONSTRAINT `a_yf_modules_packages_package_fk` FOREIGN KEY (`package_id`) REFERENCES `a_yf_module_package` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_modules_packages`
--
LOCK TABLES `a_yf_modules_packages` WRITE;
/*!40000 ALTER TABLE `a_yf_modules_packages` DISABLE KEYS */;
INSERT INTO `a_yf_modules_packages` VALUES (1,7),(1,19),(1,88),(1,89),(1,91),(1,87),(1,86),(1,85),(1,90),(2,94),(2,107),(2,95),(2,115),(2,99),(2,79),(2,80),(5,15),(5,13),(5,96),(5,34),(3,43),(3,41),(3,42),(4,7),(4,26),(4,131),(4,130);
/*!40000 ALTER TABLE `a_yf_modules_packages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_pdf`
--
DROP TABLE IF EXISTS `a_yf_pdf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_pdf` (
`pdfid` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'id of record',
`generator` varchar(50) NOT NULL DEFAULT 'YetiForcePDF',
`module_name` varchar(25) NOT NULL COMMENT 'name of the module',
`header_content` mediumtext,
`body_content` mediumtext,
`footer_content` mediumtext,
`status` tinyint(1) NOT NULL DEFAULT '0',
`primary_name` varchar(255) NOT NULL,
`secondary_name` varchar(255) NOT NULL,
`meta_author` varchar(255) NOT NULL,
`meta_keywords` varchar(255) NOT NULL,
`metatags_status` tinyint(1) NOT NULL,
`meta_subject` varchar(255) NOT NULL,
`meta_title` varchar(255) NOT NULL,
`page_format` varchar(255) NOT NULL,
`margin_chkbox` tinyint(1) DEFAULT NULL,
`margin_top` smallint unsigned DEFAULT NULL,
`margin_bottom` smallint unsigned DEFAULT NULL,
`margin_left` smallint unsigned DEFAULT NULL,
`margin_right` smallint unsigned DEFAULT NULL,
`header_height` smallint unsigned DEFAULT NULL,
`footer_height` smallint unsigned DEFAULT NULL,
`page_orientation` varchar(30) NOT NULL,
`language` varchar(7) NOT NULL,
`filename` varchar(255) NOT NULL,
`visibility` varchar(200) NOT NULL,
`default` tinyint(1) DEFAULT NULL,
`conditions` text,
`watermark_type` tinyint(1) NOT NULL DEFAULT '0',
`watermark_text` text NOT NULL,
`watermark_angle` smallint unsigned NOT NULL,
`watermark_image` varchar(255) NOT NULL,
`template_members` text NOT NULL,
`one_pdf` tinyint(1) DEFAULT NULL,
`type` tinyint unsigned DEFAULT '0',
`styles` text,
PRIMARY KEY (`pdfid`),
KEY `module_name` (`module_name`,`status`),
KEY `module_name_2` (`module_name`)
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_pdf`
--
LOCK TABLES `a_yf_pdf` WRITE;
/*!40000 ALTER TABLE `a_yf_pdf` DISABLE KEYS */;
INSERT INTO `a_yf_pdf` VALUES (33,'YetiForcePDF','FInvoice','<div>\n<table style=\"font-family:\'DejaVu Sans\';font-size:10px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"text-align:left;width:50%;\">$(translate : Other.PDF|LBL_INVOICE_NUMBER)$ $(record : number)$</td>\n <td style=\"text-align:right;width:50%;\">$(translate : Other.PDF|Issued Date)$ $(record : issue_time)$</td>\n </tr>\n </tbody>\n</table>\n</div>\n','<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;margin-bottom:6px;width:100%;\">\n <thead>\n <tr>\n <th style=\"text-align:center;width:25%;\">$(translate : Other.PDF|Issued Date)$</th>\n <th style=\"text-align:center;width:25%;\">$(translate : Other.PDF|LBL_SALE_DATE)$</th>\n <th style=\"text-align:center;width:25%;\">$(translate : FInvoice|FL_PAYMENT_DATE)$</th>\n <th style=\"text-align:center;width:25%;\">$(translate : Other.PDF|LBL_PAYMENT_METHOD)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;\">$(record : issue_time)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;\">$(record : saledate)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;\">$(record : paymentdate)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;\">$(record : finvoice_formpayment)$</td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;line-height:1.1em;text-align:center;width:100%;\">\n <thead>\n <tr>\n <th style=\"font-size:9px;width:50%;\">$(translate : Other.PDF|LBL_DEALER)$</th>\n <th style=\"font-size:9px;width:50%;\">$(translate : Other.PDF|LBL_BUYER)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;line-height:1.2;vertical-align:top;\">$(organization : 1|company_name)$<br>\n $(organization : 1|addresslevel8a)$ $(organization : 1|buildingnumbera)$<br>\n $(organization : 1|addresslevel7a)$ $(organization : 1|addresslevel5a)$<br>\n $(translate : Other.PDF|LBL_VATID)$: $(organization : 1|vat)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;line-height:1.2;vertical-align:top;\">$(relatedRecord : accountid|accountname|Accounts)$<br>\n $(relatedRecord : accountid|addresslevel8a|Accounts)$ $(relatedRecord : accountid|buildingnumbera|Accounts)$<br>\n $(relatedRecord : accountid|addresslevel7a|Accounts)$ $(relatedRecord : accountid|addresslevel5a|Accounts)$<br>\n $(translate : Other.PDF|LBL_VATID)$: $(relatedRecord : accountid|vat_id|Accounts)$</td>\n </tr>\n </tbody>\n</table>\n<div style=\"font-family:\'DejaVu Sans\';margin-top:12px;text-align:center;\">\n<h3>$(translate : Other.PDF|LBL_INVOICE_NUMBER)$: $(record : number)$</h3>\n</div>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;margin-bottom:20px;margin-left:0px;margin-right:0px;margin-top:10px;\">$(custom : ProductsTableShortVersion)$</div>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:8px;margin:0px 0px 20px 0px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableTaxSummary)$</td>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableDiscountSummary)$</td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:8px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableCurrencySummary)$</td>\n <td style=\"vertical-align:top;width:50%;\">\n <table cellspacing=\"0\" style=\"border-collapse:collapse;width:100%;\">\n <thead>\n <tr>\n <th style=\"font-size:10px;\">$(translate : Other.PDF|LBL_TO_PAY)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;font-size:12px;font-weight:bold;text-align:center;\">$(record : sum_gross)$</td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;margin:20px 0px;text-align:left;width:100%;\">\n <thead>\n <tr>\n <th style=\"text-align:left;\">\n <div style=\"margin-left:4px;\">$(translate : Other.PDF|LBL_COMMENTS)$</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;padding:10px;\">$(record : attention)$</td>\n </tr>\n </tbody>\n</table>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;text-align:left;\">$(translate : Other.PDF|LBL_STAGE)$: $(record : assigned_user_id)$</div>\n','<table style=\"font-family:\'DejaVu Sans\';font-size:8px;width:100%;\">\n<tbody>\n <tr>\n <td style=\"text-align:right;width:50%;\">$(custom : CurrentPage)$/$(custom : AllPages)$</td>\n </tr>\n</tbody>\n</table>',1,'SINGLE_FInvoice','SINGLE_FInvoice','','',1,'','','A4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'PLL_PORTRAIT','','','PLL_LISTVIEW,PLL_DETAILVIEW',1,'[]',0,'',0,'','',NULL,0,NULL),(34,'YetiForcePDF','FInvoiceProforma','<div>\n<table style=\"font-family:\'DejaVu Sans\';font-size:10px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"text-align:left;width:50%;\">$(translate : FInvoiceProforma|SINGLE_FInvoiceProforma)$ $(record : number)$</td>\n <td style=\"text-align:right;width:50%;\">$(translate : Other.PDF|LBL_SALE_DATE)$ $(record : saledate)$</td>\n </tr>\n </tbody>\n</table>\n</div>\n','<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;margin-bottom:6px;width:100%;\">\n <thead>\n <tr>\n <th style=\"text-align:center;width:25%;\">$(translate : Other.PDF|LBL_SALE_DATE)$</th>\n <th style=\"text-align:center;width:25%;\">$(translate : FInvoiceProforma|FL_PAYMENT_DATE)$</th>\n <th style=\"text-align:center;width:25%;\">$(translate : Other.PDF|LBL_PAYMENT_METHOD)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;\">$(record : saledate)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;\">$(record : paymentdate)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;\">$(record : finvoiceproforma_formpayment)$</td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;line-height:1.1em;text-align:center;width:100%;\">\n <thead>\n <tr>\n <th style=\"font-size:9px;width:50%;\">$(translate : Other.PDF|LBL_DEALER)$</th>\n <th style=\"font-size:9px;width:50%;\">$(translate : Other.PDF|LBL_BUYER)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;line-height:1.2;vertical-align:top;\">$(organization : 1|company_name)$<br>\n $(organization : 1|addresslevel8a)$ $(organization : 1|buildingnumbera)$<br>\n $(organization : 1|addresslevel7a)$ $(organization : 1|addresslevel5a)$<br>\n $(translate : Other.PDF|LBL_VATID)$: $(organization : 1|vat)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;line-height:1.2;vertical-align:top;\">$(relatedRecord : accountid|accountname|Accounts)$<br>\n $(relatedRecord : accountid|addresslevel8a|Accounts)$ $(relatedRecord : accountid|buildingnumbera|Accounts)$<br>\n $(relatedRecord : accountid|addresslevel7a|Accounts)$ $(relatedRecord : accountid|addresslevel5a|Accounts)$<br>\n $(translate : Other.PDF|LBL_VATID)$: $(relatedRecord : accountid|vat_id|Accounts)$</td>\n </tr>\n </tbody>\n</table>\n<div style=\"font-family:\'DejaVu Sans\';margin-top:12px;text-align:center;\">\n<h3>$(translate : FInvoiceProforma|SINGLE_FInvoiceProforma)$: $(record : number)$</h3>\n</div>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;margin-bottom:20px;margin-left:0px;margin-right:0px;margin-top:10px;\">$(custom : ProductsTableShortVersion)$</div>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:8px;margin:0px 0px 20px 0px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableTaxSummary)$</td>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableDiscountSummary)$</td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:8px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableCurrencySummary)$</td>\n <td style=\"vertical-align:top;width:50%;\">\n <table cellspacing=\"0\" style=\"border-collapse:collapse;width:100%;\">\n <thead>\n <tr>\n <th style=\"font-size:10px;\">$(translate : Other.PDF|LBL_TO_PAY)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;font-size:12px;font-weight:bold;text-align:center;\">$(record : sum_gross)$</td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;margin:20px 0px;text-align:left;width:100%;\">\n <thead>\n <tr>\n <th style=\"text-align:left;\">\n <div style=\"margin-left:4px;\">$(translate : Other.PDF|LBL_COMMENTS)$</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;padding:10px;\">$(record : attention)$</td>\n </tr>\n </tbody>\n</table>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;text-align:left;\">$(translate : Other.PDF|LBL_STAGE)$: $(record : assigned_user_id)$</div>\n','<table style=\"font-family:\'DejaVu Sans\';font-size:8px;width:100%;\">\n<tbody>\n <tr>\n <td style=\"text-align:right;width:50%;\">$(custom : CurrentPage)$/$(custom : AllPages)$</td>\n </tr>\n</tbody>\n</table>',1,'SINGLE_FInvoiceProforma','SINGLE_FInvoiceProforma','','',1,'','','A4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'PLL_PORTRAIT','','','PLL_LISTVIEW,PLL_DETAILVIEW',1,'[]',0,'',0,'','',NULL,0,NULL),(35,'YetiForcePDF','FCorectingInvoice','<div>\n<table style=\"font-family:\'DejaVu Sans\';font-size:10px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"text-align:left;width:50%;\">$(translate : FCorectingInvoice|SINGLE_FCorectingInvoice)$ $(record : number)$</td>\n <td style=\"text-align:right;width:50%;\">$(translate : Other.PDF|LBL_SALE_DATE)$ $(record : saledate)$</td>\n </tr>\n </tbody>\n</table>\n</div>','<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;margin-bottom:6px;width:100%;\">\n <thead>\n <tr>\n <th style=\"text-align:center;width:25%;\">$(translate : Other.PDF|LBL_SALE_DATE)$</th>\n <th style=\"text-align:center;width:25%;\">$(translate : FCorectingInvoice|FL_PAYMENT_DATE)$</th>\n <th style=\"text-align:center;width:25%;\">$(translate : Other.PDF|LBL_PAYMENT_METHOD)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;height:17px;\">$(record : saledate)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;height:17px;\">$(record : paymentdate)$</td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;text-align:center;height:17px;\">$(record : payment_methods)$</td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;line-height:1.1em;text-align:center;width:100%;\">\n <thead>\n <tr>\n <th style=\"font-size:9px;width:50%;\">$(translate : Other.PDF|LBL_DEALER)$</th>\n <th style=\"font-size:9px;width:50%;\">$(translate : Other.PDF|LBL_BUYER)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;line-height:1.2;vertical-align:top;\">\n <table cellspacing=\"0\" style=\"border-collapse:collapse;width:100%;\">\n <tbody>\n <tr>\n <td> </td>\n <td style=\"vertical-align:top;\">$(organization : 1|company_name)$<br>\n $(organization : 1|addresslevel8a)$ $(organization : 1|buildingnumbera)$<br>\n $(organization : 1|addresslevel7a)$ $(organization : 1|addresslevel5a)$<br>\n $(translate : Other.PDF|LBL_VATID)$: $(organization : 1|vat)$</td>\n </tr>\n </tbody>\n </table>\n </td>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;line-height:1.2;vertical-align:top;\">$(relatedRecord : accountid|accountname|Accounts)$<br>\n $(relatedRecord : accountid|addresslevel8a|Accounts)$ $(relatedRecord : accountid|buildingnumbera|Accounts)$<br>\n $(relatedRecord : accountid|addresslevel7a|Accounts)$ $(relatedRecord : accountid|addresslevel5a|Accounts)$<br>\n $(translate : Other.PDF|LBL_VATID)$: $(relatedRecord : accountid|vat_id|Accounts)$</td>\n </tr>\n </tbody>\n</table>\n<div style=\"font-family:\'DejaVu Sans\';margin-top:12px;text-align:center;\">\n<h3>$(translate : FCorectingInvoice|SINGLE_FCorectingInvoice)$: $(record : number)$</h3>\n</div>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;margin-left:0px;margin-right:0px;margin-top:10px;\">$(translate : Other.PDF|LBL_TO_FINVOICE_NUMBER)$: $(relatedRecord : finvoiceid|number|FInvoice)$</div>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;margin-bottom:20px;margin-left:0px;margin-right:0px;margin-top:10px;\"><strong>$(translate : FCorectingInvoice|LBL_BEFORE_CORRECTION)$</strong><br>\n$(custom : ProductsTableCorrectingBefore)$</div>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;margin-bottom:5px;margin-left:0px;margin-right:0px;margin-top:10px;\"><strong>$(translate : FCorectingInvoice|LBL_AFTER_CORRECTION)$</strong><br>\n$(custom : ProductsTableCorrectingAfter)$</div>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:8px;margin:0px 0px 20px 0px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableTaxSummary)$</td>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableCurrencySummary)$</td>\n </tr>\n <tr>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableDiscountSummary)$</td>\n </tr>\n </tbody>\n</table>\n<strong style=\"font-family:\'DejaVu Sans\';font-size:8px;\">$(translate : FCorectingInvoice|LBL_CORRECTION_SUMMARY)$</strong>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:8px;margin:0px 0px 20px 0px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableCorrectTaxSummary)$</td>\n <td style=\"vertical-align:top;width:50%;\">$(custom : TableCorrectDiscountSummary)$</td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:8px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"vertical-align:top;width:50%;\"></td>\n <td style=\"vertical-align:top;width:50%;\">\n <table cellspacing=\"0\" style=\"border-collapse:collapse;width:100%;\">\n <thead>\n <tr>\n <th style=\"font-size:10px;\">$(translate : Other.PDF|LBL_TO_PAY)$</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;font-size:12px;font-weight:bold;text-align:center;\">$(custom : AmountToPay)$</td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n</table>\n<table cellspacing=\"0\" style=\"border-collapse:collapse;font-family:\'DejaVu Sans\';font-size:9px;margin:20px 0px;text-align:left;width:100%;\">\n <thead>\n <tr>\n <th style=\"text-align:left;\">\n <div style=\"margin-left:4px;\">$(translate : Other.PDF|LBL_COMMENTS)$</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"border-color:#dddddd;border-style:solid;border-width:1px;padding:10px;\">$(record : attention)$</td>\n </tr>\n </tbody>\n</table>\n<div style=\"font-family:\'DejaVu Sans\';font-size:8px;text-align:left;\">$(translate : Other.PDF|LBL_STAGE)$: $(record : assigned_user_id)$</div>','<table style=\"font-family:\'DejaVu Sans\';font-size:8px;width:100%;\">\n <tbody>\n <tr>\n <td style=\"text-align:right;width:50%;\">$(custom : CurrentPage)$/$(custom : AllPages)$</td>\n </tr>\n </tbody>\n</table>',1,'SINGLE_FCorectingInvoice','SINGLE_FCorectingInvoice','','',1,'','','A4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'PLL_PORTRAIT','','','PLL_LISTVIEW,PLL_DETAILVIEW',1,'[]',0,'',0,'','',NULL,0,NULL);
/*!40000 ALTER TABLE `a_yf_pdf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_record_converter`
--
DROP TABLE IF EXISTS `a_yf_record_converter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_record_converter` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`source_module` smallint NOT NULL,
`destiny_module` varchar(255) NOT NULL,
`field_merge` varchar(50) DEFAULT NULL,
`field_mapping` text,
`inv_field_mapping` text,
`redirect_to_edit` tinyint unsigned NOT NULL DEFAULT '0',
`check_duplicate` tinyint(1) DEFAULT NULL,
`show_in_list` tinyint unsigned NOT NULL DEFAULT '0',
`show_in_detail` tinyint unsigned NOT NULL DEFAULT '0',
`conditions` text,
PRIMARY KEY (`id`,`source_module`,`destiny_module`),
KEY `a_yf_record_converter_fk_tab` (`source_module`),
KEY `status` (`status`),
KEY `show_in_list` (`show_in_list`),
KEY `show_in_detail` (`show_in_detail`),
CONSTRAINT `fk_1_a_yf_record_converter` FOREIGN KEY (`source_module`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_record_converter`
--
LOCK TABLES `a_yf_record_converter` WRITE;
/*!40000 ALTER TABLE `a_yf_record_converter` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_record_converter` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_record_converter_mapping`
--
DROP TABLE IF EXISTS `a_yf_record_converter_mapping`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_record_converter_mapping` (
`id` smallint unsigned NOT NULL,
`dest_module` smallint NOT NULL,
`source_field` int NOT NULL,
`dest_field` int NOT NULL,
`state` tinyint unsigned DEFAULT '1',
KEY `a_yf_record_converter_mapping_id` (`id`),
KEY `a_yf_record_converter_mapping_source_field` (`source_field`),
KEY `a_yf_record_converter_mapping_dest_field` (`dest_field`),
CONSTRAINT `a_yf_record_converter_mapping_fk1` FOREIGN KEY (`id`) REFERENCES `a_yf_record_converter` (`id`) ON DELETE CASCADE,
CONSTRAINT `a_yf_record_converter_mapping_fk2` FOREIGN KEY (`source_field`) REFERENCES `vtiger_field` (`fieldid`) ON DELETE CASCADE,
CONSTRAINT `a_yf_record_converter_mapping_fk3` FOREIGN KEY (`dest_field`) REFERENCES `vtiger_field` (`fieldid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_record_converter_mapping`
--
LOCK TABLES `a_yf_record_converter_mapping` WRITE;
/*!40000 ALTER TABLE `a_yf_record_converter_mapping` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_record_converter_mapping` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_record_list_filter`
--
DROP TABLE IF EXISTS `a_yf_record_list_filter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_record_list_filter` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`relationid` smallint unsigned NOT NULL,
`rel_relationid` smallint unsigned NOT NULL,
`dest_relationid` smallint unsigned NOT NULL,
`label` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `a_yf_record_list_filter_relationid_idx` (`relationid`),
KEY `a_yf_record_list_filter_rel_relationid_idx` (`rel_relationid`),
KEY `a_yf_record_list_filter_dest_relationid_idx` (`dest_relationid`),
CONSTRAINT `a_yf_record_list_filter_dest_relationid_idx` FOREIGN KEY (`dest_relationid`) REFERENCES `vtiger_relatedlists` (`relation_id`) ON DELETE CASCADE,
CONSTRAINT `a_yf_record_list_filter_rel_relationid_idx` FOREIGN KEY (`rel_relationid`) REFERENCES `vtiger_relatedlists` (`relation_id`) ON DELETE CASCADE,
CONSTRAINT `a_yf_record_list_filter_relationid_idx` FOREIGN KEY (`relationid`) REFERENCES `vtiger_relatedlists` (`relation_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_record_list_filter`
--
LOCK TABLES `a_yf_record_list_filter` WRITE;
/*!40000 ALTER TABLE `a_yf_record_list_filter` DISABLE KEYS */;
INSERT INTO `a_yf_record_list_filter` VALUES (1,347,10,1,NULL),(2,354,126,1,NULL),(3,424,452,1,NULL),(4,635,579,1,NULL),(5,603,117,95,NULL),(6,604,218,95,NULL),(7,601,95,117,NULL),(8,602,95,218,NULL),(9,661,452,452,NULL);
/*!40000 ALTER TABLE `a_yf_record_list_filter` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_relatedlists_inv_fields`
--
DROP TABLE IF EXISTS `a_yf_relatedlists_inv_fields`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_relatedlists_inv_fields` (
`relation_id` smallint unsigned NOT NULL,
`fieldname` varchar(30) DEFAULT NULL,
`sequence` tinyint(1) DEFAULT NULL,
KEY `relation_id` (`relation_id`),
CONSTRAINT `a_yf_relatedlists_inv_fields_ibfk_1` FOREIGN KEY (`relation_id`) REFERENCES `vtiger_relatedlists` (`relation_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_relatedlists_inv_fields`
--
LOCK TABLES `a_yf_relatedlists_inv_fields` WRITE;
/*!40000 ALTER TABLE `a_yf_relatedlists_inv_fields` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_relatedlists_inv_fields` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_relatedlists_widgets`
--
DROP TABLE IF EXISTS `a_yf_relatedlists_widgets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_relatedlists_widgets` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`relation_id` smallint unsigned NOT NULL,
`type` varchar(30) DEFAULT NULL,
`label` varchar(100) DEFAULT NULL,
`wcol` tinyint(1) DEFAULT '1',
`sequence` tinyint DEFAULT NULL,
`data` text,
PRIMARY KEY (`id`),
KEY `relation_id` (`relation_id`),
CONSTRAINT `a_yf_relatedlists_widgets_ibfk_1` FOREIGN KEY (`relation_id`) REFERENCES `vtiger_relatedlists` (`relation_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_relatedlists_widgets`
--
LOCK TABLES `a_yf_relatedlists_widgets` WRITE;
/*!40000 ALTER TABLE `a_yf_relatedlists_widgets` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_relatedlists_widgets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_settings_access`
--
DROP TABLE IF EXISTS `a_yf_settings_access`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_settings_access` (
`module_id` smallint unsigned NOT NULL,
`user` int NOT NULL,
UNIQUE KEY `a_yf_settings_access_module_id_user_idx` (`module_id`,`user`),
KEY `a_yf_settings_access_user_fk` (`user`),
CONSTRAINT `a_yf_settings_access_module_id_fk` FOREIGN KEY (`module_id`) REFERENCES `a_yf_settings_modules` (`id`) ON DELETE CASCADE,
CONSTRAINT `a_yf_settings_access_user_fk` FOREIGN KEY (`user`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_settings_access`
--
LOCK TABLES `a_yf_settings_access` WRITE;
/*!40000 ALTER TABLE `a_yf_settings_access` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_settings_access` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_settings_modules`
--
DROP TABLE IF EXISTS `a_yf_settings_modules`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_settings_modules` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`status` tinyint(1) NOT NULL,
`created_time` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `a_yf_settings_modules_name_status_idx` (`name`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_settings_modules`
--
LOCK TABLES `a_yf_settings_modules` WRITE;
/*!40000 ALTER TABLE `a_yf_settings_modules` DISABLE KEYS */;
INSERT INTO `a_yf_settings_modules` VALUES (1,'AdvancedPermission',1,'2020-09-09 12:08:50'),(2,'ApiAddress',1,'2020-09-09 12:08:50'),(3,'AutomaticAssignment',1,'2020-09-09 12:08:50'),(4,'Backup',1,'2020-09-09 12:08:50'),(5,'BruteForce',1,'2020-09-09 12:08:50'),(6,'BusinessHours',1,'2020-09-09 12:08:50'),(7,'Calendar',1,'2020-09-09 12:08:50'),(8,'Colors',1,'2020-09-09 12:08:50'),(9,'Companies',1,'2020-09-09 12:08:50'),(10,'ConfReport',1,'2020-09-09 12:08:50'),(11,'Countries',1,'2020-09-09 12:08:50'),(12,'CronTasks',1,'2020-09-09 12:08:50'),(13,'Currency',1,'2020-09-09 12:08:50'),(14,'CurrencyUpdate',1,'2020-09-09 12:08:50'),(15,'CustomView',1,'2020-09-09 12:08:50'),(16,'Dav',1,'2020-09-09 12:08:50'),(17,'EventHandler',1,'2020-09-09 12:08:50'),(18,'FinancialProcesses',1,'2020-09-09 12:08:50'),(19,'GlobalPermission',1,'2020-09-09 12:08:50'),(20,'Groups',1,'2020-09-09 12:08:50'),(21,'Help',1,'2020-09-09 12:08:50'),(23,'InterestsConflict',1,'2020-09-09 12:08:50'),(24,'Inventory',1,'2020-09-09 12:08:50'),(25,'LangManagement',1,'2020-09-09 12:08:50'),(26,'LayoutEditor',1,'2020-09-09 12:08:50'),(27,'Leads',1,'2020-09-09 12:08:50'),(28,'Log',1,'2020-09-09 12:08:50'),(29,'LoginHistory',1,'2020-09-09 12:08:50'),(30,'Logs',1,'2020-09-09 12:08:50'),(32,'Mail',1,'2020-09-09 12:08:50'),(33,'MailIntegration',1,'2020-09-09 12:08:50'),(34,'MailSmtp',1,'2020-09-09 12:08:50'),(35,'Map',1,'2020-09-09 12:08:50'),(36,'MappedFields',1,'2020-09-09 12:08:50'),(37,'MarketingProcesses',1,'2020-09-09 12:08:50'),(39,'Menu',1,'2020-09-09 12:08:50'),(40,'ModTracker',1,'2020-09-09 12:08:50'),(41,'ModuleManager',1,'2020-09-09 12:08:50'),(42,'Notifications',1,'2020-09-09 12:08:50'),(43,'OSSMail',1,'2020-09-09 12:08:50'),(44,'OSSMailScanner',1,'2020-09-09 12:08:50'),(45,'OSSMailView',1,'2020-09-09 12:08:50'),(47,'Password',1,'2020-09-09 12:08:50'),(48,'PBX',1,'2020-09-09 12:08:50'),(49,'PDF',1,'2020-09-09 12:08:50'),(50,'Picklist',1,'2020-09-09 12:08:50'),(51,'PickListDependency',1,'2020-09-09 12:08:50'),(52,'Profiles',1,'2020-09-09 12:08:50'),(53,'PublicHoliday',1,'2020-09-09 12:08:50'),(54,'QuickCreateEditor',1,'2020-09-09 12:08:50'),(55,'RealizationProcesses',1,'2020-09-09 12:08:50'),(56,'RecordAllocation',1,'2020-09-09 12:08:50'),(57,'Roles',1,'2020-09-09 12:08:50'),(58,'SalesProcesses',1,'2020-09-09 12:08:50'),(59,'Search',1,'2020-09-09 12:08:50'),(60,'SharingAccess',1,'2020-09-09 12:08:50'),(61,'SlaPolicy',1,'2020-09-09 12:08:50'),(62,'SMSNotifier',1,'2020-09-09 12:08:50'),(64,'SupportProcesses',1,'2020-09-09 12:08:50'),(65,'TimeControlProcesses',1,'2020-09-09 12:08:50'),(66,'TreesManager',1,'2020-09-09 12:08:50'),(67,'TwoFactorAuthentication',1,'2020-09-09 12:08:50'),(68,'Updates',1,'2020-09-09 12:08:50'),(69,'Users',1,'2020-09-09 12:08:50'),(70,'WebserviceApps',1,'2020-09-09 12:08:50'),(71,'WebserviceUsers',1,'2020-09-09 12:08:50'),(72,'Widgets',1,'2020-09-09 12:08:50'),(73,'WidgetsManagement',1,'2020-09-09 12:08:50'),(74,'Workflows',1,'2020-09-09 12:08:50'),(75,'RecordNumbering',1,'2020-09-15 09:08:50'),(76,'ConfigEditor',1,'2020-09-15 12:08:50'),(77,'Watchdog',1,'2020-09-15 13:08:50'),(78,'Dependencies',1,'2020-09-16 08:08:50'),(80,'FieldsDependency',1,'2020-10-13 09:49:22'),(81,'Proxy',1,'2021-02-02 08:38:48'),(82,'Kanban',1,'2021-08-13 11:36:47'),(83,'MeetingServices',1,'2021-11-18 16:39:26'),(84,'Media',1,'2022-06-07 17:18:53'),(86,'RecordCollector',1,'2022-06-27 11:20:43'),(87,'WooCommerce',1,'2024-01-22 11:20:43'),(88,'MailServers',1,'2022-11-08 11:59:24'),(89,'MailSignature',1,'2023-05-16 15:32:28'),(90,'Comarch',1,'2023-05-16 15:32:28'),(91,'UserAuth',1,'2023-07-27 19:27:20'),(92,'KSeF',1,'2026-02-09 19:27:20');
/*!40000 ALTER TABLE `a_yf_settings_modules` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_smsnotifier_servers`
--
DROP TABLE IF EXISTS `a_yf_smsnotifier_servers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_smsnotifier_servers` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '',
`providertype` varchar(50) NOT NULL,
`isactive` tinyint(1) DEFAULT '0',
`api_key` varchar(500) NOT NULL,
`parameters` text,
`default` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_smsnotifier_servers`
--
LOCK TABLES `a_yf_smsnotifier_servers` WRITE;
/*!40000 ALTER TABLE `a_yf_smsnotifier_servers` DISABLE KEYS */;
/*!40000 ALTER TABLE `a_yf_smsnotifier_servers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_taxes_config`
--
DROP TABLE IF EXISTS `a_yf_taxes_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_taxes_config` (
`param` varchar(30) NOT NULL,
`value` varchar(255) NOT NULL,
PRIMARY KEY (`param`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_taxes_config`
--
LOCK TABLES `a_yf_taxes_config` WRITE;
/*!40000 ALTER TABLE `a_yf_taxes_config` DISABLE KEYS */;
INSERT INTO `a_yf_taxes_config` VALUES ('aggregation','0'),('default_mode','1'),('taxs','0,1,2,3');
/*!40000 ALTER TABLE `a_yf_taxes_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `a_yf_taxes_global`
--
DROP TABLE IF EXISTS `a_yf_taxes_global`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `a_yf_taxes_global` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`value` decimal(5,2) unsigned NOT NULL DEFAULT '0.00',
`status` tinyint(1) NOT NULL DEFAULT '1',
`default` tinyint(1) NOT NULL DEFAULT '0',
`show_name` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `a_yf_taxes_global`
--
LOCK TABLES `a_yf_taxes_global` WRITE;
/*!40000 ALTER TABLE `a_yf_taxes_global` DISABLE KEYS */;
INSERT INTO `a_yf_taxes_global` VALUES (1,'VAT',23.00,0,0,0);
/*!40000 ALTER TABLE `a_yf_taxes_global` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `b_yf_interests_conflict_conf`
--
DROP TABLE IF EXISTS `b_yf_interests_conflict_conf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `b_yf_interests_conflict_conf` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`date_time` datetime NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`user_id` smallint unsigned NOT NULL,
`related_id` int unsigned NOT NULL,
`related_label` varchar(255) NOT NULL,
`source_id` int NOT NULL DEFAULT '0',
`modify_user_id` smallint unsigned NOT NULL DEFAULT '0',
`modify_date_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `related_id` (`related_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `b_yf_interests_conflict_conf`
--
LOCK TABLES `b_yf_interests_conflict_conf` WRITE;
/*!40000 ALTER TABLE `b_yf_interests_conflict_conf` DISABLE KEYS */;
/*!40000 ALTER TABLE `b_yf_interests_conflict_conf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `com_vtiger_workflow_activatedonce`
--
DROP TABLE IF EXISTS `com_vtiger_workflow_activatedonce`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `com_vtiger_workflow_activatedonce` (
`workflow_id` int NOT NULL,
`entity_id` int NOT NULL,
PRIMARY KEY (`workflow_id`,`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `com_vtiger_workflow_activatedonce`
--
LOCK TABLES `com_vtiger_workflow_activatedonce` WRITE;
/*!40000 ALTER TABLE `com_vtiger_workflow_activatedonce` DISABLE KEYS */;
/*!40000 ALTER TABLE `com_vtiger_workflow_activatedonce` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `com_vtiger_workflow_tasktypes`
--
DROP TABLE IF EXISTS `com_vtiger_workflow_tasktypes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `com_vtiger_workflow_tasktypes` (
`id` int NOT NULL AUTO_INCREMENT,
`tasktypename` varchar(255) NOT NULL,
`label` varchar(255) DEFAULT NULL,
`classname` varchar(255) DEFAULT NULL,
`classpath` varchar(255) DEFAULT NULL,
`templatepath` varchar(255) DEFAULT NULL,
`modules` varchar(500) DEFAULT NULL,
`sourcemodule` varchar(255) DEFAULT NULL,
KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `com_vtiger_workflow_tasktypes`
--
LOCK TABLES `com_vtiger_workflow_tasktypes` WRITE;
/*!40000 ALTER TABLE `com_vtiger_workflow_tasktypes` DISABLE KEYS */;
INSERT INTO `com_vtiger_workflow_tasktypes` VALUES (1,'VTEmailTask','Send Mail','VTEmailTask','modules/com_vtiger_workflow/tasks/VTEmailTask.php','','{\"include\":[],\"exclude\":[]}',''),(2,'VTEntityMethodTask','Invoke Custom Function','VTEntityMethodTask','modules/com_vtiger_workflow/tasks/VTEntityMethodTask.php','','{\"include\":[],\"exclude\":[]}',''),(3,'VTCreateTodoTask','Create Todo','VTCreateTodoTask','modules/com_vtiger_workflow/tasks/VTCreateTodoTask.php','','{\"include\":[\"Accounts\",\"Leads\",\"Contacts\",\"HelpDesk\",\"Campaigns\",\"Project\",\"ServiceContracts\",\"Vendors\",\"Partners\",\"Competition\",\"OSSEmployees\",\"SSalesProcesses\",\"SQuoteEnquiries\",\"SRequirementsCards\",\"SCalculations\",\"SQuotes\",\"SSingleOrders\",\"SRecurringOrders\"],\"exclude\":[\"Calendar\",\"FAQ\",\"Events\"]}',''),(4,'VTCreateEventTask','Create Event','VTCreateEventTask','modules/com_vtiger_workflow/tasks/VTCreateEventTask.php','','{\"include\":[\"Accounts\",\"Leads\",\"Contacts\",\"HelpDesk\",\"Campaigns\",\"Project\",\"ServiceContracts\",\"Vendors\",\"Partners\",\"Competition\",\"OSSEmployees\",\"SSalesProcesses\",\"SQuoteEnquiries\",\"SRequirementsCards\",\"SCalculations\",\"SQuotes\",\"SSingleOrders\",\"SRecurringOrders\"],\"exclude\":[\"Calendar\",\"FAQ\",\"Events\"]}',''),(5,'VTUpdateFieldsTask','Update Fields','VTUpdateFieldsTask','modules/com_vtiger_workflow/tasks/VTUpdateFieldsTask.php','','{\"include\":[],\"exclude\":[]}',''),(6,'VTCreateEntityTask','Create Entity','VTCreateEntityTask','modules/com_vtiger_workflow/tasks/VTCreateEntityTask.php','','{\"include\":[],\"exclude\":[]}',''),(7,'VTSMSTask','SMS Task','VTSMSTask','modules/com_vtiger_workflow/tasks/VTSMSTask.php','','{\"include\":[\"Accounts\",\"Leads\",\"Vendors\",\"Partners\",\"Competition\",\"OSSEmployees\",\"Contacts\"],\"exclude\":[]}','SMSNotifier'),(8,'VTEmailTemplateTask','Email Template Task','VTEmailTemplateTask','modules/com_vtiger_workflow/tasks/VTEmailTemplateTask.php','','{\"include\":[],\"exclude\":[]}',NULL),(9,'VTSendPdf','Send Pdf','VTSendPdf','modules/com_vtiger_workflow/tasks/VTSendPdf.php','','{\"include\":[],\"exclude\":[]}',NULL),(11,'VTSendNotificationTask','Send Notification','VTSendNotificationTask','modules/com_vtiger_workflow/tasks/VTSendNotificationTask.php','','{\"include\":[\"Calendar\",\"Events\"],\"exclude\":[]}',NULL),(12,'VTAddressBookTask','Create Address Book','VTAddressBookTask','modules/com_vtiger_workflow/tasks/VTAddressBookTask.php','','{\"include\":[\"Contacts\",\"OSSEmployees\",\"Accounts\",\"Leads\",\"Vendors\"],\"exclude\":[]}',NULL),(13,'VTUpdateCalendarDates','LBL_UPDATE_DATES_CREATED_EVENTS_AUTOMATICALLY','VTUpdateCalendarDates','modules/com_vtiger_workflow/tasks/VTUpdateCalendarDates.php','','{\"include\":[\"Accounts\",\"Contacts\",\"Leads\",\"OSSEmployees\",\"Vendors\",\"Campaigns\",\"HelpDesk\",\"Project\",\"ServiceContracts\"],\"exclude\":[\"Calendar\",\"FAQ\",\"Events\"]}',NULL),(14,'VTUpdateWorkTime','LBL_UPDATE_WORK_TIME_AUTOMATICALLY','VTUpdateWorkTime','modules/com_vtiger_workflow/tasks/VTUpdateWorkTime.php','','{\"include\":[\"OSSTimeControl\"],\"exclude\":[]}',NULL),(15,'VTUpdateRelatedFieldTask','LBL_UPDATE_RELATED_FIELD','VTUpdateRelatedFieldTask','modules/com_vtiger_workflow/tasks/VTUpdateRelatedFieldTask.php','','{\"include\":[],\"exclude\":[]}',''),(16,'VTWatchdog','LBL_NOTIFICATIONS','VTWatchdog','modules/com_vtiger_workflow/tasks/VTWatchdog.php','','{\"include\":[],\"exclude\":[]}',NULL),(17,'VTAutoAssign','LBL_AUTO_ASSIGN','VTAutoAssign','modules/com_vtiger_workflow/tasks/VTAutoAssign.php','','{\"include\":[],\"exclude\":[]}',NULL),(18,'SumFieldFromDependent','LBL_SUM_FIELD_FROM_DEPENDENT','SumFieldFromDependent','modules/com_vtiger_workflow/tasks/SumFieldFromDependent.php','','{\"include\":[],\"exclude\":[]}',''),(19,'VTEmailReport','LBL_EMAIL_REPORT','VTEmailReport','modules/com_vtiger_workflow/tasks/VTEmailReport.php','','{\"include\":[],\"exclude\":[]}',NULL),(20,'Webhook','Webhook','Webhook','modules/com_vtiger_workflow/tasks/Webhook.php','','{\"include\":[],\"exclude\":[]}',NULL),(21,'RecordCollector','LBL_RECORD_COLLECTOR','RecordCollector','modules/com_vtiger_workflow/tasks/RecordCollector.php','','{\"include\":[],\"exclude\":[]}',NULL);
/*!40000 ALTER TABLE `com_vtiger_workflow_tasktypes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `com_vtiger_workflows`
--
DROP TABLE IF EXISTS `com_vtiger_workflows`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `com_vtiger_workflows` (
`workflow_id` int NOT NULL AUTO_INCREMENT,
`module_name` varchar(100) DEFAULT NULL,
`summary` varchar(400) NOT NULL,
`test` text,
`execution_condition` int NOT NULL,
`defaultworkflow` tinyint(1) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`filtersavedinnew` tinyint(1) DEFAULT NULL,
`schtypeid` int DEFAULT NULL,
`schdayofmonth` varchar(100) DEFAULT NULL,
`schdayofweek` varchar(100) DEFAULT NULL,
`schannualdates` varchar(100) DEFAULT NULL,
`schtime` varchar(50) DEFAULT NULL,
`nexttrigger_time` datetime DEFAULT NULL,
`params` text,
`sequence` smallint unsigned DEFAULT '0',
PRIMARY KEY (`workflow_id`),
UNIQUE KEY `com_vtiger_workflows_idx` (`workflow_id`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `com_vtiger_workflows`
--
LOCK TABLES `com_vtiger_workflows` WRITE;
/*!40000 ALTER TABLE `com_vtiger_workflows` DISABLE KEYS */;
INSERT INTO `com_vtiger_workflows` VALUES (14,'Calendar','Workflow for Calendar Todos when Send Notification is True','[{\"fieldname\":\"sendnotification\",\"operation\":\"is\",\"value\":\"1\",\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":\"0\"}]',4,1,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(26,'HelpDesk','Ticket change: Send Email to Record Contact','[{\"fieldname\":\"ticketstatus\",\"operation\":\"has changed\",\"value\":\"\",\"valuetype\":\"rawtext\",\"joincondition\":\"and\",\"groupjoin\":\"and\",\"groupid\":\"0\"},{\"fieldname\":\"ticketstatus\",\"operation\":\"is not\",\"value\":\"Closed\",\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":\"0\"}]',4,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(29,'HelpDesk','Ticket Closed: Send Email to Record Contact','[{\"fieldname\":\"ticketstatus\",\"operation\":\"has changed\",\"value\":\"\",\"valuetype\":\"rawtext\",\"joincondition\":\"and\",\"groupjoin\":\"and\",\"groupid\":\"0\"},{\"fieldname\":\"ticketstatus\",\"operation\":\"is\",\"value\":\"Closed\",\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":\"0\"}]',4,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(31,'HelpDesk','Ticket Creation: Send Email to Record Owner','[]',1,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(53,'Contacts','Send Customer Login Details','[{\"fieldname\":\"emailoptout\",\"operation\":\"is\",\"value\":\"1\",\"valuetype\":\"rawtext\",\"joincondition\":\"and\",\"groupjoin\":\"and\",\"groupid\":\"0\"},{\"fieldname\":\"portal\",\"operation\":\"has changed\",\"value\":null,\"valuetype\":\"rawtext\",\"joincondition\":\"and\",\"groupjoin\":\"and\",\"groupid\":\"0\"},{\"fieldname\":\"portal\",\"operation\":\"is\",\"value\":\"1\",\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":\"0\"}]',4,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(55,'Contacts','Generate mail address book','[]',3,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(57,'ModComments','New comment added to ticket - Owner','[{\"fieldname\":\"customer\",\"operation\":\"is not empty\",\"value\":null,\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":\"0\"}]',1,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(58,'ModComments','New comment added to ticket - account','[{\"fieldname\":\"customer\",\"operation\":\"is empty\",\"value\":null,\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":\"0\"}]',1,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(59,'ModComments','New comment added to ticket - contact','[{\"fieldname\":\"customer\",\"operation\":\"is empty\",\"value\":null,\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":\"0\"}]',1,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(69,'OSSTimeControl','LBL_UPDATE_WORK_TIME','[]',7,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(70,'Users','LBL_NEW_USER_CREATED','[]',1,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(71,'SSingleOrders','It sums up all open sales orders','[]',3,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(72,'SSingleOrders','It sums up all open sales orders','[]',5,NULL,'basic',6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(73,'SSingleOrders','Create IGDN','[{\"fieldname\":\"ssingleorders_status\",\"operation\":\"is\",\"value\":\"PLL_COMPLETE\",\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":1}]',3,NULL,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(77,'SSingleOrders','Cancel IGDN','[{\"fieldname\":\"ssingleorders_status\",\"operation\":\"has changed to\",\"value\":\"PLL_NEW\",\"valuetype\":\"rawtext\",\"joincondition\":\"or\",\"groupjoin\":\"and\",\"groupid\":1},{\"fieldname\":\"ssingleorders_status\",\"operation\":\"has changed to\",\"value\":\"PLL_PAYMENT_REVIEW\",\"valuetype\":\"rawtext\",\"joincondition\":\"or\",\"groupjoin\":\"and\",\"groupid\":1},{\"fieldname\":\"ssingleorders_status\",\"operation\":\"has changed to\",\"value\":\"PLL_ON_HOLD\",\"valuetype\":\"rawtext\",\"joincondition\":\"or\",\"groupjoin\":\"and\",\"groupid\":1},{\"fieldname\":\"ssingleorders_status\",\"operation\":\"has changed to\",\"value\":\"PLL_PROCESSING\",\"valuetype\":\"rawtext\",\"joincondition\":\"or\",\"groupjoin\":\"and\",\"groupid\":1},{\"fieldname\":\"ssingleorders_status\",\"operation\":\"has changed to\",\"value\":\"PLL_CLOSED\",\"valuetype\":\"rawtext\",\"joincondition\":\"or\",\"groupjoin\":\"and\",\"groupid\":1},{\"fieldname\":\"ssingleorders_status\",\"operation\":\"has changed to\",\"value\":\"PLL_CANCELLED\",\"valuetype\":\"rawtext\",\"joincondition\":\"\",\"groupjoin\":\"and\",\"groupid\":1}]',4,NULL,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);
/*!40000 ALTER TABLE `com_vtiger_workflows` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `com_vtiger_workflowtask_queue`
--
DROP TABLE IF EXISTS `com_vtiger_workflowtask_queue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `com_vtiger_workflowtask_queue` (
`task_id` int DEFAULT NULL,
`entity_id` varchar(100) DEFAULT NULL,
`do_after` int DEFAULT NULL,
`task_contents` text,
KEY `workflowtask_queue_task_id_entity_id` (`task_id`,`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `com_vtiger_workflowtask_queue`
--
LOCK TABLES `com_vtiger_workflowtask_queue` WRITE;
/*!40000 ALTER TABLE `com_vtiger_workflowtask_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `com_vtiger_workflowtask_queue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `com_vtiger_workflowtasks`
--
DROP TABLE IF EXISTS `com_vtiger_workflowtasks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `com_vtiger_workflowtasks` (
`task_id` int NOT NULL AUTO_INCREMENT,
`workflow_id` int DEFAULT NULL,
`summary` varchar(400) NOT NULL,
`task` text,
`sequence` smallint unsigned DEFAULT '0',
PRIMARY KEY (`task_id`),
KEY `workflow_id` (`workflow_id`),
CONSTRAINT `com_vtiger_workflowtasks_ibfk_1` FOREIGN KEY (`workflow_id`) REFERENCES `com_vtiger_workflows` (`workflow_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=149 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `com_vtiger_workflowtasks`
--
LOCK TABLES `com_vtiger_workflowtasks` WRITE;
/*!40000 ALTER TABLE `com_vtiger_workflowtasks` DISABLE KEYS */;
INSERT INTO `com_vtiger_workflowtasks` VALUES (108,31,'Notify Owner On Ticket Create','O:19:\"VTEmailTemplateTask\":10:{s:18:\"executeImmediately\";b:1;s:10:\"workflowId\";s:2:\"31\";s:7:\"summary\";s:29:\"Notify Owner On Ticket Create\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:8:\"template\";s:2:\"43\";s:11:\"attachments\";s:0:\"\";s:5:\"email\";s:49:\"$(relatedRecord : assigned_user_id|email1|Users)$\";s:10:\"copy_email\";s:0:\"\";s:2:\"id\";i:108;}',0),(119,14,'Notification Email to Record Owner','O:19:\"VTEmailTemplateTask\":10:{s:18:\"executeImmediately\";b:1;s:10:\"workflowId\";s:2:\"14\";s:7:\"summary\";s:34:\"Notification Email to Record Owner\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:8:\"template\";s:2:\"46\";s:11:\"attachments\";s:0:\"\";s:5:\"email\";s:49:\"$(relatedRecord : assigned_user_id|email1|Users)$\";s:10:\"copy_email\";s:0:\"\";s:2:\"id\";i:119;}',0),(120,53,'Send Customer Login Details','O:19:\"VTEmailTemplateTask\":11:{s:18:\"executeImmediately\";b:1;s:8:\"contents\";N;s:10:\"workflowId\";s:2:\"53\";s:7:\"summary\";s:27:\"Send Customer Login Details\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:8:\"template\";s:2:\"44\";s:11:\"attachments\";s:0:\"\";s:5:\"email\";s:18:\"$(record : email)$\";s:10:\"copy_email\";s:0:\"\";s:2:\"id\";i:120;}',0),(123,55,'Generate mail address book','O:17:\"VTAddressBookTask\":7:{s:18:\"executeImmediately\";b:0;s:10:\"workflowId\";s:2:\"55\";s:7:\"summary\";s:26:\"Generate mail address book\";s:6:\"active\";b:1;s:7:\"trigger\";N;s:4:\"test\";s:0:\"\";s:2:\"id\";i:123;}',0),(133,26,'Notify Contact On Ticket Change','O:18:\"VTEntityMethodTask\":7:{s:18:\"executeImmediately\";b:1;s:10:\"workflowId\";s:2:\"26\";s:7:\"summary\";s:31:\"Notify Contact On Ticket Change\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:10:\"methodName\";s:28:\"helpDeskChangeNotifyContacts\";s:2:\"id\";i:133;}',0),(134,29,'Notify contacts about closing of ticket.','O:18:\"VTEntityMethodTask\":7:{s:18:\"executeImmediately\";b:1;s:10:\"workflowId\";s:2:\"29\";s:7:\"summary\";s:40:\"Notify contacts about closing of ticket.\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:10:\"methodName\";s:28:\"helpDeskClosedNotifyContacts\";s:2:\"id\";i:134;}',0),(135,59,'Notify Contact On New comment added to ticket','O:18:\"VTEntityMethodTask\":7:{s:18:\"executeImmediately\";b:1;s:10:\"workflowId\";i:59;s:7:\"summary\";s:45:\"Notify Contact On New comment added to ticket\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:10:\"methodName\";s:26:\"helpDeskNewCommentContacts\";s:2:\"id\";i:135;}',0),(136,58,'Notify Account On New comment added to ticket','O:18:\"VTEntityMethodTask\":7:{s:18:\"executeImmediately\";b:1;s:10:\"workflowId\";i:58;s:7:\"summary\";s:45:\"Notify Account On New comment added to ticket\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:10:\"methodName\";s:25:\"helpDeskNewCommentAccount\";s:2:\"id\";i:136;}',0),(137,57,'Notify Owner On new comment added to ticket from portal','O:18:\"VTEntityMethodTask\":7:{s:18:\"executeImmediately\";b:1;s:10:\"workflowId\";i:57;s:7:\"summary\";s:55:\"Notify Owner On new comment added to ticket from portal\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:10:\"methodName\";s:23:\"helpDeskNewCommentOwner\";s:2:\"id\";i:137;}',0),(138,69,'Update working time','O:16:\"VTUpdateWorkTime\":6:{s:18:\"executeImmediately\";b:0;s:10:\"workflowId\";i:69;s:7:\"summary\";s:19:\"Update working time\";s:6:\"active\";b:1;s:7:\"trigger\";N;s:2:\"id\";i:138;}',0),(139,70,'New user created','O:18:\"VTEntityMethodTask\":8:{s:18:\"executeImmediately\";b:1;s:8:\"contents\";N;s:10:\"workflowId\";i:70;s:7:\"summary\";s:16:\"New user created\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:10:\"methodName\";s:7:\"newUser\";s:2:\"id\";i:139;}',0),(140,71,'It sums up all open sales orders','O:21:\"SumFieldFromDependent\":10:{s:18:\"executeImmediately\";b:1;s:8:\"contents\";N;s:10:\"workflowId\";i:71;s:7:\"summary\";s:32:\"It sums up all open sales orders\";s:6:\"active\";b:1;s:7:\"trigger\";N;s:11:\"targetField\";s:36:\"accountid::Accounts::sum_open_orders\";s:11:\"sourceField\";s:9:\"sum_gross\";s:10:\"conditions\";a:2:{s:9:\"condition\";s:2:\"OR\";s:5:\"rules\";a:2:{i:0;a:3:{s:9:\"fieldname\";s:34:\"ssingleorders_status:SSingleOrders\";s:8:\"operator\";s:1:\"e\";s:5:\"value\";s:43:\"PLL_NEW##PLL_PAYMENT_REVIEW##PLL_PROCESSING\";}i:1;a:3:{s:9:\"fieldname\";s:34:\"ssingleorders_status:SSingleOrders\";s:8:\"operator\";s:1:\"y\";s:5:\"value\";s:0:\"\";}}}s:2:\"id\";i:140;}',0),(141,72,'It sums up all open sales orders','O:21:\"SumFieldFromDependent\":10:{s:18:\"executeImmediately\";b:1;s:8:\"contents\";N;s:10:\"workflowId\";i:72;s:7:\"summary\";s:32:\"It sums up all open sales orders\";s:6:\"active\";b:1;s:7:\"trigger\";N;s:11:\"targetField\";s:36:\"accountid::Accounts::sum_open_orders\";s:11:\"sourceField\";s:9:\"sum_gross\";s:10:\"conditions\";a:2:{s:9:\"condition\";s:2:\"OR\";s:5:\"rules\";a:2:{i:0;a:3:{s:9:\"fieldname\";s:34:\"ssingleorders_status:SSingleOrders\";s:8:\"operator\";s:1:\"e\";s:5:\"value\";s:43:\"PLL_NEW##PLL_PAYMENT_REVIEW##PLL_PROCESSING\";}i:1;a:3:{s:9:\"fieldname\";s:34:\"ssingleorders_status:SSingleOrders\";s:8:\"operator\";s:1:\"y\";s:5:\"value\";s:0:\"\";}}}s:2:\"id\";i:141;}',0),(142,73,'Create IGDN','O:18:\"VTCreateEntityTask\":11:{s:18:\"executeImmediately\";b:1;s:8:\"contents\";N;s:10:\"workflowId\";i:73;s:7:\"summary\";s:11:\"Create IGDN\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:11:\"entity_type\";s:4:\"IGDN\";s:15:\"reference_field\";s:15:\"ssingleordersid\";s:19:\"field_value_mapping\";s:94:\"[{\"fieldname\":\"igdn_status\",\"value\":\"PLL_ACCEPTED\",\"valuetype\":\"rawtext\",\"modulename\":\"IGDN\"}]\";s:12:\"mappingPanel\";s:1:\"1\";s:2:\"id\";i:142;}',0),(148,77,'Cancel IGDN','O:24:\"VTUpdateRelatedFieldTask\":8:{s:18:\"executeImmediately\";b:0;s:8:\"contents\";N;s:10:\"workflowId\";i:77;s:7:\"summary\";s:11:\"Cancel IGDN\";s:6:\"active\";b:0;s:7:\"trigger\";N;s:19:\"field_value_mapping\";s:81:\"[{\"fieldname\":\"IGDN::igdn_status\",\"value\":\"PLL_CANCELLED\",\"valuetype\":\"rawtext\"}]\";s:2:\"id\";i:148;}',0);
/*!40000 ALTER TABLE `com_vtiger_workflowtasks` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `com_vtiger_workflowtasks_entitymethod`
--
DROP TABLE IF EXISTS `com_vtiger_workflowtasks_entitymethod`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `com_vtiger_workflowtasks_entitymethod` (
`workflowtasks_entitymethod_id` int NOT NULL AUTO_INCREMENT,
`module_name` varchar(100) DEFAULT NULL,
`method_name` varchar(100) DEFAULT NULL,
`function_path` varchar(400) DEFAULT NULL,
`function_name` varchar(100) DEFAULT NULL,
PRIMARY KEY (`workflowtasks_entitymethod_id`),
UNIQUE KEY `com_vtiger_workflowtasks_entitymethod_idx` (`workflowtasks_entitymethod_id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `com_vtiger_workflowtasks_entitymethod`
--
LOCK TABLES `com_vtiger_workflowtasks_entitymethod` WRITE;
/*!40000 ALTER TABLE `com_vtiger_workflowtasks_entitymethod` DISABLE KEYS */;
INSERT INTO `com_vtiger_workflowtasks_entitymethod` VALUES (8,'ModComments','helpDeskNewCommentAccount','modules/HelpDesk/workflows/HelpDeskWorkflow.php','HelpDeskWorkflow'),(9,'ModComments','helpDeskNewCommentContacts','modules/HelpDesk/workflows/HelpDeskWorkflow.php','HelpDeskWorkflow'),(15,'HelpDesk','helpDeskChangeNotifyContacts','modules/HelpDesk/workflows/HelpDeskWorkflow.php','HelpDeskWorkflow'),(16,'HelpDesk','helpDeskClosedNotifyContacts','modules/HelpDesk/workflows/HelpDeskWorkflow.php','HelpDeskWorkflow'),(17,'ModComments','helpDeskNewCommentOwner','modules/HelpDesk/workflows/HelpDeskWorkflow.php','HelpDeskWorkflow'),(18,'Users','newUser','modules/Users/workflows/UsersWorkflow.php','UsersWorkflow');
/*!40000 ALTER TABLE `com_vtiger_workflowtasks_entitymethod` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `com_vtiger_workflowtemplates`
--
DROP TABLE IF EXISTS `com_vtiger_workflowtemplates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `com_vtiger_workflowtemplates` (
`template_id` int NOT NULL AUTO_INCREMENT,
`module_name` varchar(100) DEFAULT NULL,
`title` varchar(400) DEFAULT NULL,
`template` text,
PRIMARY KEY (`template_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `com_vtiger_workflowtemplates`
--
LOCK TABLES `com_vtiger_workflowtemplates` WRITE;
/*!40000 ALTER TABLE `com_vtiger_workflowtemplates` DISABLE KEYS */;
/*!40000 ALTER TABLE `com_vtiger_workflowtemplates` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_addressbookchanges`
--
DROP TABLE IF EXISTS `dav_addressbookchanges`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_addressbookchanges` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`uri` varbinary(200) NOT NULL,
`synctoken` int unsigned NOT NULL,
`addressbookid` int unsigned NOT NULL,
`operation` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `addressbookid_synctoken` (`addressbookid`,`synctoken`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_addressbookchanges`
--
LOCK TABLES `dav_addressbookchanges` WRITE;
/*!40000 ALTER TABLE `dav_addressbookchanges` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_addressbookchanges` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_addressbooks`
--
DROP TABLE IF EXISTS `dav_addressbooks`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_addressbooks` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`principaluri` varbinary(255) DEFAULT NULL,
`displayname` varchar(255) DEFAULT NULL,
`uri` varbinary(200) DEFAULT NULL,
`description` text,
`synctoken` int unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `principaluri` (`principaluri`(100),`uri`(100)),
KEY `dav_addressbooks_idx` (`principaluri`),
CONSTRAINT `dav_addressbooks_ibfk_1` FOREIGN KEY (`principaluri`) REFERENCES `dav_principals` (`uri`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_addressbooks`
--
LOCK TABLES `dav_addressbooks` WRITE;
/*!40000 ALTER TABLE `dav_addressbooks` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_addressbooks` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_calendarchanges`
--
DROP TABLE IF EXISTS `dav_calendarchanges`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_calendarchanges` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`uri` varbinary(200) NOT NULL,
`synctoken` int unsigned NOT NULL,
`calendarid` int unsigned NOT NULL,
`operation` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `calendarid_synctoken` (`calendarid`,`synctoken`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_calendarchanges`
--
LOCK TABLES `dav_calendarchanges` WRITE;
/*!40000 ALTER TABLE `dav_calendarchanges` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_calendarchanges` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_calendarinstances`
--
DROP TABLE IF EXISTS `dav_calendarinstances`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_calendarinstances` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`calendarid` int unsigned NOT NULL,
`principaluri` varbinary(100) DEFAULT NULL,
`access` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 = owner, 2 = read, 3 = readwrite',
`displayname` varchar(100) DEFAULT NULL,
`uri` varbinary(200) DEFAULT NULL,
`description` text,
`calendarorder` int unsigned NOT NULL DEFAULT '0',
`calendarcolor` varbinary(10) DEFAULT NULL,
`timezone` text,
`transparent` tinyint(1) NOT NULL DEFAULT '0',
`share_href` varbinary(100) DEFAULT NULL,
`share_displayname` varchar(100) DEFAULT NULL,
`share_invitestatus` tinyint(1) NOT NULL DEFAULT '2' COMMENT '1 = noresponse, 2 = accepted, 3 = declined, 4 = invalid',
PRIMARY KEY (`id`),
UNIQUE KEY `principaluri` (`principaluri`,`uri`),
UNIQUE KEY `calendarid` (`calendarid`,`principaluri`),
UNIQUE KEY `calendarid_2` (`calendarid`,`share_href`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_calendarinstances`
--
LOCK TABLES `dav_calendarinstances` WRITE;
/*!40000 ALTER TABLE `dav_calendarinstances` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_calendarinstances` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_calendarobjects`
--
DROP TABLE IF EXISTS `dav_calendarobjects`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_calendarobjects` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`calendardata` blob,
`uri` varbinary(200) DEFAULT NULL,
`calendarid` int unsigned NOT NULL,
`lastmodified` int unsigned DEFAULT NULL,
`etag` varbinary(32) DEFAULT NULL,
`size` int unsigned NOT NULL,
`componenttype` varbinary(8) DEFAULT NULL,
`firstoccurence` int unsigned DEFAULT NULL,
`lastoccurence` int unsigned DEFAULT NULL,
`uid` varbinary(200) DEFAULT NULL,
`crmid` int DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `calendarid` (`calendarid`,`uri`),
KEY `uri` (`uri`),
KEY `crmid` (`crmid`),
CONSTRAINT `dav_calendarobjects_ibfk_1` FOREIGN KEY (`calendarid`) REFERENCES `dav_calendars` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_calendarobjects`
--
LOCK TABLES `dav_calendarobjects` WRITE;
/*!40000 ALTER TABLE `dav_calendarobjects` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_calendarobjects` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_calendars`
--
DROP TABLE IF EXISTS `dav_calendars`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_calendars` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`synctoken` int unsigned NOT NULL DEFAULT '1',
`components` varbinary(21) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_calendars`
--
LOCK TABLES `dav_calendars` WRITE;
/*!40000 ALTER TABLE `dav_calendars` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_calendars` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_calendarsubscriptions`
--
DROP TABLE IF EXISTS `dav_calendarsubscriptions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_calendarsubscriptions` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`uri` varbinary(200) NOT NULL,
`principaluri` varbinary(100) NOT NULL,
`source` text,
`displayname` varchar(100) DEFAULT NULL,
`refreshrate` varchar(10) DEFAULT NULL,
`calendarorder` int unsigned NOT NULL DEFAULT '0',
`calendarcolor` varbinary(10) DEFAULT NULL,
`striptodos` tinyint(1) DEFAULT NULL,
`stripalarms` tinyint(1) DEFAULT NULL,
`stripattachments` tinyint(1) DEFAULT NULL,
`lastmodified` int unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `principaluri` (`principaluri`,`uri`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_calendarsubscriptions`
--
LOCK TABLES `dav_calendarsubscriptions` WRITE;
/*!40000 ALTER TABLE `dav_calendarsubscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_calendarsubscriptions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_cards`
--
DROP TABLE IF EXISTS `dav_cards`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_cards` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`addressbookid` int unsigned NOT NULL,
`carddata` blob,
`uri` varbinary(200) DEFAULT NULL,
`lastmodified` int unsigned DEFAULT NULL,
`etag` varbinary(32) DEFAULT NULL,
`size` int unsigned NOT NULL,
`crmid` int DEFAULT '0',
PRIMARY KEY (`id`),
KEY `addressbookid` (`addressbookid`),
KEY `crmid` (`crmid`),
KEY `uri` (`uri`),
CONSTRAINT `dav_cards_ibfk_1` FOREIGN KEY (`addressbookid`) REFERENCES `dav_addressbooks` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_cards`
--
LOCK TABLES `dav_cards` WRITE;
/*!40000 ALTER TABLE `dav_cards` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_cards` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_groupmembers`
--
DROP TABLE IF EXISTS `dav_groupmembers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_groupmembers` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`principal_id` int unsigned NOT NULL,
`member_id` int unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `principal_id` (`principal_id`,`member_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_groupmembers`
--
LOCK TABLES `dav_groupmembers` WRITE;
/*!40000 ALTER TABLE `dav_groupmembers` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_groupmembers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_principals`
--
DROP TABLE IF EXISTS `dav_principals`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_principals` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`uri` varbinary(200) NOT NULL,
`email` varbinary(80) DEFAULT NULL,
`displayname` varchar(80) DEFAULT NULL,
`userid` int DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uri` (`uri`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_principals`
--
LOCK TABLES `dav_principals` WRITE;
/*!40000 ALTER TABLE `dav_principals` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_principals` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_propertystorage`
--
DROP TABLE IF EXISTS `dav_propertystorage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_propertystorage` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`path` varbinary(1024) NOT NULL,
`name` varbinary(100) NOT NULL,
`valuetype` int unsigned DEFAULT NULL,
`value` mediumblob,
PRIMARY KEY (`id`),
UNIQUE KEY `path_property` (`path`(600),`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_propertystorage`
--
LOCK TABLES `dav_propertystorage` WRITE;
/*!40000 ALTER TABLE `dav_propertystorage` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_propertystorage` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_schedulingobjects`
--
DROP TABLE IF EXISTS `dav_schedulingobjects`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_schedulingobjects` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`principaluri` varbinary(255) DEFAULT NULL,
`calendardata` mediumblob,
`uri` varbinary(200) DEFAULT NULL,
`lastmodified` int unsigned DEFAULT NULL,
`etag` varbinary(32) DEFAULT NULL,
`size` int unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_schedulingobjects`
--
LOCK TABLES `dav_schedulingobjects` WRITE;
/*!40000 ALTER TABLE `dav_schedulingobjects` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_schedulingobjects` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dav_users`
--
DROP TABLE IF EXISTS `dav_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dav_users` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varbinary(50) DEFAULT NULL,
`digesta1` varbinary(32) DEFAULT NULL,
`userid` int DEFAULT NULL,
`key` varchar(500) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`),
UNIQUE KEY `userid` (`userid`),
CONSTRAINT `fk_dav_users` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dav_users`
--
LOCK TABLES `dav_users` WRITE;
/*!40000 ALTER TABLE `dav_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `dav_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `doctrine_migrations`
--
DROP TABLE IF EXISTS `doctrine_migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctrine_migrations` (
`version` varchar(191) COLLATE utf8mb4_general_ci NOT NULL,
`executed_at` datetime DEFAULT NULL,
`execution_time` int DEFAULT NULL,
PRIMARY KEY (`version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `doctrine_migrations`
--
LOCK TABLES `doctrine_migrations` WRITE;
/*!40000 ALTER TABLE `doctrine_migrations` DISABLE KEYS */;
INSERT INTO `doctrine_migrations` VALUES ('DoctrineMigrations\\Version20240403162740','[[regtime]]',75860),('DoctrineMigrations\\Version20240403171458','[[regtime]]',6428);
/*!40000 ALTER TABLE `doctrine_migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `i_yf_auth`
--
DROP TABLE IF EXISTS `i_yf_auth`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i_yf_auth` (
`id` tinyint unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '',
`providertype` varchar(20) NOT NULL,
`isactive` tinyint unsigned DEFAULT '0',
`config` text,
PRIMARY KEY (`id`),
UNIQUE KEY `i_yf_auth_providertype_uidx` (`providertype`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `i_yf_auth`
--
LOCK TABLES `i_yf_auth` WRITE;
/*!40000 ALTER TABLE `i_yf_auth` DISABLE KEYS */;
/*!40000 ALTER TABLE `i_yf_auth` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `i_yf_comarch_servers`
--
DROP TABLE IF EXISTS `i_yf_comarch_servers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i_yf_comarch_servers` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`type` tinyint unsigned NOT NULL DEFAULT '1',
`name` varchar(50) NOT NULL,
`url` varchar(255) NOT NULL,
`user_name` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`connector` varchar(20) NOT NULL,
`verify_ssl` tinyint unsigned NOT NULL DEFAULT '0',
`master` tinyint unsigned NOT NULL DEFAULT '0',
`log_all` tinyint unsigned NOT NULL DEFAULT '0',
`assigned_user_id` smallint unsigned NOT NULL,
`sync_accounts` tinyint unsigned NOT NULL DEFAULT '0',
`sync_products` tinyint unsigned NOT NULL DEFAULT '0',
`sync_invoices` tinyint unsigned NOT NULL DEFAULT '0',
`sync_cor_invoices` tinyint unsigned NOT NULL DEFAULT '0',
`sync_payments` tinyint unsigned NOT NULL DEFAULT '0',
`direction_accounts` tinyint unsigned NOT NULL DEFAULT '0',
`direction_products` tinyint unsigned NOT NULL DEFAULT '0',
`direction_invoices` tinyint unsigned NOT NULL DEFAULT '0',
`direction_cor_invoices` tinyint unsigned NOT NULL DEFAULT '0',
`direction_payments` tinyint unsigned NOT NULL DEFAULT '0',
`accounts_limit` smallint unsigned NOT NULL DEFAULT '1000',
`products_limit` smallint unsigned NOT NULL DEFAULT '1000',
`invoices_limit` smallint unsigned NOT NULL DEFAULT '1000',
`cor_invoices_limit` smallint unsigned NOT NULL DEFAULT '1000',
PRIMARY KEY (`id`),
KEY `type` (`type`),
KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `i_yf_comarch_servers`
--
LOCK TABLES `i_yf_comarch_servers` WRITE;
/*!40000 ALTER TABLE `i_yf_comarch_servers` DISABLE KEYS */;
/*!40000 ALTER TABLE `i_yf_comarch_servers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `i_yf_ksef_settings`
--
DROP TABLE IF EXISTS `i_yf_ksef_settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i_yf_ksef_settings` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`contact_email` varchar(255) DEFAULT NULL,
`company` int NOT NULL,
`passphrase` varchar(255) NOT NULL,
`identifier` varchar(80) NOT NULL,
`cert` text NOT NULL,
`key` text NOT NULL,
`date_valid_from` datetime DEFAULT NULL,
`date_valid_to` datetime DEFAULT NULL,
`status` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `i_yf_ksef_settings`
--
LOCK TABLES `i_yf_ksef_settings` WRITE;
/*!40000 ALTER TABLE `i_yf_ksef_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `i_yf_ksef_settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `i_yf_magento_config`
--
DROP TABLE IF EXISTS `i_yf_magento_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i_yf_magento_config` (
`server_id` int unsigned NOT NULL,
`name` varchar(50) NOT NULL,
`value` varchar(50) NOT NULL,
KEY `server_id` (`server_id`),
KEY `name` (`name`),
CONSTRAINT `i_yf_magento_config_ibfk_1` FOREIGN KEY (`server_id`) REFERENCES `i_yf_magento_servers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `i_yf_magento_config`
--
LOCK TABLES `i_yf_magento_config` WRITE;
/*!40000 ALTER TABLE `i_yf_magento_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `i_yf_magento_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `i_yf_magento_servers`
--
DROP TABLE IF EXISTS `i_yf_magento_servers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i_yf_magento_servers` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL,
`url` varchar(255) NOT NULL,
`connector` varchar(20) NOT NULL,
`user_name` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`store_code` varchar(255) NOT NULL,
`store_id` int unsigned NOT NULL,
`storage_id` int unsigned NOT NULL DEFAULT '0',
`shipping_service_id` int unsigned NOT NULL DEFAULT '0',
`payment_paypal_service_id` int unsigned NOT NULL DEFAULT '0',
`payment_cash_service_id` int unsigned NOT NULL DEFAULT '0',
`storage_quantity_location` varchar(20) NOT NULL,
`sync_currency` tinyint unsigned NOT NULL DEFAULT '0',
`sync_categories` tinyint unsigned NOT NULL DEFAULT '0',
`sync_products` tinyint unsigned NOT NULL DEFAULT '0',
`sync_customers` tinyint unsigned NOT NULL DEFAULT '0',
`sync_orders` tinyint unsigned NOT NULL DEFAULT '0',
`sync_invoices` tinyint unsigned NOT NULL DEFAULT '0',
`product_map_class` varchar(255) DEFAULT NULL,
`customer_map_class` varchar(255) DEFAULT NULL,
`order_map_class` varchar(255) DEFAULT NULL,
`invoice_map_class` varchar(255) DEFAULT NULL,
`categories_limit` smallint unsigned NOT NULL DEFAULT '200',
`products_limit` smallint unsigned NOT NULL DEFAULT '1000',
`customers_limit` smallint unsigned NOT NULL DEFAULT '1000',
`orders_limit` smallint unsigned NOT NULL DEFAULT '200',
`invoices_limit` smallint unsigned NOT NULL DEFAULT '200',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `i_yf_magento_servers`
--
LOCK TABLES `i_yf_magento_servers` WRITE;
/*!40000 ALTER TABLE `i_yf_magento_servers` DISABLE KEYS */;
/*!40000 ALTER TABLE `i_yf_magento_servers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `i_yf_wapro`
--
DROP TABLE IF EXISTS `i_yf_wapro`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i_yf_wapro` (
`id` int NOT NULL AUTO_INCREMENT,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL,
`server` varchar(255) DEFAULT NULL,
`port` smallint unsigned DEFAULT NULL,
`database` varchar(255) DEFAULT NULL,
`username` varchar(255) DEFAULT NULL,
`password` varchar(500) DEFAULT NULL,
`synchronizer` varchar(500) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `i_yf_wapro`
--
LOCK TABLES `i_yf_wapro` WRITE;
/*!40000 ALTER TABLE `i_yf_wapro` DISABLE KEYS */;
/*!40000 ALTER TABLE `i_yf_wapro` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `i_yf_woocommerce_servers`
--
DROP TABLE IF EXISTS `i_yf_woocommerce_servers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `i_yf_woocommerce_servers` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL,
`url` varchar(255) NOT NULL,
`user_name` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`connector` varchar(20) NOT NULL,
`verify_ssl` tinyint unsigned NOT NULL DEFAULT '0',
`master` tinyint unsigned NOT NULL DEFAULT '0',
`assigned_user_id` smallint unsigned NOT NULL,
`sync_currency` tinyint unsigned NOT NULL DEFAULT '0',
`sync_categories` tinyint unsigned NOT NULL DEFAULT '0',
`direction_categories` tinyint unsigned NOT NULL DEFAULT '0',
`sync_tags` tinyint unsigned NOT NULL DEFAULT '0',
`direction_tags` tinyint unsigned NOT NULL DEFAULT '0',
`sync_products` tinyint unsigned NOT NULL DEFAULT '0',
`direction_products` tinyint unsigned NOT NULL DEFAULT '0',
`sync_orders` tinyint unsigned NOT NULL DEFAULT '0',
`direction_orders` tinyint unsigned NOT NULL DEFAULT '0',
`shipping_service_id` int unsigned NOT NULL DEFAULT '0',
`products_limit` smallint unsigned NOT NULL DEFAULT '1000',
`orders_limit` smallint unsigned NOT NULL DEFAULT '200',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `i_yf_woocommerce_servers`
--
LOCK TABLES `i_yf_woocommerce_servers` WRITE;
/*!40000 ALTER TABLE `i_yf_woocommerce_servers` DISABLE KEYS */;
/*!40000 ALTER TABLE `i_yf_woocommerce_servers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_api_login_history`
--
DROP TABLE IF EXISTS `l_yf_api_login_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_api_login_history` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`time` timestamp NULL DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`user_id` int unsigned DEFAULT NULL,
`status` varchar(50) DEFAULT NULL,
`agent` varchar(500) DEFAULT NULL,
`ip` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
CONSTRAINT `l_yf_api_login_history_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `w_yf_api_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_api_login_history`
--
LOCK TABLES `l_yf_api_login_history` WRITE;
/*!40000 ALTER TABLE `l_yf_api_login_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_api_login_history` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_batchmethod`
--
DROP TABLE IF EXISTS `l_yf_batchmethod`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_batchmethod` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`method` varchar(255) NOT NULL,
`params` text,
`status` tinyint unsigned NOT NULL,
`userid` int DEFAULT NULL,
`date` datetime DEFAULT NULL,
`message` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_batchmethod`
--
LOCK TABLES `l_yf_batchmethod` WRITE;
/*!40000 ALTER TABLE `l_yf_batchmethod` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_batchmethod` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_ksef`
--
DROP TABLE IF EXISTS `l_yf_ksef`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_ksef` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`time` datetime NOT NULL,
`error` tinyint(1) NOT NULL DEFAULT '0',
`message` varchar(255) DEFAULT NULL,
`params` text,
`trace` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_ksef`
--
LOCK TABLES `l_yf_ksef` WRITE;
/*!40000 ALTER TABLE `l_yf_ksef` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_ksef` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_magento`
--
DROP TABLE IF EXISTS `l_yf_magento`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_magento` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`time` datetime NOT NULL,
`category` varchar(100) DEFAULT NULL,
`message` varchar(500) DEFAULT NULL,
`code` smallint DEFAULT NULL,
`trace` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_magento`
--
LOCK TABLES `l_yf_magento` WRITE;
/*!40000 ALTER TABLE `l_yf_magento` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_magento` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_mail`
--
DROP TABLE IF EXISTS `l_yf_mail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_mail` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`date` datetime NOT NULL,
`error_code` int unsigned NOT NULL,
`smtp_id` int unsigned DEFAULT NULL,
`owner` int NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`from` text,
`subject` text,
`to` text,
`content` mediumtext,
`cc` text,
`bcc` text,
`attachments` text,
`params` text,
`callback` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `smtp_id` (`smtp_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_mail`
--
LOCK TABLES `l_yf_mail` WRITE;
/*!40000 ALTER TABLE `l_yf_mail` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_mail` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_pbx`
--
DROP TABLE IF EXISTS `l_yf_pbx`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_pbx` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`time` datetime NOT NULL,
`error` tinyint(1) DEFAULT NULL,
`driver` varchar(100) DEFAULT NULL,
`message` varchar(255) DEFAULT NULL,
`params` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_pbx`
--
LOCK TABLES `l_yf_pbx` WRITE;
/*!40000 ALTER TABLE `l_yf_pbx` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_pbx` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_portal_login_history`
--
DROP TABLE IF EXISTS `l_yf_portal_login_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_portal_login_history` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`time` timestamp NULL DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`user_id` int unsigned DEFAULT NULL,
`status` varchar(50) DEFAULT NULL,
`agent` varchar(500) DEFAULT NULL,
`ip` varchar(100) DEFAULT NULL,
`device_id` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
CONSTRAINT `l_yf_portal_login_history_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `w_yf_portal_user` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_portal_login_history`
--
LOCK TABLES `l_yf_portal_login_history` WRITE;
/*!40000 ALTER TABLE `l_yf_portal_login_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_portal_login_history` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_profile`
--
DROP TABLE IF EXISTS `l_yf_profile`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_profile` (
`id` int unsigned NOT NULL DEFAULT '0',
`category` varchar(255) NOT NULL,
`info` text,
`log_time` varchar(20) NOT NULL,
`trace` text,
`level` varchar(255) DEFAULT NULL,
`duration` decimal(7,3) NOT NULL,
KEY `id` (`id`),
KEY `category` (`category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_profile`
--
LOCK TABLES `l_yf_profile` WRITE;
/*!40000 ALTER TABLE `l_yf_profile` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_profile` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_settings_tracker_basic`
--
DROP TABLE IF EXISTS `l_yf_settings_tracker_basic`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_settings_tracker_basic` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned DEFAULT NULL,
`type` tinyint(1) NOT NULL,
`action` varchar(50) NOT NULL,
`record_id` int DEFAULT NULL,
`module_name` varchar(50) NOT NULL,
`date` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_settings_tracker_basic`
--
LOCK TABLES `l_yf_settings_tracker_basic` WRITE;
/*!40000 ALTER TABLE `l_yf_settings_tracker_basic` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_settings_tracker_basic` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_settings_tracker_detail`
--
DROP TABLE IF EXISTS `l_yf_settings_tracker_detail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_settings_tracker_detail` (
`id` int unsigned NOT NULL,
`prev_value` text NOT NULL,
`post_value` text NOT NULL,
`field` varchar(255) NOT NULL,
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_settings_tracker_detail`
--
LOCK TABLES `l_yf_settings_tracker_detail` WRITE;
/*!40000 ALTER TABLE `l_yf_settings_tracker_detail` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_settings_tracker_detail` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_switch_users`
--
DROP TABLE IF EXISTS `l_yf_switch_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_switch_users` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`date` datetime NOT NULL,
`status` varchar(10) NOT NULL,
`baseid` int NOT NULL,
`destid` int NOT NULL,
`busername` varchar(50) NOT NULL,
`dusername` varchar(50) NOT NULL,
`ip` varchar(100) NOT NULL,
`agent` varchar(500) NOT NULL,
PRIMARY KEY (`id`),
KEY `baseid` (`baseid`),
KEY `destid` (`destid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_switch_users`
--
LOCK TABLES `l_yf_switch_users` WRITE;
/*!40000 ALTER TABLE `l_yf_switch_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_switch_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_username_history`
--
DROP TABLE IF EXISTS `l_yf_username_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_username_history` (
`user_name` varchar(64) DEFAULT NULL,
`user_id` int unsigned DEFAULT NULL,
`date` datetime DEFAULT NULL,
KEY `user_id` (`user_id`),
KEY `user_name` (`user_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_username_history`
--
LOCK TABLES `l_yf_username_history` WRITE;
/*!40000 ALTER TABLE `l_yf_username_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_username_history` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_userpass_history`
--
DROP TABLE IF EXISTS `l_yf_userpass_history`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_userpass_history` (
`pass` varchar(200) NOT NULL,
`user_id` int unsigned NOT NULL,
`date` datetime NOT NULL,
KEY `user_id` (`user_id`,`pass`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_userpass_history`
--
LOCK TABLES `l_yf_userpass_history` WRITE;
/*!40000 ALTER TABLE `l_yf_userpass_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_userpass_history` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `l_yf_users_login_purpose`
--
DROP TABLE IF EXISTS `l_yf_users_login_purpose`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `l_yf_users_login_purpose` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`userid` int NOT NULL,
`datetime` datetime NOT NULL,
`purpose` varchar(500) NOT NULL,
`baseid` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `l_yf_users_login_purpose_userid_idx` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `l_yf_users_login_purpose`
--
LOCK TABLES `l_yf_users_login_purpose` WRITE;
/*!40000 ALTER TABLE `l_yf_users_login_purpose` DISABLE KEYS */;
/*!40000 ALTER TABLE `l_yf_users_login_purpose` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `o_yf_access_for_admin`
--
DROP TABLE IF EXISTS `o_yf_access_for_admin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `o_yf_access_for_admin` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`date` datetime NOT NULL,
`ip` varchar(100) NOT NULL,
`module` varchar(30) NOT NULL,
`url` varchar(300) NOT NULL,
`agent` varchar(500) NOT NULL,
`request` text NOT NULL,
`referer` varchar(300) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `o_yf_access_for_admin`
--
LOCK TABLES `o_yf_access_for_admin` WRITE;
/*!40000 ALTER TABLE `o_yf_access_for_admin` DISABLE KEYS */;
/*!40000 ALTER TABLE `o_yf_access_for_admin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `o_yf_access_for_api`
--
DROP TABLE IF EXISTS `o_yf_access_for_api`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `o_yf_access_for_api` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`date` datetime NOT NULL,
`ip` varchar(100) NOT NULL,
`url` varchar(300) NOT NULL,
`agent` varchar(500) NOT NULL,
`request` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `o_yf_access_for_api`
--
LOCK TABLES `o_yf_access_for_api` WRITE;
/*!40000 ALTER TABLE `o_yf_access_for_api` DISABLE KEYS */;
/*!40000 ALTER TABLE `o_yf_access_for_api` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `o_yf_access_for_user`
--
DROP TABLE IF EXISTS `o_yf_access_for_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `o_yf_access_for_user` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`date` datetime NOT NULL,
`ip` varchar(100) DEFAULT NULL,
`module` varchar(30) NOT NULL,
`url` varchar(300) NOT NULL,
`agent` varchar(500) DEFAULT NULL,
`request` text NOT NULL,
`referer` varchar(300) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `o_yf_access_for_user`
--
LOCK TABLES `o_yf_access_for_user` WRITE;
/*!40000 ALTER TABLE `o_yf_access_for_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `o_yf_access_for_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `o_yf_access_to_record`
--
DROP TABLE IF EXISTS `o_yf_access_to_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `o_yf_access_to_record` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(50) NOT NULL,
`date` datetime NOT NULL,
`ip` varchar(100) NOT NULL,
`record` int NOT NULL,
`module` varchar(30) NOT NULL,
`url` varchar(300) NOT NULL,
`agent` varchar(500) NOT NULL,
`request` text NOT NULL,
`referer` varchar(300) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `o_yf_access_to_record`
--
LOCK TABLES `o_yf_access_to_record` WRITE;
/*!40000 ALTER TABLE `o_yf_access_to_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `o_yf_access_to_record` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `o_yf_csrf`
--
DROP TABLE IF EXISTS `o_yf_csrf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `o_yf_csrf` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(100) NOT NULL,
`date` datetime NOT NULL,
`ip` varchar(100) NOT NULL,
`referer` varchar(300) NOT NULL,
`url` varchar(300) NOT NULL,
`agent` varchar(500) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `o_yf_csrf`
--
LOCK TABLES `o_yf_csrf` WRITE;
/*!40000 ALTER TABLE `o_yf_csrf` DISABLE KEYS */;
/*!40000 ALTER TABLE `o_yf_csrf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_cache`
--
DROP TABLE IF EXISTS `roundcube_cache`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_cache` (
`user_id` int unsigned NOT NULL,
`cache_key` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`user_id`,`cache_key`),
KEY `expires_index` (`expires`),
CONSTRAINT `roundcube_user_id_fk_cache` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_cache`
--
LOCK TABLES `roundcube_cache` WRITE;
/*!40000 ALTER TABLE `roundcube_cache` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_cache` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_cache_index`
--
DROP TABLE IF EXISTS `roundcube_cache_index`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_cache_index` (
`user_id` int unsigned NOT NULL,
`mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`valid` tinyint(1) NOT NULL DEFAULT '0',
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`user_id`,`mailbox`),
KEY `expires_index` (`expires`),
CONSTRAINT `roundcube_user_id_fk_cache_index` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_cache_index`
--
LOCK TABLES `roundcube_cache_index` WRITE;
/*!40000 ALTER TABLE `roundcube_cache_index` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_cache_index` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_cache_messages`
--
DROP TABLE IF EXISTS `roundcube_cache_messages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_cache_messages` (
`user_id` int unsigned NOT NULL,
`mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`uid` int unsigned NOT NULL DEFAULT '0',
`expires` datetime DEFAULT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`flags` int NOT NULL DEFAULT '0',
PRIMARY KEY (`user_id`,`mailbox`,`uid`),
KEY `expires_index` (`expires`),
CONSTRAINT `roundcube_user_id_fk_cache_messages` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_cache_messages`
--
LOCK TABLES `roundcube_cache_messages` WRITE;
/*!40000 ALTER TABLE `roundcube_cache_messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_cache_messages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_cache_shared`
--
DROP TABLE IF EXISTS `roundcube_cache_shared`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_cache_shared` (
`cache_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`cache_key`),
KEY `expires_index` (`expires`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_cache_shared`
--
LOCK TABLES `roundcube_cache_shared` WRITE;
/*!40000 ALTER TABLE `roundcube_cache_shared` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_cache_shared` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_cache_thread`
--
DROP TABLE IF EXISTS `roundcube_cache_thread`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_cache_thread` (
`user_id` int unsigned NOT NULL,
`mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`user_id`,`mailbox`),
KEY `expires_index` (`expires`),
CONSTRAINT `roundcube_user_id_fk_cache_thread` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_cache_thread`
--
LOCK TABLES `roundcube_cache_thread` WRITE;
/*!40000 ALTER TABLE `roundcube_cache_thread` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_cache_thread` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_contactgroupmembers`
--
DROP TABLE IF EXISTS `roundcube_contactgroupmembers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_contactgroupmembers` (
`contactgroup_id` int unsigned NOT NULL,
`contact_id` int unsigned NOT NULL,
`created` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
PRIMARY KEY (`contactgroup_id`,`contact_id`),
KEY `roundcube_contactgroupmembers_contact_index` (`contact_id`),
CONSTRAINT `roundcube_contact_id_fk_contacts` FOREIGN KEY (`contact_id`) REFERENCES `roundcube_contacts` (`contact_id`) ON DELETE CASCADE ON UPDATE CASCADE,
CONSTRAINT `roundcube_contactgroup_id_fk_contactgroups` FOREIGN KEY (`contactgroup_id`) REFERENCES `roundcube_contactgroups` (`contactgroup_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_contactgroupmembers`
--
LOCK TABLES `roundcube_contactgroupmembers` WRITE;
/*!40000 ALTER TABLE `roundcube_contactgroupmembers` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_contactgroupmembers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_contactgroups`
--
DROP TABLE IF EXISTS `roundcube_contactgroups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_contactgroups` (
`contactgroup_id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`contactgroup_id`),
KEY `roundcube_contactgroups_user_index` (`user_id`,`del`),
CONSTRAINT `roundcube_user_id_fk_contactgroups` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_contactgroups`
--
LOCK TABLES `roundcube_contactgroups` WRITE;
/*!40000 ALTER TABLE `roundcube_contactgroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_contactgroups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_contacts`
--
DROP TABLE IF EXISTS `roundcube_contacts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_contacts` (
`contact_id` int unsigned NOT NULL AUTO_INCREMENT,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`email` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`firstname` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`surname` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`vcard` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`words` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`user_id` int unsigned NOT NULL,
PRIMARY KEY (`contact_id`),
KEY `roundcube_user_contacts_index` (`user_id`,`del`),
CONSTRAINT `roundcube_user_id_fk_contacts` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_contacts`
--
LOCK TABLES `roundcube_contacts` WRITE;
/*!40000 ALTER TABLE `roundcube_contacts` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_contacts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_dictionary`
--
DROP TABLE IF EXISTS `roundcube_dictionary`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_dictionary` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned DEFAULT NULL,
`language` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `uniqueness` (`user_id`,`language`),
CONSTRAINT `roundcube_user_id_fk_dictionary` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_dictionary`
--
LOCK TABLES `roundcube_dictionary` WRITE;
/*!40000 ALTER TABLE `roundcube_dictionary` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_dictionary` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_filestore`
--
DROP TABLE IF EXISTS `roundcube_filestore`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_filestore` (
`file_id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL,
`context` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`filename` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`mtime` int NOT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`file_id`),
UNIQUE KEY `uniqueness` (`user_id`,`context`,`filename`),
CONSTRAINT `user_id_fk_filestore` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_filestore`
--
LOCK TABLES `roundcube_filestore` WRITE;
/*!40000 ALTER TABLE `roundcube_filestore` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_filestore` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_identities`
--
DROP TABLE IF EXISTS `roundcube_identities`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_identities` (
`identity_id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
`standard` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`organization` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`email` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`reply-to` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`bcc` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`signature` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`html_signature` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`identity_id`),
KEY `user_identities_index` (`user_id`,`del`),
KEY `email_identities_index` (`email`,`del`),
CONSTRAINT `roundcube_user_id_fk_identities` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_identities`
--
LOCK TABLES `roundcube_identities` WRITE;
/*!40000 ALTER TABLE `roundcube_identities` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_identities` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_responses`
--
DROP TABLE IF EXISTS `roundcube_responses`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_responses` (
`response_id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`is_html` tinyint(1) NOT NULL DEFAULT '0',
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`response_id`),
KEY `user_responses_index` (`user_id`,`del`),
CONSTRAINT `user_id_fk_responses` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_responses`
--
LOCK TABLES `roundcube_responses` WRITE;
/*!40000 ALTER TABLE `roundcube_responses` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_responses` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_searches`
--
DROP TABLE IF EXISTS `roundcube_searches`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_searches` (
`search_id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL,
`type` int NOT NULL DEFAULT '0',
`name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`search_id`),
UNIQUE KEY `uniqueness` (`user_id`,`type`,`name`),
CONSTRAINT `roundcube_user_id_fk_searches` FOREIGN KEY (`user_id`) REFERENCES `roundcube_users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_searches`
--
LOCK TABLES `roundcube_searches` WRITE;
/*!40000 ALTER TABLE `roundcube_searches` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_searches` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_session`
--
DROP TABLE IF EXISTS `roundcube_session`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_session` (
`sess_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`ip` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`vars` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`sess_id`),
KEY `changed_index` (`changed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_session`
--
LOCK TABLES `roundcube_session` WRITE;
/*!40000 ALTER TABLE `roundcube_session` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_session` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_users`
--
DROP TABLE IF EXISTS `roundcube_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_users` (
`user_id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`mail_host` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`created` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`last_login` datetime DEFAULT NULL,
`failed_login` datetime DEFAULT NULL,
`failed_login_counter` int unsigned DEFAULT NULL,
`language` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`preferences` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`actions` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`password` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`crm_user_id` int DEFAULT '0',
`crm_status` tinyint(1) DEFAULT '0',
`crm_error` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`crm_ma_id` int DEFAULT '0',
PRIMARY KEY (`user_id`),
UNIQUE KEY `username` (`username`,`mail_host`),
KEY `crm_user_id` (`crm_user_id`),
KEY `crm_status` (`crm_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_users`
--
LOCK TABLES `roundcube_users` WRITE;
/*!40000 ALTER TABLE `roundcube_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roundcube_users_autologin`
--
DROP TABLE IF EXISTS `roundcube_users_autologin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roundcube_users_autologin` (
`rcuser_id` int unsigned NOT NULL,
`crmuser_id` int NOT NULL,
`active` tinyint unsigned NOT NULL DEFAULT '0',
KEY `rcuser_id` (`rcuser_id`),
KEY `crmuser_id` (`crmuser_id`),
CONSTRAINT `roundcube_users_autologin_ibfk_1` FOREIGN KEY (`rcuser_id`) REFERENCES `s_yf_mail_account` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roundcube_users_autologin`
--
LOCK TABLES `roundcube_users_autologin` WRITE;
/*!40000 ALTER TABLE `roundcube_users_autologin` DISABLE KEYS */;
/*!40000 ALTER TABLE `roundcube_users_autologin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_address_finder`
--
DROP TABLE IF EXISTS `s_yf_address_finder`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_address_finder` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`level1` varchar(100) DEFAULT NULL,
`level2` varchar(100) DEFAULT NULL,
`level3` varchar(100) DEFAULT NULL,
`level4` varchar(100) DEFAULT NULL,
`level5` varchar(100) DEFAULT NULL,
`level6` varchar(100) DEFAULT NULL,
`level7` varchar(100) DEFAULT NULL,
`level8` varchar(100) DEFAULT NULL,
`source` varchar(10) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `source` (`source`),
FULLTEXT KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_address_finder`
--
LOCK TABLES `s_yf_address_finder` WRITE;
/*!40000 ALTER TABLE `s_yf_address_finder` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_address_finder` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_address_finder_config`
--
DROP TABLE IF EXISTS `s_yf_address_finder_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_address_finder_config` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`type` varchar(50) NOT NULL,
`val` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_address_finder_config`
--
LOCK TABLES `s_yf_address_finder_config` WRITE;
/*!40000 ALTER TABLE `s_yf_address_finder_config` DISABLE KEYS */;
INSERT INTO `s_yf_address_finder_config` VALUES (1,'min_length','global','3'),(2,'result_num','global','10'),(3,'default_provider','global','');
/*!40000 ALTER TABLE `s_yf_address_finder_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_auto_assign`
--
DROP TABLE IF EXISTS `s_yf_auto_assign`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_auto_assign` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`state` tinyint(1) NOT NULL DEFAULT '0',
`tabid` smallint NOT NULL,
`subject` varchar(100) NOT NULL,
`workflow` tinyint(1) NOT NULL DEFAULT '0',
`handler` tinyint(1) NOT NULL DEFAULT '0',
`gui` tinyint(1) NOT NULL DEFAULT '0',
`default_assign` int unsigned DEFAULT NULL,
`conditions` text,
`method` tinyint(1) NOT NULL DEFAULT '0',
`record_limit_conditions` text,
`record_limit` int unsigned NOT NULL DEFAULT '0',
`working_hours` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `s_yf_auto_assign_tabid_idx` (`tabid`),
CONSTRAINT `s_yf_auto_assign_tabid_fk` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_auto_assign`
--
LOCK TABLES `s_yf_auto_assign` WRITE;
/*!40000 ALTER TABLE `s_yf_auto_assign` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_auto_assign` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_auto_assign_groups`
--
DROP TABLE IF EXISTS `s_yf_auto_assign_groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_auto_assign_groups` (
`id` int unsigned NOT NULL,
`member` int NOT NULL,
`type` varchar(50) NOT NULL,
KEY `s_yf_auto_assign_groups_id_idx` (`id`),
KEY `s_yf_auto_assign_groups_member_idx` (`member`),
CONSTRAINT `s_yf_auto_assign_groups_id_fk` FOREIGN KEY (`id`) REFERENCES `s_yf_auto_assign` (`id`) ON DELETE CASCADE,
CONSTRAINT `s_yf_auto_assign_groups_member_fk` FOREIGN KEY (`member`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_auto_assign_groups`
--
LOCK TABLES `s_yf_auto_assign_groups` WRITE;
/*!40000 ALTER TABLE `s_yf_auto_assign_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_auto_assign_groups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_auto_assign_roles`
--
DROP TABLE IF EXISTS `s_yf_auto_assign_roles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_auto_assign_roles` (
`id` int unsigned NOT NULL,
`member` varchar(255) NOT NULL,
`type` varchar(50) NOT NULL,
KEY `s_yf_auto_assign_roles_id_idx` (`id`),
KEY `s_yf_auto_assign_roles_member_idx` (`member`),
CONSTRAINT `s_yf_auto_assign_roles_id_fk` FOREIGN KEY (`id`) REFERENCES `s_yf_auto_assign` (`id`) ON DELETE CASCADE,
CONSTRAINT `s_yf_auto_assign_roles_role_fk` FOREIGN KEY (`member`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_auto_assign_roles`
--
LOCK TABLES `s_yf_auto_assign_roles` WRITE;
/*!40000 ALTER TABLE `s_yf_auto_assign_roles` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_auto_assign_roles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_auto_assign_users`
--
DROP TABLE IF EXISTS `s_yf_auto_assign_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_auto_assign_users` (
`id` int unsigned NOT NULL,
`member` int NOT NULL,
`type` varchar(50) NOT NULL,
KEY `s_yf_auto_assign_users_id_idx` (`id`),
KEY `s_yf_auto_assign_users_member_idx` (`member`),
CONSTRAINT `s_yf_auto_assign_users_id_fk` FOREIGN KEY (`id`) REFERENCES `s_yf_auto_assign` (`id`) ON DELETE CASCADE,
CONSTRAINT `s_yf_auto_assign_users_member_fk` FOREIGN KEY (`member`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_auto_assign_users`
--
LOCK TABLES `s_yf_auto_assign_users` WRITE;
/*!40000 ALTER TABLE `s_yf_auto_assign_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_auto_assign_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_auto_record_flow_updater`
--
DROP TABLE IF EXISTS `s_yf_auto_record_flow_updater`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_auto_record_flow_updater` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`source_module` smallint NOT NULL,
`target_module` smallint NOT NULL,
`source_field` varchar(50) NOT NULL,
`target_field` varchar(50) NOT NULL,
`default_value` varchar(255) NOT NULL,
`relation_field` varchar(50) NOT NULL,
`rules` text NOT NULL,
PRIMARY KEY (`id`),
KEY `source_module` (`source_module`),
KEY `target_module` (`target_module`),
KEY `status` (`status`),
CONSTRAINT `s_yf_auto_record_flow_updater_ibfk_1` FOREIGN KEY (`source_module`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE,
CONSTRAINT `s_yf_auto_record_flow_updater_ibfk_2` FOREIGN KEY (`target_module`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_auto_record_flow_updater`
--
LOCK TABLES `s_yf_auto_record_flow_updater` WRITE;
/*!40000 ALTER TABLE `s_yf_auto_record_flow_updater` DISABLE KEYS */;
INSERT INTO `s_yf_auto_record_flow_updater` VALUES (1,0,42,41,'projecttaskstatus','projectmilestone_status','PLL_PLANNED','parentid','{\"PLL_PLANNED\":{\"condition\":\"or\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_PLANNED\"},{\"operator\":\"noRecords\"}]},\"PLL_IN_PROGRESSING\":{\"rules\":[{\"operator\":\"isExist\",\"value\":\"PLL_IN_PROGRESSING\"}]},\"PLL_ON_HOLD\":{\"condition\":\"and\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_ON_HOLD\",\"automation\":1}]},\"PLL_COMPLETED\":{\"condition\":\"or\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_COMPLETED\"},{\"operator\":\"onlyContains\",\"value\":[\"PLL_COMPLETED\",\"PLL_CANCELLED\"]}]},\"PLL_IN_APPROVAL\":{\"condition\":\"and\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_IN_APPROVAL\",\"automation\":1}]},\"PLL_CANCELLED\":{\"condition\":\"and\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_CANCELLED\"}]}}'),(2,0,41,43,'projectmilestone_status','projectstatus','PLL_PLANNED','parentid','{\"PLL_PLANNED\":{\"condition\":\"or\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_PLANNED\"},{\"operator\":\"noRecords\"}]},\"PLL_IN_PROGRESSING\":{\"rules\":[{\"operator\":\"isExist\",\"value\":\"PLL_IN_PROGRESSING\"}]},\"PLL_ON_HOLD\":{\"condition\":\"and\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_ON_HOLD\",\"automation\":1}]},\"PLL_COMPLETED\":{\"condition\":\"or\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_COMPLETED\"},{\"operator\":\"onlyContains\",\"value\":[\"PLL_COMPLETED\",\"PLL_CANCELLED\"]}]},\"PLL_IN_APPROVAL\":{\"condition\":\"and\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_IN_APPROVAL\",\"automation\":1}]},\"PLL_CANCELLED\":{\"condition\":\"and\",\"rules\":[{\"operator\":\"allRecordsEqual\",\"value\":\"PLL_CANCELLED\"}]}}');
/*!40000 ALTER TABLE `s_yf_auto_record_flow_updater` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_batchmethod`
--
DROP TABLE IF EXISTS `s_yf_batchmethod`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_batchmethod` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`method` varchar(255) NOT NULL,
`params` text NOT NULL,
`created_time` datetime NOT NULL,
`status` tinyint unsigned NOT NULL,
`userid` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_batchmethod`
--
LOCK TABLES `s_yf_batchmethod` WRITE;
/*!40000 ALTER TABLE `s_yf_batchmethod` DISABLE KEYS */;
INSERT INTO `s_yf_batchmethod` VALUES (1,'\\App\\PrivilegeUtil::recalculateSharingRulesByUser','[1]','[[regtime]]',1,0);
/*!40000 ALTER TABLE `s_yf_batchmethod` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_business_hours`
--
DROP TABLE IF EXISTS `s_yf_business_hours`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_business_hours` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`working_days` varchar(15) NOT NULL,
`working_hours_from` varchar(8) NOT NULL DEFAULT '00:00:00',
`working_hours_to` varchar(8) NOT NULL DEFAULT '00:00:00',
`holidays` tinyint(1) NOT NULL DEFAULT '0',
`reaction_time` varchar(20) NOT NULL DEFAULT '0:m',
`idle_time` varchar(20) NOT NULL DEFAULT '0:m',
`resolve_time` varchar(20) NOT NULL DEFAULT '0:m',
`default` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `business_hours_holidays_idx` (`holidays`),
KEY `business_hours_default_idx` (`default`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_business_hours`
--
LOCK TABLES `s_yf_business_hours` WRITE;
/*!40000 ALTER TABLE `s_yf_business_hours` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_business_hours` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_calendar_sources`
--
DROP TABLE IF EXISTS `s_yf_calendar_sources`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_calendar_sources` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`label` varchar(100) DEFAULT NULL,
`base_module` smallint NOT NULL,
`target_module` smallint NOT NULL,
`user_id` int NOT NULL,
`type` tinyint unsigned NOT NULL DEFAULT '1',
`public` tinyint unsigned NOT NULL DEFAULT '0',
`include_filters` tinyint unsigned NOT NULL DEFAULT '0',
`color` varchar(10) DEFAULT NULL,
`custom_view` int unsigned NOT NULL DEFAULT '0',
`field_label` int NOT NULL DEFAULT '0',
`fieldid_a_date` int NOT NULL,
`fieldid_a_time` int NOT NULL DEFAULT '0',
`fieldid_b_date` int NOT NULL DEFAULT '0',
`fieldid_b_time` int NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `base_module` (`base_module`),
KEY `target_module` (`target_module`),
CONSTRAINT `s_yf_calendar_sources_ibfk_1` FOREIGN KEY (`base_module`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE,
CONSTRAINT `s_yf_calendar_sources_ibfk_2` FOREIGN KEY (`target_module`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_calendar_sources`
--
LOCK TABLES `s_yf_calendar_sources` WRITE;
/*!40000 ALTER TABLE `s_yf_calendar_sources` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_calendar_sources` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_companies`
--
DROP TABLE IF EXISTS `s_yf_companies`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_companies` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`industry` varchar(50) DEFAULT NULL,
`vat_id` varchar(30) DEFAULT NULL,
`country` varchar(100) DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_companies`
--
LOCK TABLES `s_yf_companies` WRITE;
/*!40000 ALTER TABLE `s_yf_companies` DISABLE KEYS */;
INSERT INTO `s_yf_companies` VALUES (1,'',NULL,'','','',NULL);
/*!40000 ALTER TABLE `s_yf_companies` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_fields_anonymization`
--
DROP TABLE IF EXISTS `s_yf_fields_anonymization`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_fields_anonymization` (
`field_id` int NOT NULL,
`anonymization_target` varchar(50) NOT NULL,
PRIMARY KEY (`field_id`),
CONSTRAINT `s_yf_fields_anonymization_fieldid_fk` FOREIGN KEY (`field_id`) REFERENCES `vtiger_field` (`fieldid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_fields_anonymization`
--
LOCK TABLES `s_yf_fields_anonymization` WRITE;
/*!40000 ALTER TABLE `s_yf_fields_anonymization` DISABLE KEYS */;
INSERT INTO `s_yf_fields_anonymization` VALUES (476,'[0]'),(477,'[0]');
/*!40000 ALTER TABLE `s_yf_fields_anonymization` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_fields_dependency`
--
DROP TABLE IF EXISTS `s_yf_fields_dependency`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_fields_dependency` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`tabid` smallint NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(100) DEFAULT NULL,
`views` varchar(255) DEFAULT NULL,
`gui` tinyint unsigned NOT NULL,
`mandatory` tinyint unsigned NOT NULL DEFAULT '0',
`fields` text NOT NULL,
`conditions` text,
`conditionsFields` text,
PRIMARY KEY (`id`),
KEY `tabid` (`tabid`),
KEY `status` (`status`),
CONSTRAINT `s_yf_fields_dependency_ibfk_1` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_fields_dependency`
--
LOCK TABLES `s_yf_fields_dependency` WRITE;
/*!40000 ALTER TABLE `s_yf_fields_dependency` DISABLE KEYS */;
INSERT INTO `s_yf_fields_dependency` VALUES (1,6,1,'Legal form','[\"Create\",\"Edit\",\"Detail\",\"QuickCreate\",\"QuickEdit\"]',1,0,'[\"vat_id\",\"registration_number_2\",\"registration_number_1\",\"siccode\"]','{\"condition\":\"OR\",\"rules\":[{\"fieldname\":\"legal_form:Accounts\",\"operator\":\"n\",\"value\":\"PLL_NATURAL_PERSON\"}]}','[\"legal_form\"]');
/*!40000 ALTER TABLE `s_yf_fields_dependency` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_kanban_boards`
--
DROP TABLE IF EXISTS `s_yf_kanban_boards`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_kanban_boards` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`tabid` smallint NOT NULL,
`fieldid` int NOT NULL,
`detail_fields` text,
`sum_fields` text,
`sequence` int unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `s_yf_kanban_boards_fieldid_idx` (`fieldid`),
KEY `s_yf_kanban_boards_tabid_idx` (`tabid`),
CONSTRAINT `s_yf_kanban_boards_fieldid_fk` FOREIGN KEY (`fieldid`) REFERENCES `vtiger_field` (`fieldid`) ON DELETE CASCADE,
CONSTRAINT `s_yf_kanban_boards_tabid_fk` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_kanban_boards`
--
LOCK TABLES `s_yf_kanban_boards` WRITE;
/*!40000 ALTER TABLE `s_yf_kanban_boards` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_kanban_boards` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_account`
--
DROP TABLE IF EXISTS `s_yf_mail_account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_account` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`login` varchar(255) DEFAULT NULL,
`password` text,
`refresh_token` text,
`mail_server_id` int unsigned NOT NULL,
`status` varchar(255) NOT NULL,
`logs` text,
`expire_time` datetime DEFAULT NULL,
`scanner_actions` text,
`scanner_fields` text,
`domain_exceptions` text,
`email_exceptions` text,
`folders` text,
`last_login` datetime DEFAULT NULL,
`owner_id` int NOT NULL,
`private` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`),
KEY `s_yf_mail_account_mail_server_id_fk` (`mail_server_id`),
CONSTRAINT `s_yf_mail_account_mail_server_id_fk` FOREIGN KEY (`mail_server_id`) REFERENCES `s_yf_mail_servers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_account`
--
LOCK TABLES `s_yf_mail_account` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_account` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_queue`
--
DROP TABLE IF EXISTS `s_yf_mail_queue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_queue` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`smtp_id` int unsigned NOT NULL DEFAULT '1',
`date` datetime NOT NULL,
`owner` int NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`from` text,
`subject` text,
`to` text,
`content` mediumtext,
`cc` text,
`bcc` text,
`attachments` text,
`priority` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`error` text,
`callback` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `smtp_id` (`smtp_id`),
KEY `status` (`status`),
CONSTRAINT `s_yf_mail_queue_ibfk_1` FOREIGN KEY (`smtp_id`) REFERENCES `s_yf_mail_smtp` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_queue`
--
LOCK TABLES `s_yf_mail_queue` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_queue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_rbl_list`
--
DROP TABLE IF EXISTS `s_yf_mail_rbl_list`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_rbl_list` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`ip` varchar(40) NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`type` tinyint unsigned NOT NULL DEFAULT '0',
`source` varchar(20) NOT NULL,
`comment` varchar(500) DEFAULT NULL,
`request` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `type` (`type`),
KEY `status` (`status`),
KEY `ip` (`ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_rbl_list`
--
LOCK TABLES `s_yf_mail_rbl_list` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_rbl_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_rbl_list` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_rbl_request`
--
DROP TABLE IF EXISTS `s_yf_mail_rbl_request`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_rbl_request` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`datetime` datetime NOT NULL,
`type` tinyint unsigned NOT NULL DEFAULT '0',
`user` int unsigned NOT NULL,
`header` text NOT NULL,
`body` mediumtext,
PRIMARY KEY (`id`),
KEY `type` (`type`),
KEY `status` (`status`),
KEY `datetime` (`datetime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_rbl_request`
--
LOCK TABLES `s_yf_mail_rbl_request` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_rbl_request` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_rbl_request` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_relation_updater`
--
DROP TABLE IF EXISTS `s_yf_mail_relation_updater`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_relation_updater` (
`tabid` smallint unsigned NOT NULL,
`crmid` int unsigned NOT NULL,
KEY `tabid` (`tabid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_relation_updater`
--
LOCK TABLES `s_yf_mail_relation_updater` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_relation_updater` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_relation_updater` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_servers`
--
DROP TABLE IF EXISTS `s_yf_mail_servers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_servers` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(50) NOT NULL,
`auth_method` varchar(50) NOT NULL,
`imap_encrypt` varchar(5) NOT NULL DEFAULT '',
`imap_host` varchar(255) NOT NULL,
`imap_port` smallint unsigned NOT NULL,
`smtp_encrypt` varchar(5) NOT NULL DEFAULT '',
`smtp_host` varchar(255) NOT NULL,
`smtp_port` smallint unsigned NOT NULL,
`oauth_provider` varchar(50) DEFAULT '',
`client_id` varchar(255) DEFAULT '',
`client_secret` varchar(500) DEFAULT '',
`redirect_uri_id` int unsigned DEFAULT '0',
`validate_cert` tinyint unsigned NOT NULL DEFAULT '0',
`spellcheck` tinyint unsigned NOT NULL DEFAULT '0',
`ip_check` tinyint unsigned NOT NULL DEFAULT '0',
`visible` tinyint unsigned NOT NULL DEFAULT '0',
`identities_level` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_servers`
--
LOCK TABLES `s_yf_mail_servers` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_servers` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_servers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_signature`
--
DROP TABLE IF EXISTS `s_yf_mail_signature`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_signature` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`default` tinyint unsigned NOT NULL DEFAULT '0',
`body` mediumtext,
PRIMARY KEY (`id`),
KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_signature`
--
LOCK TABLES `s_yf_mail_signature` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_signature` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_signature` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_mail_smtp`
--
DROP TABLE IF EXISTS `s_yf_mail_smtp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_mail_smtp` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`mailer_type` varchar(10) DEFAULT 'smtp',
`default` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL,
`host` varchar(255) NOT NULL,
`port` smallint unsigned DEFAULT NULL,
`username` varchar(255) DEFAULT NULL,
`password` varchar(500) DEFAULT NULL,
`authentication` tinyint unsigned NOT NULL DEFAULT '1',
`secure` varchar(10) DEFAULT NULL,
`options` text,
`from_email` varchar(255) DEFAULT NULL,
`from_name` varchar(255) DEFAULT NULL,
`reply_to` varchar(255) DEFAULT NULL,
`confirm_reading_to` varchar(255) DEFAULT NULL,
`priority` varchar(255) DEFAULT NULL,
`organization` varchar(255) DEFAULT NULL,
`unsubscribe` varchar(255) DEFAULT NULL,
`individual_delivery` tinyint unsigned NOT NULL DEFAULT '0',
`params` text,
`save_send_mail` tinyint(1) DEFAULT '0',
`imap_encrypt` varchar(5) NOT NULL DEFAULT '',
`imap_host` varchar(255) DEFAULT NULL,
`imap_port` smallint DEFAULT NULL,
`imap_username` varchar(255) DEFAULT NULL,
`imap_password` text,
`imap_folder` varchar(50) DEFAULT NULL,
`imap_validate_cert` tinyint(1) DEFAULT '0',
`auth_method` varchar(50) NOT NULL,
`oauth_provider` varchar(50) DEFAULT NULL,
`client_id` varchar(255) DEFAULT NULL,
`client_secret` varchar(500) DEFAULT NULL,
`redirect_uri_id` int unsigned DEFAULT NULL,
`refresh_token` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_mail_smtp`
--
LOCK TABLES `s_yf_mail_smtp` WRITE;
/*!40000 ALTER TABLE `s_yf_mail_smtp` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_mail_smtp` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_meeting_services`
--
DROP TABLE IF EXISTS `s_yf_meeting_services`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_meeting_services` (
`id` int NOT NULL AUTO_INCREMENT,
`url` varchar(255) DEFAULT NULL,
`key` varchar(64) DEFAULT NULL,
`secret` varchar(500) DEFAULT NULL,
`duration` smallint unsigned DEFAULT '1',
`status` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_meeting_services`
--
LOCK TABLES `s_yf_meeting_services` WRITE;
/*!40000 ALTER TABLE `s_yf_meeting_services` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_meeting_services` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_multireference`
--
DROP TABLE IF EXISTS `s_yf_multireference`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_multireference` (
`source_module` varchar(50) NOT NULL,
`dest_module` varchar(50) NOT NULL,
`lastid` int unsigned NOT NULL DEFAULT '0',
`type` tinyint(1) NOT NULL DEFAULT '0',
KEY `source_module` (`source_module`,`dest_module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_multireference`
--
LOCK TABLES `s_yf_multireference` WRITE;
/*!40000 ALTER TABLE `s_yf_multireference` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_multireference` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_pauser`
--
DROP TABLE IF EXISTS `s_yf_pauser`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_pauser` (
`key` varchar(50) NOT NULL,
`value` varchar(100) NOT NULL,
UNIQUE KEY `key` (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_pauser`
--
LOCK TABLES `s_yf_pauser` WRITE;
/*!40000 ALTER TABLE `s_yf_pauser` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_pauser` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_pbx`
--
DROP TABLE IF EXISTS `s_yf_pbx`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_pbx` (
`pbxid` smallint unsigned NOT NULL AUTO_INCREMENT,
`default` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(50) DEFAULT NULL,
`type` varchar(50) DEFAULT NULL,
`param` text,
PRIMARY KEY (`pbxid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_pbx`
--
LOCK TABLES `s_yf_pbx` WRITE;
/*!40000 ALTER TABLE `s_yf_pbx` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_pbx` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_picklist_dependency`
--
DROP TABLE IF EXISTS `s_yf_picklist_dependency`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_picklist_dependency` (
`id` int NOT NULL AUTO_INCREMENT,
`tabid` smallint NOT NULL,
`source_field` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `s_yf_picklist_dependency_tabid_source_field_fk` (`tabid`,`source_field`),
KEY `s_yf_picklist_dependency_source_field_fk` (`source_field`),
CONSTRAINT `s_yf_picklist_dependency_source_field_fk` FOREIGN KEY (`source_field`) REFERENCES `vtiger_field` (`fieldid`) ON DELETE CASCADE,
CONSTRAINT `s_yf_picklist_dependency_tabid_fk` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_picklist_dependency`
--
LOCK TABLES `s_yf_picklist_dependency` WRITE;
/*!40000 ALTER TABLE `s_yf_picklist_dependency` DISABLE KEYS */;
INSERT INTO `s_yf_picklist_dependency` VALUES (1,7,1321),(2,14,2269);
/*!40000 ALTER TABLE `s_yf_picklist_dependency` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_picklist_dependency_data`
--
DROP TABLE IF EXISTS `s_yf_picklist_dependency_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_picklist_dependency_data` (
`id` int NOT NULL,
`source_id` int NOT NULL,
`conditions` text,
KEY `s_yf_picklist_dependency_data_id_idx` (`id`),
CONSTRAINT `s_yf_picklist_dependency_data_id_fk` FOREIGN KEY (`id`) REFERENCES `s_yf_picklist_dependency` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_picklist_dependency_data`
--
LOCK TABLES `s_yf_picklist_dependency_data` WRITE;
/*!40000 ALTER TABLE `s_yf_picklist_dependency_data` DISABLE KEYS */;
INSERT INTO `s_yf_picklist_dependency_data` VALUES (1,1,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,2,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,3,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,4,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,5,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,6,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,7,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,8,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,9,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,10,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,11,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,12,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration\"}]}'),(1,14,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Construction Industry\"}]}'),(1,15,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Construction Industry\"}]}'),(1,16,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Education\"}]}'),(1,17,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Education\"}]}'),(1,18,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Finance\"}]}'),(1,19,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Finance\"}]}'),(1,20,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Finance\"}]}'),(1,21,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Finance\"}]}'),(1,22,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Finance\"}]}'),(1,23,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Trade\"}]}'),(1,24,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Trade\"}]}'),(1,25,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Trade\"}]}'),(1,26,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,27,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,28,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,29,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,30,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,31,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,32,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,33,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,34,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,35,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,36,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,37,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,38,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Industry / Manufacturing\"}]}'),(1,39,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Uniformed Services\"}]}'),(1,40,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Uniformed Services\"}]}'),(1,41,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Technologies\"}]}'),(1,42,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Technologies\"}]}'),(1,43,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Technologies\"}]}'),(1,13,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"industry:Leads\",\"operator\":\"e\",\"value\":\"Administration##Construction Industry##Education##Finance##Trade##Industry / Manufacturing##Technologies\"}]}'),(2,1,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"kg\"}]}'),(2,2,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"kg\"}]}'),(2,3,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"kg\"}]}'),(2,4,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"kg\"}]}'),(2,5,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"l\"}]}'),(2,6,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"l\"}]}'),(2,7,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"l\"}]}'),(2,8,'{\"condition\":\"AND\",\"rules\":[{\"fieldname\":\"usageunit:Products\",\"operator\":\"e\",\"value\":\"l\"}]}');
/*!40000 ALTER TABLE `s_yf_picklist_dependency_data` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_privileges_updater`
--
DROP TABLE IF EXISTS `s_yf_privileges_updater`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_privileges_updater` (
`module` varchar(30) NOT NULL DEFAULT '',
`crmid` int NOT NULL DEFAULT '0',
`priority` tinyint unsigned NOT NULL DEFAULT '0',
`type` tinyint(1) NOT NULL DEFAULT '0',
UNIQUE KEY `module` (`module`,`crmid`,`type`),
KEY `crmid` (`crmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_privileges_updater`
--
LOCK TABLES `s_yf_privileges_updater` WRITE;
/*!40000 ALTER TABLE `s_yf_privileges_updater` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_privileges_updater` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_record_quick_changer`
--
DROP TABLE IF EXISTS `s_yf_record_quick_changer`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_record_quick_changer` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`tabid` smallint NOT NULL,
`conditions` text NOT NULL,
`values` text NOT NULL,
`btn_name` varchar(255) DEFAULT NULL,
`class` varchar(50) DEFAULT NULL,
`icon` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `tabid` (`tabid`),
CONSTRAINT `s_yf_record_quick_changer_ibfk_1` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_record_quick_changer`
--
LOCK TABLES `s_yf_record_quick_changer` WRITE;
/*!40000 ALTER TABLE `s_yf_record_quick_changer` DISABLE KEYS */;
INSERT INTO `s_yf_record_quick_changer` VALUES (1,90,'{\"ssingleorders_status\":\"PLL_ACCEPTED\"} ','{\"ssingleorders_status\":\"PLL_CANCELLED\"} ','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(2,100,'{\"igdn_status\":\"PLL_ACCEPTED\"}','{\"igdn_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(3,101,'{\"iidn_status\":\"PLL_ACCEPTED\"}','{\"iidn_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(4,102,'{\"igin_status\":\"PLL_ACCEPTED\"}','{\"igin_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(5,103,'{\"ipreorder_status\":\"PLL_ACCEPTED\"}','{\"ipreorder_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(6,104,'{\"istdn_status\":\"PLL_ACCEPTED\"}','{\"istdn_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(7,106,'{\"istrn_status\":\"PLL_ACCEPTED\"}','{\"istrn_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(8,108,'{\"igrnc_status\":\"PLL_ACCEPTED\"}','{\"igrnc_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(9,109,'{\"igdnc_status\":\"PLL_ACCEPTED\"}','{\"igdnc_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel'),(10,98,'{\"igrn_status\":\"PLL_ACCEPTED\"}','{\"igrn_status\":\"PLL_CANCELLED\"}','BTN_CANCEL','btn-outline-danger','mdi mdi-cancel');
/*!40000 ALTER TABLE `s_yf_record_quick_changer` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_reg_data`
--
DROP TABLE IF EXISTS `s_yf_reg_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_reg_data` (
`method` varchar(50) NOT NULL,
`vector` varchar(100) DEFAULT NULL,
`pass` varchar(10) DEFAULT NULL,
`key` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_reg_data`
--
LOCK TABLES `s_yf_reg_data` WRITE;
/*!40000 ALTER TABLE `s_yf_reg_data` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_reg_data` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_sla_policy`
--
DROP TABLE IF EXISTS `s_yf_sla_policy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_sla_policy` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`operational_hours` tinyint(1) NOT NULL DEFAULT '0',
`tabid` smallint NOT NULL,
`conditions` text NOT NULL,
`reaction_time` varchar(20) NOT NULL DEFAULT '0:m',
`idle_time` varchar(20) NOT NULL DEFAULT '0:m',
`resolve_time` varchar(20) NOT NULL DEFAULT '0:m',
`business_hours` text NOT NULL,
`available_for_record_time_count` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fk_s_yf_sla_policy` (`tabid`),
CONSTRAINT `fk_s_yf_sla_policy` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_sla_policy`
--
LOCK TABLES `s_yf_sla_policy` WRITE;
/*!40000 ALTER TABLE `s_yf_sla_policy` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_sla_policy` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_smsnotifier_queue`
--
DROP TABLE IF EXISTS `s_yf_smsnotifier_queue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_smsnotifier_queue` (
`id` int NOT NULL AUTO_INCREMENT,
`message` varchar(500) NOT NULL,
`tonumbers` text NOT NULL,
`records` text NOT NULL,
`module` varchar(30) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_smsnotifier_queue`
--
LOCK TABLES `s_yf_smsnotifier_queue` WRITE;
/*!40000 ALTER TABLE `s_yf_smsnotifier_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_smsnotifier_queue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `s_yf_tokens`
--
DROP TABLE IF EXISTS `s_yf_tokens`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `s_yf_tokens` (
`uid` char(64) NOT NULL,
`method` varchar(255) NOT NULL,
`params` text NOT NULL,
`created_by_user` int NOT NULL,
`created_date` datetime NOT NULL,
`expiration_date` datetime DEFAULT NULL,
`one_time_use` tinyint unsigned NOT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `s_yf_tokens`
--
LOCK TABLES `s_yf_tokens` WRITE;
/*!40000 ALTER TABLE `s_yf_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `s_yf_tokens` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_activity_invitation`
--
DROP TABLE IF EXISTS `u_yf_activity_invitation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_activity_invitation` (
`inviteesid` int unsigned NOT NULL AUTO_INCREMENT,
`activityid` int NOT NULL,
`crmid` int NOT NULL DEFAULT '0',
`email` varchar(100) NOT NULL DEFAULT '',
`name` varchar(500) DEFAULT NULL,
`status` tinyint(1) DEFAULT '0',
`time` datetime DEFAULT NULL,
PRIMARY KEY (`inviteesid`),
KEY `activityid` (`activityid`),
CONSTRAINT `u_yf_activity_invitation_ibfk_1` FOREIGN KEY (`activityid`) REFERENCES `vtiger_activity` (`activityid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_activity_invitation`
--
LOCK TABLES `u_yf_activity_invitation` WRITE;
/*!40000 ALTER TABLE `u_yf_activity_invitation` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_activity_invitation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_activityregister`
--
DROP TABLE IF EXISTS `u_yf_activityregister`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_activityregister` (
`activityregisterid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`activityregister_status` varchar(255) DEFAULT '',
`datasetregisterid` int unsigned DEFAULT '0',
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`activity_type` text,
`parent_id` int DEFAULT NULL,
PRIMARY KEY (`activityregisterid`),
KEY `u_yf_activityregister_datasetregisterid_idx` (`datasetregisterid`),
KEY `u_yf_activityregister_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_activityregisteractivityregisterid` FOREIGN KEY (`activityregisterid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_activityregister`
--
LOCK TABLES `u_yf_activityregister` WRITE;
/*!40000 ALTER TABLE `u_yf_activityregister` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_activityregister` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_activityregistercf`
--
DROP TABLE IF EXISTS `u_yf_activityregistercf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_activityregistercf` (
`activityregisterid` int NOT NULL,
PRIMARY KEY (`activityregisterid`),
CONSTRAINT `fk_1_u_yf_activityregistercfactivityregisterid` FOREIGN KEY (`activityregisterid`) REFERENCES `u_yf_activityregister` (`activityregisterid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_activityregistercf`
--
LOCK TABLES `u_yf_activityregistercf` WRITE;
/*!40000 ALTER TABLE `u_yf_activityregistercf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_activityregistercf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_announcement`
--
DROP TABLE IF EXISTS `u_yf_announcement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_announcement` (
`announcementid` int NOT NULL,
`title` varchar(255) DEFAULT NULL,
`announcement_no` varchar(255) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`announcementstatus` varchar(255) NOT NULL DEFAULT '',
`interval` smallint DEFAULT NULL,
`is_mandatory` smallint DEFAULT NULL,
PRIMARY KEY (`announcementid`),
KEY `announcementstatus` (`announcementstatus`),
CONSTRAINT `fk_1_u_yf_announcement` FOREIGN KEY (`announcementid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_announcement`
--
LOCK TABLES `u_yf_announcement` WRITE;
/*!40000 ALTER TABLE `u_yf_announcement` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_announcement` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_announcement_mark`
--
DROP TABLE IF EXISTS `u_yf_announcement_mark`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_announcement_mark` (
`announcementid` int NOT NULL,
`userid` int NOT NULL,
`date` datetime NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`announcementid`,`userid`),
KEY `userid` (`userid`,`status`),
KEY `announcementid` (`announcementid`,`userid`,`date`,`status`),
CONSTRAINT `u_yf_announcement_mark_ibfk_1` FOREIGN KEY (`announcementid`) REFERENCES `u_yf_announcement` (`announcementid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_announcement_mark`
--
LOCK TABLES `u_yf_announcement_mark` WRITE;
/*!40000 ALTER TABLE `u_yf_announcement_mark` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_announcement_mark` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_announcementcf`
--
DROP TABLE IF EXISTS `u_yf_announcementcf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_announcementcf` (
`announcementid` int NOT NULL,
PRIMARY KEY (`announcementid`),
CONSTRAINT `fk_1_u_yf_announcementcf` FOREIGN KEY (`announcementid`) REFERENCES `u_yf_announcement` (`announcementid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_announcementcf`
--
LOCK TABLES `u_yf_announcementcf` WRITE;
/*!40000 ALTER TABLE `u_yf_announcementcf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_announcementcf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_approvals`
--
DROP TABLE IF EXISTS `u_yf_approvals`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_approvals` (
`approvalsid` int NOT NULL,
`name` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`description` text,
`approvals_status` varchar(255) DEFAULT '',
PRIMARY KEY (`approvalsid`),
CONSTRAINT `fk_1_u_yf_approvalsapprovalsid` FOREIGN KEY (`approvalsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_approvals`
--
LOCK TABLES `u_yf_approvals` WRITE;
/*!40000 ALTER TABLE `u_yf_approvals` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_approvals` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_approvalsregister`
--
DROP TABLE IF EXISTS `u_yf_approvalsregister`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_approvalsregister` (
`approvalsregisterid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`approvalsid` int unsigned DEFAULT '0',
`contactid` int unsigned DEFAULT '0',
`approvals_register_status` varchar(255) DEFAULT '',
`approvals_register_type` varchar(255) DEFAULT '',
`registration_date` datetime DEFAULT NULL,
PRIMARY KEY (`approvalsregisterid`),
KEY `u_yf_approvalsregister_approvalsid_idx` (`approvalsid`),
KEY `u_yf_approvalsregister_contactid_idx` (`contactid`),
CONSTRAINT `fk_1_u_yf_approvalsregisterapprovalsregisterid` FOREIGN KEY (`approvalsregisterid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_approvalsregister`
--
LOCK TABLES `u_yf_approvalsregister` WRITE;
/*!40000 ALTER TABLE `u_yf_approvalsregister` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_approvalsregister` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_auditregister`
--
DROP TABLE IF EXISTS `u_yf_auditregister`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_auditregister` (
`auditregisterid` int NOT NULL,
`name` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`locationregisterid` int unsigned DEFAULT '0',
`datasetregisterid` int unsigned DEFAULT '0',
`auditregister_status` varchar(255) DEFAULT '',
`auditregister_type` varchar(255) DEFAULT '',
PRIMARY KEY (`auditregisterid`),
KEY `u_yf_auditregister_locationregisterid_idx` (`locationregisterid`),
KEY `u_yf_auditregister_datasetregisterid_idx` (`datasetregisterid`),
CONSTRAINT `fk_1_u_yf_auditregisterauditregisterid` FOREIGN KEY (`auditregisterid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_auditregister`
--
LOCK TABLES `u_yf_auditregister` WRITE;
/*!40000 ALTER TABLE `u_yf_auditregister` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_auditregister` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_auditregistercf`
--
DROP TABLE IF EXISTS `u_yf_auditregistercf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_auditregistercf` (
`auditregisterid` int NOT NULL,
PRIMARY KEY (`auditregisterid`),
CONSTRAINT `fk_1_u_yf_auditregistercfauditregisterid` FOREIGN KEY (`auditregisterid`) REFERENCES `u_yf_auditregister` (`auditregisterid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_auditregistercf`
--
LOCK TABLES `u_yf_auditregistercf` WRITE;
/*!40000 ALTER TABLE `u_yf_auditregistercf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_auditregistercf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_auto_assign_rr`
--
DROP TABLE IF EXISTS `u_yf_auto_assign_rr`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_auto_assign_rr` (
`id` int unsigned NOT NULL,
`user` int NOT NULL,
`datetime` varchar(30) NOT NULL,
KEY `s_yf_auto_assign_rr_id_date_idx` (`id`,`datetime`),
KEY `s_yf_auto_assign_rr_user_idx` (`user`),
CONSTRAINT `s_yf_auto_assign_rr_id_fk` FOREIGN KEY (`id`) REFERENCES `s_yf_auto_assign` (`id`) ON DELETE CASCADE,
CONSTRAINT `s_yf_auto_assign_rr_user_fk` FOREIGN KEY (`user`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_auto_assign_rr`
--
LOCK TABLES `u_yf_auto_assign_rr` WRITE;
/*!40000 ALTER TABLE `u_yf_auto_assign_rr` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_auto_assign_rr` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_bankaccounts`
--
DROP TABLE IF EXISTS `u_yf_bankaccounts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_bankaccounts` (
`bankaccountsid` int NOT NULL,
`name` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`currency_id` int DEFAULT NULL,
`swift` varchar(255) DEFAULT '',
`bank_name` varchar(255) DEFAULT '',
`bankaccount_status` varchar(255) DEFAULT '',
`account_number` varchar(255) DEFAULT '',
`multicompanyid` int unsigned DEFAULT '0',
`related_to` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`bankaccountsid`),
KEY `u_yf_bankaccounts_multicompanyid_idx` (`multicompanyid`),
KEY `u_yf_bankaccounts_related_to_idx` (`related_to`),
CONSTRAINT `fk_1_u_yf_bankaccountsbankaccountsid` FOREIGN KEY (`bankaccountsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_bankaccounts`
--
LOCK TABLES `u_yf_bankaccounts` WRITE;
/*!40000 ALTER TABLE `u_yf_bankaccounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_bankaccounts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_bankaccountscf`
--
DROP TABLE IF EXISTS `u_yf_bankaccountscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_bankaccountscf` (
`bankaccountsid` int NOT NULL,
PRIMARY KEY (`bankaccountsid`),
CONSTRAINT `fk_1_u_yf_bankaccountscfbankaccountsid` FOREIGN KEY (`bankaccountsid`) REFERENCES `u_yf_bankaccounts` (`bankaccountsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_bankaccountscf`
--
LOCK TABLES `u_yf_bankaccountscf` WRITE;
/*!40000 ALTER TABLE `u_yf_bankaccountscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_bankaccountscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_browsinghistory`
--
DROP TABLE IF EXISTS `u_yf_browsinghistory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_browsinghistory` (
`id` int NOT NULL AUTO_INCREMENT,
`userid` int NOT NULL,
`date` datetime DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`url` text,
PRIMARY KEY (`id`),
KEY `browsinghistory_user_idx` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_browsinghistory`
--
LOCK TABLES `u_yf_browsinghistory` WRITE;
/*!40000 ALTER TABLE `u_yf_browsinghistory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_browsinghistory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cfixedassets`
--
DROP TABLE IF EXISTS `u_yf_cfixedassets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cfixedassets` (
`cfixedassetsid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`fixed_assets_type` varchar(255) DEFAULT NULL,
`fixed_assets_status` varchar(255) DEFAULT NULL,
`producent_designation` varchar(255) DEFAULT NULL,
`additional_designation` varchar(255) DEFAULT NULL,
`internal_designation` varchar(255) DEFAULT NULL,
`date_production` date DEFAULT NULL,
`date_acquisition` date DEFAULT NULL,
`purchase_price` decimal(28,8) unsigned DEFAULT NULL,
`actual_price` decimal(28,8) unsigned DEFAULT NULL,
`reservation` smallint DEFAULT NULL,
`pscategory` varchar(255) DEFAULT NULL,
`fixed_assets_fuel_type` varchar(255) DEFAULT NULL,
`timing_change` int unsigned DEFAULT '0',
`oil_change` int unsigned DEFAULT NULL,
`fuel_consumption` int unsigned DEFAULT NULL,
`current_odometer_reading` int unsigned DEFAULT NULL,
`number_repair` smallint unsigned DEFAULT NULL,
`date_last_repair` date DEFAULT NULL,
PRIMARY KEY (`cfixedassetsid`),
CONSTRAINT `fk_1_vtiger_cfixedassetscfixedassetsid` FOREIGN KEY (`cfixedassetsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cfixedassets`
--
LOCK TABLES `u_yf_cfixedassets` WRITE;
/*!40000 ALTER TABLE `u_yf_cfixedassets` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cfixedassets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cfixedassetscf`
--
DROP TABLE IF EXISTS `u_yf_cfixedassetscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cfixedassetscf` (
`cfixedassetsid` int NOT NULL,
PRIMARY KEY (`cfixedassetsid`),
CONSTRAINT `fk_1_vtiger_cfixedassetscfcfixedassetsid` FOREIGN KEY (`cfixedassetsid`) REFERENCES `u_yf_cfixedassets` (`cfixedassetsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cfixedassetscf`
--
LOCK TABLES `u_yf_cfixedassetscf` WRITE;
/*!40000 ALTER TABLE `u_yf_cfixedassetscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cfixedassetscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_global`
--
DROP TABLE IF EXISTS `u_yf_chat_global`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_global` (
`global_room_id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`global_room_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_global`
--
LOCK TABLES `u_yf_chat_global` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_global` DISABLE KEYS */;
INSERT INTO `u_yf_chat_global` VALUES (1,'LBL_GENERAL');
/*!40000 ALTER TABLE `u_yf_chat_global` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_messages_crm`
--
DROP TABLE IF EXISTS `u_yf_chat_messages_crm`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_messages_crm` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`userid` smallint unsigned NOT NULL,
`created` datetime DEFAULT NULL,
`messages` text NOT NULL,
PRIMARY KEY (`id`),
KEY `room_crmid` (`crmid`),
CONSTRAINT `fk_chat_messages` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_messages_crm`
--
LOCK TABLES `u_yf_chat_messages_crm` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_messages_crm` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_messages_crm` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_messages_global`
--
DROP TABLE IF EXISTS `u_yf_chat_messages_global`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_messages_global` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`globalid` int unsigned NOT NULL,
`userid` smallint unsigned NOT NULL,
`created` datetime DEFAULT NULL,
`messages` text NOT NULL,
PRIMARY KEY (`id`),
KEY `globalid` (`globalid`),
CONSTRAINT `u_yf_chat_messages_global_ibfk_1` FOREIGN KEY (`globalid`) REFERENCES `u_yf_chat_global` (`global_room_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_messages_global`
--
LOCK TABLES `u_yf_chat_messages_global` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_messages_global` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_messages_global` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_messages_group`
--
DROP TABLE IF EXISTS `u_yf_chat_messages_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_messages_group` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`groupid` int DEFAULT NULL,
`userid` smallint unsigned NOT NULL,
`created` datetime DEFAULT NULL,
`messages` text NOT NULL,
PRIMARY KEY (`id`),
KEY `room_groupid` (`groupid`),
CONSTRAINT `fk_chat_group_messages` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_messages_group`
--
LOCK TABLES `u_yf_chat_messages_group` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_messages_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_messages_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_messages_private`
--
DROP TABLE IF EXISTS `u_yf_chat_messages_private`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_messages_private` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`privateid` int unsigned NOT NULL,
`userid` smallint unsigned NOT NULL,
`created` datetime DEFAULT NULL,
`messages` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_messages_private`
--
LOCK TABLES `u_yf_chat_messages_private` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_messages_private` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_messages_private` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_messages_user`
--
DROP TABLE IF EXISTS `u_yf_chat_messages_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_messages_user` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`roomid` int DEFAULT NULL,
`userid` smallint unsigned NOT NULL,
`created` datetime DEFAULT NULL,
`messages` text NOT NULL,
PRIMARY KEY (`id`),
KEY `roomid` (`roomid`),
KEY `userid` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_messages_user`
--
LOCK TABLES `u_yf_chat_messages_user` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_messages_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_messages_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_private`
--
DROP TABLE IF EXISTS `u_yf_chat_private`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_private` (
`private_room_id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`creatorid` int NOT NULL,
`created` datetime DEFAULT NULL,
`archived` tinyint(1) DEFAULT '0',
PRIMARY KEY (`private_room_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_private`
--
LOCK TABLES `u_yf_chat_private` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_private` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_private` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_rooms`
--
DROP TABLE IF EXISTS `u_yf_chat_rooms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_rooms` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`type` varchar(50) DEFAULT NULL,
`sequence` tinyint DEFAULT NULL,
`active` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_rooms`
--
LOCK TABLES `u_yf_chat_rooms` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_rooms` DISABLE KEYS */;
INSERT INTO `u_yf_chat_rooms` VALUES (1,'crm',NULL,1),(2,'global',NULL,1),(3,'group',NULL,1),(4,'private',NULL,1),(5,'user',NULL,1);
/*!40000 ALTER TABLE `u_yf_chat_rooms` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_rooms_crm`
--
DROP TABLE IF EXISTS `u_yf_chat_rooms_crm`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_rooms_crm` (
`roomid` int unsigned NOT NULL AUTO_INCREMENT,
`userid` int NOT NULL,
`crmid` int DEFAULT NULL,
`last_message` int unsigned DEFAULT NULL,
PRIMARY KEY (`roomid`),
KEY `u_yf_chat_rooms_crm_userid_idx` (`userid`),
KEY `u_yf_chat_rooms_crm_crmid_idx` (`crmid`),
KEY `u_yf_chat_rooms_crm_last_message_idx` (`last_message`),
CONSTRAINT `fk_u_yf_chat_rooms_crm_crm` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `fk_u_yf_chat_rooms_crm_users` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_rooms_crm`
--
LOCK TABLES `u_yf_chat_rooms_crm` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_rooms_crm` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_rooms_crm` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_rooms_global`
--
DROP TABLE IF EXISTS `u_yf_chat_rooms_global`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_rooms_global` (
`roomid` int unsigned NOT NULL AUTO_INCREMENT,
`userid` int NOT NULL,
`global_room_id` int unsigned NOT NULL,
`last_message` int unsigned DEFAULT NULL,
PRIMARY KEY (`roomid`),
KEY `global_room_id` (`global_room_id`),
KEY `userid` (`userid`),
KEY `last_message` (`last_message`),
CONSTRAINT `fk_u_yf_chat_rooms_global_global` FOREIGN KEY (`global_room_id`) REFERENCES `u_yf_chat_global` (`global_room_id`) ON DELETE CASCADE,
CONSTRAINT `fk_u_yf_chat_rooms_global_users` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_rooms_global`
--
LOCK TABLES `u_yf_chat_rooms_global` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_rooms_global` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_rooms_global` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_rooms_group`
--
DROP TABLE IF EXISTS `u_yf_chat_rooms_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_rooms_group` (
`roomid` int unsigned NOT NULL AUTO_INCREMENT,
`userid` int NOT NULL,
`groupid` int NOT NULL,
`last_message` int unsigned DEFAULT NULL,
PRIMARY KEY (`roomid`),
KEY `userid` (`userid`),
KEY `u_yf_chat_rooms_group_groupid_idx` (`groupid`),
CONSTRAINT `fk_u_yf_chat_rooms_group` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE,
CONSTRAINT `fk_u_yf_chat_rooms_group_users` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_rooms_group`
--
LOCK TABLES `u_yf_chat_rooms_group` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_rooms_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_rooms_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_rooms_private`
--
DROP TABLE IF EXISTS `u_yf_chat_rooms_private`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_rooms_private` (
`roomid` int unsigned NOT NULL AUTO_INCREMENT,
`userid` int NOT NULL,
`private_room_id` int unsigned NOT NULL,
`last_message` int unsigned DEFAULT NULL,
PRIMARY KEY (`roomid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_rooms_private`
--
LOCK TABLES `u_yf_chat_rooms_private` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_rooms_private` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_rooms_private` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_rooms_user`
--
DROP TABLE IF EXISTS `u_yf_chat_rooms_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_rooms_user` (
`roomid` int unsigned NOT NULL,
`userid` int NOT NULL,
`last_message` int unsigned DEFAULT '0',
KEY `userid` (`userid`),
KEY `roomid` (`roomid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_rooms_user`
--
LOCK TABLES `u_yf_chat_rooms_user` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_rooms_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_rooms_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_chat_user`
--
DROP TABLE IF EXISTS `u_yf_chat_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_chat_user` (
`roomid` int unsigned NOT NULL AUTO_INCREMENT,
`userid` int NOT NULL,
`reluserid` int NOT NULL,
PRIMARY KEY (`roomid`),
KEY `reluserid` (`reluserid`),
KEY `userid` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_chat_user`
--
LOCK TABLES `u_yf_chat_user` WRITE;
/*!40000 ALTER TABLE `u_yf_chat_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_chat_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cinternaltickets`
--
DROP TABLE IF EXISTS `u_yf_cinternaltickets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cinternaltickets` (
`cinternalticketsid` int NOT NULL,
`subject` varchar(100) DEFAULT NULL,
`cinternaltickets_no` varchar(32) DEFAULT NULL,
`internal_tickets_status` varchar(150) DEFAULT NULL,
`resolution` text,
PRIMARY KEY (`cinternalticketsid`),
CONSTRAINT `fk_1_vtiger_cinternalticketscinternalticketsid` FOREIGN KEY (`cinternalticketsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cinternaltickets`
--
LOCK TABLES `u_yf_cinternaltickets` WRITE;
/*!40000 ALTER TABLE `u_yf_cinternaltickets` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cinternaltickets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cinternalticketscf`
--
DROP TABLE IF EXISTS `u_yf_cinternalticketscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cinternalticketscf` (
`cinternalticketsid` int NOT NULL,
PRIMARY KEY (`cinternalticketsid`),
CONSTRAINT `fk_1_vtiger_cinternalticketscfcinternalticketsid` FOREIGN KEY (`cinternalticketsid`) REFERENCES `u_yf_cinternaltickets` (`cinternalticketsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cinternalticketscf`
--
LOCK TABLES `u_yf_cinternalticketscf` WRITE;
/*!40000 ALTER TABLE `u_yf_cinternalticketscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cinternalticketscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cmileagelogbook`
--
DROP TABLE IF EXISTS `u_yf_cmileagelogbook`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cmileagelogbook` (
`cmileagelogbookid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`cmileage_logbook_status` varchar(150) DEFAULT NULL,
`number_kilometers` decimal(13,2) unsigned DEFAULT NULL,
PRIMARY KEY (`cmileagelogbookid`),
CONSTRAINT `fk_1_vtiger_cmileagelogbookcmileagelogbookid` FOREIGN KEY (`cmileagelogbookid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cmileagelogbook`
--
LOCK TABLES `u_yf_cmileagelogbook` WRITE;
/*!40000 ALTER TABLE `u_yf_cmileagelogbook` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cmileagelogbook` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cmileagelogbookcf`
--
DROP TABLE IF EXISTS `u_yf_cmileagelogbookcf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cmileagelogbookcf` (
`cmileagelogbookid` int NOT NULL,
PRIMARY KEY (`cmileagelogbookid`),
CONSTRAINT `fk_1_vtiger_cmileagelogbookcfcmileagelogbookid` FOREIGN KEY (`cmileagelogbookid`) REFERENCES `u_yf_cmileagelogbook` (`cmileagelogbookid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cmileagelogbookcf`
--
LOCK TABLES `u_yf_cmileagelogbookcf` WRITE;
/*!40000 ALTER TABLE `u_yf_cmileagelogbookcf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cmileagelogbookcf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_competition`
--
DROP TABLE IF EXISTS `u_yf_competition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_competition` (
`competitionid` int NOT NULL DEFAULT '0',
`competition_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`vat_id` varchar(50) DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`email` varchar(100) DEFAULT '',
`active` tinyint(1) DEFAULT '0',
`parent_id` int unsigned DEFAULT '0',
PRIMARY KEY (`competitionid`),
KEY `u_yf_competition_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_competition` FOREIGN KEY (`competitionid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_competition`
--
LOCK TABLES `u_yf_competition` WRITE;
/*!40000 ALTER TABLE `u_yf_competition` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_competition` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_competition_address`
--
DROP TABLE IF EXISTS `u_yf_competition_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_competition_address` (
`competitionaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
PRIMARY KEY (`competitionaddressid`),
CONSTRAINT `u_yf_competition_address_ibfk_1` FOREIGN KEY (`competitionaddressid`) REFERENCES `u_yf_competition` (`competitionid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_competition_address`
--
LOCK TABLES `u_yf_competition_address` WRITE;
/*!40000 ALTER TABLE `u_yf_competition_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_competition_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_competitioncf`
--
DROP TABLE IF EXISTS `u_yf_competitioncf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_competitioncf` (
`competitionid` int NOT NULL,
PRIMARY KEY (`competitionid`),
CONSTRAINT `fk_1_u_yf_competitioncf` FOREIGN KEY (`competitionid`) REFERENCES `u_yf_competition` (`competitionid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_competitioncf`
--
LOCK TABLES `u_yf_competitioncf` WRITE;
/*!40000 ALTER TABLE `u_yf_competitioncf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_competitioncf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_countries`
--
DROP TABLE IF EXISTS `u_yf_countries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_countries` (
`id` smallint unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`code` char(2) NOT NULL,
`status` tinyint unsigned DEFAULT '0',
`sortorderid` smallint unsigned NOT NULL,
`phone` tinyint unsigned NOT NULL DEFAULT '0',
`uitype` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `code` (`code`),
KEY `phone` (`status`,`phone`),
KEY `uitype` (`status`,`uitype`)
) ENGINE=InnoDB AUTO_INCREMENT=252 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_countries`
--
LOCK TABLES `u_yf_countries` WRITE;
/*!40000 ALTER TABLE `u_yf_countries` DISABLE KEYS */;
INSERT INTO `u_yf_countries` VALUES (1,'Afghanistan','AF',0,1,0,0),(2,'Albania','AL',0,2,0,0),(3,'Algeria','DZ',0,3,0,0),(4,'American Samoa','AS',0,4,0,0),(5,'Andorra','AD',0,5,0,0),(6,'Angola','AO',0,6,0,0),(7,'Anguilla','AI',0,7,0,0),(8,'Antarctica','AQ',0,8,0,0),(9,'Antigua And Barbuda','AG',0,9,0,0),(10,'Argentina','AR',0,10,0,0),(11,'Armenia','AM',0,11,0,0),(12,'Aruba','AW',0,12,0,0),(13,'Australia','AU',0,13,0,0),(14,'Austria','AT',0,14,0,0),(15,'Azerbaijan','AZ',0,15,0,0),(16,'Bahamas','BS',0,16,0,0),(17,'Bahrain','BH',0,17,0,0),(18,'Bangladesh','BD',0,18,0,0),(19,'Barbados','BB',0,19,0,0),(20,'Belarus','BY',0,20,0,0),(21,'Belgium','BE',0,21,0,0),(22,'Belize','BZ',0,22,0,0),(23,'Benin','BJ',0,23,0,0),(24,'Bermuda','BM',0,24,0,0),(25,'Bhutan','BT',0,25,0,0),(26,'Bolivia','BO',0,26,0,0),(27,'Bosnia And Herzegovina','BA',0,28,0,0),(28,'Botswana','BW',0,29,0,0),(29,'Bouvet Island','BV',0,30,0,0),(30,'Brazil','BR',0,31,0,0),(31,'British Indian Ocean Territory','IO',0,32,0,0),(32,'Brunei Darussalam','BN',0,33,0,0),(33,'Bulgaria','BG',0,34,0,0),(34,'Burkina Faso','BF',0,35,0,0),(35,'Burundi','BI',0,36,0,0),(36,'Cambodia','KH',0,37,0,0),(37,'Cameroon','CM',0,38,0,0),(38,'Canada','CA',0,39,0,0),(39,'Cape Verde','CV',0,40,0,0),(40,'Cayman Islands','KY',0,41,0,0),(41,'Central African Republic','CF',0,42,0,0),(42,'Chad','TD',0,43,0,0),(43,'Chile','CL',0,44,0,0),(44,'China','CN',0,45,0,0),(45,'Christmas Island','CX',0,46,0,0),(46,'Cocos (keeling) Islands','CC',0,47,0,0),(47,'Colombia','CO',0,48,0,0),(48,'Comoros','KM',0,49,0,0),(49,'Congo','CG',0,50,0,0),(50,'Congo, The Democratic Republic Of The','CD',0,51,0,0),(51,'Cook Islands','CK',0,52,0,0),(52,'Costa Rica','CR',0,53,0,0),(53,'Cote D\'ivoire','CI',0,54,0,0),(54,'Croatia','HR',0,55,0,0),(55,'Cuba','CU',0,56,0,0),(56,'Cyprus','CY',0,58,0,0),(57,'Czech Republic','CZ',0,59,0,0),(58,'Denmark','DK',0,60,0,0),(59,'Djibouti','DJ',0,61,0,0),(60,'Dominica','DM',0,62,0,0),(61,'Dominican Republic','DO',0,63,0,0),(62,'East Timor','TP',0,64,0,0),(63,'Ecuador','EC',0,65,0,0),(64,'Egypt','EG',0,66,0,0),(65,'El Salvador','SV',0,67,0,0),(66,'Equatorial Guinea','GQ',0,68,0,0),(67,'Eritrea','ER',0,69,0,0),(68,'Estonia','EE',0,70,0,0),(69,'Ethiopia','ET',0,71,0,0),(70,'Falkland Islands (malvinas)','FK',0,72,0,0),(71,'Faroe Islands','FO',0,73,0,0),(72,'Fiji','FJ',0,74,0,0),(73,'Finland','FI',0,75,0,0),(74,'France','FR',0,76,0,0),(75,'French Guiana','GF',0,77,0,0),(76,'French Polynesia','PF',0,78,0,0),(77,'French Southern Territories','TF',0,79,0,0),(78,'Gabon','GA',0,80,0,0),(79,'Gambia','GM',0,81,0,0),(80,'Georgia','GE',0,82,0,0),(81,'Germany','DE',0,83,0,0),(82,'Ghana','GH',0,84,0,0),(83,'Gibraltar','GI',0,85,0,0),(84,'Greece','GR',0,86,0,0),(85,'Greenland','GL',0,87,0,0),(86,'Grenada','GD',0,88,0,0),(87,'Guadeloupe','GP',0,89,0,0),(88,'Guam','GU',0,90,0,0),(89,'Guatemala','GT',0,91,0,0),(90,'Guinea','GN',0,93,0,0),(91,'Guinea-bissau','GW',0,94,0,0),(92,'Guyana','GY',0,95,0,0),(93,'Haiti','HT',0,96,0,0),(94,'Heard Island And Mcdonald Islands','HM',0,97,0,0),(95,'Holy See (vatican City State)','VA',0,98,0,0),(96,'Honduras','HN',0,99,0,0),(97,'Hong Kong','HK',0,100,0,0),(98,'Hungary','HU',0,101,0,0),(99,'Iceland','IS',0,102,0,0),(100,'India','IN',0,103,0,0),(101,'Indonesia','ID',0,104,0,0),(102,'Iran, Islamic Republic Of','IR',0,105,0,0),(103,'Iraq','IQ',0,106,0,0),(104,'Ireland','IE',0,107,0,0),(105,'Israel','IL',0,109,0,0),(106,'Italy','IT',0,110,0,0),(107,'Jamaica','JM',0,111,0,0),(108,'Japan','JP',0,112,0,0),(109,'Jordan','JO',0,114,0,0),(110,'Kazakstan','KZ',0,115,0,0),(111,'Kenya','KE',0,116,0,0),(112,'Kiribati','KI',0,117,0,0),(113,'Korea, Democratic People\'s Republic Of','KP',0,118,0,0),(114,'Korea, Republic Of','KR',0,119,0,0),(115,'Kosovo','KV',0,120,0,0),(116,'Kuwait','KW',0,121,0,0),(117,'Kyrgyzstan','KG',0,122,0,0),(118,'Lao People\'s Democratic Republic','LA',0,123,0,0),(119,'Latvia','LV',0,124,0,0),(120,'Lebanon','LB',0,125,0,0),(121,'Lesotho','LS',0,126,0,0),(122,'Liberia','LR',0,127,0,0),(123,'Libyan Arab Jamahiriya','LY',0,128,0,0),(124,'Liechtenstein','LI',0,129,0,0),(125,'Lithuania','LT',0,130,0,0),(126,'Luxembourg','LU',0,131,0,0),(127,'Macau','MO',0,132,0,0),(128,'Macedonia, The Former Yugoslav Republic Of','MK',0,133,0,0),(129,'Madagascar','MG',0,134,0,0),(130,'Malawi','MW',0,135,0,0),(131,'Malaysia','MY',0,136,0,0),(132,'Maldives','MV',0,137,0,0),(133,'Mali','ML',0,138,0,0),(134,'Malta','MT',0,139,0,0),(135,'Marshall Islands','MH',0,140,0,0),(136,'Martinique','MQ',0,141,0,0),(137,'Mauritania','MR',0,142,0,0),(138,'Mauritius','MU',0,143,0,0),(139,'Mayotte','YT',0,144,0,0),(140,'Mexico','MX',0,145,0,0),(141,'Micronesia, Federated States Of','FM',0,146,0,0),(142,'Moldova, Republic Of','MD',0,147,0,0),(143,'Monaco','MC',0,148,0,0),(144,'Mongolia','MN',0,149,0,0),(145,'Montserrat','MS',0,151,0,0),(146,'Montenegro','ME',0,150,0,0),(147,'Morocco','MA',0,152,0,0),(148,'Mozambique','MZ',0,153,0,0),(149,'Myanmar','MM',0,154,0,0),(150,'Namibia','NA',0,155,0,0),(151,'Nauru','NR',0,156,0,0),(152,'Nepal','NP',0,157,0,0),(153,'Netherlands','NL',0,158,0,0),(154,'Netherlands Antilles','AN',0,159,0,0),(155,'New Caledonia','NC',0,160,0,0),(156,'New Zealand','NZ',0,161,0,0),(157,'Nicaragua','NI',0,162,0,0),(158,'Niger','NE',0,163,0,0),(159,'Nigeria','NG',0,164,0,0),(160,'Niue','NU',0,165,0,0),(161,'Norfolk Island','NF',0,166,0,0),(162,'Northern Mariana Islands','MP',0,167,0,0),(163,'Norway','NO',0,168,0,0),(164,'Oman','OM',0,169,0,0),(165,'Pakistan','PK',0,170,0,0),(166,'Palau','PW',0,171,0,0),(167,'Palestinian Territory, Occupied','PS',0,172,0,0),(168,'Panama','PA',0,173,0,0),(169,'Papua New Guinea','PG',0,174,0,0),(170,'Paraguay','PY',0,175,0,0),(171,'Peru','PE',0,176,0,0),(172,'Philippines','PH',0,177,0,0),(173,'Pitcairn','PN',0,178,0,0),(174,'Poland','PL',0,179,0,0),(175,'Portugal','PT',0,180,0,0),(176,'Puerto Rico','PR',0,181,0,0),(177,'Qatar','QA',0,182,0,0),(178,'Reunion','RE',0,183,0,0),(179,'Romania','RO',0,184,0,0),(180,'Russian Federation','RU',0,185,0,0),(181,'Rwanda','RW',0,186,0,0),(182,'Saint Helena','SH',0,188,0,0),(183,'Saint Kitts And Nevis','KN',0,189,0,0),(184,'Saint Lucia','LC',0,190,0,0),(185,'Saint Pierre And Miquelon','PM',0,192,0,0),(186,'Saint Vincent And The Grenadines','VC',0,193,0,0),(187,'Samoa','WS',0,194,0,0),(188,'San Marino','SM',0,195,0,0),(189,'Sao Tome And Principe','ST',0,196,0,0),(190,'Saudi Arabia','SA',0,197,0,0),(191,'Senegal','SN',0,198,0,0),(192,'Serbia','RS',0,199,0,0),(193,'Seychelles','SC',0,200,0,0),(194,'Sierra Leone','SL',0,201,0,0),(195,'Singapore','SG',0,202,0,0),(196,'Slovakia','SK',0,204,0,0),(197,'Slovenia','SI',0,205,0,0),(198,'Solomon Islands','SB',0,206,0,0),(199,'Somalia','SO',0,207,0,0),(200,'South Africa','ZA',0,208,0,0),(201,'South Georgia And The South Sandwich Islands','GS',0,209,0,0),(202,'Spain','ES',0,211,0,0),(203,'Sri Lanka','LK',0,212,0,0),(204,'Sudan','SD',0,213,0,0),(205,'Suriname','SR',0,214,0,0),(206,'Svalbard And Jan Mayen','SJ',0,215,0,0),(207,'Swaziland','SZ',0,216,0,0),(208,'Sweden','SE',0,217,0,0),(209,'Switzerland','CH',0,218,0,0),(210,'Syrian Arab Republic','SY',0,219,0,0),(211,'Taiwan, Province Of China','TW',0,220,0,0),(212,'Tajikistan','TJ',0,221,0,0),(213,'Tanzania, United Republic Of','TZ',0,222,0,0),(214,'Thailand','TH',0,223,0,0),(215,'Togo','TG',0,225,0,0),(216,'Tokelau','TK',0,226,0,0),(217,'Tonga','TO',0,227,0,0),(218,'Trinidad And Tobago','TT',0,228,0,0),(219,'Tunisia','TN',0,229,0,0),(220,'Turkey','TR',0,230,0,0),(221,'Turkmenistan','TM',0,231,0,0),(222,'Turks And Caicos Islands','TC',0,232,0,0),(223,'Tuvalu','TV',0,233,0,0),(224,'Uganda','UG',0,234,0,0),(225,'Ukraine','UA',0,235,0,0),(226,'United Arab Emirates','AE',0,236,0,0),(227,'United Kingdom','GB',0,237,0,0),(228,'United States','US',0,238,0,0),(229,'United States Minor Outlying Islands','UM',0,239,0,0),(230,'Uruguay','UY',0,240,0,0),(231,'Uzbekistan','UZ',0,241,0,0),(232,'Vanuatu','VU',0,242,0,0),(233,'Venezuela','VE',0,243,0,0),(234,'Viet Nam','VN',0,244,0,0),(235,'Virgin Islands, British','VG',0,245,0,0),(236,'Virgin Islands, U.s.','VI',0,246,0,0),(237,'Wallis And Futuna','WF',0,247,0,0),(238,'Western Sahara','EH',0,248,0,0),(239,'Yemen','YE',0,249,0,0),(240,'Zambia','ZM',0,250,0,0),(241,'Zimbabwe','ZW',0,251,0,0),(242,'South Sudan','SS',0,210,0,0),(243,'Bonaire, Sint Eustatius and Saba','BQ',0,27,0,0),(244,'Curaçao','CW',0,57,0,0),(245,'Guernesey','GG',0,92,0,0),(246,'Isle of Man','IM',0,108,0,0),(247,'Jersey','JE',0,113,0,0),(248,'Saint Barthélemy','BL',0,187,0,0),(249,'Saint Martin (French part)','MF',0,191,0,0),(250,'Sint Maarten (Dutch part)','SX',0,203,0,0),(251,'Timor-Leste','TL',0,224,0,0);
/*!40000 ALTER TABLE `u_yf_countries` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_crmentity_label`
--
DROP TABLE IF EXISTS `u_yf_crmentity_label`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_crmentity_label` (
`crmid` int NOT NULL,
`label` varchar(255) DEFAULT NULL,
PRIMARY KEY (`crmid`),
KEY `crmentity_label` (`label`),
FULLTEXT KEY `crmentity_label_fulltext` (`label`),
CONSTRAINT `fk_u_yf_crmentity_label` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_crmentity_label`
--
LOCK TABLES `u_yf_crmentity_label` WRITE;
/*!40000 ALTER TABLE `u_yf_crmentity_label` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_crmentity_label` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_crmentity_rel_tree`
--
DROP TABLE IF EXISTS `u_yf_crmentity_rel_tree`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_crmentity_rel_tree` (
`crmid` int NOT NULL,
`module` int NOT NULL,
`tree` varchar(50) NOT NULL,
`relmodule` int NOT NULL,
`rel_created_user` int NOT NULL,
`rel_created_time` datetime NOT NULL,
`rel_comment` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_crmentity_rel_tree`
--
LOCK TABLES `u_yf_crmentity_rel_tree` WRITE;
/*!40000 ALTER TABLE `u_yf_crmentity_rel_tree` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_crmentity_rel_tree` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_crmentity_search_label`
--
DROP TABLE IF EXISTS `u_yf_crmentity_search_label`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_crmentity_search_label` (
`crmid` int NOT NULL,
`searchlabel` varchar(255) NOT NULL,
`tabid` smallint NOT NULL,
`userid` text,
PRIMARY KEY (`crmid`),
KEY `crmentity_tabid_searchlabel` (`tabid`,`searchlabel`),
FULLTEXT KEY `crmentity_searchlabel_fulltext` (`searchlabel`),
CONSTRAINT `fk_u_yf_crmentity_search_label` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_crmentity_search_label`
--
LOCK TABLES `u_yf_crmentity_search_label` WRITE;
/*!40000 ALTER TABLE `u_yf_crmentity_search_label` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_crmentity_search_label` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_crmentity_showners`
--
DROP TABLE IF EXISTS `u_yf_crmentity_showners`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_crmentity_showners` (
`crmid` int DEFAULT NULL,
`userid` smallint unsigned NOT NULL,
UNIQUE KEY `mix` (`crmid`,`userid`),
KEY `crmid` (`crmid`),
KEY `userid` (`userid`),
CONSTRAINT `fk_u_yf_crmentity_showners` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_crmentity_showners`
--
LOCK TABLES `u_yf_crmentity_showners` WRITE;
/*!40000 ALTER TABLE `u_yf_crmentity_showners` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_crmentity_showners` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cv_condition`
--
DROP TABLE IF EXISTS `u_yf_cv_condition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cv_condition` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`group_id` int unsigned DEFAULT NULL,
`field_name` varchar(50) DEFAULT NULL,
`module_name` varchar(25) DEFAULT NULL,
`source_field_name` varchar(50) DEFAULT NULL,
`operator` varchar(20) DEFAULT NULL,
`value` text,
`index` tinyint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_cv_condition_fk` (`group_id`),
CONSTRAINT `u_yf_cv_condition_fk` FOREIGN KEY (`group_id`) REFERENCES `u_yf_cv_condition_group` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cv_condition`
--
LOCK TABLES `u_yf_cv_condition` WRITE;
/*!40000 ALTER TABLE `u_yf_cv_condition` DISABLE KEYS */;
INSERT INTO `u_yf_cv_condition` VALUES (1,1,'notification_status','Notification','','e','PLL_UNREAD',0),(2,2,'internal_tickets_status','CInternalTickets','','n','PLL_CANCELLED##PLL_ACCEPTED',0);
/*!40000 ALTER TABLE `u_yf_cv_condition` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cv_condition_group`
--
DROP TABLE IF EXISTS `u_yf_cv_condition_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cv_condition_group` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`cvid` int DEFAULT NULL,
`condition` varchar(3) DEFAULT NULL,
`parent_id` int DEFAULT NULL,
`index` tinyint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_cv_condition_group_cvid_idx` (`cvid`),
CONSTRAINT `u_yf_cv_condition_group_fk` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cv_condition_group`
--
LOCK TABLES `u_yf_cv_condition_group` WRITE;
/*!40000 ALTER TABLE `u_yf_cv_condition_group` DISABLE KEYS */;
INSERT INTO `u_yf_cv_condition_group` VALUES (1,104,'AND',0,0),(2,117,'AND',0,0);
/*!40000 ALTER TABLE `u_yf_cv_condition_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cv_duplicates`
--
DROP TABLE IF EXISTS `u_yf_cv_duplicates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cv_duplicates` (
`cvid` int DEFAULT NULL,
`fieldid` int DEFAULT NULL,
`ignore` tinyint(1) NOT NULL DEFAULT '0',
KEY `u_yf_cv_duplicates_cvid_idx` (`cvid`),
KEY `u_yf_cv_duplicates_fieldid_idx` (`fieldid`),
CONSTRAINT `u_yf_cv_duplicates_cvid_fk` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_cv_duplicates_fieldid_fk` FOREIGN KEY (`fieldid`) REFERENCES `vtiger_field` (`fieldid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cv_duplicates`
--
LOCK TABLES `u_yf_cv_duplicates` WRITE;
/*!40000 ALTER TABLE `u_yf_cv_duplicates` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cv_duplicates` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_cv_privileges`
--
DROP TABLE IF EXISTS `u_yf_cv_privileges`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_cv_privileges` (
`member` varchar(30) NOT NULL,
`cvid` int NOT NULL,
PRIMARY KEY (`cvid`,`member`),
CONSTRAINT `u_yf_cv_privileges_cvid_fk` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_cv_privileges`
--
LOCK TABLES `u_yf_cv_privileges` WRITE;
/*!40000 ALTER TABLE `u_yf_cv_privileges` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_cv_privileges` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_dashboard_type`
--
DROP TABLE IF EXISTS `u_yf_dashboard_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_dashboard_type` (
`dashboard_id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`system` smallint DEFAULT '0',
PRIMARY KEY (`dashboard_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_dashboard_type`
--
LOCK TABLES `u_yf_dashboard_type` WRITE;
/*!40000 ALTER TABLE `u_yf_dashboard_type` DISABLE KEYS */;
INSERT INTO `u_yf_dashboard_type` VALUES (1,'LBL_MAIN_PAGE',1);
/*!40000 ALTER TABLE `u_yf_dashboard_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_datasetregister`
--
DROP TABLE IF EXISTS `u_yf_datasetregister`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_datasetregister` (
`datasetregisterid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`datasetregister_status` varchar(255) DEFAULT '',
`legal_basis` text,
`scope_data` text,
`registered_dpo` tinyint(1) DEFAULT '0',
`data_submitted` tinyint(1) DEFAULT '0',
`internal_register` tinyint(1) DEFAULT '0',
`data_set_shared` tinyint(1) DEFAULT '0',
`added_to_register` date DEFAULT NULL,
`removed_from_register` date DEFAULT NULL,
`parent_id` int NOT NULL,
PRIMARY KEY (`datasetregisterid`),
KEY `u_yf_datasetregister_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_datasetregisterdatasetregisterid` FOREIGN KEY (`datasetregisterid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_datasetregister`
--
LOCK TABLES `u_yf_datasetregister` WRITE;
/*!40000 ALTER TABLE `u_yf_datasetregister` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_datasetregister` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_datasetregistercf`
--
DROP TABLE IF EXISTS `u_yf_datasetregistercf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_datasetregistercf` (
`datasetregisterid` int NOT NULL,
PRIMARY KEY (`datasetregisterid`),
CONSTRAINT `fk_1_u_yf_datasetregistercfdatasetregisterid` FOREIGN KEY (`datasetregisterid`) REFERENCES `u_yf_datasetregister` (`datasetregisterid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_datasetregistercf`
--
LOCK TABLES `u_yf_datasetregistercf` WRITE;
/*!40000 ALTER TABLE `u_yf_datasetregistercf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_datasetregistercf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_documents_emailtemplates`
--
DROP TABLE IF EXISTS `u_yf_documents_emailtemplates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_documents_emailtemplates` (
`crmid` int DEFAULT NULL,
`relcrmid` int DEFAULT NULL,
KEY `u_yf_documents_emailtemplates_crmid_idx` (`crmid`),
KEY `u_yf_documents_emailtemplates_relcrmid_idx` (`relcrmid`),
CONSTRAINT `fk_1_u_yf_documents_emailtemplates` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `fk_2_u_yf_documents_emailtemplates` FOREIGN KEY (`relcrmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_documents_emailtemplates`
--
LOCK TABLES `u_yf_documents_emailtemplates` WRITE;
/*!40000 ALTER TABLE `u_yf_documents_emailtemplates` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_documents_emailtemplates` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_emailtemplates`
--
DROP TABLE IF EXISTS `u_yf_emailtemplates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_emailtemplates` (
`emailtemplatesid` int NOT NULL,
`name` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`email_template_type` varchar(50) DEFAULT NULL,
`module` varchar(50) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`content` mediumtext,
`sys_name` varchar(50) DEFAULT NULL,
`email_template_priority` varchar(1) DEFAULT '1',
`smtp_id` int unsigned DEFAULT NULL,
PRIMARY KEY (`emailtemplatesid`),
KEY `sys_name` (`sys_name`),
CONSTRAINT `fk_1_vtiger_emailtemplatesemailtemplatesid` FOREIGN KEY (`emailtemplatesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_emailtemplates`
--
LOCK TABLES `u_yf_emailtemplates` WRITE;
/*!40000 ALTER TABLE `u_yf_emailtemplates` DISABLE KEYS */;
INSERT INTO `u_yf_emailtemplates` VALUES (37,'Notify Contacts On Ticket Closed','N3','PLL_RECORD','HelpDesk','[$(record : ticket_no)$] $(record : ticket_title)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>[$(record : ticket_no)$]: $(record : ticket_title)$</h1>\r\n <p>$(translate : HelpDesk|LBL_MAIL_NOTICE_CLOSED)$</p>\r\n <table border=\"0\">\r\n <tbody>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : HelpDesk|Solution)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : solution)$\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','NotifyContactOnTicketClosed','1',NULL),(39,'Notify Contacts On Ticket Create','N5','PLL_RECORD','HelpDesk','[$(record : ticket_no)$] $(record : ticket_title)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>[$(record : ticket_no)$]: $(record : ticket_title)$</h1>\r\n <p>$(translate : HelpDesk|LBL_MAIL_NOTICE_CREATE)$</p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','NotifyContactOnTicketCreate','1',NULL),(41,'Notify Contacts On Ticket Change','N7','PLL_RECORD','HelpDesk','[$(record : ticket_no)$] $(record : ticket_title)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>[$(record : ticket_no)$]: $(record : ticket_title)$</h1>\r\n <p>$(translate : HelpDesk|LBL_MAIL_NOTICE_MODIFICATION)$</p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','NotifyContactOnTicketChange','1',NULL),(43,'Notify Owner On Ticket Create','N9','PLL_RECORD','HelpDesk','[$(record : ticket_no)$] $(record : ticket_title)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>[$(record : ticket_no)$]: $(record : ticket_title)$</h1>\r\n <p>$(translate : HelpDesk|LBL_MAIL_NOTICE_OWNER_CREATED)$</p>\r\n <table border=\"0\">\r\n <tbody>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : HelpDesk|Status)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-size:13px;color:#222;\">\r\n $(record : ticketstatus)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : HelpDesk|Priority)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-size:13px;color:#222;\">\r\n $(record : ticketpriorities)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : HelpDesk|Assigned To)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-size:13px;color:#222;\">\r\n $(record : assigned_user_id)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : HelpDesk|Related To)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-size:13px;color:#222;\">\r\n $(record : parent_id)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : HelpDesk|FL_SERVICE_CONTRACTS)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-size:13px;color:#222;\">\r\n $(record : servicecontractsid)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : HelpDesk|Description)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-size:13px;color:#222;\">\r\n $(record : description)$\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n',NULL,'1',NULL),(44,'Customer Portal Login Details','N10','PLL_RECORD','Contacts','Customer Portal Login Details','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(translate : HelpDesk|LBL_NOTICE_WELCOME)$ YetiForce S.A. </h1>\r\n <p>Dear $(record : first_name)$ $(record : last_name)$, <br />\r\n Created for your account in the customer portal, below sending data access<br />\r\n Login: $(record : email)$<br />\r\n Password: </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n',NULL,'1',NULL),(45,'Send invitations','N11','PLL_RECORD','Calendar','$(record : activitytype)$ $(record : subject)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(record : activitytype)$ $(record : subject)$</h1>\r\n <table border=\"0\">\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Events|Start Date & Time)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : date_start)$ $(record : time_start)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|End Time)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : due_date)$ $(record : time_end)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|FL_PROCESS)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : process)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|FL_RELATION)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : link)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Activity Type)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : activitytype)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Priority)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : taskpriority)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Location)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n <span><span>$(record : location)$</span><span> (<a href=\"https://maps.google.pl/maps?q=$(record%20:%20location)$\">mapa</a>)</span></span>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Status)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : activitystatus)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Description)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : description)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Assigned To)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : assigned_user_id)$\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n',NULL,'1',NULL),(46,'Send Notification Email to Record Owner','N12','PLL_RECORD','Calendar','Task : $(record : subject)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>Activity Notification Details</h1>\r\n <table border=\"0\">\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Subject)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : subject)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Start Date & Time)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : date_start)$ $(record : time_start)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|End Time)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : due_date) $(record : time_end)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Status)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : activitystatus)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Priority)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : taskpriority)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|FL_PROCESS)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : process)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|FL_RELATION)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : link)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Location)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : location)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Description)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : description)$\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n',NULL,'1',NULL),(93,'Activity Reminder Notification','N13','PLL_RECORD','Calendar','Reminder: $(record : subject)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>This is a reminder notification for the Activity</h1>\r\n <table border=\"0\">\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Subject)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : subject)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Start Date & Time)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : date_start)$ $(record : time_start)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|FL_RELATION)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : link)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|FL_PROCESS)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : process)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : Calendar|Description)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : description)$\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','ActivityReminderNotificationTask','1',NULL),(95,'Test mail about the mail server configuration.','N15','PLL_RECORD','Users','Test mail about the mail server configuration.','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>Test mail about the mail server configuration.</h1>\r\n <p>Dear $(record : first_name)$ $(record : last_name)$,<br />\r\n This is a test mail sent to confirm if a mail is actually being sent through the smtp server\r\n that you have configured. Feel free to delete this mail.<br />CRM address: $(general : SiteUrl)$</p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','TestMailAboutTheMailServerConfiguration','1',NULL),(103,'ResetPassword','N16','PLL_RECORD','Users','Password change','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <p>Dear user,<br />\r\n We received a request to change the password to your account.<br />\r\n In order to set a new password click the following link (valid until $(params : expirationDate)$):<br /><br />\r\n <a href=\"$(params : url)$\" target=\"_blank\">$(params : url)$</a><br />\r\n $(params : token)$\r\n <br /><br />\r\n If you didn\'t request the passwords change please report it to the administrator or use the password change option available on the login page.\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','UsersResetPassword','9',NULL),(104,'Notify the contact about the new account in the portal','N17','PLL_RECORD','Contacts','Welcome to the YetiForce Client Portal!','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>Welcome to the YetiForce Client Portal!</h1>\r\n <p>\r\n Dear $(params : login)$,<br />\r\n Your account has been created successfully. Below are your username and password:<br /><br />\r\n Portal address: $(params : acceptable_url)$<br />\r\n Your username: $(params : login)$<br />\r\n Your password: $(params : password)$<br /><br />\r\n\r\n Please log in to access all of the Portal features.<br /><br />\r\n If you have any questions or need any assistance, please send us an email to help@yetiforce.com.\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','YetiPortalRegister','1',NULL),(105,'Notify Owner On new comment added to ticket from portal','N18','PLL_RECORD','ModComments','$(translate : ModComments|LBL_ADDED_COMMENT_TO_TICKET)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(translate : ModComments|LBL_ADDED_COMMENT_TO_TICKET)$ - $(record : related_to)$</h1>\r\n <table border=\"0\">\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\" >\r\n <div><i>$(translate : ModComments|LBL_NEW_COMMENT_FOR_TICKET)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\" >\r\n $(translate : ModComments|LBL_NOTICE_CREATED)$ $(record : customer)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\" >\r\n <div><i>$(translate : ModComments|Comment)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\" >\r\n $(record : commentcontent)$\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','NewCommentAddedToTicketOwner','1',NULL),(106,'Notify Contact On New comment added to ticket','N19','PLL_RECORD','ModComments','$(translate : ModComments|LBL_ADDED_COMMENT_TO_TICKET)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(translate : ModComments|LBL_ADDED_COMMENT_TO_TICKET)$ - $(record : related_to)$</h1>\r\n <table border=\"0\">\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\" >\r\n <div><i>$(translate : ModComments|LBL_NEW_COMMENT_FOR_TICKET)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\" >\r\n $(translate : ModComments|LBL_NOTICE_CREATED)$ $(record : created_user_id)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\" >\r\n <div><i>$(translate : ModComments|Comment)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\" >\r\n $(record : commentcontent)$\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','NewCommentAddedToTicketContact','1',NULL),(107,'Security risk has been detected - Brute Force','N20','PLL_RECORD','Users','Security risk has been detected','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>Failed login attempts have been detected. - $(general : SiteUrl)$</h1>\r\n <p>\r\n $(custom : Bruteforce|Users)$\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','BruteForceSecurityRiskHasBeenDetected','1',NULL),(109,'Notify Account On New comment added to ticket','N21','PLL_RECORD','ModComments','$(translate : ModComments|LBL_ADDED_COMMENT_TO_TICKET)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(translate : ModComments|LBL_ADDED_COMMENT_TO_TICKET)$ - $(record : related_to)$</h1>\r\n <table border=\"0\">\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : ModComments|LBL_NEW_COMMENT_FOR_TICKET)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(translate : ModComments|LBL_NOTICE_CREATED)$ $(record : created_user_id)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td style=\"padding:0 1em 10px 0;font-family:Arial, \'Sans-serif\';font-size:13px;color:#888;white-space:nowrap;\">\r\n <div><i>$(translate : ModComments|Comment)$</i></div>\r\n </td>\r\n <td style=\"padding-bottom:10px;font-family:Arial, \'Sans-serif\';font-size:13px;color:#222;\">\r\n $(record : commentcontent)$\r\n </td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','NewCommentAddedToTicketAccount','1',NULL),(110,'Send notifications','N22','PLL_RECORD','Notification','Notifications $(general : CurrentDate)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(translate : Notification|Notification)$ $(general : CurrentDate)$</h1>\r\n <p>\r\n $(custom : Notifications|Notification)$\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','SendNotificationsViaMail','1',NULL),(112,'System warnings','N24','PLL_RECORD','Users','$(translate : Settings.Base|LBL_SYSTEM_WARNINGS)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(translate : Settings.Base|LBL_SYSTEM_WARNINGS)$</h1>\r\n <p>\r\n $(params : warnings)$\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','SystemWarnings','7',NULL),(113,'Import Cron','N25','PLL_MAIL','Accounts','$(translate : Other.Mailer|LBL_CRON_EMAIL_SUBJECT)$','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>$(translate : Other.Mailer|LBL_CRON_COMPLETED_IMPORT)$ $(params : module)$</h1>\r\n <table border=\"0\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div><i>$(translate : Import|LBL_TOTAL_RECORDS_IMPORTED)$ </i></div>\r\n </td>\r\n <td>\r\n $(params : imported)$/$(params : total)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div><i>$(translate : Import|LBL_NUMBER_OF_RECORDS_CREATED)$</i></div>\r\n </td>\r\n <td>\r\n $(params : created)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div><i>$(translate : Import|LBL_NUMBER_OF_RECORDS_UPDATED)$</i></div>\r\n </td>\r\n <td>\r\n $(params : updated)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div><i>$(translate : Import|LBL_NUMBER_OF_RECORDS_SKIPPED)$</i></div>\r\n </td>\r\n <td>\r\n $(params : skipped)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div><i>$(translate : Import|LBL_NUMBER_OF_RECORDS_MERGED)$</i></div>\r\n </td>\r\n <td>\r\n $(params : merged)$\r\n </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div><i>$(translate : Import|LBL_TOTAL_RECORDS_FAILED)$</i></div>\r\n </td>\r\n <td>\r\n $(params : failed)$/$(params : total)$\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','ImportCron','1',NULL),(114,'New user','N31','PLL_RECORD','Users','A new user has been created','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>A new user has been created</h1>\r\n <p>\r\n Dear user,<br />\r\nA new user has been created. Below you can find your password and access data to your\r\naccount.<br />\r\n<br />\r\n$(translate : Other.TextParser|LBL_SITE_URL)$: $(general : SiteUrl)$<br />\r\n$(translate : Users|User Name)$: $(record : user_name)$<br />\r\n$(translate : Users|Password)$: $(params : password)$\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','NewUser','9',NULL),(115,'Interests conflict - E-mail with the outcome of the request for access to the record','N27','PLL_RECORD','Users','Interests conflict - request for access to the record','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>Interests conflict - request for access to the record</h1>\r\n <p>\r\n User $(params : user)$ requests access to record $(params : record)$\r\n </p>\r\n <p>\r\n User\'s comment: <br> $(params : comment)$\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','InterestsConflictAccessRequest','1',NULL),(116,'Interests conflict - E-mail sent to the person requesting access.','N28','PLL_RECORD','Users','Interests conflict - response to the request for access to the record','<table align=\"center\" bgcolor=\"#ffffff\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table_full editable-bg-color bg_color_ffffff editable-bg-image\" style=\"max-width:1024px;min-width:320px;\">\r\n <tbody>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td bgcolor=\"#fcfcfc\" style=\"border:1px solid #f2f2f2;border-radius:5px;padding:10px;\">\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"no_float\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"editable-img\">$(organization : logo)$</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"25\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr style=\"text-align:left;\">\r\n <td bgcolor=\"#fcfcfc\" style=\"padding:30px 20px 30px 20px;border:1px solid #f2f2f2;border-radius:5px;\">\r\n <h1>Interests conflict - response to the request for access to the record</h1>\r\n <p>\r\n Hello $(record : RecordLabel)$,<br>\r\n your request for access to the record $(params : record)$ has been processed. <br>Request status: $(params : status)$\r\n </p>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"40\"> </td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table1\" style=\"width:100%;\">\r\n <tbody>\r\n <tr>\r\n <td align=\"center\" class=\"text_color_c6c6c6\" style=\"line-height:1;font-size:14px;font-weight:400;font-family:\'Open Sans\', Helvetica, sans-serif;\">\r\n <div class=\"editable-text\"><span class=\"text_container\">© 2021 YetiForce S.A. All Rights Reserved.</span></div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"20\"> </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n','InterestsConflictAccessResponse','1',NULL);
/*!40000 ALTER TABLE `u_yf_emailtemplates` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_faq_faq`
--
DROP TABLE IF EXISTS `u_yf_faq_faq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_faq_faq` (
`crmid` int DEFAULT NULL,
`relcrmid` int DEFAULT NULL,
KEY `u_yf_faq_faq_crmid_idx` (`crmid`),
KEY `u_yf_faq_faq_relcrmid_idx` (`relcrmid`),
CONSTRAINT `fk_1_u_yf_faq_faq` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `fk_2_u_yf_faq_faq` FOREIGN KEY (`relcrmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_faq_faq`
--
LOCK TABLES `u_yf_faq_faq` WRITE;
/*!40000 ALTER TABLE `u_yf_faq_faq` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_faq_faq` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_favorite_owners`
--
DROP TABLE IF EXISTS `u_yf_favorite_owners`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_favorite_owners` (
`tabid` smallint NOT NULL,
`userid` int NOT NULL,
`ownerid` int NOT NULL,
KEY `u_yf_favorite_owners_tabid_idx` (`tabid`),
KEY `u_yf_favorite_owners_userid_idx` (`userid`),
CONSTRAINT `u_yf_favorite_owners_tabid_fk` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_favorite_owners_userid_fk` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_favorite_owners`
--
LOCK TABLES `u_yf_favorite_owners` WRITE;
/*!40000 ALTER TABLE `u_yf_favorite_owners` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_favorite_owners` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_favorite_shared_owners`
--
DROP TABLE IF EXISTS `u_yf_favorite_shared_owners`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_favorite_shared_owners` (
`tabid` smallint NOT NULL,
`userid` int NOT NULL,
`ownerid` int NOT NULL,
KEY `u_yf_favorite_shared_owners_tabid_idx` (`tabid`),
KEY `u_yf_favorite_shared_owners_userid_idx` (`userid`),
CONSTRAINT `u_yf_favorite_shared_owners_tabid_fk` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_favorite_shared_owners_userid_fk` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_favorite_shared_owners`
--
LOCK TABLES `u_yf_favorite_shared_owners` WRITE;
/*!40000 ALTER TABLE `u_yf_favorite_shared_owners` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_favorite_shared_owners` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_favorites`
--
DROP TABLE IF EXISTS `u_yf_favorites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_favorites` (
`crmid` int DEFAULT NULL,
`module` varchar(30) DEFAULT NULL,
`relcrmid` int DEFAULT NULL,
`relmodule` varchar(30) DEFAULT NULL,
`userid` int DEFAULT NULL,
`data` timestamp NULL DEFAULT NULL,
KEY `crmid` (`crmid`),
KEY `relcrmid` (`relcrmid`),
KEY `mix` (`crmid`,`module`,`relcrmid`,`relmodule`,`userid`),
CONSTRAINT `fk_1_u_yf_favorites` FOREIGN KEY (`relcrmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `fk_u_yf_favorites` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_favorites`
--
LOCK TABLES `u_yf_favorites` WRITE;
/*!40000 ALTER TABLE `u_yf_favorites` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_favorites` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fbookkeeping`
--
DROP TABLE IF EXISTS `u_yf_fbookkeeping`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fbookkeeping` (
`fbookkeepingid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`related_to` int DEFAULT NULL,
PRIMARY KEY (`fbookkeepingid`),
KEY `related_to` (`related_to`),
CONSTRAINT `u_yf_fbookkeeping_ibfk_1` FOREIGN KEY (`fbookkeepingid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fbookkeeping`
--
LOCK TABLES `u_yf_fbookkeeping` WRITE;
/*!40000 ALTER TABLE `u_yf_fbookkeeping` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_fbookkeeping` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fbookkeepingcf`
--
DROP TABLE IF EXISTS `u_yf_fbookkeepingcf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fbookkeepingcf` (
`fbookkeepingid` int NOT NULL,
PRIMARY KEY (`fbookkeepingid`),
CONSTRAINT `u_yf_fbookkeepingcf_ibfk_1` FOREIGN KEY (`fbookkeepingid`) REFERENCES `u_yf_fbookkeeping` (`fbookkeepingid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fbookkeepingcf`
--
LOCK TABLES `u_yf_fbookkeepingcf` WRITE;
/*!40000 ALTER TABLE `u_yf_fbookkeepingcf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_fbookkeepingcf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fcorectinginvoice`
--
DROP TABLE IF EXISTS `u_yf_fcorectinginvoice`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fcorectinginvoice` (
`fcorectinginvoiceid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`paymentdate` date DEFAULT NULL,
`saledate` date DEFAULT NULL,
`accountid` int DEFAULT NULL,
`fcorectinginvoice_formpayment` varchar(255) DEFAULT '',
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_gross` decimal(28,8) DEFAULT NULL,
`fcorectinginvoice_status` varchar(255) DEFAULT '',
`finvoiceid` int DEFAULT NULL,
`externalcomment` text,
`internalcomment` text,
`issue_time` date DEFAULT NULL,
PRIMARY KEY (`fcorectinginvoiceid`),
KEY `accountid` (`accountid`),
KEY `finvoiceid` (`finvoiceid`),
CONSTRAINT `fk_1_vtiger_fcorectinginvoice` FOREIGN KEY (`fcorectinginvoiceid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fcorectinginvoice`
--
LOCK TABLES `u_yf_fcorectinginvoice` WRITE;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fcorectinginvoice_address`
--
DROP TABLE IF EXISTS `u_yf_fcorectinginvoice_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fcorectinginvoice_address` (
`fcorectinginvoiceaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
`company_name_a` varchar(255) DEFAULT NULL,
`first_name_a` varchar(255) DEFAULT NULL,
`last_name_a` varchar(255) DEFAULT NULL,
`vat_id_a` varchar(50) DEFAULT NULL,
PRIMARY KEY (`fcorectinginvoiceaddressid`),
CONSTRAINT `u_yf_fcorectinginvoice_address_ibfk_1` FOREIGN KEY (`fcorectinginvoiceaddressid`) REFERENCES `u_yf_fcorectinginvoice` (`fcorectinginvoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fcorectinginvoice_address`
--
LOCK TABLES `u_yf_fcorectinginvoice_address` WRITE;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fcorectinginvoice_inventory`
--
DROP TABLE IF EXISTS `u_yf_fcorectinginvoice_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fcorectinginvoice_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`discount` decimal(28,8) DEFAULT '0.00000000',
`discountparam` varchar(255) DEFAULT NULL,
`comment1` text,
`currency` int DEFAULT NULL,
`currencyparam` varchar(1024) DEFAULT NULL,
`discountmode` tinyint(1) NOT NULL DEFAULT '0',
`taxmode` tinyint(1) NOT NULL DEFAULT '0',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`gross` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`net` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`tax` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`taxparam` varchar(255) NOT NULL,
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
`tax_percent` decimal(12,8) DEFAULT '0.00000000',
PRIMARY KEY (`id`),
KEY `u_yf_fcorectinginvoice_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_fcorectinginvoice_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_fcorectinginvoice` (`fcorectinginvoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fcorectinginvoice_inventory`
--
LOCK TABLES `u_yf_fcorectinginvoice_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fcorectinginvoice_invfield`
--
DROP TABLE IF EXISTS `u_yf_fcorectinginvoice_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fcorectinginvoice_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fcorectinginvoice_invfield`
--
LOCK TABLES `u_yf_fcorectinginvoice_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_fcorectinginvoice_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'discount','LBL_DISCOUNT','Discount',0,'0',6,1,0,'{}',1),(4,'comment1','LBL_COMMENT','Comment',0,'',12,2,0,'{}',0),(5,'currency','LBL_CURRENCY','Currency',0,'',13,0,0,'',1),(6,'discountmode','LBL_DISCOUNT_MODE','DiscountMode',0,'0',14,0,0,'',1),(7,'taxmode','LBL_TAX_MODE','TaxMode',0,'0',15,0,0,'',1),(8,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,'',1),(9,'gross','LBL_GROSS_PRICE','GrossPrice',0,'0',10,1,0,'',1),(10,'net','LBL_DISCOUNT_PRICE','NetPrice',0,'0',7,1,0,'',1),(11,'tax','LBL_TAX','Tax',0,'0',9,1,0,'',1),(12,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,'',1),(13,'unit','LBL_UNIT','Value',0,'',1,1,10,NULL,1),(14,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,NULL,1),(15,'tax_percent','LBL_TAX_IN_PERCENT','TaxPercent',0,'0',8,1,0,'{\"summary_enabled\":1}',1);
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fcorectinginvoice_invmap`
--
DROP TABLE IF EXISTS `u_yf_fcorectinginvoice_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fcorectinginvoice_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fcorectinginvoice_invmap`
--
LOCK TABLES `u_yf_fcorectinginvoice_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_fcorectinginvoice_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_fcorectinginvoice_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_fcorectinginvoicecf`
--
DROP TABLE IF EXISTS `u_yf_fcorectinginvoicecf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_fcorectinginvoicecf` (
`fcorectinginvoiceid` int NOT NULL,
PRIMARY KEY (`fcorectinginvoiceid`),
CONSTRAINT `fk_1_u_yf_fcorectinginvoicecf` FOREIGN KEY (`fcorectinginvoiceid`) REFERENCES `u_yf_fcorectinginvoice` (`fcorectinginvoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_fcorectinginvoicecf`
--
LOCK TABLES `u_yf_fcorectinginvoicecf` WRITE;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoicecf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_fcorectinginvoicecf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_featured_filter`
--
DROP TABLE IF EXISTS `u_yf_featured_filter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_featured_filter` (
`user` varchar(30) NOT NULL,
`cvid` int NOT NULL,
PRIMARY KEY (`user`,`cvid`),
KEY `cvid` (`cvid`),
KEY `user` (`user`),
CONSTRAINT `u_yf_featured_filter_ibfk_1` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_featured_filter`
--
LOCK TABLES `u_yf_featured_filter` WRITE;
/*!40000 ALTER TABLE `u_yf_featured_filter` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_featured_filter` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_file_upload`
--
DROP TABLE IF EXISTS `u_yf_file_upload`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_file_upload` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`type` varchar(100) NOT NULL,
`ext` varchar(50) NOT NULL,
`path` text NOT NULL,
`status` tinyint(1) DEFAULT '0',
`fieldname` varchar(50) DEFAULT '',
`createdtime` datetime DEFAULT NULL,
`key` varchar(100) NOT NULL,
`user` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `u_yf_file_upload_key_uidx` (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_file_upload`
--
LOCK TABLES `u_yf_file_upload` WRITE;
/*!40000 ALTER TABLE `u_yf_file_upload` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_file_upload` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_file_upload_temp`
--
DROP TABLE IF EXISTS `u_yf_file_upload_temp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_file_upload_temp` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`type` varchar(100) DEFAULT NULL,
`path` text NOT NULL,
`status` tinyint(1) DEFAULT '0',
`fieldname` varchar(50) DEFAULT NULL,
`crmid` int DEFAULT NULL,
`createdtime` datetime DEFAULT NULL,
`key` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `key` (`key`),
KEY `crmid` (`crmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_file_upload_temp`
--
LOCK TABLES `u_yf_file_upload_temp` WRITE;
/*!40000 ALTER TABLE `u_yf_file_upload_temp` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_file_upload_temp` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoice`
--
DROP TABLE IF EXISTS `u_yf_finvoice`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoice` (
`finvoiceid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`paymentdate` date DEFAULT NULL,
`saledate` date DEFAULT NULL,
`accountid` int DEFAULT NULL,
`finvoice_formpayment` varchar(255) DEFAULT NULL,
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_gross` decimal(28,8) DEFAULT NULL,
`finvoice_status` varchar(255) DEFAULT NULL,
`finvoice_type` varchar(255) DEFAULT NULL,
`pscategory` varchar(100) DEFAULT NULL,
`issue_time` date DEFAULT NULL,
`ssalesprocessesid` int DEFAULT NULL,
`projectid` int DEFAULT NULL,
`payment_status` varchar(255) DEFAULT NULL,
`payment_sum` decimal(28,8) DEFAULT NULL,
PRIMARY KEY (`finvoiceid`),
KEY `accountid` (`accountid`),
KEY `u_yf_finvoice_ssalesprocessesid_idx` (`ssalesprocessesid`),
KEY `u_yf_finvoice_projectid_idx` (`projectid`),
CONSTRAINT `fk_1_vtiger_finvoice` FOREIGN KEY (`finvoiceid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoice`
--
LOCK TABLES `u_yf_finvoice` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoice` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoice_address`
--
DROP TABLE IF EXISTS `u_yf_finvoice_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoice_address` (
`finvoiceaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
`first_name_a` varchar(255) DEFAULT NULL,
`last_name_a` varchar(255) DEFAULT NULL,
`vat_id_a` varchar(50) DEFAULT NULL,
`email_a` varchar(100) DEFAULT NULL,
`phone_a` varchar(100) DEFAULT NULL,
`addresslevel8b` varchar(255) DEFAULT NULL,
`localnumberb` varchar(50) DEFAULT NULL,
`addresslevel5b` varchar(255) DEFAULT NULL,
`buildingnumberb` varchar(255) DEFAULT NULL,
`addresslevel7b` varchar(255) DEFAULT NULL,
`addresslevel6b` varchar(255) DEFAULT NULL,
`addresslevel2b` varchar(255) DEFAULT NULL,
`addresslevel4b` varchar(255) DEFAULT NULL,
`addresslevel1b` varchar(255) DEFAULT NULL,
`addresslevel3b` varchar(255) DEFAULT NULL,
`poboxb` varchar(50) DEFAULT NULL,
`first_name_b` varchar(255) DEFAULT NULL,
`last_name_b` varchar(255) DEFAULT NULL,
`company_name_b` varchar(255) DEFAULT NULL,
`vat_id_b` varchar(50) DEFAULT NULL,
`email_b` varchar(100) DEFAULT NULL,
`phone_b` varchar(100) DEFAULT NULL,
`company_name_a` varchar(255) DEFAULT NULL,
`phone_b_extra` varchar(100) DEFAULT NULL,
`phone_a_extra` varchar(100) DEFAULT NULL,
PRIMARY KEY (`finvoiceaddressid`),
CONSTRAINT `u_yf_finvoice_address_ibfk_1` FOREIGN KEY (`finvoiceaddressid`) REFERENCES `u_yf_finvoice` (`finvoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoice_address`
--
LOCK TABLES `u_yf_finvoice_address` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoice_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoice_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoice_inventory`
--
DROP TABLE IF EXISTS `u_yf_finvoice_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoice_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`discountmode` tinyint(1) NOT NULL DEFAULT '0',
`taxmode` tinyint(1) NOT NULL DEFAULT '0',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`discount` decimal(28,8) DEFAULT '0.00000000',
`gross` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`net` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`tax` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`taxparam` varchar(255) NOT NULL,
`discountparam` varchar(255) DEFAULT NULL,
`comment1` text,
`currency` int DEFAULT NULL,
`currencyparam` varchar(1024) DEFAULT NULL,
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
`tax_percent` decimal(12,8) DEFAULT '0.00000000',
PRIMARY KEY (`id`),
KEY `u_yf_finvoice_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_finvoice_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_finvoice` (`finvoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoice_inventory`
--
LOCK TABLES `u_yf_finvoice_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoice_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoice_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoice_invfield`
--
DROP TABLE IF EXISTS `u_yf_finvoice_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoice_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoice_invfield`
--
LOCK TABLES `u_yf_finvoice_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoice_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_finvoice_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'discount','LBL_DISCOUNT','Discount',0,'0',6,1,0,'{}',1),(4,'comment1','LBL_COMMENT','Comment',0,'',12,2,0,'{}',0),(5,'currency','LBL_CURRENCY','Currency',0,'',13,0,0,NULL,1),(6,'discountmode','LBL_DISCOUNT_MODE','DiscountMode',0,'',14,0,0,NULL,1),(7,'taxmode','LBL_TAX_MODE','TaxMode',0,'',15,0,0,NULL,1),(8,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,NULL,1),(9,'gross','LBL_GROSS_PRICE','GrossPrice',0,'0',10,1,0,NULL,1),(10,'net','LBL_DISCOUNT_PRICE','NetPrice',0,'0',7,1,0,NULL,1),(12,'tax','LBL_TAX','Tax',0,'0',9,1,0,NULL,1),(13,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,NULL,1),(14,'unit','LBL_UNIT','Value',0,'',1,1,10,NULL,1),(15,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,NULL,1),(16,'tax_percent','LBL_TAX_IN_PERCENT','TaxPercent',0,'0',8,1,0,'{\"summary_enabled\":1}',1);
/*!40000 ALTER TABLE `u_yf_finvoice_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoice_invmap`
--
DROP TABLE IF EXISTS `u_yf_finvoice_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoice_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoice_invmap`
--
LOCK TABLES `u_yf_finvoice_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoice_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_finvoice_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_finvoice_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoicecf`
--
DROP TABLE IF EXISTS `u_yf_finvoicecf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoicecf` (
`finvoiceid` int NOT NULL,
PRIMARY KEY (`finvoiceid`),
CONSTRAINT `fk_1_u_yf_finvoicecf` FOREIGN KEY (`finvoiceid`) REFERENCES `u_yf_finvoice` (`finvoiceid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoicecf`
--
LOCK TABLES `u_yf_finvoicecf` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoicecf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoicecf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoicecost`
--
DROP TABLE IF EXISTS `u_yf_finvoicecost`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoicecost` (
`finvoicecostid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`paymentdate` date DEFAULT NULL,
`saledate` date DEFAULT NULL,
`finvoicecost_formpayment` varchar(255) DEFAULT '',
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_gross` decimal(28,8) DEFAULT NULL,
`finvoicecost_status` varchar(255) DEFAULT '',
`finvoicecost_paymentstatus` varchar(255) DEFAULT NULL,
`pscategory` varchar(50) DEFAULT NULL,
PRIMARY KEY (`finvoicecostid`),
CONSTRAINT `fk_1_vtiger_finvoicecost` FOREIGN KEY (`finvoicecostid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoicecost`
--
LOCK TABLES `u_yf_finvoicecost` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoicecost` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoicecost` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoicecost_address`
--
DROP TABLE IF EXISTS `u_yf_finvoicecost_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoicecost_address` (
`finvoicecostaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
PRIMARY KEY (`finvoicecostaddressid`),
CONSTRAINT `u_yf_finvoicecost_address_ibfk_1` FOREIGN KEY (`finvoicecostaddressid`) REFERENCES `u_yf_finvoicecost` (`finvoicecostid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoicecost_address`
--
LOCK TABLES `u_yf_finvoicecost_address` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoicecost_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoicecost_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoicecost_inventory`
--
DROP TABLE IF EXISTS `u_yf_finvoicecost_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoicecost_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int DEFAULT '0',
`qty` decimal(25,3) DEFAULT '0.000',
`discount` decimal(28,8) DEFAULT '0.00000000',
`discountparam` varchar(255) DEFAULT NULL,
`comment1` text,
`currency` int DEFAULT NULL,
`currencyparam` varchar(1024) DEFAULT NULL,
`discountmode` smallint DEFAULT '0',
`taxmode` smallint DEFAULT '0',
`price` decimal(28,8) DEFAULT '0.00000000',
`gross` decimal(28,8) DEFAULT '0.00000000',
`net` decimal(28,8) DEFAULT '0.00000000',
`tax` decimal(28,8) DEFAULT '0.00000000',
`taxparam` varchar(255) DEFAULT NULL,
`total` decimal(28,8) DEFAULT '0.00000000',
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_finvoicecost_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_finvoicecost_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_finvoicecost` (`finvoicecostid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoicecost_inventory`
--
LOCK TABLES `u_yf_finvoicecost_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoicecost_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoicecost_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoicecost_invfield`
--
DROP TABLE IF EXISTS `u_yf_finvoicecost_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoicecost_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` smallint unsigned NOT NULL,
`displaytype` smallint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` smallint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoicecost_invfield`
--
LOCK TABLES `u_yf_finvoicecost_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoicecost_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_finvoicecost_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'discount','LBL_DISCOUNT','Discount',0,'0',6,1,0,'{}',1),(4,'comment1','LBL_COMMENT','Comment',0,'',11,2,0,'{}',0),(5,'currency','LBL_CURRENCY','Currency',0,'',12,0,0,'',1),(6,'discountmode','LBL_DISCOUNT_MODE','DiscountMode',0,'0',13,0,0,'',1),(7,'taxmode','LBL_TAX_MODE','TaxMode',0,'0',14,0,0,'',1),(8,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,'',1),(9,'gross','LBL_GROSS_PRICE','GrossPrice',0,'0',9,1,0,'',1),(10,'net','LBL_DISCOUNT_PRICE','NetPrice',0,'0',7,1,0,'',1),(11,'tax','LBL_TAX','Tax',0,'0',8,1,0,'',1),(12,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,'',1),(13,'unit','LBL_UNIT','Value',0,'',1,1,10,'',1),(14,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,'',1);
/*!40000 ALTER TABLE `u_yf_finvoicecost_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoicecost_invmap`
--
DROP TABLE IF EXISTS `u_yf_finvoicecost_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoicecost_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoicecost_invmap`
--
LOCK TABLES `u_yf_finvoicecost_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoicecost_invmap` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoicecost_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoicecostcf`
--
DROP TABLE IF EXISTS `u_yf_finvoicecostcf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoicecostcf` (
`finvoicecostid` int NOT NULL,
PRIMARY KEY (`finvoicecostid`),
CONSTRAINT `fk_1_u_yf_finvoicecostcf` FOREIGN KEY (`finvoicecostid`) REFERENCES `u_yf_finvoicecost` (`finvoicecostid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoicecostcf`
--
LOCK TABLES `u_yf_finvoicecostcf` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoicecostcf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoicecostcf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoiceproforma`
--
DROP TABLE IF EXISTS `u_yf_finvoiceproforma`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoiceproforma` (
`finvoiceproformaid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`paymentdate` date DEFAULT NULL,
`saledate` date DEFAULT NULL,
`accountid` int DEFAULT NULL,
`finvoiceproforma_formpayment` varchar(255) DEFAULT NULL,
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_gross` decimal(28,8) DEFAULT NULL,
`finvoiceproforma_status` varchar(255) DEFAULT NULL,
`payment_sum` decimal(28,8) DEFAULT NULL,
`payment_status` varchar(255) DEFAULT NULL,
PRIMARY KEY (`finvoiceproformaid`),
KEY `accountid` (`accountid`),
CONSTRAINT `fk_1_vtiger_finvoiceproforma` FOREIGN KEY (`finvoiceproformaid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoiceproforma`
--
LOCK TABLES `u_yf_finvoiceproforma` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoiceproforma_address`
--
DROP TABLE IF EXISTS `u_yf_finvoiceproforma_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoiceproforma_address` (
`finvoiceproformaaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
`addresslevel8b` varchar(255) DEFAULT NULL,
`localnumberb` varchar(50) DEFAULT NULL,
`addresslevel5b` varchar(255) DEFAULT NULL,
`buildingnumberb` varchar(255) DEFAULT NULL,
`addresslevel7b` varchar(255) DEFAULT NULL,
`addresslevel6b` varchar(255) DEFAULT NULL,
`addresslevel2b` varchar(255) DEFAULT NULL,
`addresslevel4b` varchar(255) DEFAULT NULL,
`addresslevel1b` varchar(255) DEFAULT NULL,
`addresslevel3b` varchar(255) DEFAULT NULL,
`poboxb` varchar(50) DEFAULT NULL,
`first_name_a` varchar(255) DEFAULT NULL,
`first_name_b` varchar(255) DEFAULT NULL,
`last_name_a` varchar(255) DEFAULT NULL,
`last_name_b` varchar(255) DEFAULT NULL,
`company_name_a` varchar(255) DEFAULT NULL,
`company_name_b` varchar(255) DEFAULT NULL,
`vat_id_a` varchar(50) DEFAULT NULL,
`vat_id_b` varchar(50) DEFAULT NULL,
`email_a` varchar(100) DEFAULT NULL,
`email_b` varchar(100) DEFAULT NULL,
`phone_a` varchar(100) DEFAULT NULL,
`phone_b` varchar(100) DEFAULT NULL,
`phone_a_extra` varchar(100) DEFAULT NULL,
`phone_b_extra` varchar(100) DEFAULT NULL,
PRIMARY KEY (`finvoiceproformaaddressid`),
CONSTRAINT `u_yf_finvoiceproforma_address_fk1` FOREIGN KEY (`finvoiceproformaaddressid`) REFERENCES `u_yf_finvoiceproforma` (`finvoiceproformaid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoiceproforma_address`
--
LOCK TABLES `u_yf_finvoiceproforma_address` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoiceproforma_inventory`
--
DROP TABLE IF EXISTS `u_yf_finvoiceproforma_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoiceproforma_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`currency` int DEFAULT NULL,
`currencyparam` varchar(1024) DEFAULT NULL,
`discountmode` tinyint(1) NOT NULL DEFAULT '0',
`taxmode` tinyint(1) NOT NULL DEFAULT '0',
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`discount` decimal(28,8) DEFAULT '0.00000000',
`discountparam` varchar(255) DEFAULT NULL,
`net` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`tax` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`taxparam` varchar(255) NOT NULL,
`gross` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
`tax_percent` decimal(12,8) DEFAULT '0.00000000',
PRIMARY KEY (`id`),
KEY `u_yf_finvoiceproforma_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_finvoiceproforma_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_finvoiceproforma` (`finvoiceproformaid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoiceproforma_inventory`
--
LOCK TABLES `u_yf_finvoiceproforma_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoiceproforma_invfield`
--
DROP TABLE IF EXISTS `u_yf_finvoiceproforma_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoiceproforma_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoiceproforma_invfield`
--
LOCK TABLES `u_yf_finvoiceproforma_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_finvoiceproforma_invfield` VALUES (1,'currency','LBL_CURRENCY','Currency',0,'',1,0,0,'',1),(2,'discountmode','LBL_DISCOUNT_MODE','DiscountMode',0,'0',2,0,0,'',1),(3,'taxmode','LBL_TAX_MODE','TaxMode',0,'0',3,0,0,'',1),(4,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(5,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(6,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,'{}',1),(7,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,'{}',1),(8,'discount','LBL_DISCOUNT','Discount',0,'0',6,1,0,'{}',1),(9,'net','LBL_DISCOUNT_PRICE','NetPrice',0,'0',7,1,0,'{}',1),(10,'tax','LBL_TAX','Tax',0,'0',9,1,0,'{}',1),(11,'gross','LBL_GROSS_PRICE','GrossPrice',0,'0',10,1,0,'{}',1),(12,'comment1','LBL_COMMENT','Comment',0,'',13,2,0,'{}',0),(13,'unit','LBL_UNIT','Value',0,'',1,1,10,NULL,1),(14,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,NULL,1),(15,'tax_percent','LBL_TAX_IN_PERCENT','TaxPercent',0,'0',8,1,0,'{\"summary_enabled\":1}',1);
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoiceproforma_invmap`
--
DROP TABLE IF EXISTS `u_yf_finvoiceproforma_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoiceproforma_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoiceproforma_invmap`
--
LOCK TABLES `u_yf_finvoiceproforma_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_finvoiceproforma_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_finvoiceproforma_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_finvoiceproformacf`
--
DROP TABLE IF EXISTS `u_yf_finvoiceproformacf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_finvoiceproformacf` (
`finvoiceproformaid` int NOT NULL,
PRIMARY KEY (`finvoiceproformaid`),
CONSTRAINT `fk_1_vtiger_finvoiceproformacf` FOREIGN KEY (`finvoiceproformaid`) REFERENCES `u_yf_finvoiceproforma` (`finvoiceproformaid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_finvoiceproformacf`
--
LOCK TABLES `u_yf_finvoiceproformacf` WRITE;
/*!40000 ALTER TABLE `u_yf_finvoiceproformacf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_finvoiceproformacf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdn`
--
DROP TABLE IF EXISTS `u_yf_igdn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdn` (
`igdnid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`igdn_status` varchar(255) DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
`accountid` int DEFAULT NULL,
`ssingleordersid` int DEFAULT NULL,
PRIMARY KEY (`igdnid`),
KEY `storageid` (`storageid`),
KEY `accountid` (`accountid`),
KEY `ssingleordersid` (`ssingleordersid`),
CONSTRAINT `u_yf_igdn_ibfk_1` FOREIGN KEY (`igdnid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdn`
--
LOCK TABLES `u_yf_igdn` WRITE;
/*!40000 ALTER TABLE `u_yf_igdn` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igdn` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdn_inventory`
--
DROP TABLE IF EXISTS `u_yf_igdn_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdn_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(200) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_igdn_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_igdn_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_igdn` (`igdnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdn_inventory`
--
LOCK TABLES `u_yf_igdn_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_igdn_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igdn_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdn_invfield`
--
DROP TABLE IF EXISTS `u_yf_igdn_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdn_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdn_invfield`
--
LOCK TABLES `u_yf_igdn_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_igdn_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_igdn_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(4,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(5,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(6,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,NULL,1),(7,'unit','LBL_UNIT','Value',0,'',3,1,10,NULL,1),(8,'ean','LBL_EAN','Value',0,'',2,1,10,NULL,1),(9,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_igdn_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdn_invmap`
--
DROP TABLE IF EXISTS `u_yf_igdn_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdn_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdn_invmap`
--
LOCK TABLES `u_yf_igdn_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_igdn_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_igdn_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_igdn_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdnc`
--
DROP TABLE IF EXISTS `u_yf_igdnc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdnc` (
`igdncid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`igdnc_status` varchar(255) DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
`accountid` int DEFAULT NULL,
`igdnid` int DEFAULT NULL,
PRIMARY KEY (`igdncid`),
KEY `storageid` (`storageid`),
KEY `accountid` (`accountid`),
KEY `igdnid` (`igdnid`),
CONSTRAINT `u_yf_igdnc_ibfk_1` FOREIGN KEY (`igdncid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdnc`
--
LOCK TABLES `u_yf_igdnc` WRITE;
/*!40000 ALTER TABLE `u_yf_igdnc` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igdnc` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdnc_inventory`
--
DROP TABLE IF EXISTS `u_yf_igdnc_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdnc_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(255) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_igdnc_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_igdnc_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_igdnc` (`igdncid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdnc_inventory`
--
LOCK TABLES `u_yf_igdnc_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_igdnc_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igdnc_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdnc_invfield`
--
DROP TABLE IF EXISTS `u_yf_igdnc_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdnc_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdnc_invfield`
--
LOCK TABLES `u_yf_igdnc_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_igdnc_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_igdnc_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(4,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(5,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(6,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,'',1),(7,'unit','LBL_UNIT','Value',0,'',3,1,10,'',1),(8,'ean','LBL_EAN','Value',0,'',2,1,10,'',1),(9,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,'',1);
/*!40000 ALTER TABLE `u_yf_igdnc_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdnc_invmap`
--
DROP TABLE IF EXISTS `u_yf_igdnc_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdnc_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdnc_invmap`
--
LOCK TABLES `u_yf_igdnc_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_igdnc_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_igdnc_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_igdnc_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdnccf`
--
DROP TABLE IF EXISTS `u_yf_igdnccf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdnccf` (
`igdncid` int NOT NULL,
PRIMARY KEY (`igdncid`),
CONSTRAINT `u_yf_igdnccf_ibfk_1` FOREIGN KEY (`igdncid`) REFERENCES `u_yf_igdnc` (`igdncid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdnccf`
--
LOCK TABLES `u_yf_igdnccf` WRITE;
/*!40000 ALTER TABLE `u_yf_igdnccf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igdnccf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igdncf`
--
DROP TABLE IF EXISTS `u_yf_igdncf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igdncf` (
`igdnid` int NOT NULL,
PRIMARY KEY (`igdnid`),
CONSTRAINT `u_yf_igdncf_ibfk_1` FOREIGN KEY (`igdnid`) REFERENCES `u_yf_igdn` (`igdnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igdncf`
--
LOCK TABLES `u_yf_igdncf` WRITE;
/*!40000 ALTER TABLE `u_yf_igdncf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igdncf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igin`
--
DROP TABLE IF EXISTS `u_yf_igin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igin` (
`iginid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`igin_status` varchar(255) DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
PRIMARY KEY (`iginid`),
KEY `storageid` (`storageid`),
CONSTRAINT `u_yf_igin_ibfk_1` FOREIGN KEY (`iginid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igin`
--
LOCK TABLES `u_yf_igin` WRITE;
/*!40000 ALTER TABLE `u_yf_igin` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igin_inventory`
--
DROP TABLE IF EXISTS `u_yf_igin_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igin_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(200) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_igin_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_igin_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_igin` (`iginid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igin_inventory`
--
LOCK TABLES `u_yf_igin_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_igin_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igin_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igin_invfield`
--
DROP TABLE IF EXISTS `u_yf_igin_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igin_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igin_invfield`
--
LOCK TABLES `u_yf_igin_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_igin_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_igin_invfield` VALUES (6,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(7,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(8,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(9,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(10,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(11,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,NULL,1),(12,'unit','LBL_UNIT','Value',0,'',3,1,10,NULL,1),(13,'ean','LBL_EAN','Value',0,'',2,1,10,NULL,1),(14,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_igin_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igin_invmap`
--
DROP TABLE IF EXISTS `u_yf_igin_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igin_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igin_invmap`
--
LOCK TABLES `u_yf_igin_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_igin_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_igin_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_igin_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igincf`
--
DROP TABLE IF EXISTS `u_yf_igincf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igincf` (
`iginid` int NOT NULL,
PRIMARY KEY (`iginid`),
CONSTRAINT `u_yf_igincf_ibfk_1` FOREIGN KEY (`iginid`) REFERENCES `u_yf_igin` (`iginid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igincf`
--
LOCK TABLES `u_yf_igincf` WRITE;
/*!40000 ALTER TABLE `u_yf_igincf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igincf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrn`
--
DROP TABLE IF EXISTS `u_yf_igrn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrn` (
`igrnid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`igrn_status` varchar(255) DEFAULT NULL,
`vendorid` int DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
`sum_total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
PRIMARY KEY (`igrnid`),
KEY `storageid` (`storageid`),
KEY `vendorid` (`vendorid`),
CONSTRAINT `u_yf_igrn_ibfk_1` FOREIGN KEY (`igrnid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrn`
--
LOCK TABLES `u_yf_igrn` WRITE;
/*!40000 ALTER TABLE `u_yf_igrn` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igrn` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrn_inventory`
--
DROP TABLE IF EXISTS `u_yf_igrn_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrn_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(200) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_igrn_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_igrn_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_igrn` (`igrnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrn_inventory`
--
LOCK TABLES `u_yf_igrn_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_igrn_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igrn_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrn_invfield`
--
DROP TABLE IF EXISTS `u_yf_igrn_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrn_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrn_invfield`
--
LOCK TABLES `u_yf_igrn_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_igrn_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_igrn_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(4,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(5,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(6,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,NULL,1),(7,'unit','LBL_UNIT','Value',0,'',3,1,10,NULL,1),(8,'ean','LBL_EAN','Value',0,'',2,1,10,NULL,1),(9,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_igrn_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrn_invmap`
--
DROP TABLE IF EXISTS `u_yf_igrn_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrn_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrn_invmap`
--
LOCK TABLES `u_yf_igrn_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_igrn_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_igrn_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_igrn_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrnc`
--
DROP TABLE IF EXISTS `u_yf_igrnc`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrnc` (
`igrncid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`igrnc_status` varchar(255) DEFAULT NULL,
`vendorid` int DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
`sum_total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`igrnid` int DEFAULT NULL,
PRIMARY KEY (`igrncid`),
KEY `storageid` (`storageid`),
KEY `vendorid` (`vendorid`),
KEY `igrnid` (`igrnid`),
CONSTRAINT `u_yf_igrnc_ibfk_1` FOREIGN KEY (`igrncid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrnc`
--
LOCK TABLES `u_yf_igrnc` WRITE;
/*!40000 ALTER TABLE `u_yf_igrnc` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igrnc` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrnc_inventory`
--
DROP TABLE IF EXISTS `u_yf_igrnc_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrnc_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(255) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_igrnc_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_igrnc_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_igrnc` (`igrncid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrnc_inventory`
--
LOCK TABLES `u_yf_igrnc_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_igrnc_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igrnc_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrnc_invfield`
--
DROP TABLE IF EXISTS `u_yf_igrnc_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrnc_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrnc_invfield`
--
LOCK TABLES `u_yf_igrnc_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_igrnc_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_igrnc_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(4,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(5,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(6,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,'',1),(7,'unit','LBL_UNIT','Value',0,'',3,1,10,'',1),(8,'ean','LBL_EAN','Value',0,'',2,1,10,'',1),(9,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,'',1);
/*!40000 ALTER TABLE `u_yf_igrnc_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrnc_invmap`
--
DROP TABLE IF EXISTS `u_yf_igrnc_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrnc_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrnc_invmap`
--
LOCK TABLES `u_yf_igrnc_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_igrnc_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_igrnc_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_igrnc_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrnccf`
--
DROP TABLE IF EXISTS `u_yf_igrnccf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrnccf` (
`igrncid` int NOT NULL,
PRIMARY KEY (`igrncid`),
CONSTRAINT `u_yf_igrnccf_ibfk_1` FOREIGN KEY (`igrncid`) REFERENCES `u_yf_igrnc` (`igrncid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrnccf`
--
LOCK TABLES `u_yf_igrnccf` WRITE;
/*!40000 ALTER TABLE `u_yf_igrnccf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igrnccf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_igrncf`
--
DROP TABLE IF EXISTS `u_yf_igrncf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_igrncf` (
`igrnid` int NOT NULL,
PRIMARY KEY (`igrnid`),
CONSTRAINT `u_yf_igrncf_ibfk_1` FOREIGN KEY (`igrnid`) REFERENCES `u_yf_igrn` (`igrnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_igrncf`
--
LOCK TABLES `u_yf_igrncf` WRITE;
/*!40000 ALTER TABLE `u_yf_igrncf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_igrncf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_iidn`
--
DROP TABLE IF EXISTS `u_yf_iidn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_iidn` (
`iidnid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`iidn_status` varchar(255) DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
PRIMARY KEY (`iidnid`),
KEY `storageid` (`storageid`),
CONSTRAINT `u_yf_iidn_ibfk_1` FOREIGN KEY (`iidnid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_iidn`
--
LOCK TABLES `u_yf_iidn` WRITE;
/*!40000 ALTER TABLE `u_yf_iidn` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_iidn` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_iidn_inventory`
--
DROP TABLE IF EXISTS `u_yf_iidn_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_iidn_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`comment1` text,
`unit` varchar(200) DEFAULT NULL,
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_iidn_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_iidn_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_iidn` (`iidnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_iidn_inventory`
--
LOCK TABLES `u_yf_iidn_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_iidn_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_iidn_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_iidn_invfield`
--
DROP TABLE IF EXISTS `u_yf_iidn_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_iidn_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_iidn_invfield`
--
LOCK TABLES `u_yf_iidn_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_iidn_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_iidn_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(4,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,NULL,1),(5,'unit','LBL_UNIT','Value',0,'',3,1,10,NULL,1),(6,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(7,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(8,'ean','LBL_EAN','Value',0,'',2,1,10,NULL,1),(9,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_iidn_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_iidn_invmap`
--
DROP TABLE IF EXISTS `u_yf_iidn_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_iidn_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_iidn_invmap`
--
LOCK TABLES `u_yf_iidn_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_iidn_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_iidn_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_iidn_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_iidncf`
--
DROP TABLE IF EXISTS `u_yf_iidncf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_iidncf` (
`iidnid` int NOT NULL,
PRIMARY KEY (`iidnid`),
CONSTRAINT `u_yf_iidncf_ibfk_1` FOREIGN KEY (`iidnid`) REFERENCES `u_yf_iidn` (`iidnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_iidncf`
--
LOCK TABLES `u_yf_iidncf` WRITE;
/*!40000 ALTER TABLE `u_yf_iidncf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_iidncf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_incidentregister`
--
DROP TABLE IF EXISTS `u_yf_incidentregister`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_incidentregister` (
`incidentregisterid` int NOT NULL,
`name` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`locationregisterid` int unsigned DEFAULT '0',
`datasetregisterid` int unsigned DEFAULT '0',
`incidentregister_status` varchar(255) DEFAULT '',
`incidentregister_type` varchar(255) DEFAULT '',
`incident_date` date DEFAULT NULL,
`discovery_date` date DEFAULT NULL,
`incident_report_date` date DEFAULT NULL,
`incident_publication_date` date DEFAULT NULL,
`peoplne_number` int unsigned DEFAULT '0',
`breach_circumstances` text,
`breach_nature` text,
`possible_consequences` text,
`security_measures` text,
PRIMARY KEY (`incidentregisterid`),
KEY `u_yf_incidentregister_locationregisterid_idx` (`locationregisterid`),
KEY `u_yf_incidentregister_datasetregisterid_idx` (`datasetregisterid`),
CONSTRAINT `fk_1_u_yf_incidentregisterincidentregisterid` FOREIGN KEY (`incidentregisterid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_incidentregister`
--
LOCK TABLES `u_yf_incidentregister` WRITE;
/*!40000 ALTER TABLE `u_yf_incidentregister` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_incidentregister` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_incidentregistercf`
--
DROP TABLE IF EXISTS `u_yf_incidentregistercf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_incidentregistercf` (
`incidentregisterid` int NOT NULL,
PRIMARY KEY (`incidentregisterid`),
CONSTRAINT `fk_1_u_yf_incidentregistercfincidentregisterid` FOREIGN KEY (`incidentregisterid`) REFERENCES `u_yf_incidentregister` (`incidentregisterid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_incidentregistercf`
--
LOCK TABLES `u_yf_incidentregistercf` WRITE;
/*!40000 ALTER TABLE `u_yf_incidentregistercf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_incidentregistercf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_interests_conflict_conf`
--
DROP TABLE IF EXISTS `u_yf_interests_conflict_conf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_interests_conflict_conf` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`date_time` datetime NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`user_id` smallint unsigned NOT NULL,
`related_id` int unsigned NOT NULL,
`related_label` varchar(255) NOT NULL,
`source_id` int NOT NULL DEFAULT '0',
`modify_user_id` smallint unsigned NOT NULL DEFAULT '0',
`modify_date_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `related_id` (`related_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_interests_conflict_conf`
--
LOCK TABLES `u_yf_interests_conflict_conf` WRITE;
/*!40000 ALTER TABLE `u_yf_interests_conflict_conf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_interests_conflict_conf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_interests_conflict_unlock`
--
DROP TABLE IF EXISTS `u_yf_interests_conflict_unlock`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_interests_conflict_unlock` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`date_time` datetime NOT NULL,
`status` tinyint unsigned NOT NULL,
`user_id` smallint NOT NULL,
`related_id` int unsigned NOT NULL,
`source_id` int unsigned NOT NULL,
`comment` varchar(255) NOT NULL,
`modify_user_id` smallint unsigned NOT NULL DEFAULT '0',
`modify_date_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `date_time` (`date_time`),
KEY `user_id` (`user_id`),
KEY `related_id` (`related_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_interests_conflict_unlock`
--
LOCK TABLES `u_yf_interests_conflict_unlock` WRITE;
/*!40000 ALTER TABLE `u_yf_interests_conflict_unlock` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_interests_conflict_unlock` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ipreorder`
--
DROP TABLE IF EXISTS `u_yf_ipreorder`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ipreorder` (
`ipreorderid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`ipreorder_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
PRIMARY KEY (`ipreorderid`),
KEY `storageid` (`storageid`),
KEY `accountid` (`accountid`),
CONSTRAINT `u_yf_ipreorder_ibfk_1` FOREIGN KEY (`ipreorderid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ipreorder`
--
LOCK TABLES `u_yf_ipreorder` WRITE;
/*!40000 ALTER TABLE `u_yf_ipreorder` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ipreorder` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ipreorder_inventory`
--
DROP TABLE IF EXISTS `u_yf_ipreorder_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ipreorder_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`comment1` text,
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`unit` varchar(255) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_ipreorder_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_ipreorder_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_ipreorder` (`ipreorderid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ipreorder_inventory`
--
LOCK TABLES `u_yf_ipreorder_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_ipreorder_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ipreorder_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ipreorder_invfield`
--
DROP TABLE IF EXISTS `u_yf_ipreorder_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ipreorder_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ipreorder_invfield`
--
LOCK TABLES `u_yf_ipreorder_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_ipreorder_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_ipreorder_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(4,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,'{}',1),(6,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(7,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(8,'unit','LBL_UNIT','Value',0,'',3,1,10,'{}',1),(9,'ean','LBL_EAN','Value',0,'',2,1,10,'{}',1),(10,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_ipreorder_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ipreorder_invmap`
--
DROP TABLE IF EXISTS `u_yf_ipreorder_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ipreorder_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ipreorder_invmap`
--
LOCK TABLES `u_yf_ipreorder_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_ipreorder_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_ipreorder_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_ipreorder_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ipreordercf`
--
DROP TABLE IF EXISTS `u_yf_ipreordercf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ipreordercf` (
`ipreorderid` int NOT NULL,
PRIMARY KEY (`ipreorderid`),
CONSTRAINT `u_yf_ipreordercf_ibfk_1` FOREIGN KEY (`ipreorderid`) REFERENCES `u_yf_ipreorder` (`ipreorderid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ipreordercf`
--
LOCK TABLES `u_yf_ipreordercf` WRITE;
/*!40000 ALTER TABLE `u_yf_ipreordercf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ipreordercf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istdn`
--
DROP TABLE IF EXISTS `u_yf_istdn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istdn` (
`istdnid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`istdn_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
`sum_total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`process` int DEFAULT NULL,
`subprocess` int DEFAULT NULL,
PRIMARY KEY (`istdnid`),
KEY `storageid` (`storageid`),
KEY `accountid` (`accountid`),
KEY `process` (`process`),
KEY `subprocess` (`subprocess`),
CONSTRAINT `u_yf_istdn_ibfk_1` FOREIGN KEY (`istdnid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istdn`
--
LOCK TABLES `u_yf_istdn` WRITE;
/*!40000 ALTER TABLE `u_yf_istdn` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istdn` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istdn_inventory`
--
DROP TABLE IF EXISTS `u_yf_istdn_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istdn_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(255) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_istdn_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_istdn_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_istdn` (`istdnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istdn_inventory`
--
LOCK TABLES `u_yf_istdn_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_istdn_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istdn_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istdn_invfield`
--
DROP TABLE IF EXISTS `u_yf_istdn_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istdn_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istdn_invfield`
--
LOCK TABLES `u_yf_istdn_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_istdn_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_istdn_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(4,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(5,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(6,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,'',1),(7,'unit','LBL_UNIT','Value',0,'',3,1,10,'',1),(8,'ean','LBL_EAN','Value',0,'',2,1,10,'',1),(9,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_istdn_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istdn_invmap`
--
DROP TABLE IF EXISTS `u_yf_istdn_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istdn_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istdn_invmap`
--
LOCK TABLES `u_yf_istdn_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_istdn_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_istdn_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_istdn_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istdncf`
--
DROP TABLE IF EXISTS `u_yf_istdncf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istdncf` (
`istdnid` int NOT NULL,
PRIMARY KEY (`istdnid`),
CONSTRAINT `u_yf_istdncf_ibfk_1` FOREIGN KEY (`istdnid`) REFERENCES `u_yf_istdn` (`istdnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istdncf`
--
LOCK TABLES `u_yf_istdncf` WRITE;
/*!40000 ALTER TABLE `u_yf_istdncf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istdncf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istn`
--
DROP TABLE IF EXISTS `u_yf_istn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istn` (
`istnid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`istn_status` varchar(255) DEFAULT NULL,
`estimated_date` date DEFAULT NULL,
`istn_type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`istnid`),
CONSTRAINT `u_yf_istn_ibfk_1` FOREIGN KEY (`istnid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istn`
--
LOCK TABLES `u_yf_istn` WRITE;
/*!40000 ALTER TABLE `u_yf_istn` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istn` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istncf`
--
DROP TABLE IF EXISTS `u_yf_istncf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istncf` (
`istnid` int NOT NULL,
PRIMARY KEY (`istnid`),
CONSTRAINT `u_yf_istncf_ibfk_1` FOREIGN KEY (`istnid`) REFERENCES `u_yf_istn` (`istnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istncf`
--
LOCK TABLES `u_yf_istncf` WRITE;
/*!40000 ALTER TABLE `u_yf_istncf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istncf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istorages`
--
DROP TABLE IF EXISTS `u_yf_istorages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istorages` (
`istorageid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`storage_status` varchar(255) DEFAULT '',
`storage_type` varchar(255) DEFAULT '',
`parentid` int DEFAULT NULL,
PRIMARY KEY (`istorageid`),
KEY `parentid` (`parentid`),
CONSTRAINT `u_yf_istorages_ibfk_1` FOREIGN KEY (`istorageid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istorages`
--
LOCK TABLES `u_yf_istorages` WRITE;
/*!40000 ALTER TABLE `u_yf_istorages` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istorages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istorages_address`
--
DROP TABLE IF EXISTS `u_yf_istorages_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istorages_address` (
`istorageaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
PRIMARY KEY (`istorageaddressid`),
CONSTRAINT `u_yf_istorages_address_ibfk_1` FOREIGN KEY (`istorageaddressid`) REFERENCES `u_yf_istorages` (`istorageid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istorages_address`
--
LOCK TABLES `u_yf_istorages_address` WRITE;
/*!40000 ALTER TABLE `u_yf_istorages_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istorages_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istorages_products`
--
DROP TABLE IF EXISTS `u_yf_istorages_products`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istorages_products` (
`crmid` int DEFAULT NULL,
`relcrmid` int DEFAULT NULL,
`qtyinstock` decimal(25,3) DEFAULT NULL,
KEY `crmid` (`crmid`),
KEY `relcrmid` (`relcrmid`),
CONSTRAINT `u_yf_istorages_products_ibfk_1` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_istorages_products_ibfk_2` FOREIGN KEY (`relcrmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istorages_products`
--
LOCK TABLES `u_yf_istorages_products` WRITE;
/*!40000 ALTER TABLE `u_yf_istorages_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istorages_products` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istoragescf`
--
DROP TABLE IF EXISTS `u_yf_istoragescf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istoragescf` (
`istorageid` int NOT NULL,
PRIMARY KEY (`istorageid`),
CONSTRAINT `u_yf_istoragescf_ibfk_1` FOREIGN KEY (`istorageid`) REFERENCES `u_yf_istorages` (`istorageid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istoragescf`
--
LOCK TABLES `u_yf_istoragescf` WRITE;
/*!40000 ALTER TABLE `u_yf_istoragescf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istoragescf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istrn`
--
DROP TABLE IF EXISTS `u_yf_istrn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istrn` (
`istrnid` int NOT NULL,
`number` varchar(32) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`storageid` int DEFAULT NULL,
`istrn_status` varchar(255) DEFAULT NULL,
`vendorid` int DEFAULT NULL,
`acceptance_date` date DEFAULT NULL,
`sum_total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`process` int DEFAULT NULL,
`subprocess` int DEFAULT NULL,
PRIMARY KEY (`istrnid`),
KEY `storageid` (`storageid`),
KEY `vendorid` (`vendorid`),
KEY `process` (`process`),
KEY `subprocess` (`subprocess`),
CONSTRAINT `u_yf_istrn_ibfk_1` FOREIGN KEY (`istrnid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istrn`
--
LOCK TABLES `u_yf_istrn` WRITE;
/*!40000 ALTER TABLE `u_yf_istrn` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istrn` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istrn_inventory`
--
DROP TABLE IF EXISTS `u_yf_istrn_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istrn_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`comment1` text,
`unit` varchar(255) DEFAULT NULL,
`ean` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_istrn_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_istrn_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_istrn` (`istrnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istrn_inventory`
--
LOCK TABLES `u_yf_istrn_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_istrn_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istrn_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istrn_invfield`
--
DROP TABLE IF EXISTS `u_yf_istrn_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istrn_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istrn_invfield`
--
LOCK TABLES `u_yf_istrn_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_istrn_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_istrn_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',1,1,0,'{\"modules\":\"Products\",\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',5,1,0,'{}',1),(3,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',6,1,0,'{}',1),(4,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',7,1,0,'{}',1),(5,'comment1','LBL_COMMENT','Comment',0,'',5,2,0,'{}',0),(6,'seq','LBL_ITEM_NUMBER','ItemNumber',0,'',0,1,0,'',1),(7,'unit','LBL_UNIT','Value',0,'',3,1,10,'',1),(8,'ean','LBL_EAN','Value',0,'',2,1,10,'',1),(9,'subunit','FL_SUBUNIT','Value',0,'',4,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_istrn_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istrn_invmap`
--
DROP TABLE IF EXISTS `u_yf_istrn_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istrn_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istrn_invmap`
--
LOCK TABLES `u_yf_istrn_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_istrn_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_istrn_invmap` VALUES ('Products','ean','ean'),('Products','subunit','subunit'),('Products','usageunit','unit');
/*!40000 ALTER TABLE `u_yf_istrn_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_istrncf`
--
DROP TABLE IF EXISTS `u_yf_istrncf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_istrncf` (
`istrnid` int NOT NULL,
PRIMARY KEY (`istrnid`),
CONSTRAINT `u_yf_istrncf_ibfk_1` FOREIGN KEY (`istrnid`) REFERENCES `u_yf_istrn` (`istrnid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_istrncf`
--
LOCK TABLES `u_yf_istrncf` WRITE;
/*!40000 ALTER TABLE `u_yf_istrncf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_istrncf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_knowledgebase`
--
DROP TABLE IF EXISTS `u_yf_knowledgebase`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_knowledgebase` (
`knowledgebaseid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`content` mediumtext,
`category` varchar(200) DEFAULT NULL,
`knowledgebase_view` varchar(255) DEFAULT NULL,
`knowledgebase_status` varchar(255) DEFAULT '',
`featured` tinyint(1) DEFAULT '0',
`introduction` text,
PRIMARY KEY (`knowledgebaseid`),
FULLTEXT KEY `search` (`subject`,`content`,`introduction`),
CONSTRAINT `fk_1_vtiger_knowledgebase` FOREIGN KEY (`knowledgebaseid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_knowledgebase`
--
LOCK TABLES `u_yf_knowledgebase` WRITE;
/*!40000 ALTER TABLE `u_yf_knowledgebase` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_knowledgebase` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_knowledgebase_knowledgebase`
--
DROP TABLE IF EXISTS `u_yf_knowledgebase_knowledgebase`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_knowledgebase_knowledgebase` (
`crmid` int DEFAULT NULL,
`relcrmid` int DEFAULT NULL,
KEY `u_yf_knowledgebase_knowledgebase_crmid_idx` (`crmid`),
KEY `u_yf_knowledgebase_knowledgebase_relcrmid_idx` (`relcrmid`),
CONSTRAINT `fk_1_u_yf_knowledgebase_knowledgebase` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `fk_2_u_yf_knowledgebase_knowledgebase` FOREIGN KEY (`relcrmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_knowledgebase_knowledgebase`
--
LOCK TABLES `u_yf_knowledgebase_knowledgebase` WRITE;
/*!40000 ALTER TABLE `u_yf_knowledgebase_knowledgebase` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_knowledgebase_knowledgebase` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_knowledgebasecf`
--
DROP TABLE IF EXISTS `u_yf_knowledgebasecf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_knowledgebasecf` (
`knowledgebaseid` int NOT NULL,
PRIMARY KEY (`knowledgebaseid`),
CONSTRAINT `fk_1_vtiger_knowledgebasecf` FOREIGN KEY (`knowledgebaseid`) REFERENCES `u_yf_knowledgebase` (`knowledgebaseid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_knowledgebasecf`
--
LOCK TABLES `u_yf_knowledgebasecf` WRITE;
/*!40000 ALTER TABLE `u_yf_knowledgebasecf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_knowledgebasecf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_locationregister`
--
DROP TABLE IF EXISTS `u_yf_locationregister`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_locationregister` (
`locationregisterid` int NOT NULL,
`name` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`parent_id` int unsigned DEFAULT '0',
`locationregister_status` varchar(255) DEFAULT '',
`security_type` text,
`building_number` varchar(10) DEFAULT '',
`street` varchar(255) DEFAULT '',
`district` varchar(255) DEFAULT '',
`township` varchar(255) DEFAULT '',
`state` varchar(255) DEFAULT '',
`pobox` varchar(100) DEFAULT '',
`local_number` varchar(20) DEFAULT '',
`post_code` varchar(20) DEFAULT '',
`city` varchar(150) DEFAULT '',
`county` varchar(150) DEFAULT '',
`country` varchar(150) DEFAULT '',
PRIMARY KEY (`locationregisterid`),
KEY `u_yf_locationregister_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_locationregisterlocationregisterid` FOREIGN KEY (`locationregisterid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_locationregister`
--
LOCK TABLES `u_yf_locationregister` WRITE;
/*!40000 ALTER TABLE `u_yf_locationregister` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_locationregister` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_locationregistercf`
--
DROP TABLE IF EXISTS `u_yf_locationregistercf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_locationregistercf` (
`locationregisterid` int NOT NULL,
PRIMARY KEY (`locationregisterid`),
CONSTRAINT `fk_1_u_yf_locationregistercflocationregisterid` FOREIGN KEY (`locationregisterid`) REFERENCES `u_yf_locationregister` (`locationregisterid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_locationregistercf`
--
LOCK TABLES `u_yf_locationregistercf` WRITE;
/*!40000 ALTER TABLE `u_yf_locationregistercf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_locationregistercf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_locations`
--
DROP TABLE IF EXISTS `u_yf_locations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_locations` (
`locationsid` int NOT NULL DEFAULT '0',
`locations_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`email` varchar(100) DEFAULT '',
`active` tinyint(1) DEFAULT '0',
`phone` varchar(30) DEFAULT '',
`phone_extra` varchar(100) DEFAULT NULL,
`capacity` int unsigned DEFAULT '0',
`coordinates` varchar(100) DEFAULT NULL,
PRIMARY KEY (`locationsid`),
CONSTRAINT `fk_1_u_yf_locations` FOREIGN KEY (`locationsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_locations`
--
LOCK TABLES `u_yf_locations` WRITE;
/*!40000 ALTER TABLE `u_yf_locations` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_locations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_locations_address`
--
DROP TABLE IF EXISTS `u_yf_locations_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_locations_address` (
`locationaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
PRIMARY KEY (`locationaddressid`),
CONSTRAINT `u_yf_locations_address_ibfk_1` FOREIGN KEY (`locationaddressid`) REFERENCES `u_yf_locations` (`locationsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_locations_address`
--
LOCK TABLES `u_yf_locations_address` WRITE;
/*!40000 ALTER TABLE `u_yf_locations_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_locations_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_mail_address_book`
--
DROP TABLE IF EXISTS `u_yf_mail_address_book`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_mail_address_book` (
`id` int NOT NULL,
`email` varchar(100) NOT NULL,
`name` varchar(255) NOT NULL,
`users` text NOT NULL,
KEY `email` (`email`,`name`),
KEY `id` (`id`),
CONSTRAINT `u_yf_mail_address_book_ibfk_1` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_mail_address_book`
--
LOCK TABLES `u_yf_mail_address_book` WRITE;
/*!40000 ALTER TABLE `u_yf_mail_address_book` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_mail_address_book` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_mail_autologin`
--
DROP TABLE IF EXISTS `u_yf_mail_autologin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_mail_autologin` (
`ruid` smallint unsigned NOT NULL,
`key` varchar(50) NOT NULL,
`cuid` smallint unsigned NOT NULL,
`params` text NOT NULL,
KEY `ruid` (`ruid`),
KEY `cuid` (`cuid`),
KEY `key` (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_mail_autologin`
--
LOCK TABLES `u_yf_mail_autologin` WRITE;
/*!40000 ALTER TABLE `u_yf_mail_autologin` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_mail_autologin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_mail_compose_data`
--
DROP TABLE IF EXISTS `u_yf_mail_compose_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_mail_compose_data` (
`userid` smallint unsigned NOT NULL,
`key` varchar(32) NOT NULL,
`data` text NOT NULL,
UNIQUE KEY `userid` (`userid`,`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_mail_compose_data`
--
LOCK TABLES `u_yf_mail_compose_data` WRITE;
/*!40000 ALTER TABLE `u_yf_mail_compose_data` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_mail_compose_data` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_mail_quantities`
--
DROP TABLE IF EXISTS `u_yf_mail_quantities`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_mail_quantities` (
`userid` int unsigned NOT NULL,
`num` smallint unsigned DEFAULT '0',
`date` datetime DEFAULT NULL,
PRIMARY KEY (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_mail_quantities`
--
LOCK TABLES `u_yf_mail_quantities` WRITE;
/*!40000 ALTER TABLE `u_yf_mail_quantities` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_mail_quantities` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_mailscanner_folders`
--
DROP TABLE IF EXISTS `u_yf_mailscanner_folders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_mailscanner_folders` (
`id` int unsigned NOT NULL,
`name` varchar(255) NOT NULL,
`uid` int unsigned NOT NULL DEFAULT '0',
UNIQUE KEY `u_yf_mailscanner_folders_user_id_name_idx` (`id`,`name`),
CONSTRAINT `u_yf_mailscanner_folders_id_fk` FOREIGN KEY (`id`) REFERENCES `s_yf_mail_account` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_mailscanner_folders`
--
LOCK TABLES `u_yf_mailscanner_folders` WRITE;
/*!40000 ALTER TABLE `u_yf_mailscanner_folders` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_mailscanner_folders` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_modentity_sequences`
--
DROP TABLE IF EXISTS `u_yf_modentity_sequences`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_modentity_sequences` (
`tabid` smallint NOT NULL,
`value` varchar(255) DEFAULT NULL,
`cur_id` int unsigned DEFAULT '0',
UNIQUE KEY `u_yf_modentity_sequences_tabid_idx` (`tabid`,`value`),
CONSTRAINT `u_yf_modentity_sequences_tabid_fk` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_modentity_sequences`
--
LOCK TABLES `u_yf_modentity_sequences` WRITE;
/*!40000 ALTER TABLE `u_yf_modentity_sequences` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_modentity_sequences` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_modtracker_inv`
--
DROP TABLE IF EXISTS `u_yf_modtracker_inv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_modtracker_inv` (
`id` int unsigned NOT NULL,
`changes` text NOT NULL,
KEY `u_yf_modtracker_inv_id_idx` (`id`),
CONSTRAINT `u_yf_modtracker_inv_id_fk` FOREIGN KEY (`id`) REFERENCES `vtiger_modtracker_basic` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_modtracker_inv`
--
LOCK TABLES `u_yf_modtracker_inv` WRITE;
/*!40000 ALTER TABLE `u_yf_modtracker_inv` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_modtracker_inv` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_multicompany`
--
DROP TABLE IF EXISTS `u_yf_multicompany`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_multicompany` (
`multicompanyid` int NOT NULL,
`company_name` varchar(255) DEFAULT NULL,
`parent_id` int DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`mulcomp_status` varchar(255) DEFAULT NULL,
`email1` varchar(100) DEFAULT NULL,
`email2` varchar(100) DEFAULT NULL,
`phone` varchar(30) DEFAULT NULL,
`phone_extra` varchar(100) DEFAULT NULL,
`mobile` varchar(30) DEFAULT NULL,
`mobile_extra` varchar(100) DEFAULT NULL,
`fax` varchar(30) DEFAULT NULL,
`fax_extra` varchar(100) DEFAULT NULL,
`vat` varchar(255) DEFAULT NULL,
`companyid1` varchar(255) DEFAULT NULL,
`companyid2` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
`website` varchar(255) DEFAULT '',
`logo` text,
PRIMARY KEY (`multicompanyid`),
KEY `multicompany_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_multicompanymulticompanyid` FOREIGN KEY (`multicompanyid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_multicompany`
--
LOCK TABLES `u_yf_multicompany` WRITE;
/*!40000 ALTER TABLE `u_yf_multicompany` DISABLE KEYS */;
INSERT INTO `u_yf_multicompany` VALUES (1,'YetiForce S.A. ',0,'MC1','PLL_ACTIVE','','','','','','','','','','','','','','','','','','','','','','','','[{\"name\":\"logo_yetiforce.png\",\"size\":\"3 KB\",\"path\":\"public_html/layouts/resources/Logo/logo_login_page.png\",\"key\":\"11111111111111111111111111111111111111111111111111\"}]');
/*!40000 ALTER TABLE `u_yf_multicompany` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_multicompanycf`
--
DROP TABLE IF EXISTS `u_yf_multicompanycf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_multicompanycf` (
`multicompanyid` int NOT NULL,
`public_notes` text,
`internal_notes` text,
PRIMARY KEY (`multicompanyid`),
CONSTRAINT `fk_1_u_yf_multicompanycfmulticompanyid` FOREIGN KEY (`multicompanyid`) REFERENCES `u_yf_multicompany` (`multicompanyid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_multicompanycf`
--
LOCK TABLES `u_yf_multicompanycf` WRITE;
/*!40000 ALTER TABLE `u_yf_multicompanycf` DISABLE KEYS */;
INSERT INTO `u_yf_multicompanycf` VALUES (1,'','');
/*!40000 ALTER TABLE `u_yf_multicompanycf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_notification`
--
DROP TABLE IF EXISTS `u_yf_notification`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_notification` (
`notificationid` int NOT NULL,
`title` varchar(255) DEFAULT NULL,
`number` varchar(50) DEFAULT NULL,
`notification_status` varchar(255) DEFAULT NULL,
`notification_type` varchar(255) DEFAULT '',
`link` int DEFAULT NULL,
`process` int DEFAULT NULL,
`subprocess` int DEFAULT NULL,
`linkextend` int DEFAULT NULL,
`category` varchar(30) DEFAULT '',
`subprocess_sl` int unsigned DEFAULT '0',
PRIMARY KEY (`notificationid`),
KEY `link` (`link`),
KEY `process` (`process`),
KEY `subprocess` (`subprocess`),
KEY `linkextend` (`linkextend`),
KEY `notification_status` (`notification_status`),
CONSTRAINT `fk_1_notification` FOREIGN KEY (`notificationid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_notification`
--
LOCK TABLES `u_yf_notification` WRITE;
/*!40000 ALTER TABLE `u_yf_notification` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_notification` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_occurrences`
--
DROP TABLE IF EXISTS `u_yf_occurrences`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_occurrences` (
`occurrencesid` int NOT NULL,
`topic` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`occurrences_status` varchar(255) DEFAULT NULL,
`occurrences_type` varchar(255) DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`description` text,
`attention` text,
`occurrences_rating` varchar(255) DEFAULT '',
`locationid` int unsigned DEFAULT '0',
`participants` int unsigned DEFAULT '0',
`meeting_url` varchar(2048) DEFAULT NULL,
PRIMARY KEY (`occurrencesid`),
KEY `u_yf_occurrences_locationid_idx` (`locationid`),
CONSTRAINT `fk_1_u_yf_occurrencesoccurrencesid` FOREIGN KEY (`occurrencesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_occurrences`
--
LOCK TABLES `u_yf_occurrences` WRITE;
/*!40000 ALTER TABLE `u_yf_occurrences` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_occurrences` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_openstreetmap`
--
DROP TABLE IF EXISTS `u_yf_openstreetmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_openstreetmap` (
`crmid` int NOT NULL,
`type` varchar(50) NOT NULL,
`lat` decimal(13,10) NOT NULL,
`lon` decimal(13,10) NOT NULL,
KEY `u_yf_openstreetmap_lat_lon` (`lat`,`lon`),
KEY `crmid_type` (`crmid`,`type`),
CONSTRAINT `u_yf_openstreetmap_ibfk_1` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_openstreetmap`
--
LOCK TABLES `u_yf_openstreetmap` WRITE;
/*!40000 ALTER TABLE `u_yf_openstreetmap` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_openstreetmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_openstreetmap_address_updater`
--
DROP TABLE IF EXISTS `u_yf_openstreetmap_address_updater`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_openstreetmap_address_updater` (
`crmid` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_openstreetmap_address_updater`
--
LOCK TABLES `u_yf_openstreetmap_address_updater` WRITE;
/*!40000 ALTER TABLE `u_yf_openstreetmap_address_updater` DISABLE KEYS */;
INSERT INTO `u_yf_openstreetmap_address_updater` VALUES (0);
/*!40000 ALTER TABLE `u_yf_openstreetmap_address_updater` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_openstreetmap_cache`
--
DROP TABLE IF EXISTS `u_yf_openstreetmap_cache`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_openstreetmap_cache` (
`user_id` int NOT NULL,
`module_name` varchar(25) NOT NULL,
`crmids` int NOT NULL,
KEY `u_yf_openstreetmap_cache_user_id_module_name_idx` (`user_id`,`module_name`),
KEY `u_yf_openstreetmap_cache_crmids_idx` (`crmids`),
KEY `u_yf_openstreetmap_cache_module_name_idx` (`module_name`),
CONSTRAINT `u_yf_openstreetmap_cache_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE,
CONSTRAINT `u_yf_openstreetmap_cache_ibfk_2` FOREIGN KEY (`crmids`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_openstreetmap_cache_ibfk_3` FOREIGN KEY (`module_name`) REFERENCES `vtiger_tab` (`name`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_openstreetmap_cache`
--
LOCK TABLES `u_yf_openstreetmap_cache` WRITE;
/*!40000 ALTER TABLE `u_yf_openstreetmap_cache` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_openstreetmap_cache` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_openstreetmap_record_updater`
--
DROP TABLE IF EXISTS `u_yf_openstreetmap_record_updater`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_openstreetmap_record_updater` (
`crmid` int NOT NULL,
`type` char(1) NOT NULL,
`address` text NOT NULL,
KEY `crmid` (`crmid`,`type`),
CONSTRAINT `u_yf_openstreetmap_record_updater_ibfk_1` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_openstreetmap_record_updater`
--
LOCK TABLES `u_yf_openstreetmap_record_updater` WRITE;
/*!40000 ALTER TABLE `u_yf_openstreetmap_record_updater` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_openstreetmap_record_updater` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_partners`
--
DROP TABLE IF EXISTS `u_yf_partners`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_partners` (
`partnersid` int NOT NULL DEFAULT '0',
`partners_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`vat_id` varchar(50) DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`email` varchar(100) DEFAULT '',
`active` tinyint(1) DEFAULT '0',
`category` varchar(255) DEFAULT '',
`parentid` int unsigned DEFAULT '0',
PRIMARY KEY (`partnersid`),
KEY `u_yf_partners_parentid_idx` (`parentid`),
CONSTRAINT `fk_1_u_yf_partners` FOREIGN KEY (`partnersid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_partners`
--
LOCK TABLES `u_yf_partners` WRITE;
/*!40000 ALTER TABLE `u_yf_partners` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_partners` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_partners_address`
--
DROP TABLE IF EXISTS `u_yf_partners_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_partners_address` (
`partneraddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
PRIMARY KEY (`partneraddressid`),
CONSTRAINT `u_yf_partners_address_ibfk_1` FOREIGN KEY (`partneraddressid`) REFERENCES `u_yf_partners` (`partnersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_partners_address`
--
LOCK TABLES `u_yf_partners_address` WRITE;
/*!40000 ALTER TABLE `u_yf_partners_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_partners_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_partnerscf`
--
DROP TABLE IF EXISTS `u_yf_partnerscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_partnerscf` (
`partnersid` int NOT NULL,
PRIMARY KEY (`partnersid`),
CONSTRAINT `fk_1_u_yf_partnerscf` FOREIGN KEY (`partnersid`) REFERENCES `u_yf_partners` (`partnersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_partnerscf`
--
LOCK TABLES `u_yf_partnerscf` WRITE;
/*!40000 ALTER TABLE `u_yf_partnerscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_partnerscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_passwords`
--
DROP TABLE IF EXISTS `u_yf_passwords`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_passwords` (
`passwordsid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`multicompanyid` int unsigned DEFAULT '0',
`link` int unsigned DEFAULT NULL,
`linkextend` int unsigned DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
`username` varchar(255) DEFAULT '',
`password` varchar(255) DEFAULT '',
PRIMARY KEY (`passwordsid`),
KEY `u_yf_passwords_multicompanyid_idx` (`multicompanyid`),
CONSTRAINT `fk_1_u_yf_passwordspasswordsid` FOREIGN KEY (`passwordsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_passwords`
--
LOCK TABLES `u_yf_passwords` WRITE;
/*!40000 ALTER TABLE `u_yf_passwords` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_passwords` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_pdf_inv_scheme`
--
DROP TABLE IF EXISTS `u_yf_pdf_inv_scheme`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_pdf_inv_scheme` (
`crmid` int NOT NULL,
`columns` text,
KEY `crmid` (`crmid`),
CONSTRAINT `fk_u_yf_pdf_inv_scheme_crmid` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_pdf_inv_scheme`
--
LOCK TABLES `u_yf_pdf_inv_scheme` WRITE;
/*!40000 ALTER TABLE `u_yf_pdf_inv_scheme` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_pdf_inv_scheme` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_picklist_close_state`
--
DROP TABLE IF EXISTS `u_yf_picklist_close_state`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_picklist_close_state` (
`valueid` int NOT NULL,
`fieldid` int NOT NULL,
`value` varchar(255) NOT NULL,
PRIMARY KEY (`valueid`),
KEY `fieldid` (`fieldid`),
CONSTRAINT `fk_1_u_yf_picklist_close_state` FOREIGN KEY (`fieldid`) REFERENCES `vtiger_field` (`fieldid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_picklist_close_state`
--
LOCK TABLES `u_yf_picklist_close_state` WRITE;
/*!40000 ALTER TABLE `u_yf_picklist_close_state` DISABLE KEYS */;
INSERT INTO `u_yf_picklist_close_state` VALUES (958,2606,'PLL_DELIVERED'),(962,2606,'PLL_REPLY');
/*!40000 ALTER TABLE `u_yf_picklist_close_state` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_productcategory`
--
DROP TABLE IF EXISTS `u_yf_productcategory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_productcategory` (
`productcategoryid` int NOT NULL,
`category` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`parent_id` int unsigned DEFAULT '0',
`active` tinyint(1) DEFAULT '0',
PRIMARY KEY (`productcategoryid`),
KEY `u_yf_productcategory_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_productcategoryproductcategoryid` FOREIGN KEY (`productcategoryid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_productcategory`
--
LOCK TABLES `u_yf_productcategory` WRITE;
/*!40000 ALTER TABLE `u_yf_productcategory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_productcategory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_productcategorycf`
--
DROP TABLE IF EXISTS `u_yf_productcategorycf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_productcategorycf` (
`productcategoryid` int NOT NULL,
PRIMARY KEY (`productcategoryid`),
CONSTRAINT `fk_1_u_yf_productcategorycfproductcategoryid` FOREIGN KEY (`productcategoryid`) REFERENCES `u_yf_productcategory` (`productcategoryid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_productcategorycf`
--
LOCK TABLES `u_yf_productcategorycf` WRITE;
/*!40000 ALTER TABLE `u_yf_productcategorycf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_productcategorycf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_queue`
--
DROP TABLE IF EXISTS `u_yf_queue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_queue` (
`queueid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`related_to` int unsigned DEFAULT '0',
`reason_for_change` text,
`reason_for_rejection` text,
`changes` text,
`queue_status` varchar(255) DEFAULT '',
PRIMARY KEY (`queueid`),
KEY `u_yf_queue_related_to_idx` (`related_to`),
CONSTRAINT `fk_1_u_yf_queuequeueid` FOREIGN KEY (`queueid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_queue`
--
LOCK TABLES `u_yf_queue` WRITE;
/*!40000 ALTER TABLE `u_yf_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_queue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_recurring_info`
--
DROP TABLE IF EXISTS `u_yf_recurring_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_recurring_info` (
`srecurringordersid` int NOT NULL DEFAULT '0',
`target_module` varchar(25) DEFAULT NULL,
`recurring_frequency` varchar(100) DEFAULT NULL,
`start_period` date DEFAULT NULL,
`end_period` date DEFAULT NULL,
`date_start` date DEFAULT NULL,
`date_end` date DEFAULT NULL,
`last_recurring_date` date DEFAULT NULL,
PRIMARY KEY (`srecurringordersid`),
CONSTRAINT `u_yf_recurring_info_fk1` FOREIGN KEY (`srecurringordersid`) REFERENCES `u_yf_srecurringorders` (`srecurringordersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_recurring_info`
--
LOCK TABLES `u_yf_recurring_info` WRITE;
/*!40000 ALTER TABLE `u_yf_recurring_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_recurring_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_relations_members_entity`
--
DROP TABLE IF EXISTS `u_yf_relations_members_entity`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_relations_members_entity` (
`crmid` int DEFAULT NULL,
`relcrmid` int DEFAULT NULL,
`status_rel` varchar(225) DEFAULT NULL,
`comment_rel` text,
`rel_created_user` int DEFAULT NULL,
KEY `u_yf_relations_members_entity_crmid_idx` (`crmid`),
KEY `u_yf_relations_members_entity_relcrmid_idx` (`relcrmid`),
CONSTRAINT `u_yf_relations_members_entity_crmid_fk` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_relations_members_entity_relcrmid_fk` FOREIGN KEY (`relcrmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_relations_members_entity`
--
LOCK TABLES `u_yf_relations_members_entity` WRITE;
/*!40000 ALTER TABLE `u_yf_relations_members_entity` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_relations_members_entity` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_report_template`
--
DROP TABLE IF EXISTS `u_yf_report_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_report_template` (
`id` int NOT NULL,
`query_id` smallint DEFAULT NULL,
`name` varchar(255) NOT NULL,
`description` text,
`number` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_report_template_query_fk` (`query_id`),
CONSTRAINT `u_yf_report_template_crmentity_fk` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_report_template_query_fk` FOREIGN KEY (`query_id`) REFERENCES `u_yf_report_template_query` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_report_template`
--
LOCK TABLES `u_yf_report_template` WRITE;
/*!40000 ALTER TABLE `u_yf_report_template` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_report_template` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_report_template_cf`
--
DROP TABLE IF EXISTS `u_yf_report_template_cf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_report_template_cf` (
`id` int NOT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `u_yf_report_template_cf_fk` FOREIGN KEY (`id`) REFERENCES `u_yf_report_template` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_report_template_cf`
--
LOCK TABLES `u_yf_report_template_cf` WRITE;
/*!40000 ALTER TABLE `u_yf_report_template_cf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_report_template_cf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_report_template_query`
--
DROP TABLE IF EXISTS `u_yf_report_template_query`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_report_template_query` (
`id` smallint NOT NULL AUTO_INCREMENT,
`parent_id` smallint DEFAULT NULL,
`base_module_id` smallint NOT NULL,
`data_sources` text NOT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_report_template_query_parent_fk` (`parent_id`),
KEY `u_yf_report_template_query_base_module_fk` (`base_module_id`),
CONSTRAINT `u_yf_report_template_query_base_module_fk` FOREIGN KEY (`base_module_id`) REFERENCES `vtiger_entityname` (`tabid`) ON DELETE CASCADE,
CONSTRAINT `u_yf_report_template_query_parent_fk` FOREIGN KEY (`parent_id`) REFERENCES `u_yf_report_template_query` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_report_template_query`
--
LOCK TABLES `u_yf_report_template_query` WRITE;
/*!40000 ALTER TABLE `u_yf_report_template_query` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_report_template_query` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_report_template_query_expression`
--
DROP TABLE IF EXISTS `u_yf_report_template_query_expression`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_report_template_query_expression` (
`id` smallint NOT NULL AUTO_INCREMENT,
`query_id` smallint NOT NULL,
`field` varchar(255) NOT NULL,
`function` varchar(255) DEFAULT NULL,
`group_by` tinyint unsigned DEFAULT NULL,
`order_by` varchar(4) DEFAULT NULL,
`sort` tinyint NOT NULL,
`formula_field` tinyint unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `u_yf_report_template_query_expression_query_fk` (`query_id`),
CONSTRAINT `u_yf_report_template_query_expression_query_fk` FOREIGN KEY (`query_id`) REFERENCES `u_yf_report_template_query` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_report_template_query_expression`
--
LOCK TABLES `u_yf_report_template_query_expression` WRITE;
/*!40000 ALTER TABLE `u_yf_report_template_query_expression` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_report_template_query_expression` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_report_template_query_filter`
--
DROP TABLE IF EXISTS `u_yf_report_template_query_filter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_report_template_query_filter` (
`id` smallint NOT NULL AUTO_INCREMENT,
`filter_group_id` smallint NOT NULL,
`field` varchar(255) NOT NULL,
`operator` varchar(25) NOT NULL,
`value` varchar(255) DEFAULT NULL,
`subquery_id` smallint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_report_template_query_filter_filter_group_fk` (`filter_group_id`),
KEY `u_yf_report_template_query_filter_subquery_fk` (`subquery_id`),
CONSTRAINT `u_yf_report_template_query_filter_filter_group_fk` FOREIGN KEY (`filter_group_id`) REFERENCES `u_yf_report_template_query_filter_group` (`id`) ON DELETE CASCADE,
CONSTRAINT `u_yf_report_template_query_filter_subquery_fk` FOREIGN KEY (`subquery_id`) REFERENCES `u_yf_report_template_query` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_report_template_query_filter`
--
LOCK TABLES `u_yf_report_template_query_filter` WRITE;
/*!40000 ALTER TABLE `u_yf_report_template_query_filter` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_report_template_query_filter` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_report_template_query_filter_group`
--
DROP TABLE IF EXISTS `u_yf_report_template_query_filter_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_report_template_query_filter_group` (
`id` smallint NOT NULL AUTO_INCREMENT,
`query_id` smallint NOT NULL,
`condition` varchar(3) NOT NULL,
`parent_id` smallint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_report_template_query_filter_group_query_fk` (`query_id`),
KEY `u_yf_report_template_query_filter_group_parent_fk` (`parent_id`),
CONSTRAINT `u_yf_report_template_query_filter_group_parent_fk` FOREIGN KEY (`parent_id`) REFERENCES `u_yf_report_template_query_filter_group` (`id`) ON DELETE CASCADE,
CONSTRAINT `u_yf_report_template_query_filter_group_query_fk` FOREIGN KEY (`query_id`) REFERENCES `u_yf_report_template_query` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_report_template_query_filter_group`
--
LOCK TABLES `u_yf_report_template_query_filter_group` WRITE;
/*!40000 ALTER TABLE `u_yf_report_template_query_filter_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_report_template_query_filter_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_report_template_query_join`
--
DROP TABLE IF EXISTS `u_yf_report_template_query_join`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_report_template_query_join` (
`id` smallint NOT NULL AUTO_INCREMENT,
`query_id` smallint NOT NULL,
`relation_id` smallint unsigned NOT NULL,
`type` varchar(5) NOT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_report_template_query_join_query_fk` (`query_id`),
KEY `u_yf_report_template_query_join_relation_fk` (`relation_id`),
CONSTRAINT `u_yf_report_template_query_join_query_fk` FOREIGN KEY (`query_id`) REFERENCES `u_yf_report_template_query` (`id`) ON DELETE CASCADE,
CONSTRAINT `u_yf_report_template_query_join_relation_fk` FOREIGN KEY (`relation_id`) REFERENCES `vtiger_relatedlists` (`relation_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_report_template_query_join`
--
LOCK TABLES `u_yf_report_template_query_join` WRITE;
/*!40000 ALTER TABLE `u_yf_report_template_query_join` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_report_template_query_join` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_reviewed_queue`
--
DROP TABLE IF EXISTS `u_yf_reviewed_queue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_reviewed_queue` (
`id` int NOT NULL,
`userid` int NOT NULL,
`tabid` smallint DEFAULT NULL,
`data` text,
`time` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `userid` (`userid`),
CONSTRAINT `fk_1_u_yf_reviewed_queue` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_reviewed_queue`
--
LOCK TABLES `u_yf_reviewed_queue` WRITE;
/*!40000 ALTER TABLE `u_yf_reviewed_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_reviewed_queue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_scalculations`
--
DROP TABLE IF EXISTS `u_yf_scalculations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_scalculations` (
`scalculationsid` int NOT NULL DEFAULT '0',
`scalculations_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`salesprocessid` int DEFAULT NULL,
`srequirementscardsid` int DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`scalculations_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_marginp` decimal(10,2) DEFAULT NULL,
`sum_margin` decimal(28,8) DEFAULT NULL,
`parent_id` int unsigned DEFAULT '0',
PRIMARY KEY (`scalculationsid`),
KEY `salesprocessid` (`salesprocessid`),
KEY `accountid` (`accountid`),
KEY `srequirementscardsid` (`srequirementscardsid`),
KEY `u_yf_scalculations_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_scalculations` FOREIGN KEY (`scalculationsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_scalculations`
--
LOCK TABLES `u_yf_scalculations` WRITE;
/*!40000 ALTER TABLE `u_yf_scalculations` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_scalculations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_scalculations_inventory`
--
DROP TABLE IF EXISTS `u_yf_scalculations_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_scalculations_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`comment1` text,
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`purchase` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`marginp` decimal(28,8) DEFAULT '0.00000000',
`margin` decimal(28,8) DEFAULT '0.00000000',
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_scalculations_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_scalculations_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_scalculations` (`scalculationsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_scalculations_inventory`
--
LOCK TABLES `u_yf_scalculations_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_scalculations_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_scalculations_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_scalculations_invfield`
--
DROP TABLE IF EXISTS `u_yf_scalculations_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_scalculations_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_scalculations_invfield`
--
LOCK TABLES `u_yf_scalculations_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_scalculations_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_scalculations_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(4,'comment1','LBL_COMMENT','Comment',0,'',3,2,0,'{}',0),(5,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,NULL,1),(6,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,NULL,1),(7,'purchase','LBL_PURCHASE','Purchase',0,'0',6,1,0,NULL,1),(8,'marginp','LBL_MARGIN_PERCENT','MarginP',0,'0',7,1,0,NULL,1),(9,'margin','LBL_MARGIN','Margin',0,'0',8,1,0,NULL,1),(10,'unit','LBL_UNIT','Value',0,'',1,1,10,NULL,1),(11,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_scalculations_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_scalculations_invmap`
--
DROP TABLE IF EXISTS `u_yf_scalculations_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_scalculations_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_scalculations_invmap`
--
LOCK TABLES `u_yf_scalculations_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_scalculations_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_scalculations_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_scalculations_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_scalculationscf`
--
DROP TABLE IF EXISTS `u_yf_scalculationscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_scalculationscf` (
`scalculationsid` int NOT NULL,
PRIMARY KEY (`scalculationsid`),
CONSTRAINT `fk_1_u_yf_scalculationscf` FOREIGN KEY (`scalculationsid`) REFERENCES `u_yf_scalculations` (`scalculationsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_scalculationscf`
--
LOCK TABLES `u_yf_scalculationscf` WRITE;
/*!40000 ALTER TABLE `u_yf_scalculationscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_scalculationscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_servicecontracts_sla_policy`
--
DROP TABLE IF EXISTS `u_yf_servicecontracts_sla_policy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_servicecontracts_sla_policy` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int NOT NULL,
`policy_type` tinyint(1) NOT NULL DEFAULT '0',
`sla_policy_id` int DEFAULT NULL,
`tabid` smallint NOT NULL,
`conditions` text,
`reaction_time` varchar(20) NOT NULL DEFAULT '0:H',
`idle_time` varchar(20) NOT NULL DEFAULT '0:H',
`resolve_time` varchar(20) NOT NULL DEFAULT '0:H',
`business_hours` text,
PRIMARY KEY (`id`),
KEY `fk_crmid_idx` (`crmid`),
KEY `fk_sla_policy_idx` (`sla_policy_id`),
CONSTRAINT `fk_crmid_idx` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
CONSTRAINT `fk_sla_policy_idx` FOREIGN KEY (`sla_policy_id`) REFERENCES `s_yf_sla_policy` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_servicecontracts_sla_policy`
--
LOCK TABLES `u_yf_servicecontracts_sla_policy` WRITE;
/*!40000 ALTER TABLE `u_yf_servicecontracts_sla_policy` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_servicecontracts_sla_policy` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_smstemplates`
--
DROP TABLE IF EXISTS `u_yf_smstemplates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_smstemplates` (
`smstemplatesid` int NOT NULL,
`subject` varchar(255) DEFAULT NULL,
`number` varchar(32) DEFAULT NULL,
`target` varchar(25) DEFAULT '',
`message` text,
PRIMARY KEY (`smstemplatesid`),
CONSTRAINT `fk_1_u_yf_smstemplatessmstemplatesid` FOREIGN KEY (`smstemplatesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_smstemplates`
--
LOCK TABLES `u_yf_smstemplates` WRITE;
/*!40000 ALTER TABLE `u_yf_smstemplates` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_smstemplates` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_smstemplatescf`
--
DROP TABLE IF EXISTS `u_yf_smstemplatescf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_smstemplatescf` (
`smstemplatesid` int NOT NULL,
PRIMARY KEY (`smstemplatesid`),
CONSTRAINT `fk_1_u_yf_smstemplatescfsmstemplatesid` FOREIGN KEY (`smstemplatesid`) REFERENCES `u_yf_smstemplates` (`smstemplatesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_smstemplatescf`
--
LOCK TABLES `u_yf_smstemplatescf` WRITE;
/*!40000 ALTER TABLE `u_yf_smstemplatescf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_smstemplatescf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squoteenquiries`
--
DROP TABLE IF EXISTS `u_yf_squoteenquiries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squoteenquiries` (
`squoteenquiriesid` int NOT NULL DEFAULT '0',
`squoteenquiries_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`salesprocessid` int DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`squoteenquiries_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`campaign_id` int DEFAULT NULL,
PRIMARY KEY (`squoteenquiriesid`),
KEY `salesprocessid` (`salesprocessid`),
KEY `accountid` (`accountid`),
KEY `u_yf_squoteenquiries_campaign_id_idx` (`campaign_id`),
CONSTRAINT `fk_1_u_yf_squoteenquiries` FOREIGN KEY (`squoteenquiriesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squoteenquiries`
--
LOCK TABLES `u_yf_squoteenquiries` WRITE;
/*!40000 ALTER TABLE `u_yf_squoteenquiries` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_squoteenquiries` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squoteenquiriescf`
--
DROP TABLE IF EXISTS `u_yf_squoteenquiriescf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squoteenquiriescf` (
`squoteenquiriesid` int NOT NULL,
PRIMARY KEY (`squoteenquiriesid`),
CONSTRAINT `fk_1_u_yf_squoteenquiriescf` FOREIGN KEY (`squoteenquiriesid`) REFERENCES `u_yf_squoteenquiries` (`squoteenquiriesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squoteenquiriescf`
--
LOCK TABLES `u_yf_squoteenquiriescf` WRITE;
/*!40000 ALTER TABLE `u_yf_squoteenquiriescf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_squoteenquiriescf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squotes`
--
DROP TABLE IF EXISTS `u_yf_squotes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squotes` (
`squotesid` int NOT NULL DEFAULT '0',
`squotes_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`salesprocessid` int DEFAULT NULL,
`scalculationsid` int DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`squotes_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`company` varchar(255) DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_marginp` decimal(10,2) DEFAULT NULL,
`sum_margin` decimal(28,8) DEFAULT NULL,
`sum_gross` decimal(28,8) DEFAULT NULL,
`sum_discount` decimal(28,8) DEFAULT NULL,
`valid_until` date DEFAULT NULL,
`parent_id` int unsigned DEFAULT '0',
PRIMARY KEY (`squotesid`),
KEY `salesprocessid` (`salesprocessid`),
KEY `scalculationsid` (`scalculationsid`),
KEY `accountid` (`accountid`),
KEY `u_yf_squotes_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_squotes` FOREIGN KEY (`squotesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squotes`
--
LOCK TABLES `u_yf_squotes` WRITE;
/*!40000 ALTER TABLE `u_yf_squotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_squotes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squotes_address`
--
DROP TABLE IF EXISTS `u_yf_squotes_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squotes_address` (
`squotesaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
PRIMARY KEY (`squotesaddressid`),
CONSTRAINT `u_yf_squotes_address_ibfk_1` FOREIGN KEY (`squotesaddressid`) REFERENCES `u_yf_squotes` (`squotesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squotes_address`
--
LOCK TABLES `u_yf_squotes_address` WRITE;
/*!40000 ALTER TABLE `u_yf_squotes_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_squotes_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squotes_inventory`
--
DROP TABLE IF EXISTS `u_yf_squotes_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squotes_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`discount` decimal(28,8) DEFAULT '0.00000000',
`discountparam` varchar(255) DEFAULT NULL,
`marginp` decimal(28,8) DEFAULT '0.00000000',
`margin` decimal(28,8) DEFAULT '0.00000000',
`comment1` text,
`price` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`total` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`purchase` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`tax` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`taxparam` varchar(255) NOT NULL,
`gross` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`discountmode` tinyint(1) NOT NULL DEFAULT '0',
`taxmode` tinyint(1) NOT NULL DEFAULT '0',
`currency` int DEFAULT NULL,
`currencyparam` varchar(1024) DEFAULT NULL,
`net` decimal(28,8) NOT NULL DEFAULT '0.00000000',
`unit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_squotes_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_squotes_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_squotes` (`squotesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squotes_inventory`
--
LOCK TABLES `u_yf_squotes_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_squotes_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_squotes_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squotes_invfield`
--
DROP TABLE IF EXISTS `u_yf_squotes_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squotes_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squotes_invfield`
--
LOCK TABLES `u_yf_squotes_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_squotes_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_squotes_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'discount','LBL_DISCOUNT','Discount',0,'0',6,1,0,'{}',1),(4,'marginp','LBL_MARGIN_PERCENT','MarginP',0,'0',9,1,0,'{}',1),(5,'margin','LBL_MARGIN','Margin',0,'0',10,1,0,'{}',1),(6,'comment1','LBL_COMMENT','Comment',0,'',6,2,0,'{}',0),(7,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,NULL,1),(8,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,NULL,1),(9,'purchase','LBL_PURCHASE','Purchase',0,'0',8,1,0,NULL,1),(10,'tax','LBL_TAX','Tax',0,'0',11,1,0,NULL,1),(11,'gross','LBL_GROSS_PRICE','GrossPrice',0,'0',12,1,0,NULL,1),(12,'discountmode','LBL_DISCOUNT_MODE','DiscountMode',0,'0',10,0,0,NULL,1),(13,'taxmode','LBL_TAX_MODE','TaxMode',0,'0',11,0,0,NULL,1),(14,'currency','LBL_CURRENCY','Currency',0,'',12,0,0,NULL,1),(15,'net','LBL_DISCOUNT_PRICE','NetPrice',0,'0',7,1,0,NULL,1),(17,'unit','LBL_UNIT','Value',0,'',1,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_squotes_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squotes_invmap`
--
DROP TABLE IF EXISTS `u_yf_squotes_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squotes_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squotes_invmap`
--
LOCK TABLES `u_yf_squotes_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_squotes_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_squotes_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_squotes_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_squotescf`
--
DROP TABLE IF EXISTS `u_yf_squotescf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_squotescf` (
`squotesid` int NOT NULL,
PRIMARY KEY (`squotesid`),
CONSTRAINT `fk_1_u_yf_squotescf` FOREIGN KEY (`squotesid`) REFERENCES `u_yf_squotes` (`squotesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_squotescf`
--
LOCK TABLES `u_yf_squotescf` WRITE;
/*!40000 ALTER TABLE `u_yf_squotescf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_squotescf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srecurringorders`
--
DROP TABLE IF EXISTS `u_yf_srecurringorders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srecurringorders` (
`srecurringordersid` int NOT NULL DEFAULT '0',
`srecurringorders_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`salesprocessid` int DEFAULT NULL,
`squotesid` int DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`srecurringorders_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`date_start` date DEFAULT NULL,
`date_end` date DEFAULT NULL,
`duedate` date DEFAULT NULL,
`company` varchar(255) DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`srecurringordersid`),
KEY `salesprocessid` (`salesprocessid`),
KEY `squotesid` (`squotesid`),
KEY `accountid` (`accountid`),
CONSTRAINT `fk_1_u_yf_srecurringorders` FOREIGN KEY (`srecurringordersid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srecurringorders`
--
LOCK TABLES `u_yf_srecurringorders` WRITE;
/*!40000 ALTER TABLE `u_yf_srecurringorders` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_srecurringorders` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srecurringorders_address`
--
DROP TABLE IF EXISTS `u_yf_srecurringorders_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srecurringorders_address` (
`srecurringordersaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
PRIMARY KEY (`srecurringordersaddressid`),
CONSTRAINT `u_yf_srecurringorders_address_ibfk_1` FOREIGN KEY (`srecurringordersaddressid`) REFERENCES `u_yf_srecurringorders` (`srecurringordersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srecurringorders_address`
--
LOCK TABLES `u_yf_srecurringorders_address` WRITE;
/*!40000 ALTER TABLE `u_yf_srecurringorders_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_srecurringorders_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srecurringorders_inventory`
--
DROP TABLE IF EXISTS `u_yf_srecurringorders_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srecurringorders_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int DEFAULT '0',
`qty` decimal(25,3) DEFAULT '0.000',
`discount` decimal(28,8) DEFAULT '0.00000000',
`discountparam` varchar(255) DEFAULT NULL,
`marginp` decimal(28,8) DEFAULT '0.00000000',
`margin` decimal(28,8) DEFAULT '0.00000000',
`tax` decimal(28,8) DEFAULT '0.00000000',
`taxparam` varchar(255) DEFAULT NULL,
`comment1` text,
`price` decimal(28,8) DEFAULT '0.00000000',
`total` decimal(28,8) DEFAULT '0.00000000',
`net` decimal(28,8) DEFAULT '0.00000000',
`purchase` decimal(28,8) DEFAULT '0.00000000',
`gross` decimal(28,8) DEFAULT '0.00000000',
`discountmode` smallint DEFAULT '0',
`taxmode` smallint DEFAULT '0',
`currency` int DEFAULT NULL,
`currencyparam` varchar(1024) DEFAULT NULL,
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_srecurringorders_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_srecurringorders_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_srecurringorders` (`srecurringordersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srecurringorders_inventory`
--
LOCK TABLES `u_yf_srecurringorders_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_srecurringorders_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_srecurringorders_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srecurringorders_invfield`
--
DROP TABLE IF EXISTS `u_yf_srecurringorders_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srecurringorders_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srecurringorders_invfield`
--
LOCK TABLES `u_yf_srecurringorders_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_srecurringorders_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_srecurringorders_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'discount','LBL_DISCOUNT','Discount',0,'0',6,1,0,'{}',1),(4,'marginp','LBL_MARGIN_PERCENT','MarginP',0,'0',9,1,0,'{}',1),(5,'margin','LBL_MARGIN','Margin',0,'0',10,1,0,'{}',1),(6,'tax','LBL_TAX','Tax',0,'0',11,1,0,'{}',1),(7,'comment1','LBL_COMMENT','Comment',0,'',7,2,0,'{}',0),(8,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,NULL,1),(9,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,NULL,1),(10,'net','LBL_DISCOUNT_PRICE','NetPrice',0,'0',7,1,0,NULL,1),(11,'purchase','LBL_PURCHASE','Purchase',0,'0',8,1,0,NULL,1),(12,'gross','LBL_GROSS_PRICE','GrossPrice',0,'0',12,1,0,NULL,1),(13,'discountmode','LBL_DISCOUNT_MODE','DiscountMode',0,'0',11,0,0,NULL,1),(14,'taxmode','LBL_TAX_MODE','TaxMode',0,'0',12,0,0,NULL,1),(15,'currency','LBL_CURRENCY','Currency',0,'',13,0,0,NULL,1),(16,'unit','LBL_UNIT','Value',0,'',1,1,10,NULL,1),(17,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_srecurringorders_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srecurringorders_invmap`
--
DROP TABLE IF EXISTS `u_yf_srecurringorders_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srecurringorders_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srecurringorders_invmap`
--
LOCK TABLES `u_yf_srecurringorders_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_srecurringorders_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_srecurringorders_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_srecurringorders_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srecurringorderscf`
--
DROP TABLE IF EXISTS `u_yf_srecurringorderscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srecurringorderscf` (
`srecurringordersid` int NOT NULL,
PRIMARY KEY (`srecurringordersid`),
CONSTRAINT `fk_1_u_yf_srecurringorderscf` FOREIGN KEY (`srecurringordersid`) REFERENCES `u_yf_srecurringorders` (`srecurringordersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srecurringorderscf`
--
LOCK TABLES `u_yf_srecurringorderscf` WRITE;
/*!40000 ALTER TABLE `u_yf_srecurringorderscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_srecurringorderscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srequirementscards`
--
DROP TABLE IF EXISTS `u_yf_srequirementscards`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srequirementscards` (
`srequirementscardsid` int NOT NULL DEFAULT '0',
`srequirementscards_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`salesprocessid` int DEFAULT NULL,
`quoteenquiryid` int DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`srequirementscards_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
PRIMARY KEY (`srequirementscardsid`),
KEY `salesprocessid` (`salesprocessid`),
KEY `accountid` (`accountid`),
KEY `quoteenquiryid` (`quoteenquiryid`),
CONSTRAINT `fk_1_u_yf_srequirementscards` FOREIGN KEY (`srequirementscardsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srequirementscards`
--
LOCK TABLES `u_yf_srequirementscards` WRITE;
/*!40000 ALTER TABLE `u_yf_srequirementscards` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_srequirementscards` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srequirementscards_inventory`
--
DROP TABLE IF EXISTS `u_yf_srequirementscards_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srequirementscards_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int NOT NULL DEFAULT '0',
`qty` decimal(25,3) NOT NULL DEFAULT '0.000',
`comment1` text,
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_srequirementscards_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_srequirementscards_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_srequirementscards` (`srequirementscardsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srequirementscards_inventory`
--
LOCK TABLES `u_yf_srequirementscards_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_srequirementscards_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_srequirementscards_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srequirementscards_invfield`
--
DROP TABLE IF EXISTS `u_yf_srequirementscards_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srequirementscards_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srequirementscards_invfield`
--
LOCK TABLES `u_yf_srequirementscards_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_srequirementscards_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_srequirementscards_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'comment1','LBL_COMMENT','Comment',0,'',3,2,0,'{}',0),(4,'unit','LBL_UNIT','Value',0,'',1,1,10,NULL,1),(5,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_srequirementscards_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srequirementscards_invmap`
--
DROP TABLE IF EXISTS `u_yf_srequirementscards_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srequirementscards_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srequirementscards_invmap`
--
LOCK TABLES `u_yf_srequirementscards_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_srequirementscards_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_srequirementscards_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_srequirementscards_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_srequirementscardscf`
--
DROP TABLE IF EXISTS `u_yf_srequirementscardscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_srequirementscardscf` (
`srequirementscardsid` int NOT NULL,
PRIMARY KEY (`srequirementscardsid`),
CONSTRAINT `fk_1_u_yf_srequirementscardscf` FOREIGN KEY (`srequirementscardsid`) REFERENCES `u_yf_srequirementscards` (`srequirementscardsid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_srequirementscardscf`
--
LOCK TABLES `u_yf_srequirementscardscf` WRITE;
/*!40000 ALTER TABLE `u_yf_srequirementscardscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_srequirementscardscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssalesprocesses`
--
DROP TABLE IF EXISTS `u_yf_ssalesprocesses`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssalesprocesses` (
`ssalesprocessesid` int NOT NULL DEFAULT '0',
`ssalesprocesses_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`related_to` int DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`estimated` decimal(28,8) DEFAULT NULL,
`actual_sale` decimal(28,8) DEFAULT NULL,
`estimated_date` date DEFAULT NULL,
`actual_date` date DEFAULT NULL,
`probability` decimal(5,2) DEFAULT NULL,
`ssalesprocesses_source` varchar(255) DEFAULT NULL,
`ssalesprocesses_type` varchar(255) DEFAULT NULL,
`ssalesprocesses_status` varchar(255) DEFAULT NULL,
`campaignid` int DEFAULT NULL,
`parentid` int DEFAULT '0',
`startdate` date DEFAULT NULL,
`estimated_margin` decimal(28,8) DEFAULT NULL,
`expected_margin` decimal(28,8) DEFAULT NULL,
`expected_sale` decimal(28,8) DEFAULT NULL,
PRIMARY KEY (`ssalesprocessesid`),
KEY `related_to` (`related_to`),
KEY `campaignid` (`campaignid`),
KEY `parentid` (`parentid`),
KEY `ssalesprocesses_no` (`ssalesprocesses_no`),
KEY `ssalesprocesses_status` (`ssalesprocesses_status`),
CONSTRAINT `fk_1_u_yf_ssalesprocesses` FOREIGN KEY (`ssalesprocessesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssalesprocesses`
--
LOCK TABLES `u_yf_ssalesprocesses` WRITE;
/*!40000 ALTER TABLE `u_yf_ssalesprocesses` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ssalesprocesses` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssalesprocessescf`
--
DROP TABLE IF EXISTS `u_yf_ssalesprocessescf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssalesprocessescf` (
`ssalesprocessesid` int NOT NULL,
PRIMARY KEY (`ssalesprocessesid`),
CONSTRAINT `fk_1_u_yf_ssalesprocessescf` FOREIGN KEY (`ssalesprocessesid`) REFERENCES `u_yf_ssalesprocesses` (`ssalesprocessesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssalesprocessescf`
--
LOCK TABLES `u_yf_ssalesprocessescf` WRITE;
/*!40000 ALTER TABLE `u_yf_ssalesprocessescf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ssalesprocessescf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssingleorders`
--
DROP TABLE IF EXISTS `u_yf_ssingleorders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssingleorders` (
`ssingleordersid` int NOT NULL DEFAULT '0',
`ssingleorders_no` varchar(255) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`salesprocessid` int DEFAULT NULL,
`squotesid` int DEFAULT NULL,
`category` varchar(255) DEFAULT NULL,
`ssingleorders_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`date_start` date DEFAULT NULL,
`date_end` date DEFAULT NULL,
`duedate` date DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_marginp` decimal(10,2) DEFAULT NULL,
`sum_margin` decimal(28,8) DEFAULT NULL,
`sum_gross` decimal(28,8) DEFAULT NULL,
`sum_discount` decimal(28,8) DEFAULT NULL,
`ssingleorders_source` varchar(255) DEFAULT '',
`istorageaddressid` int DEFAULT NULL,
`ssingleorders_method_payments` varchar(255) DEFAULT NULL,
`payment_status` varchar(255) DEFAULT NULL,
`contactid` int unsigned DEFAULT '0',
`parent_id` int unsigned DEFAULT '0',
PRIMARY KEY (`ssingleordersid`),
KEY `salesprocessid` (`salesprocessid`),
KEY `squotesid` (`squotesid`),
KEY `accountid` (`accountid`),
KEY `u_yf_ssingleorders_istorageaddressid_idx` (`istorageaddressid`),
KEY `u_yf_ssingleorders_contactid_idx` (`contactid`),
KEY `u_yf_ssingleorders_parent_id_idx` (`parent_id`),
CONSTRAINT `fk_1_u_yf_ssingleorders` FOREIGN KEY (`ssingleordersid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssingleorders`
--
LOCK TABLES `u_yf_ssingleorders` WRITE;
/*!40000 ALTER TABLE `u_yf_ssingleorders` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ssingleorders` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssingleorders_address`
--
DROP TABLE IF EXISTS `u_yf_ssingleorders_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssingleorders_address` (
`ssingleordersaddressid` int NOT NULL,
`addresslevel1a` varchar(255) DEFAULT NULL,
`addresslevel2a` varchar(255) DEFAULT NULL,
`addresslevel3a` varchar(255) DEFAULT NULL,
`addresslevel4a` varchar(255) DEFAULT NULL,
`addresslevel5a` varchar(255) DEFAULT NULL,
`addresslevel6a` varchar(255) DEFAULT NULL,
`addresslevel7a` varchar(255) DEFAULT NULL,
`addresslevel8a` varchar(255) DEFAULT NULL,
`buildingnumbera` varchar(255) DEFAULT NULL,
`localnumbera` varchar(50) DEFAULT NULL,
`poboxa` varchar(50) DEFAULT NULL,
`first_name_a` varchar(255) DEFAULT NULL,
`last_name_a` varchar(255) DEFAULT NULL,
`company_name_a` varchar(255) DEFAULT NULL,
`vat_id_a` varchar(50) DEFAULT NULL,
`email_a` varchar(100) DEFAULT NULL,
`phone_a` varchar(100) DEFAULT NULL,
`addresslevel8b` varchar(255) DEFAULT NULL,
`addresslevel7b` varchar(255) DEFAULT NULL,
`addresslevel6b` varchar(255) DEFAULT NULL,
`addresslevel5b` varchar(255) DEFAULT NULL,
`addresslevel4b` varchar(255) DEFAULT NULL,
`addresslevel3b` varchar(255) DEFAULT NULL,
`addresslevel2b` varchar(255) DEFAULT NULL,
`addresslevel1b` varchar(255) DEFAULT NULL,
`buildingnumberb` varchar(255) DEFAULT NULL,
`localnumberb` varchar(50) DEFAULT NULL,
`poboxb` varchar(50) DEFAULT NULL,
`first_name_b` varchar(255) DEFAULT NULL,
`last_name_b` varchar(255) DEFAULT NULL,
`company_name_b` varchar(255) DEFAULT NULL,
`vat_id_b` varchar(50) DEFAULT NULL,
`email_b` varchar(100) DEFAULT NULL,
`phone_b` varchar(100) DEFAULT NULL,
`phone_a_extra` varchar(100) DEFAULT NULL,
`phone_b_extra` varchar(100) DEFAULT NULL,
PRIMARY KEY (`ssingleordersaddressid`),
CONSTRAINT `u_yf_ssingleorders_address_ibfk_1` FOREIGN KEY (`ssingleordersaddressid`) REFERENCES `u_yf_ssingleorders` (`ssingleordersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssingleorders_address`
--
LOCK TABLES `u_yf_ssingleorders_address` WRITE;
/*!40000 ALTER TABLE `u_yf_ssingleorders_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ssingleorders_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssingleorders_inventory`
--
DROP TABLE IF EXISTS `u_yf_ssingleorders_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssingleorders_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int DEFAULT '0',
`qty` decimal(25,3) DEFAULT '0.000',
`discount` decimal(28,8) DEFAULT '0.00000000',
`discountparam` varchar(255) DEFAULT NULL,
`marginp` decimal(28,8) DEFAULT '0.00000000',
`margin` decimal(28,8) DEFAULT '0.00000000',
`tax` decimal(28,8) DEFAULT '0.00000000',
`taxparam` varchar(255) DEFAULT NULL,
`comment1` text,
`price` decimal(28,8) DEFAULT '0.00000000',
`total` decimal(28,8) DEFAULT '0.00000000',
`net` decimal(28,8) DEFAULT '0.00000000',
`purchase` decimal(28,8) DEFAULT '0.00000000',
`gross` decimal(28,8) DEFAULT '0.00000000',
`discountmode` smallint DEFAULT '0',
`taxmode` smallint DEFAULT '0',
`currency` int DEFAULT NULL,
`currencyparam` varchar(1024) DEFAULT NULL,
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_ssingleorders_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_ssingleorders_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_ssingleorders` (`ssingleordersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssingleorders_inventory`
--
LOCK TABLES `u_yf_ssingleorders_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_ssingleorders_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ssingleorders_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssingleorders_invfield`
--
DROP TABLE IF EXISTS `u_yf_ssingleorders_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssingleorders_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` tinyint unsigned NOT NULL,
`displaytype` tinyint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssingleorders_invfield`
--
LOCK TABLES `u_yf_ssingleorders_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_ssingleorders_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_ssingleorders_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'discount','LBL_DISCOUNT','Discount',0,'0',6,1,0,'{}',1),(4,'marginp','LBL_MARGIN_PERCENT','MarginP',0,'0',9,1,0,'{}',1),(5,'margin','LBL_MARGIN','Margin',0,'0',10,1,0,'{}',1),(6,'tax','LBL_TAX','Tax',0,'0',11,1,0,'{}',1),(7,'comment1','LBL_COMMENT','Comment',0,'',7,2,0,'{}',0),(8,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,NULL,1),(9,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,NULL,1),(10,'net','LBL_DISCOUNT_PRICE','NetPrice',0,'0',7,1,0,NULL,1),(11,'purchase','LBL_PURCHASE','Purchase',0,'0',8,1,0,NULL,1),(12,'gross','LBL_GROSS_PRICE','GrossPrice',0,'0',12,1,0,NULL,1),(13,'discountmode','LBL_DISCOUNT_MODE','DiscountMode',0,'0',11,0,0,NULL,1),(14,'taxmode','LBL_TAX_MODE','TaxMode',0,'0',12,0,0,NULL,1),(15,'currency','LBL_CURRENCY','Currency',0,'',13,0,0,NULL,1),(16,'unit','LBL_UNIT','Unit',0,'',1,1,10,NULL,1),(17,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,NULL,1);
/*!40000 ALTER TABLE `u_yf_ssingleorders_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssingleorders_invmap`
--
DROP TABLE IF EXISTS `u_yf_ssingleorders_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssingleorders_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssingleorders_invmap`
--
LOCK TABLES `u_yf_ssingleorders_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_ssingleorders_invmap` DISABLE KEYS */;
INSERT INTO `u_yf_ssingleorders_invmap` VALUES ('Products','subunit','subunit'),('Products','usageunit','unit'),('Services','service_usageunit','unit');
/*!40000 ALTER TABLE `u_yf_ssingleorders_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_ssingleorderscf`
--
DROP TABLE IF EXISTS `u_yf_ssingleorderscf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_ssingleorderscf` (
`ssingleordersid` int NOT NULL,
PRIMARY KEY (`ssingleordersid`),
CONSTRAINT `fk_1_u_yf_ssingleorderscf` FOREIGN KEY (`ssingleordersid`) REFERENCES `u_yf_ssingleorders` (`ssingleordersid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_ssingleorderscf`
--
LOCK TABLES `u_yf_ssingleorderscf` WRITE;
/*!40000 ALTER TABLE `u_yf_ssingleorderscf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_ssingleorderscf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_svendorenquiries`
--
DROP TABLE IF EXISTS `u_yf_svendorenquiries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_svendorenquiries` (
`svendorenquiriesid` int NOT NULL DEFAULT '0',
`svendorenquiries_no` varchar(50) DEFAULT '',
`subject` varchar(255) DEFAULT NULL,
`salesprocessid` int DEFAULT NULL,
`category` varchar(30) DEFAULT NULL,
`svendorenquiries_status` varchar(255) DEFAULT NULL,
`accountid` int DEFAULT NULL,
`sum_time` decimal(10,2) DEFAULT '0.00',
`sum_total` decimal(28,8) DEFAULT NULL,
`sum_marginp` decimal(10,2) DEFAULT NULL,
`sum_margin` decimal(28,8) DEFAULT NULL,
`vendorid` int DEFAULT NULL,
`scalculationsid` int DEFAULT NULL,
PRIMARY KEY (`svendorenquiriesid`),
KEY `svendorenquiries_salesprocessid_idx` (`salesprocessid`),
KEY `svendorenquiries_accountid_idx` (`accountid`),
KEY `svendorenquiries_vendorid_idx` (`vendorid`),
KEY `svendorenquiries_scalculationsid_idx` (`scalculationsid`),
CONSTRAINT `fk_1_u_yf_svendorenquiries` FOREIGN KEY (`svendorenquiriesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_svendorenquiries`
--
LOCK TABLES `u_yf_svendorenquiries` WRITE;
/*!40000 ALTER TABLE `u_yf_svendorenquiries` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_svendorenquiries` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_svendorenquiries_inventory`
--
DROP TABLE IF EXISTS `u_yf_svendorenquiries_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_svendorenquiries_inventory` (
`id` int NOT NULL AUTO_INCREMENT,
`crmid` int DEFAULT NULL,
`seq` int DEFAULT NULL,
`name` int DEFAULT '0',
`qty` decimal(25,3) DEFAULT '0.000',
`comment1` text,
`price` decimal(28,8) DEFAULT '0.00000000',
`total` decimal(28,8) DEFAULT '0.00000000',
`purchase` decimal(28,8) DEFAULT '0.00000000',
`marginp` decimal(28,8) DEFAULT '0.00000000',
`margin` decimal(28,8) DEFAULT '0.00000000',
`unit` varchar(255) DEFAULT NULL,
`subunit` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_svendorenquiries_inventory_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_svendorenquiries_inventory` FOREIGN KEY (`crmid`) REFERENCES `u_yf_svendorenquiries` (`svendorenquiriesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_svendorenquiries_inventory`
--
LOCK TABLES `u_yf_svendorenquiries_inventory` WRITE;
/*!40000 ALTER TABLE `u_yf_svendorenquiries_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_svendorenquiries_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_svendorenquiries_invfield`
--
DROP TABLE IF EXISTS `u_yf_svendorenquiries_invfield`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_svendorenquiries_invfield` (
`id` int NOT NULL AUTO_INCREMENT,
`columnname` varchar(30) NOT NULL,
`label` varchar(50) NOT NULL,
`invtype` varchar(30) NOT NULL,
`presence` tinyint unsigned NOT NULL DEFAULT '0',
`defaultvalue` varchar(255) DEFAULT NULL,
`sequence` int unsigned NOT NULL,
`block` smallint unsigned NOT NULL,
`displaytype` smallint unsigned NOT NULL DEFAULT '1',
`params` text,
`colspan` smallint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_svendorenquiries_invfield`
--
LOCK TABLES `u_yf_svendorenquiries_invfield` WRITE;
/*!40000 ALTER TABLE `u_yf_svendorenquiries_invfield` DISABLE KEYS */;
INSERT INTO `u_yf_svendorenquiries_invfield` VALUES (1,'name','LBL_ITEM_NAME','Name',0,'',0,1,0,'{\"modules\":[\"Products\",\"Services\"],\"limit\":\" \"}',1),(2,'qty','LBL_QUANTITY','Quantity',0,'1',3,1,0,'{}',1),(3,'comment1','LBL_COMMENT','Comment',0,'',3,2,0,'{}',0),(4,'price','LBL_UNIT_PRICE','UnitPrice',0,'0',4,1,0,'',1),(5,'total','LBL_TOTAL_PRICE','TotalPrice',0,'0',5,1,0,'',1),(6,'purchase','LBL_PURCHASE','Purchase',0,'0',6,1,0,'',1),(7,'marginp','LBL_MARGIN_PERCENT','MarginP',0,'0',7,1,0,'',1),(8,'margin','LBL_MARGIN','Margin',0,'0',8,1,0,'',1),(9,'unit','LBL_UNIT','Value',0,'',1,1,10,'',1),(10,'subunit','FL_SUBUNIT','Value',0,'',2,1,10,'',1);
/*!40000 ALTER TABLE `u_yf_svendorenquiries_invfield` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_svendorenquiries_invmap`
--
DROP TABLE IF EXISTS `u_yf_svendorenquiries_invmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_svendorenquiries_invmap` (
`module` varchar(50) NOT NULL,
`field` varchar(50) NOT NULL,
`tofield` varchar(50) NOT NULL,
PRIMARY KEY (`module`,`field`,`tofield`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_svendorenquiries_invmap`
--
LOCK TABLES `u_yf_svendorenquiries_invmap` WRITE;
/*!40000 ALTER TABLE `u_yf_svendorenquiries_invmap` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_svendorenquiries_invmap` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_svendorenquiriescf`
--
DROP TABLE IF EXISTS `u_yf_svendorenquiriescf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_svendorenquiriescf` (
`svendorenquiriesid` int NOT NULL,
PRIMARY KEY (`svendorenquiriesid`),
CONSTRAINT `fk_1_u_yf_svendorenquiriescf` FOREIGN KEY (`svendorenquiriesid`) REFERENCES `u_yf_svendorenquiries` (`svendorenquiriesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_svendorenquiriescf`
--
LOCK TABLES `u_yf_svendorenquiriescf` WRITE;
/*!40000 ALTER TABLE `u_yf_svendorenquiriescf` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_svendorenquiriescf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_timeline`
--
DROP TABLE IF EXISTS `u_yf_timeline`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_timeline` (
`crmid` int NOT NULL,
`type` varchar(50) DEFAULT NULL,
`userid` int NOT NULL,
KEY `timeline_crmid_idx` (`crmid`),
CONSTRAINT `fk_1_u_yf_timeline` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_timeline`
--
LOCK TABLES `u_yf_timeline` WRITE;
/*!40000 ALTER TABLE `u_yf_timeline` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_timeline` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_users_labels`
--
DROP TABLE IF EXISTS `u_yf_users_labels`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_users_labels` (
`id` int unsigned NOT NULL,
`label` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_users_labels`
--
LOCK TABLES `u_yf_users_labels` WRITE;
/*!40000 ALTER TABLE `u_yf_users_labels` DISABLE KEYS */;
INSERT INTO `u_yf_users_labels` VALUES (1,'[[admin_lname]] [[admin_fname]]');
/*!40000 ALTER TABLE `u_yf_users_labels` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_users_pinned`
--
DROP TABLE IF EXISTS `u_yf_users_pinned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_users_pinned` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int NOT NULL,
`tabid` smallint NOT NULL,
`fav_id` int unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `u_yf_users_pinned_user_id_idx` (`user_id`),
KEY `u_yf_users_pinned_tabid_idx` (`tabid`),
CONSTRAINT `u_yf_users_pinned_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE,
CONSTRAINT `u_yf_users_pinned_ibfk_2` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_users_pinned`
--
LOCK TABLES `u_yf_users_pinned` WRITE;
/*!40000 ALTER TABLE `u_yf_users_pinned` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_users_pinned` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_watchdog_module`
--
DROP TABLE IF EXISTS `u_yf_watchdog_module`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_watchdog_module` (
`member` varchar(50) NOT NULL,
`module` int unsigned NOT NULL,
`lock` tinyint(1) DEFAULT '0',
`exceptions` text,
PRIMARY KEY (`member`,`module`),
KEY `userid` (`member`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_watchdog_module`
--
LOCK TABLES `u_yf_watchdog_module` WRITE;
/*!40000 ALTER TABLE `u_yf_watchdog_module` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_watchdog_module` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_watchdog_record`
--
DROP TABLE IF EXISTS `u_yf_watchdog_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_watchdog_record` (
`userid` int unsigned NOT NULL,
`record` int NOT NULL,
`state` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`userid`,`record`),
KEY `userid` (`userid`),
KEY `record` (`record`),
KEY `userid_2` (`userid`,`record`,`state`),
CONSTRAINT `u_yf_watchdog_record_ibfk_1` FOREIGN KEY (`record`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `u_yf_watchdog_record`
--
LOCK TABLES `u_yf_watchdog_record` WRITE;
/*!40000 ALTER TABLE `u_yf_watchdog_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `u_yf_watchdog_record` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `u_yf_watchdog_schedule`
--
DROP TABLE IF EXISTS `u_yf_watchdog_schedule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `u_yf_watchdog_schedule` (
`userid` int NOT NULL,
`frequency` smallint NOT NULL,
`
Showing 512.00 KB of 1.57 MB. Use Edit/Download for full content.
Directory Contents
Dirs: 6 × Files: 18