-- Table structure for table `items_rating`
--

CREATE TABLE `items_rating` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `value` tinyint(4) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `items_rating_user_id_foreign` (`user_id`),
  KEY `items_rating_item_id_foreign` (`item_id`),
  CONSTRAINT `items_rating_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `items_rating_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `items_rating`
--

SET autocommit=0;
COMMIT;

-- Dumped table `items_rating` with 0 row(s)
--

--
-- Table structure for table `item_color`
--

CREATE TABLE `item_color` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_colors_item_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_color`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_color` with 0 row(s)
--

--
-- Table structure for table `item_images`
--

CREATE TABLE `item_images` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `image` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_images_item_id_foreign` (`item_id`),
  CONSTRAINT `item_images_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_images`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_images` with 0 row(s)
--

--
-- Table structure for table `item_lots`
--

CREATE TABLE `item_lots` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `series` varchar(255) NOT NULL,
  `date` date NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `item_loteable_type` varchar(255) NOT NULL,
  `item_loteable_id` int(10) unsigned NOT NULL,
  `has_sale` tinyint(1) NOT NULL DEFAULT 0,
  `state` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_lots_item_id_foreign` (`item_id`),
  KEY `item_lots_warehouse_id_foreign` (`warehouse_id`),
  KEY `item_lots_series_index` (`series`),
  KEY `item_lots_date_index` (`date`),
  KEY `item_lots_has_sale_index` (`has_sale`),
  KEY `item_lots_item_loteable_type_index` (`item_loteable_type`),
  KEY `item_lots_item_loteable_id_index` (`item_loteable_id`),
  CONSTRAINT `item_lots_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_lots_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_lots`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_lots` with 0 row(s)
--

--
-- Table structure for table `item_lots_group`
--

CREATE TABLE `item_lots_group` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) NOT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `old_quantity` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `date_of_due` date NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_lots_group` (`item_id`,`date_of_due`,`quantity`),
  CONSTRAINT `item_lots_group_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=283 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_lots_group`
--

SET autocommit=0;
INSERT INTO `item_lots_group` VALUES (1,'2020365',19.0000,0.0000,'2028-02-29',1,'2026-07-02 11:34:00','2026-07-09 19:57:23'),(2,'J26002',21.0000,0.0000,'2029-01-05',7,'2026-07-05 14:00:10','2026-07-05 14:00:10'),(3,'2030155',88.0000,0.0000,'2028-03-31',14,'2026-07-05 14:04:52','2026-07-05 14:04:52'),(4,'MDI25Y02',2.0000,0.0000,'2029-02-28',33,'2026-07-05 14:06:37','2026-07-23 18:50:04'),(5,'2014616',53.0000,0.0000,'2028-01-31',17,'2026-07-05 14:07:52','2026-07-05 14:07:52'),(6,'2112885',167.0000,0.0000,'2027-11-01',6,'2026-07-05 14:09:51','2026-07-20 11:37:38'),(7,'2028226',44.0000,0.0000,'2028-02-01',20,'2026-07-05 14:10:38','2026-07-05 14:10:38'),(8,'FB00161',108.0000,0.0000,'2029-01-01',36,'2026-07-05 14:11:53','2026-07-05 14:11:53'),(9,'LB1H401',1.0000,0.0000,'2027-03-01',29,'2026-07-05 14:12:52','2026-07-05 14:12:52'),(10,'2082805',2.0000,0.0000,'2028-08-01',23,'2026-07-05 14:14:14','2026-07-05 14:14:14'),(11,'2412163',88.0000,0.0000,'2027-11-01',10,'2026-07-05 14:16:50','2026-07-05 14:16:50'),(12,'2080375',4.0000,0.0000,'2027-08-01',27,'2026-07-05 14:22:05','2026-07-05 14:22:05'),(13,'2017626',4.0000,0.0000,'2028-01-01',21,'2026-07-05 14:23:14','2026-07-05 14:23:14'),(14,'218235',2.0000,0.0000,'2028-11-01',28,'2026-07-05 14:24:19','2026-07-05 14:24:19'),(15,'E85125004',10.0000,0.0000,'2028-09-01',32,'2026-07-05 14:25:24','2026-07-05 14:25:24'),(16,'EVM24040',16.0000,0.0000,'2027-09-01',31,'2026-07-05 14:26:17','2026-07-05 14:26:17'),(17,'2100524',19.0000,0.0000,'2026-10-01',37,'2026-07-05 14:27:07','2026-07-05 14:27:07'),(18,'2015616',42.0000,0.0000,'2028-01-01',15,'2026-07-05 14:28:02','2026-07-05 14:28:02'),(19,'2023895',40.0000,0.0000,'2027-02-01',9,'2026-07-05 14:29:16','2026-07-05 14:29:16'),(20,'2046915',91.0000,0.0000,'2027-04-01',8,'2026-07-05 14:29:54','2026-07-05 14:29:54'),(21,'2090635',97.0000,0.0000,'2028-09-01',38,'2026-07-05 14:30:39','2026-07-05 14:30:39'),(23,'U518',25.0000,0.0000,'2027-10-01',26,'2026-07-05 14:32:31','2026-07-05 14:32:31'),(24,'2061035',96.0000,0.0000,'2027-06-01',13,'2026-07-05 14:33:09','2026-07-05 14:33:09'),(25,'20502405',20.0000,0.0000,'2027-05-01',19,'2026-07-05 14:34:00','2026-07-05 14:34:00'),(26,'2010105',16.0000,0.0000,'2027-01-01',5,'2026-07-05 14:35:08','2026-07-05 14:35:08'),(27,'2080295',88.0000,0.0000,'2027-08-01',35,'2026-07-05 14:37:10','2026-07-05 14:37:10'),(28,'EAM25053',19.0000,0.0000,'2028-07-01',30,'2026-07-05 14:39:25','2026-07-05 14:39:25'),(29,'2111975',89.0000,0.0000,'2028-11-01',18,'2026-07-05 14:40:47','2026-07-05 14:40:47'),(30,'2065055',12.0000,0.0000,'2028-06-01',22,'2026-07-05 14:44:08','2026-07-05 14:44:08'),(31,'2086044',79.0000,0.0000,'2027-08-05',34,'2026-07-05 14:46:31','2026-07-05 14:46:31'),(32,'213250917',10.0000,0.0000,'2028-08-09',40,'2026-07-05 19:50:23','2026-07-08 17:40:11'),(33,'202250601',13.0000,0.0000,'2028-06-06',41,'2026-07-05 19:53:12','2026-07-08 17:13:13'),(34,'209241135',3.0000,0.0000,'2027-11-11',42,'2026-07-05 19:59:16','2026-07-08 16:50:35'),(35,'2FY25003',24.0000,0.0000,'2027-01-27',43,'2026-07-05 20:05:02','2026-07-08 16:58:23'),(36,'60240104',43.0000,0.0000,'2027-01-01',44,'2026-07-05 20:10:59','2026-07-08 17:18:54'),(37,'759250302',16.0000,0.0000,'2028-03-03',45,'2026-07-05 20:36:46','2026-07-08 16:37:37'),(38,'659241117',15.0000,0.0000,'2027-11-11',46,'2026-07-05 20:51:00','2026-07-08 16:46:09'),(39,'2050105',44.0000,0.0000,'2028-05-28',47,'2026-07-05 20:56:47','2026-07-08 17:24:57'),(40,'2030055',25.0000,0.0000,'2028-03-08',48,'2026-07-05 20:59:32','2026-07-08 16:38:21'),(41,'2080325',22.0000,0.0000,'2028-08-08',49,'2026-07-06 19:03:26','2026-07-08 17:17:09'),(42,'2050015',6.0000,0.0000,'2028-05-04',51,'2026-07-06 19:11:10','2026-07-08 17:28:52'),(43,'XA5L003',12.0000,0.0000,'2027-11-11',52,'2026-07-06 19:14:43','2026-07-08 16:34:43'),(44,'2090184',2.0000,0.0000,'2027-09-09',53,'2026-07-06 19:42:21','2026-07-08 17:31:55'),(45,'2040415',2.0000,0.0000,'2027-04-04',54,'2026-07-06 19:45:08','2026-07-06 19:45:08'),(46,'2080764',1.0000,0.0000,'2027-08-08',55,'2026-07-06 19:48:59','2026-07-06 19:48:59'),(47,'2090065',1.0000,0.0000,'2028-09-08',56,'2026-07-06 19:51:23','2026-07-06 19:51:23'),(48,'2090025',1.0000,0.0000,'2028-09-08',57,'2026-07-06 19:53:09','2026-07-06 19:53:09'),(49,'2030436',170.0000,0.0000,'2029-03-04',58,'2026-07-06 20:03:06','2026-07-08 17:35:00'),(50,'2120524',5.0000,0.0000,'2027-12-12',59,'2026-07-06 20:08:12','2026-07-07 16:00:08'),(51,'2031615',173.0000,0.0000,'2028-03-03',60,'2026-07-06 20:14:06','2026-07-08 17:16:43'),(52,'POS-092501',9.0000,0.0000,'2027-08-08',61,'2026-07-06 20:40:51','2026-07-08 16:53:16'),(53,'2090425',2.0000,0.0000,'2028-09-09',62,'2026-07-06 20:42:44','2026-07-08 17:33:25'),(54,'2023086',2.0000,0.0000,'2028-02-29',63,'2026-07-06 20:46:52','2026-07-08 16:47:21'),(55,'2040115',1.0000,0.0000,'2028-04-30',64,'2026-07-06 20:48:27','2026-07-06 20:48:27'),(56,'2022755',10.0000,0.0000,'2027-02-28',65,'2026-07-06 20:50:31','2026-07-08 17:37:26'),(57,'PDK2503',48.0000,0.0000,'2027-04-30',66,'2026-07-06 21:04:56','2026-07-21 22:55:58'),(58,'2044765',100.0000,0.0000,'2028-04-30',67,'2026-07-06 21:07:37','2026-07-08 16:59:47'),(59,'2020365',13.0000,0.0000,'2028-02-29',68,'2026-07-06 21:29:38','2026-07-23 18:16:18'),(60,'2030275',9.0000,0.0000,'2028-03-31',69,'2026-07-06 21:31:52','2026-07-08 17:04:47'),(61,'2030374',13.0000,0.0000,'2027-03-31',70,'2026-07-06 21:46:29','2026-07-08 17:37:56'),(62,'2110234',6.0000,0.0000,'2027-11-30',71,'2026-07-06 21:47:48','2026-07-08 16:30:01'),(63,'T4491',82.0000,0.0000,'2027-10-31',72,'2026-07-06 21:52:41','2026-07-08 17:23:34'),(64,'0513A',82.0000,0.0000,'2028-08-31',73,'2026-07-07 18:02:25','2026-07-08 16:42:19'),(65,'25020',47.0000,0.0000,'2028-01-31',74,'2026-07-07 18:07:06','2026-07-08 17:09:39'),(66,'20801415',6.0000,0.0000,'2027-08-31',75,'2026-07-07 18:11:09','2026-07-08 16:38:49'),(67,'212015',2.0000,0.0000,'2028-12-31',76,'2026-07-07 18:13:03','2026-07-08 17:01:03'),(68,'2082024',92.0000,0.0000,'2027-08-31',77,'2026-07-07 18:57:40','2026-07-08 17:04:24'),(69,'2010126',131.0000,0.0000,'2028-01-31',78,'2026-07-07 19:05:44','2026-07-08 16:50:09'),(70,'2071315',66.0000,0.0000,'2028-07-31',79,'2026-07-07 19:16:18','2026-07-08 16:31:05'),(71,'2030375',40.0000,0.0000,'2027-03-31',80,'2026-07-07 19:18:27','2026-07-08 16:55:48'),(72,'2081535',79.0000,0.0000,'2028-08-31',81,'2026-07-07 19:32:02','2026-07-08 17:25:32'),(73,'2030736',32.0000,0.0000,'2029-03-31',82,'2026-07-07 19:34:38','2026-07-08 16:53:49'),(74,'2095895',1.0000,0.0000,'2028-09-30',83,'2026-07-07 19:40:29','2026-07-07 19:40:29'),(75,'2010196',1.0000,0.0000,'2029-01-31',84,'2026-07-07 19:44:53','2026-07-07 19:44:53'),(76,'2127354',3.0000,0.0000,'2026-12-31',85,'2026-07-07 19:47:09','2026-07-08 17:00:12'),(77,'20102376',2.0000,0.0000,'2028-01-31',86,'2026-07-07 19:51:45','2026-07-08 17:30:39'),(78,'20201566',3.0000,0.0000,'2028-02-29',87,'2026-07-07 19:56:42','2026-07-08 17:31:13'),(79,'20301796',85.0000,0.0000,'2028-03-31',88,'2026-07-07 19:59:43','2026-07-08 17:30:28'),(80,'2090305',5.0000,0.0000,'2027-09-30',89,'2026-07-07 20:01:39','2026-07-08 17:32:15'),(81,'2092575',73.0000,0.0000,'2027-08-31',90,'2026-07-07 20:09:29','2026-07-08 17:21:45'),(82,'2028226',200.0000,0.0000,'2028-02-29',91,'2026-07-07 20:10:55','2026-07-08 16:42:56'),(83,'2125255',200.0000,0.0000,'2028-12-31',92,'2026-07-07 20:14:36','2026-07-08 17:22:41'),(84,'203655',1.0000,0.0000,'2028-04-30',93,'2026-07-07 20:53:06','2026-07-09 18:04:46'),(85,'210424',6.0000,0.0000,'2027-10-31',94,'2026-07-07 21:00:12','2026-07-08 17:12:45'),(86,'211054',3.0000,0.0000,'2027-11-30',95,'2026-07-07 21:04:27','2026-07-09 18:17:21'),(87,'202096',8.0000,0.0000,'2029-02-28',96,'2026-07-09 18:03:49','2026-07-09 18:03:49'),(88,'2093685',6.0000,0.0000,'2028-09-30',97,'2026-07-09 18:13:28','2026-07-09 18:13:28'),(89,'2070275',84.0000,0.0000,'2028-07-31',98,'2026-07-09 18:30:29','2026-07-09 18:30:29'),(90,'2040166',50.0000,0.0000,'2028-04-30',99,'2026-07-09 18:43:58','2026-07-09 18:50:54'),(91,'2090535',40.0000,0.0000,'2027-09-30',100,'2026-07-09 18:49:42','2026-07-24 22:28:51'),(92,'53199',7.0000,0.0000,'2027-06-30',101,'2026-07-09 19:15:20','2026-07-09 19:15:20'),(93,'65131',12.0000,0.0000,'2028-03-31',102,'2026-07-09 19:19:47','2026-07-09 19:19:47'),(94,'2511102',56.0000,0.0000,'2028-11-30',103,'2026-07-09 19:30:54','2026-07-09 19:30:54'),(96,'2010086',102.0000,0.0000,'2029-01-31',105,'2026-07-09 20:26:28','2026-07-09 20:26:28'),(97,'25GC0168',89.0000,0.0000,'2028-11-30',106,'2026-07-09 20:40:49','2026-07-09 20:40:49'),(98,'21233852',58.0000,0.0000,'2026-12-31',107,'2026-07-09 20:57:56','2026-07-09 20:57:56'),(99,'21101854',74.0000,0.0000,'2028-11-30',109,'2026-07-10 18:30:09','2026-07-10 18:30:09'),(100,'2092484',18.0000,0.0000,'2027-09-30',110,'2026-07-10 18:51:41','2026-07-10 18:51:41'),(101,'2116355',99.0000,0.0000,'2028-11-30',111,'2026-07-10 19:12:32','2026-07-10 19:12:32'),(102,'LF00987A',66.0000,0.0000,'2028-05-31',112,'2026-07-10 19:27:05','2026-07-10 19:27:05'),(103,'F01861A',68.0000,0.0000,'2028-08-31',113,'2026-07-10 19:32:55','2026-07-10 19:32:55'),(104,'2111105',200.0000,0.0000,'2027-11-30',114,'2026-07-10 20:05:30','2026-07-10 20:05:30'),(105,'2120075',268.0000,0.0000,'2028-12-31',115,'2026-07-10 20:17:12','2026-07-20 11:34:58'),(106,'2020176',100.0000,0.0000,'2029-02-28',116,'2026-07-10 20:22:21','2026-07-10 20:22:21'),(107,'2030426',138.0000,0.0000,'2029-03-31',117,'2026-07-10 20:29:14','2026-07-15 19:53:20'),(109,'2010905',100.0000,0.0000,'2028-01-31',119,'2026-07-10 20:41:57','2026-07-10 20:41:57'),(110,'240952',87.0000,0.0000,'2027-09-30',120,'2026-07-10 20:49:52','2026-07-10 20:49:52'),(111,'2029756',85.0000,0.0000,'2028-02-29',121,'2026-07-10 21:09:04','2026-07-10 21:09:04'),(112,'2107365',311.0000,0.0000,'2028-10-31',122,'2026-07-10 21:14:15','2026-07-10 21:15:38'),(113,'2021406',100.0000,0.0000,'2029-02-28',123,'2026-07-10 21:22:41','2026-07-10 21:22:41'),(114,'2104494',4.0000,0.0000,'2027-10-30',124,'2026-07-10 21:32:27','2026-07-10 21:32:27'),(115,'2041734',116.0000,0.0000,'2027-04-30',125,'2026-07-10 21:40:40','2026-07-10 21:40:40'),(116,'2071175',4.0000,0.0000,'2028-07-31',126,'2026-07-10 21:44:45','2026-07-11 10:58:23'),(117,'2051384',10.0000,0.0000,'2027-06-30',127,'2026-07-10 21:47:59','2026-07-10 21:47:59'),(118,'2015624',100.0000,0.0000,'2027-01-31',128,'2026-07-10 21:50:25','2026-07-10 21:50:25'),(119,'2080414',9.0000,0.0000,'2027-08-31',129,'2026-07-10 21:52:36','2026-07-10 21:52:36'),(120,'2094204',76.0000,0.0000,'2027-09-30',130,'2026-07-10 22:12:14','2026-07-10 22:12:14'),(121,'20802044',89.0000,0.0000,'2028-08-31',131,'2026-07-10 22:16:21','2026-07-10 22:16:21'),(122,'T5379',20.0000,0.0000,'2028-04-30',132,'2026-07-11 10:35:15','2026-07-11 10:35:15'),(123,'2021166',70.0000,0.0000,'2029-02-28',133,'2026-07-11 10:37:51','2026-07-11 10:37:51'),(124,'20939284',39.0000,0.0000,'2026-09-30',134,'2026-07-11 10:41:56','2026-07-11 10:41:56'),(125,'2029213',60.0000,0.0000,'2026-09-30',135,'2026-07-11 10:45:20','2026-07-11 10:45:20'),(126,'2047086',100.0000,0.0000,'2029-04-30',136,'2026-07-11 10:47:39','2026-07-11 10:47:39'),(127,'2096314',101.0000,0.0000,'2027-09-30',137,'2026-07-11 10:54:35','2026-07-11 10:54:35'),(128,'2077474',55.0000,0.0000,'2027-07-31',138,'2026-07-11 11:04:01','2026-07-11 11:04:01'),(129,'2020244',90.0000,0.0000,'2027-02-28',139,'2026-07-11 11:06:09','2026-07-11 11:06:09'),(130,'204196',3.0000,0.0000,'2028-04-30',140,'2026-07-11 11:35:33','2026-07-11 11:35:33'),(131,'202206',140.0000,0.0000,'2028-02-29',141,'2026-07-11 11:38:28','2026-07-11 11:38:28'),(132,'2040646',6.0000,0.0000,'2029-04-30',142,'2026-07-11 11:41:28','2026-07-11 11:41:28'),(133,'202436',6.0000,0.0000,'2028-02-29',143,'2026-07-11 11:50:24','2026-07-11 11:50:24'),(134,'2125114',6.0000,0.0000,'2026-12-31',144,'2026-07-11 11:52:53','2026-07-11 11:52:53'),(135,'2031106',6.0000,0.0000,'2030-03-31',145,'2026-07-11 11:59:48','2026-07-11 11:59:48'),(136,'2120865',6.0000,0.0000,'2028-12-31',146,'2026-07-11 12:08:27','2026-07-11 12:09:00'),(137,'2029286',7.0000,0.0000,'2029-02-28',147,'2026-07-11 12:11:46','2026-07-11 12:11:46'),(138,'2110925',12.0000,0.0000,'2029-11-30',148,'2026-07-11 12:15:40','2026-07-11 12:15:40'),(139,'2032255',3.0000,0.0000,'2027-03-31',149,'2026-07-11 12:18:12','2026-07-11 12:19:19'),(140,'2100854',1.0000,0.0000,'2027-10-31',150,'2026-07-11 12:21:43','2026-07-11 12:21:43'),(141,'2073624',6.0000,0.0000,'2027-07-31',151,'2026-07-11 12:25:07','2026-07-11 12:25:07'),(142,'F01850A',3.0000,0.0000,'2028-09-30',152,'2026-07-11 12:27:29','2026-07-11 12:27:29'),(143,'2094405',11.0000,0.0000,'2028-09-30',153,'2026-07-11 12:31:30','2026-07-11 12:31:30'),(144,'2081105',3.0000,0.0000,'2029-08-31',154,'2026-07-11 12:34:31','2026-07-14 18:18:43'),(145,'2026446',115.0000,0.0000,'2029-02-28',155,'2026-07-11 12:42:00','2026-07-11 12:42:00'),(146,'2108935',185.0000,0.0000,'2028-10-31',156,'2026-07-11 12:45:07','2026-07-11 12:45:07'),(147,'2076835',360.0000,0.0000,'2027-07-31',157,'2026-07-11 12:54:48','2026-07-11 12:54:48'),(148,'2055364',163.0000,0.0000,'2027-05-31',158,'2026-07-11 12:59:19','2026-07-11 12:59:19'),(149,'2103574',94.0000,0.0000,'2027-10-31',159,'2026-07-11 13:01:22','2026-07-25 21:19:29'),(150,'2084654',97.0000,0.0000,'2027-08-31',160,'2026-07-11 13:03:17','2026-07-11 13:05:17'),(151,'2025954',9.0000,0.0000,'2027-02-28',161,'2026-07-11 13:07:32','2026-07-11 13:59:06'),(152,'2101584',41.0000,0.0000,'2027-10-31',162,'2026-07-11 13:13:51','2026-07-11 13:13:51'),(153,'2062135',13.0000,0.0000,'2027-06-30',163,'2026-07-11 13:16:48','2026-07-11 13:16:48'),(154,'50587',6.0000,0.0000,'2027-09-30',164,'2026-07-11 13:21:04','2026-07-11 13:21:04'),(155,'2501010',39.0000,0.0000,'2027-12-31',165,'2026-07-11 13:24:08','2026-07-11 13:24:08'),(156,'2019826',11.0000,0.0000,'2028-01-31',166,'2026-07-11 13:29:17','2026-07-11 13:29:17'),(157,'2032896',11.0000,0.0000,'2028-03-31',167,'2026-07-11 13:35:00','2026-07-11 13:35:00'),(158,'2100595',5.0000,0.0000,'2028-10-31',168,'2026-07-11 13:38:25','2026-07-11 13:38:25'),(159,'2115975',3.0000,0.0000,'2028-11-30',169,'2026-07-11 13:46:12','2026-07-11 13:46:12'),(160,'2061255',3.0000,0.0000,'2027-06-30',170,'2026-07-11 14:01:46','2026-07-11 14:01:46'),(161,'2040786',10.0000,0.0000,'2028-04-30',171,'2026-07-11 14:05:54','2026-07-11 14:05:54'),(162,'2107155',4.0000,0.0000,'2028-10-31',172,'2026-07-11 14:07:51','2026-07-11 14:07:51'),(163,'2076095',6.0000,0.0000,'2028-07-31',173,'2026-07-11 14:10:46','2026-07-11 14:10:46'),(164,'2111305',1.0000,0.0000,'2027-11-30',174,'2026-07-11 14:14:34','2026-07-11 14:14:34'),(165,'2117625',2.0000,0.0000,'2027-11-30',175,'2026-07-11 14:24:38','2026-07-11 14:24:38'),(166,'2063874',4.0000,0.0000,'2027-06-30',176,'2026-07-11 14:31:47','2026-07-11 14:31:47'),(167,'2115085',1.0000,0.0000,'2028-11-30',177,'2026-07-11 14:32:52','2026-07-11 14:32:52'),(168,'2081855',4.0000,0.0000,'2027-08-31',178,'2026-07-11 14:35:06','2026-07-11 14:35:06'),(169,'2066464',3.0000,0.0000,'2027-06-30',179,'2026-07-11 14:38:26','2026-07-11 14:38:26'),(170,'2541061',2.0000,0.0000,'2028-03-31',180,'2026-07-11 14:40:25','2026-07-11 14:40:25'),(171,'2122495',2.0000,0.0000,'2028-06-30',181,'2026-07-11 14:42:44','2026-07-11 14:42:44'),(172,'203116',16.0000,0.0000,'2029-03-31',182,'2026-07-11 14:48:12','2026-07-11 14:48:12'),(173,'42004354MO',7.0000,0.0000,'2027-11-30',183,'2026-07-11 14:57:26','2026-07-11 14:57:26'),(174,'2062065',100.0000,0.0000,'2028-06-30',184,'2026-07-13 19:13:46','2026-07-13 19:13:46'),(175,'2123055',30.0000,0.0000,'2027-12-31',185,'2026-07-13 19:18:21','2026-07-13 19:18:21'),(176,'2102565',120.0000,0.0000,'2027-10-31',186,'2026-07-13 19:22:12','2026-07-13 19:22:12'),(177,'12311417',6.0000,0.0000,'2027-04-30',187,'2026-07-13 19:23:40','2026-07-13 19:23:40'),(178,'2E250682',6.0000,0.0000,'2028-04-30',193,'2026-07-14 12:50:56','2026-07-14 13:11:03'),(179,'2C250296',11.0000,0.0000,'2028-02-29',194,'2026-07-14 12:55:40','2026-07-14 13:11:13'),(180,'2506023',2.0000,0.0000,'2028-06-30',195,'2026-07-14 12:59:28','2026-07-14 13:11:30'),(181,'202526',10.0000,0.0000,'2030-06-30',196,'2026-07-14 13:04:51','2026-07-14 13:09:08'),(182,'2051975',5.0000,0.0000,'2028-05-31',197,'2026-07-14 13:17:25','2026-07-14 13:17:25'),(183,'2504714904',8.0000,0.0000,'2026-08-07',200,'2026-07-14 13:23:45','2026-07-14 13:23:45'),(184,'2116044',49.0000,0.0000,'2028-11-30',201,'2026-07-14 13:26:28','2026-07-14 13:26:28'),(185,'209052',14.0000,0.0000,'2026-09-30',203,'2026-07-14 13:31:49','2026-07-14 13:33:37'),(186,'2081624',15.0000,0.0000,'2027-08-31',204,'2026-07-14 13:42:29','2026-07-14 13:42:29'),(187,'200133',8.0000,0.0000,'2028-01-31',205,'2026-07-14 13:51:46','2026-07-14 13:51:46'),(188,'2503232',7.0000,0.0000,'2030-08-30',206,'2026-07-14 13:54:57','2026-07-17 18:42:11'),(189,'2071285',14.0000,0.0000,'2028-07-31',207,'2026-07-14 13:57:58','2026-07-20 12:03:58'),(190,'2502213',11.0000,0.0000,'2030-09-30',208,'2026-07-14 14:00:29','2026-07-24 22:26:38'),(191,'2112235',16.0000,0.0000,'2028-11-30',209,'2026-07-14 14:03:48','2026-07-14 14:03:48'),(192,'2035786',12.0000,0.0000,'2029-03-30',192,'2026-07-14 14:09:45','2026-07-14 14:09:45'),(193,'250319',50.0000,0.0000,'2028-03-31',210,'2026-07-14 18:07:33','2026-07-14 18:07:33'),(194,'240876',48.0000,0.0000,'2027-08-31',211,'2026-07-14 18:10:28','2026-07-14 18:10:28'),(195,'2051946',6.0000,0.0000,'2030-05-31',212,'2026-07-14 18:35:14','2026-07-14 18:35:14'),(196,'2050096',1.0000,0.0000,'2029-05-31',24,'2026-07-14 18:38:05','2026-07-14 18:38:05'),(197,'2108895',192.0000,0.0000,'2027-10-31',213,'2026-07-14 18:42:00','2026-07-14 18:42:00'),(198,'60204354L0',36.0000,0.0000,'2027-06-30',215,'2026-07-14 20:01:35','2026-07-14 20:01:35'),(199,'206084',4.0000,0.0000,'2027-06-30',216,'2026-07-14 20:12:47','2026-07-14 20:12:47'),(200,'207035',2.0000,0.0000,'2028-07-31',217,'2026-07-14 20:16:58','2026-07-14 20:16:58'),(201,'2020224',2.0000,0.0000,'2028-02-29',218,'2026-07-14 20:24:42','2026-07-14 20:24:42'),(202,'2111805',4.0000,0.0000,'2029-11-30',219,'2026-07-14 20:28:20','2026-07-14 20:28:20'),(203,'52514354L0',6.0000,0.0000,'2027-07-31',220,'2026-07-14 20:35:37','2026-07-14 20:35:37'),(204,'5294CN121K',4.0000,0.0000,'2028-10-31',221,'2026-07-14 21:26:21','2026-07-14 21:26:21'),(205,'BK8C18',96.0000,0.0000,'2027-07-31',222,'2026-07-14 22:00:20','2026-07-14 22:00:20'),(206,'25H07B1',90.0000,0.0000,'2027-08-31',223,'2026-07-14 22:08:12','2026-07-14 22:08:12'),(207,'25GT0243',40.0000,0.0000,'2028-03-31',224,'2026-07-15 17:57:36','2026-07-15 17:57:36'),(208,'25GT0241',10.0000,0.0000,'2028-03-31',225,'2026-07-15 18:34:06','2026-07-15 18:34:06'),(209,'WF24339',60.0000,0.0000,'2027-03-31',226,'2026-07-15 18:46:11','2026-07-15 18:46:11'),(210,'5022C60103',79.0000,0.0000,'2027-11-30',227,'2026-07-15 19:08:51','2026-07-15 19:08:51'),(211,'2034785',151.0000,0.0000,'2027-03-31',228,'2026-07-15 19:20:25','2026-07-15 19:20:25'),(212,'2037825',27.0000,0.0000,'2028-03-31',229,'2026-07-15 19:26:53','2026-07-15 19:26:53'),(213,'1558038',28.0000,0.0000,'2028-04-30',230,'2026-07-15 19:37:17','2026-07-15 19:37:17'),(214,'2050335',13.0000,0.0000,'2028-05-31',231,'2026-07-15 19:45:14','2026-07-15 19:45:14'),(215,'20211156',18.0000,0.0000,'2029-02-28',232,'2026-07-15 20:01:10','2026-07-15 20:01:10'),(216,'E85225002',24.0000,0.0000,'2028-05-31',233,'2026-07-15 20:04:51','2026-07-20 12:15:31'),(217,'5204c04211',7.0000,0.0000,'2027-07-31',234,'2026-07-15 20:17:07','2026-07-15 20:17:07'),(218,'20100245',25.0000,0.0000,'2027-06-30',235,'2026-07-15 20:40:17','2026-07-15 20:40:17'),(219,'53820001',13.0000,0.0000,'2027-02-28',236,'2026-07-15 20:49:14','2026-07-15 20:49:14'),(220,'2096674',8.0000,0.0000,'2028-09-30',237,'2026-07-15 20:55:16','2026-07-15 20:55:16'),(221,'6054C04211',20.0000,0.0000,'2028-02-29',238,'2026-07-15 21:12:31','2026-07-15 21:12:31'),(222,'2503003',10.0000,0.0000,'2028-03-31',239,'2026-07-16 18:40:55','2026-07-16 18:40:55'),(223,'26047',7.0000,0.0000,'2027-08-31',240,'2026-07-16 19:01:05','2026-07-16 19:01:05'),(224,'20IQIII5',6.0000,0.0000,'2027-07-31',241,'2026-07-16 19:06:14','2026-07-16 19:06:14'),(225,'6072791030',12.0000,0.0000,'2027-07-31',242,'2026-07-16 19:28:51','2026-07-16 19:28:51'),(226,'25728',11.0000,0.0000,'2027-07-31',243,'2026-07-16 19:43:44','2026-07-16 19:43:44'),(227,'1454195',3.0000,0.0000,'2028-12-31',244,'2026-07-16 19:51:38','2026-07-16 19:51:38'),(228,'220325',5.0000,0.0000,'2027-07-31',245,'2026-07-16 19:57:29','2026-07-16 19:57:29'),(229,'1451423',3.0000,0.0000,'2028-11-30',247,'2026-07-16 20:40:29','2026-07-16 20:40:29'),(230,'10118719',14.0000,0.0000,'2027-07-31',248,'2026-07-16 20:51:36','2026-07-16 20:51:36'),(231,'526722999',11.0000,0.0000,'2027-09-30',249,'2026-07-16 21:06:05','2026-07-16 21:06:05'),(232,'PA02260229',12.0000,0.0000,'2029-02-28',250,'2026-07-16 21:35:35','2026-07-16 21:35:35'),(233,'5295MX112H',8.0000,0.0000,'2027-10-31',253,'2026-07-16 21:48:26','2026-07-16 21:48:26'),(234,'5284MX1124',6.0000,0.0000,'2027-10-30',254,'2026-07-16 21:51:54','2026-07-16 21:51:54'),(235,'6039C01016',9.0000,0.0000,'2028-02-29',256,'2026-07-16 22:02:53','2026-07-16 22:02:53'),(236,'60364354P0',6.0000,0.0000,'2028-12-30',258,'2026-07-16 22:08:56','2026-07-16 22:08:56'),(237,'2040814',22.0000,0.0000,'2027-04-30',259,'2026-07-17 18:31:59','2026-07-17 18:31:59'),(238,'2030786',16.0000,0.0000,'2031-07-31',260,'2026-07-17 18:39:36','2026-07-17 18:39:36'),(239,'2051025',5.0000,0.0000,'2027-05-31',261,'2026-07-17 18:49:12','2026-07-17 18:49:12'),(240,'108046',4.0000,0.0000,'2029-12-31',262,'2026-07-17 19:00:20','2026-07-17 19:00:20'),(241,'2091735',11.0000,0.0000,'2028-09-30',263,'2026-07-17 19:05:06','2026-07-17 19:05:06'),(242,'2503252',3.0000,0.0000,'2030-10-31',264,'2026-07-17 19:10:02','2026-07-17 19:10:02'),(243,'140228260',18.0000,0.0000,'2027-05-31',265,'2026-07-17 19:18:27','2026-07-17 19:18:27'),(244,'2101272500264',9.0000,0.0000,'2028-02-29',266,'2026-07-17 19:22:25','2026-07-17 19:22:25'),(245,'01202026',3.0000,0.0000,'2030-01-31',267,'2026-07-17 19:57:36','2026-07-17 19:57:36'),(246,'151617',9.0000,0.0000,'2028-11-30',268,'2026-07-17 20:09:47','2026-07-17 20:09:47'),(247,'203195',11.0000,0.0000,'2028-03-31',269,'2026-07-17 20:12:59','2026-07-17 20:12:59'),(248,'2010113',6.0000,0.0000,'2028-07-31',270,'2026-07-17 20:22:52','2026-07-17 20:22:52'),(249,'202014',7.0000,0.0000,'2029-12-31',271,'2026-07-17 20:37:56','2026-07-17 20:37:56'),(250,'R2030305',11.0000,0.0000,'2029-03-31',272,'2026-07-17 21:09:11','2026-07-17 21:09:11'),(251,'837231204',100.0000,0.0000,'2026-12-31',273,'2026-07-21 22:24:41','2026-07-21 22:26:38'),(252,'2117363',100.0000,0.0000,'2026-11-30',274,'2026-07-21 22:29:55','2026-07-21 22:29:55'),(253,'2430352082',149.0000,0.0000,'2027-06-30',275,'2026-07-23 19:03:08','2026-07-23 19:03:08'),(254,'210426',4.0000,0.0000,'2028-03-31',276,'2026-07-23 19:13:16','2026-07-23 19:13:16'),(255,'20250709',268.0000,0.0000,'2030-06-30',277,'2026-07-23 19:27:41','2026-07-23 19:27:41'),(256,'20250708',186.0000,0.0000,'2030-06-30',278,'2026-07-23 19:36:41','2026-07-23 19:36:41'),(257,'20250707',76.0000,0.0000,'2030-06-30',279,'2026-07-23 19:42:43','2026-07-23 19:42:43'),(258,'20302555',81.0000,0.0000,'2028-03-31',280,'2026-07-23 19:55:11','2026-07-23 19:55:11'),(259,'2504103',70.0000,0.0000,'2028-03-31',281,'2026-07-23 20:12:19','2026-07-23 20:12:19'),(260,'M24ATFX',9.0000,0.0000,'2026-12-31',282,'2026-07-23 20:24:31','2026-07-23 20:24:31'),(261,'2090404',15.0000,0.0000,'2027-09-30',283,'2026-07-23 21:14:22','2026-07-23 21:14:22'),(262,'20301146',57.0000,0.0000,'2029-03-31',284,'2026-07-23 21:20:10','2026-07-23 21:20:10'),(263,'2060764',10.0000,0.0000,'2027-06-30',285,'2026-07-23 21:22:38','2026-07-23 21:22:38'),(264,'2074683',23.0000,0.0000,'2026-07-31',286,'2026-07-23 21:24:47','2026-07-23 21:24:47'),(265,'2042426',35.0000,0.0000,'2028-04-30',287,'2026-07-23 21:26:48','2026-07-23 21:26:48'),(266,'2101795',54.0000,0.0000,'2027-10-31',288,'2026-07-23 21:32:43','2026-07-23 21:32:43'),(267,'225100',66.0000,0.0000,'2028-02-29',289,'2026-07-23 21:41:51','2026-07-23 21:41:51'),(268,'S2520342',31.0000,0.0000,'2027-08-31',290,'2026-07-23 21:51:29','2026-07-24 18:36:39'),(269,'2032036',30.0000,0.0000,'2028-03-31',291,'2026-07-23 21:55:08','2026-07-23 21:55:08'),(270,'2041656',80.0000,0.0000,'2028-04-30',292,'2026-07-24 18:10:48','2026-07-24 18:10:48'),(271,'21001265',300.0000,0.0000,'2028-10-31',293,'2026-07-24 18:30:53','2026-07-24 18:30:53'),(272,'2661',15.0000,0.0000,'2027-09-30',294,'2026-07-24 18:46:13','2026-07-24 18:46:13'),(273,'20500605',6.0000,0.0000,'2027-05-31',295,'2026-07-24 19:05:13','2026-07-24 19:05:13'),(274,'2030506',10.0000,0.0000,'2028-03-31',296,'2026-07-24 19:26:09','2026-07-24 19:26:09'),(275,'2053366',12.0000,0.0000,'2027-11-30',297,'2026-07-24 19:29:40','2026-07-24 19:29:40'),(276,'25J01H1',90.0000,0.0000,'2027-09-30',305,'2026-07-27 21:00:55','2026-07-27 21:00:55'),(277,'S2540416',141.0000,0.0000,'2027-05-31',306,'2026-07-27 21:27:20','2026-07-27 21:27:20'),(278,'20902344',19.0000,0.0000,'2026-09-30',307,'2026-07-27 21:33:57','2026-07-27 21:33:57'),(279,'T5378',148.0000,0.0000,'2028-04-30',308,'2026-07-27 21:58:34','2026-07-27 21:58:34'),(280,'1122307',1.0000,0.0000,'2028-12-31',309,'2026-07-28 11:35:20','2026-07-28 11:35:20'),(281,'CUA240906',35.0000,0.0000,'2026-08-31',310,'2026-07-28 12:24:18','2026-07-28 12:24:18'),(282,'2015734',1.0000,0.0000,'2027-01-31',311,'2026-07-28 14:49:04','2026-07-28 14:49:04');
COMMIT;

-- Dumped table `item_lots_group` with 279 row(s)
--

--
-- Table structure for table `item_lots_group_warehouse`
--

CREATE TABLE `item_lots_group_warehouse` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `item_lot_group_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `quantity` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `old_quantity` decimal(12,4) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ilgw_unique` (`item_lot_group_id`,`warehouse_id`),
  KEY `ilgw_wh_idx` (`warehouse_id`,`item_lot_group_id`),
  CONSTRAINT `ilgw_lot_fk` FOREIGN KEY (`item_lot_group_id`) REFERENCES `item_lots_group` (`id`),
  CONSTRAINT `ilgw_wh_fk` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=284 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_lots_group_warehouse`
--

SET autocommit=0;
INSERT INTO `item_lots_group_warehouse` VALUES (1,1,1,19.0000,NULL,'2026-07-02 16:34:00','2026-07-02 16:34:00'),(2,2,1,21.0000,NULL,'2026-07-05 19:00:10','2026-07-05 19:00:10'),(3,3,1,88.0000,NULL,'2026-07-05 19:04:52','2026-07-05 19:04:52'),(4,4,1,2.0000,NULL,'2026-07-05 19:06:37','2026-07-05 19:06:37'),(5,5,1,53.0000,NULL,'2026-07-05 19:07:52','2026-07-05 19:07:52'),(6,6,1,167.0000,NULL,'2026-07-05 19:09:51','2026-07-20 16:37:38'),(7,7,1,44.0000,NULL,'2026-07-05 19:10:38','2026-07-05 19:10:38'),(8,8,1,108.0000,NULL,'2026-07-05 19:11:53','2026-07-05 19:11:53'),(9,9,1,1.0000,NULL,'2026-07-05 19:12:52','2026-07-05 19:12:52'),(10,10,1,2.0000,NULL,'2026-07-05 19:14:14','2026-07-05 19:14:14'),(11,11,1,88.0000,NULL,'2026-07-05 19:16:50','2026-07-05 19:16:50'),(12,12,1,4.0000,NULL,'2026-07-05 19:22:05','2026-07-05 19:22:05'),(13,13,1,4.0000,NULL,'2026-07-05 19:23:14','2026-07-05 19:23:14'),(14,14,1,2.0000,NULL,'2026-07-05 19:24:19','2026-07-05 19:24:19'),(15,15,1,10.0000,NULL,'2026-07-05 19:25:24','2026-07-05 19:25:24'),(16,16,1,16.0000,NULL,'2026-07-05 19:26:17','2026-07-05 19:26:17'),(17,17,1,19.0000,NULL,'2026-07-05 19:27:07','2026-07-05 19:27:07'),(18,18,1,42.0000,NULL,'2026-07-05 19:28:02','2026-07-05 19:28:02'),(19,19,1,40.0000,NULL,'2026-07-05 19:29:16','2026-07-05 19:29:16'),(20,20,1,91.0000,NULL,'2026-07-05 19:29:54','2026-07-05 19:29:54'),(21,21,1,97.0000,NULL,'2026-07-05 19:30:39','2026-07-05 19:30:39'),(23,23,1,25.0000,NULL,'2026-07-05 19:32:31','2026-07-05 19:32:31'),(24,24,1,96.0000,NULL,'2026-07-05 19:33:09','2026-07-05 19:33:09'),(25,25,1,20.0000,NULL,'2026-07-05 19:34:00','2026-07-05 19:34:00'),(26,26,1,16.0000,NULL,'2026-07-05 19:35:08','2026-07-05 19:35:08'),(27,27,1,88.0000,NULL,'2026-07-05 19:37:10','2026-07-05 19:37:10'),(28,28,1,19.0000,NULL,'2026-07-05 19:39:25','2026-07-05 19:39:25'),(29,29,1,89.0000,NULL,'2026-07-05 19:40:47','2026-07-05 19:40:47'),(30,30,1,12.0000,NULL,'2026-07-05 19:44:08','2026-07-05 19:44:08'),(31,31,1,79.0000,NULL,'2026-07-05 19:46:31','2026-07-05 19:46:31'),(32,32,1,10.0000,NULL,'2026-07-06 00:50:23','2026-07-06 00:50:23'),(33,33,1,13.0000,NULL,'2026-07-06 00:53:12','2026-07-06 00:53:12'),(34,34,1,3.0000,NULL,'2026-07-06 00:59:16','2026-07-06 00:59:16'),(35,35,1,24.0000,NULL,'2026-07-06 01:05:02','2026-07-06 01:05:02'),(36,36,1,43.0000,NULL,'2026-07-06 01:10:59','2026-07-06 01:10:59'),(37,37,1,16.0000,NULL,'2026-07-06 01:36:46','2026-07-06 01:36:46'),(38,38,1,15.0000,NULL,'2026-07-06 01:51:00','2026-07-06 01:51:00'),(39,39,1,44.0000,NULL,'2026-07-06 01:56:47','2026-07-06 01:56:47'),(40,40,1,25.0000,NULL,'2026-07-06 01:59:32','2026-07-06 01:59:32'),(41,41,1,22.0000,NULL,'2026-07-07 00:03:26','2026-07-07 00:03:26'),(42,42,1,6.0000,NULL,'2026-07-07 00:11:10','2026-07-07 00:11:10'),(43,43,1,12.0000,NULL,'2026-07-07 00:14:43','2026-07-07 00:14:43'),(44,44,1,2.0000,NULL,'2026-07-07 00:42:21','2026-07-07 00:42:21'),(45,45,1,2.0000,NULL,'2026-07-07 00:45:08','2026-07-07 00:45:08'),(46,46,1,1.0000,NULL,'2026-07-07 00:48:59','2026-07-07 00:48:59'),(47,47,1,1.0000,NULL,'2026-07-07 00:51:23','2026-07-07 00:51:23'),(48,48,1,1.0000,NULL,'2026-07-07 00:53:09','2026-07-07 00:53:09'),(49,49,1,170.0000,NULL,'2026-07-07 01:03:06','2026-07-07 01:03:06'),(50,50,1,5.0000,NULL,'2026-07-07 01:08:12','2026-07-07 01:08:12'),(51,51,1,173.0000,NULL,'2026-07-07 01:14:06','2026-07-07 01:14:06'),(52,52,1,9.0000,NULL,'2026-07-07 01:40:51','2026-07-07 01:40:51'),(53,53,1,2.0000,NULL,'2026-07-07 01:42:44','2026-07-07 01:42:44'),(54,54,1,2.0000,NULL,'2026-07-07 01:46:52','2026-07-07 01:46:52'),(55,55,1,1.0000,NULL,'2026-07-07 01:48:27','2026-07-07 01:48:27'),(56,56,1,10.0000,NULL,'2026-07-07 01:50:31','2026-07-07 01:50:31'),(57,57,1,48.0000,NULL,'2026-07-07 02:04:56','2026-07-22 03:55:58'),(58,58,1,100.0000,NULL,'2026-07-07 02:07:37','2026-07-07 02:07:37'),(59,59,1,13.0000,NULL,'2026-07-07 02:29:38','2026-07-07 02:29:38'),(60,60,1,9.0000,NULL,'2026-07-07 02:31:52','2026-07-07 02:31:52'),(61,61,1,13.0000,NULL,'2026-07-07 02:46:29','2026-07-07 02:46:29'),(62,62,1,6.0000,NULL,'2026-07-07 02:47:48','2026-07-07 02:47:48'),(63,63,1,82.0000,NULL,'2026-07-07 02:52:41','2026-07-07 02:52:41'),(64,64,1,82.0000,NULL,'2026-07-07 23:02:25','2026-07-07 23:02:25'),(65,65,1,47.0000,NULL,'2026-07-07 23:07:06','2026-07-07 23:07:06'),(66,66,1,6.0000,NULL,'2026-07-07 23:11:09','2026-07-07 23:11:09'),(67,67,1,2.0000,NULL,'2026-07-07 23:13:03','2026-07-07 23:13:03'),(68,68,1,92.0000,NULL,'2026-07-07 23:57:40','2026-07-07 23:57:40'),(69,69,1,131.0000,NULL,'2026-07-08 00:05:44','2026-07-08 00:05:44'),(70,70,1,66.0000,NULL,'2026-07-08 00:16:18','2026-07-08 00:16:18'),(71,71,1,40.0000,NULL,'2026-07-08 00:18:27','2026-07-08 00:18:27'),(72,72,1,79.0000,NULL,'2026-07-08 00:32:02','2026-07-08 00:32:02'),(73,73,1,32.0000,NULL,'2026-07-08 00:34:38','2026-07-08 00:34:38'),(74,74,1,1.0000,NULL,'2026-07-08 00:40:29','2026-07-08 00:40:29'),(75,75,1,1.0000,NULL,'2026-07-08 00:44:53','2026-07-08 00:44:53'),(76,76,1,3.0000,NULL,'2026-07-08 00:47:09','2026-07-08 00:47:09'),(77,77,1,2.0000,NULL,'2026-07-08 00:51:45','2026-07-08 00:51:45'),(78,78,1,3.0000,NULL,'2026-07-08 00:56:42','2026-07-08 00:56:42'),(79,79,1,85.0000,NULL,'2026-07-08 00:59:43','2026-07-08 00:59:43'),(80,80,1,5.0000,NULL,'2026-07-08 01:01:39','2026-07-08 01:01:39'),(81,81,1,73.0000,NULL,'2026-07-08 01:09:29','2026-07-08 01:09:29'),(82,82,1,200.0000,NULL,'2026-07-08 01:10:55','2026-07-08 01:10:55'),(83,83,1,200.0000,NULL,'2026-07-08 01:14:36','2026-07-08 01:14:36'),(84,84,1,1.0000,NULL,'2026-07-08 01:53:06','2026-07-08 01:53:06'),(85,85,1,6.0000,NULL,'2026-07-08 02:00:12','2026-07-08 02:00:12'),(86,86,1,3.0000,NULL,'2026-07-08 02:04:27','2026-07-08 02:04:27'),(87,87,1,8.0000,NULL,'2026-07-09 23:03:49','2026-07-09 23:03:49'),(88,88,1,6.0000,NULL,'2026-07-09 23:13:28','2026-07-09 23:13:28'),(89,89,1,84.0000,NULL,'2026-07-09 23:30:29','2026-07-09 23:30:29'),(90,90,1,50.0000,NULL,'2026-07-09 23:43:58','2026-07-09 23:43:58'),(91,91,1,40.0000,NULL,'2026-07-09 23:49:42','2026-07-09 23:49:42'),(92,92,1,7.0000,NULL,'2026-07-10 00:15:20','2026-07-10 00:15:20'),(93,93,1,12.0000,NULL,'2026-07-10 00:19:47','2026-07-10 00:19:47'),(94,94,1,56.0000,NULL,'2026-07-10 00:30:54','2026-07-10 00:30:54'),(96,96,1,102.0000,NULL,'2026-07-10 01:26:28','2026-07-10 01:26:28'),(97,97,1,89.0000,NULL,'2026-07-10 01:40:49','2026-07-10 01:40:49'),(98,98,1,58.0000,NULL,'2026-07-10 01:57:56','2026-07-10 01:57:56'),(99,99,1,74.0000,NULL,'2026-07-10 23:30:09','2026-07-10 23:30:09'),(100,100,1,18.0000,NULL,'2026-07-10 23:51:41','2026-07-10 23:51:41'),(101,101,1,99.0000,NULL,'2026-07-11 00:12:32','2026-07-11 00:12:32'),(102,102,1,66.0000,NULL,'2026-07-11 00:27:05','2026-07-11 00:27:05'),(103,103,1,68.0000,NULL,'2026-07-11 00:32:55','2026-07-11 00:32:55'),(104,104,1,200.0000,NULL,'2026-07-11 01:05:30','2026-07-11 01:05:30'),(105,105,1,268.0000,NULL,'2026-07-11 01:17:12','2026-07-20 16:34:58'),(106,106,1,100.0000,NULL,'2026-07-11 01:22:21','2026-07-11 01:22:21'),(107,107,1,138.0000,NULL,'2026-07-11 01:29:14','2026-07-11 01:29:14'),(109,109,1,100.0000,NULL,'2026-07-11 01:41:57','2026-07-11 01:41:57'),(110,110,1,87.0000,NULL,'2026-07-11 01:49:52','2026-07-11 01:49:52'),(111,111,1,85.0000,NULL,'2026-07-11 02:09:04','2026-07-11 02:09:04'),(112,112,1,311.0000,NULL,'2026-07-11 02:14:15','2026-07-11 02:14:15'),(113,113,1,100.0000,NULL,'2026-07-11 02:22:41','2026-07-11 02:22:41'),(114,114,1,4.0000,NULL,'2026-07-11 02:32:27','2026-07-11 02:32:27'),(115,115,1,116.0000,NULL,'2026-07-11 02:40:40','2026-07-11 02:40:40'),(116,116,1,4.0000,NULL,'2026-07-11 02:44:45','2026-07-11 02:44:45'),(117,117,1,10.0000,NULL,'2026-07-11 02:47:59','2026-07-11 02:47:59'),(118,118,1,100.0000,NULL,'2026-07-11 02:50:25','2026-07-11 02:50:25'),(119,119,1,9.0000,NULL,'2026-07-11 02:52:36','2026-07-11 02:52:36'),(120,120,1,76.0000,NULL,'2026-07-11 03:12:14','2026-07-11 03:12:14'),(121,121,1,89.0000,NULL,'2026-07-11 03:16:21','2026-07-11 03:16:21'),(122,122,1,20.0000,NULL,'2026-07-11 15:35:15','2026-07-11 15:35:15'),(123,123,1,70.0000,NULL,'2026-07-11 15:37:51','2026-07-11 15:37:51'),(124,124,1,39.0000,NULL,'2026-07-11 15:41:56','2026-07-11 15:41:56'),(125,125,1,60.0000,NULL,'2026-07-11 15:45:20','2026-07-11 15:45:20'),(126,126,1,100.0000,NULL,'2026-07-11 15:47:39','2026-07-11 15:47:39'),(127,127,1,101.0000,NULL,'2026-07-11 15:54:35','2026-07-11 15:54:35'),(128,128,1,55.0000,NULL,'2026-07-11 16:04:01','2026-07-11 16:04:01'),(129,129,1,90.0000,NULL,'2026-07-11 16:06:09','2026-07-11 16:06:09'),(130,130,1,3.0000,NULL,'2026-07-11 16:35:33','2026-07-11 16:35:33'),(131,131,1,140.0000,NULL,'2026-07-11 16:38:28','2026-07-11 16:38:28'),(132,132,1,6.0000,NULL,'2026-07-11 16:41:28','2026-07-11 16:41:28'),(133,133,1,6.0000,NULL,'2026-07-11 16:50:24','2026-07-11 16:50:24'),(134,134,1,6.0000,NULL,'2026-07-11 16:52:53','2026-07-11 16:52:53'),(135,135,1,6.0000,NULL,'2026-07-11 16:59:48','2026-07-11 16:59:48'),(136,136,1,6.0000,NULL,'2026-07-11 17:08:27','2026-07-11 17:08:27'),(137,137,1,7.0000,NULL,'2026-07-11 17:11:46','2026-07-11 17:11:46'),(138,138,1,12.0000,NULL,'2026-07-11 17:15:40','2026-07-11 17:15:40'),(139,139,1,3.0000,NULL,'2026-07-11 17:18:12','2026-07-11 17:18:12'),(140,140,1,1.0000,NULL,'2026-07-11 17:21:43','2026-07-11 17:21:43'),(141,141,1,6.0000,NULL,'2026-07-11 17:25:07','2026-07-11 17:25:07'),(142,142,1,3.0000,NULL,'2026-07-11 17:27:29','2026-07-11 17:27:29'),(143,143,1,11.0000,NULL,'2026-07-11 17:31:30','2026-07-11 17:31:30'),(144,144,1,3.0000,NULL,'2026-07-11 17:34:31','2026-07-11 17:34:31'),(145,145,1,115.0000,NULL,'2026-07-11 17:42:00','2026-07-11 17:42:00'),(146,146,1,185.0000,NULL,'2026-07-11 17:45:07','2026-07-11 17:45:07'),(147,147,1,360.0000,NULL,'2026-07-11 17:54:48','2026-07-11 17:54:48'),(148,148,1,163.0000,NULL,'2026-07-11 17:59:19','2026-07-11 17:59:19'),(149,149,1,94.0000,NULL,'2026-07-11 18:01:22','2026-07-11 18:01:22'),(150,150,1,97.0000,NULL,'2026-07-11 18:03:17','2026-07-11 18:03:17'),(151,151,1,9.0000,NULL,'2026-07-11 18:07:32','2026-07-11 18:07:32'),(152,152,1,41.0000,NULL,'2026-07-11 18:13:51','2026-07-11 18:13:51'),(153,153,1,13.0000,NULL,'2026-07-11 18:16:48','2026-07-11 18:16:48'),(154,154,1,6.0000,NULL,'2026-07-11 18:21:04','2026-07-11 18:21:04'),(155,155,1,39.0000,NULL,'2026-07-11 18:24:08','2026-07-11 18:24:08'),(156,156,1,11.0000,NULL,'2026-07-11 18:29:17','2026-07-11 18:29:17'),(157,157,1,11.0000,NULL,'2026-07-11 18:35:00','2026-07-11 18:35:00'),(158,158,1,5.0000,NULL,'2026-07-11 18:38:25','2026-07-11 18:38:25'),(159,159,1,3.0000,NULL,'2026-07-11 18:46:12','2026-07-11 18:46:12'),(160,160,1,3.0000,NULL,'2026-07-11 19:01:46','2026-07-11 19:01:46'),(161,161,1,10.0000,NULL,'2026-07-11 19:05:54','2026-07-11 19:05:54'),(162,162,1,4.0000,NULL,'2026-07-11 19:07:51','2026-07-11 19:07:51'),(163,163,1,6.0000,NULL,'2026-07-11 19:10:46','2026-07-11 19:10:46'),(164,164,1,1.0000,NULL,'2026-07-11 19:14:34','2026-07-11 19:14:34'),(165,165,1,2.0000,NULL,'2026-07-11 19:24:38','2026-07-11 19:24:38'),(166,166,1,4.0000,NULL,'2026-07-11 19:31:47','2026-07-11 19:31:47'),(167,167,1,1.0000,NULL,'2026-07-11 19:32:52','2026-07-11 19:32:52'),(168,168,1,4.0000,NULL,'2026-07-11 19:35:06','2026-07-11 19:35:06'),(169,169,1,3.0000,NULL,'2026-07-11 19:38:26','2026-07-11 19:38:26'),(170,170,1,2.0000,NULL,'2026-07-11 19:40:25','2026-07-11 19:40:25'),(171,171,1,2.0000,NULL,'2026-07-11 19:42:44','2026-07-11 19:42:44'),(172,172,1,16.0000,NULL,'2026-07-11 19:48:12','2026-07-11 19:48:12'),(173,173,1,7.0000,NULL,'2026-07-11 19:57:26','2026-07-11 19:57:26'),(174,174,1,100.0000,NULL,'2026-07-14 00:13:46','2026-07-14 00:13:46'),(175,175,1,30.0000,NULL,'2026-07-14 00:18:21','2026-07-14 00:18:21'),(176,176,1,120.0000,NULL,'2026-07-14 00:22:12','2026-07-14 00:22:12'),(177,177,1,6.0000,NULL,'2026-07-14 00:23:40','2026-07-14 00:23:40'),(178,178,1,6.0000,NULL,'2026-07-14 17:50:56','2026-07-14 17:50:56'),(179,179,1,11.0000,NULL,'2026-07-14 17:55:40','2026-07-14 17:55:40'),(180,180,1,2.0000,NULL,'2026-07-14 17:59:28','2026-07-14 17:59:28'),(181,181,1,10.0000,NULL,'2026-07-14 18:04:51','2026-07-14 18:04:51'),(182,182,1,5.0000,NULL,'2026-07-14 18:17:25','2026-07-14 18:17:25'),(183,183,1,8.0000,NULL,'2026-07-14 18:23:45','2026-07-14 18:23:45'),(184,184,1,49.0000,NULL,'2026-07-14 18:26:28','2026-07-14 18:26:28'),(185,185,1,14.0000,NULL,'2026-07-14 18:31:49','2026-07-14 18:31:49'),(186,186,1,15.0000,NULL,'2026-07-14 18:42:29','2026-07-14 18:42:29'),(187,187,1,8.0000,NULL,'2026-07-14 18:51:46','2026-07-14 18:51:46'),(188,188,1,7.0000,NULL,'2026-07-14 18:54:57','2026-07-14 18:54:57'),(189,189,1,14.0000,NULL,'2026-07-14 18:57:58','2026-07-23 00:46:40'),(190,190,1,11.0000,NULL,'2026-07-14 19:00:29','2026-07-14 19:00:29'),(191,191,1,16.0000,NULL,'2026-07-14 19:03:48','2026-07-14 19:03:48'),(192,192,1,12.0000,NULL,'2026-07-14 19:09:45','2026-07-14 19:09:45'),(193,193,1,50.0000,NULL,'2026-07-14 23:07:33','2026-07-14 23:07:33'),(194,194,1,48.0000,NULL,'2026-07-14 23:10:28','2026-07-14 23:10:28'),(195,195,1,6.0000,NULL,'2026-07-14 23:35:14','2026-07-14 23:35:14'),(196,196,1,1.0000,NULL,'2026-07-14 23:38:05','2026-07-14 23:38:05'),(197,197,1,192.0000,NULL,'2026-07-14 23:42:00','2026-07-14 23:42:00'),(198,198,1,36.0000,NULL,'2026-07-15 01:01:35','2026-07-15 01:01:35'),(199,199,1,4.0000,NULL,'2026-07-15 01:12:47','2026-07-15 01:12:47'),(200,200,1,2.0000,NULL,'2026-07-15 01:16:58','2026-07-15 01:16:58'),(201,201,1,2.0000,NULL,'2026-07-15 01:24:42','2026-07-15 01:24:42'),(202,202,1,4.0000,NULL,'2026-07-15 01:28:20','2026-07-15 01:28:20'),(203,203,1,6.0000,NULL,'2026-07-15 01:35:37','2026-07-15 01:35:37'),(204,204,1,4.0000,NULL,'2026-07-15 02:26:21','2026-07-15 02:26:21'),(205,205,1,96.0000,NULL,'2026-07-15 03:00:20','2026-07-15 03:00:20'),(206,206,1,90.0000,NULL,'2026-07-15 03:08:12','2026-07-15 03:08:12'),(207,207,1,40.0000,NULL,'2026-07-15 22:57:36','2026-07-15 22:57:36'),(208,208,1,10.0000,NULL,'2026-07-15 23:34:06','2026-07-15 23:34:06'),(209,209,1,60.0000,NULL,'2026-07-15 23:46:11','2026-07-15 23:46:11'),(210,210,1,79.0000,NULL,'2026-07-16 00:08:51','2026-07-16 00:08:51'),(211,211,1,151.0000,NULL,'2026-07-16 00:20:25','2026-07-16 00:20:25'),(212,212,1,27.0000,NULL,'2026-07-16 00:26:53','2026-07-16 00:26:53'),(213,213,1,28.0000,NULL,'2026-07-16 00:37:17','2026-07-16 00:37:17'),(214,214,1,13.0000,NULL,'2026-07-16 00:45:14','2026-07-16 00:45:14'),(215,215,1,18.0000,NULL,'2026-07-16 01:01:10','2026-07-16 01:01:10'),(216,216,1,24.0000,NULL,'2026-07-16 01:04:51','2026-07-23 00:46:40'),(217,217,1,7.0000,NULL,'2026-07-16 01:17:07','2026-07-16 01:17:07'),(218,218,1,25.0000,NULL,'2026-07-16 01:40:17','2026-07-16 01:40:17'),(219,219,1,13.0000,NULL,'2026-07-16 01:49:14','2026-07-16 01:49:14'),(220,220,1,8.0000,NULL,'2026-07-16 01:55:16','2026-07-16 01:55:16'),(221,221,1,20.0000,NULL,'2026-07-16 02:12:31','2026-07-16 02:12:31'),(222,222,1,10.0000,NULL,'2026-07-16 23:40:55','2026-07-16 23:40:55'),(223,223,1,7.0000,NULL,'2026-07-17 00:01:05','2026-07-17 00:01:05'),(224,224,1,6.0000,NULL,'2026-07-17 00:06:14','2026-07-17 00:06:14'),(225,225,1,12.0000,NULL,'2026-07-17 00:28:51','2026-07-17 00:28:51'),(226,226,1,11.0000,NULL,'2026-07-17 00:43:44','2026-07-17 00:43:44'),(227,227,1,3.0000,NULL,'2026-07-17 00:51:38','2026-07-17 00:51:38'),(228,228,1,5.0000,NULL,'2026-07-17 00:57:29','2026-07-17 00:57:29'),(229,229,1,3.0000,NULL,'2026-07-17 01:40:29','2026-07-17 01:40:29'),(230,230,1,14.0000,NULL,'2026-07-17 01:51:36','2026-07-17 01:51:36'),(231,231,1,11.0000,NULL,'2026-07-17 02:06:05','2026-07-17 02:06:05'),(232,232,1,12.0000,NULL,'2026-07-17 02:35:35','2026-07-17 02:35:35'),(233,233,1,8.0000,NULL,'2026-07-17 02:48:26','2026-07-17 02:48:26'),(234,234,1,6.0000,NULL,'2026-07-17 02:51:54','2026-07-17 02:51:54'),(235,235,1,9.0000,NULL,'2026-07-17 03:02:53','2026-07-17 03:02:53'),(236,236,1,6.0000,NULL,'2026-07-17 03:08:56','2026-07-17 03:08:56'),(237,237,1,22.0000,NULL,'2026-07-17 23:31:59','2026-07-17 23:31:59'),(238,238,1,16.0000,NULL,'2026-07-17 23:39:36','2026-07-17 23:39:36'),(239,239,1,5.0000,NULL,'2026-07-17 23:49:12','2026-07-17 23:49:12'),(240,240,1,4.0000,NULL,'2026-07-18 00:00:20','2026-07-18 00:00:20'),(241,241,1,11.0000,NULL,'2026-07-18 00:05:06','2026-07-18 00:05:06'),(242,242,1,3.0000,NULL,'2026-07-18 00:10:02','2026-07-18 00:10:02'),(243,243,1,18.0000,NULL,'2026-07-18 00:18:27','2026-07-18 00:18:27'),(244,244,1,9.0000,NULL,'2026-07-18 00:22:25','2026-07-18 00:22:25'),(245,245,1,3.0000,NULL,'2026-07-18 00:57:36','2026-07-18 00:57:36'),(246,246,1,9.0000,NULL,'2026-07-18 01:09:47','2026-07-18 01:09:47'),(247,247,1,11.0000,NULL,'2026-07-18 01:12:59','2026-07-18 01:12:59'),(248,248,1,6.0000,NULL,'2026-07-18 01:22:52','2026-07-18 01:22:52'),(249,249,1,7.0000,NULL,'2026-07-18 01:37:56','2026-07-18 01:37:56'),(250,250,1,11.0000,NULL,'2026-07-18 02:09:11','2026-07-18 02:09:11'),(252,251,1,100.0000,NULL,'2026-07-22 03:24:41','2026-07-22 03:24:41'),(253,252,1,100.0000,NULL,'2026-07-22 03:29:55','2026-07-22 03:29:55'),(254,253,1,149.0000,NULL,'2026-07-24 00:03:08','2026-07-24 00:03:08'),(255,254,1,4.0000,NULL,'2026-07-24 00:13:16','2026-07-24 00:13:16'),(256,255,1,268.0000,NULL,'2026-07-24 00:27:41','2026-07-24 00:27:41'),(257,256,1,186.0000,NULL,'2026-07-24 00:36:41','2026-07-24 00:36:41'),(258,257,1,76.0000,NULL,'2026-07-24 00:42:43','2026-07-24 00:42:43'),(259,258,1,81.0000,NULL,'2026-07-24 00:55:11','2026-07-24 00:55:11'),(260,259,1,70.0000,NULL,'2026-07-24 01:12:19','2026-07-24 01:12:19'),(261,260,1,9.0000,NULL,'2026-07-24 01:24:31','2026-07-24 01:24:31'),(262,261,1,15.0000,NULL,'2026-07-24 02:14:22','2026-07-24 02:14:22'),(263,262,1,57.0000,NULL,'2026-07-24 02:20:10','2026-07-24 02:20:10'),(264,263,1,10.0000,NULL,'2026-07-24 02:22:38','2026-07-24 02:22:38'),(265,264,1,23.0000,NULL,'2026-07-24 02:24:47','2026-07-24 02:24:47'),(266,265,1,35.0000,NULL,'2026-07-24 02:26:48','2026-07-24 02:26:48'),(267,266,1,54.0000,NULL,'2026-07-24 02:32:43','2026-07-24 02:32:43'),(268,267,1,66.0000,NULL,'2026-07-24 02:41:51','2026-07-24 02:41:51'),(269,268,1,31.0000,NULL,'2026-07-24 02:51:29','2026-07-24 02:51:29'),(270,269,1,30.0000,NULL,'2026-07-24 02:55:08','2026-07-24 02:55:08'),(271,270,1,80.0000,NULL,'2026-07-24 23:10:48','2026-07-24 23:10:48'),(272,271,1,300.0000,NULL,'2026-07-24 23:30:53','2026-07-24 23:30:53'),(273,272,1,15.0000,NULL,'2026-07-24 23:46:13','2026-07-24 23:46:13'),(274,273,1,6.0000,NULL,'2026-07-25 00:05:13','2026-07-25 00:05:13'),(275,274,1,10.0000,NULL,'2026-07-25 00:26:09','2026-07-25 00:26:09'),(276,275,1,12.0000,NULL,'2026-07-25 00:29:40','2026-07-25 00:29:40'),(277,276,1,90.0000,NULL,'2026-07-28 02:00:55','2026-07-28 02:00:55'),(278,277,1,141.0000,NULL,'2026-07-28 02:27:20','2026-07-28 02:27:20'),(279,278,1,19.0000,NULL,'2026-07-28 02:33:57','2026-07-28 02:33:57'),(280,279,1,148.0000,NULL,'2026-07-28 02:58:34','2026-07-28 02:58:34'),(281,280,1,1.0000,NULL,'2026-07-28 16:35:20','2026-07-28 16:35:20'),(282,281,1,35.0000,NULL,'2026-07-28 17:24:18','2026-07-28 17:24:18'),(283,282,1,1.0000,NULL,'2026-07-28 19:49:04','2026-07-28 19:49:04');
COMMIT;

-- Dumped table `item_lots_group_warehouse` with 279 row(s)
--

--
-- Table structure for table `item_lot_movements`
--

CREATE TABLE `item_lot_movements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` bigint(20) unsigned NOT NULL,
  `item_lot_group_id` bigint(20) unsigned DEFAULT NULL,
  `lot_code_snapshot` varchar(120) DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `direction` varchar(20) NOT NULL,
  `movement_type` varchar(60) NOT NULL,
  `quantity` decimal(18,4) NOT NULL DEFAULT 0.0000,
  `unit_cost` decimal(18,6) DEFAULT NULL,
  `source_type` varchar(191) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `source_item_type` varchar(191) DEFAULT NULL,
  `source_item_id` bigint(20) unsigned DEFAULT NULL,
  `date_of_issue` date DEFAULT NULL,
  `person_id` bigint(20) unsigned DEFAULT NULL,
  `trace_confidence` varchar(20) NOT NULL DEFAULT 'exact',
  `movement_key` varchar(191) DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `item_lot_movements_movement_key_unique` (`movement_key`),
  KEY `item_lot_movements_item_id_date_of_issue_index` (`item_id`,`date_of_issue`),
  KEY `item_lot_movements_item_lot_group_id_date_of_issue_index` (`item_lot_group_id`,`date_of_issue`),
  KEY `item_lot_movements_warehouse_id_date_of_issue_index` (`warehouse_id`,`date_of_issue`),
  KEY `item_lot_movements_source_type_source_id_index` (`source_type`,`source_id`),
  KEY `item_lot_movements_trace_confidence_index` (`trace_confidence`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_lot_movements`
--

SET autocommit=0;
INSERT INTO `item_lot_movements` VALUES (1,115,105,'2120075',1,'out','inventory_adjustment',13.0000,0.000000,'Modules\\Inventory\\Models\\Inventory',273,'Modules\\Inventory\\Models\\Inventory',273,'2026-07-20',NULL,'exact','inventory:273:out:0:105','{\"description\":\"Retiro\",\"comments\":null,\"inventory_transaction_id\":\"12\"}','2026-07-20 11:34:58','2026-07-20 11:34:58'),(2,6,6,'2112885',1,'in','inventory_adjustment',98.0000,0.000000,'Modules\\Inventory\\Models\\Inventory',274,'Modules\\Inventory\\Models\\Inventory',274,'2026-07-20',NULL,'exact','inventory:274:in:0:6','{\"description\":\"Inventario inicial\",\"comments\":null,\"inventory_transaction_id\":\"16\"}','2026-07-20 11:37:38','2026-07-20 11:37:38'),(3,66,57,'PDK2503',1,'out','inventory_adjustment',7.0000,0.000000,'Modules\\Inventory\\Models\\Inventory',277,'Modules\\Inventory\\Models\\Inventory',277,'2026-07-21',NULL,'exact','inventory:277:out:0:57','{\"description\":\"Retiro\",\"comments\":null,\"inventory_transaction_id\":\"12\"}','2026-07-21 22:55:58','2026-07-21 22:55:58');
COMMIT;

-- Dumped table `item_lot_movements` with 3 row(s)
--

--
-- Table structure for table `item_mold_cavities`
--

CREATE TABLE `item_mold_cavities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_mold_cavities_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_mold_cavities`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_mold_cavities` with 0 row(s)
--

--
-- Table structure for table `item_mold_properties`
--

CREATE TABLE `item_mold_properties` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_mold_properties_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_mold_properties`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_mold_properties` with 0 row(s)
--

--
-- Table structure for table `item_movement`
--

CREATE TABLE `item_movement` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con item',
  `quantity` decimal(12,4) DEFAULT 0.0000 COMMENT 'Cantidad de venta del item',
  `date_of_movement` timestamp NULL DEFAULT NULL,
  `countable` tinyint(3) unsigned DEFAULT 0 COMMENT 'Define si se toma en cuenta para el conteo de inventario',
  `establishment_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `contract_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `devolution_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `dispatch_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `document_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `expense_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `fixed_asset_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `fixed_asset_purchase_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `order_form_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `order_note_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `purchase_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `purchase_order_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `purchase_quotation_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `quotation_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `sale_note_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `sale_opportunity_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `technical_service_item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con la tabla',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_movement`
--

SET autocommit=0;
INSERT INTO `item_movement` VALUES (1,207,-1.0000,'2026-07-20 12:03:58',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,'2026-07-20 12:03:58','2026-07-20 12:03:58'),(2,207,-1.0000,'2026-07-20 12:03:58',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,'2026-07-20 12:03:58','2026-07-20 12:03:58'),(3,207,-1.0000,'2026-07-20 12:03:58',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,'2026-07-20 12:03:58','2026-07-20 12:03:58'),(4,233,-1.0000,'2026-07-20 12:15:31',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,'2026-07-20 12:15:31','2026-07-20 12:15:31'),(5,233,-1.0000,'2026-07-20 12:15:31',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,'2026-07-20 12:15:31','2026-07-20 12:15:31'),(6,233,-1.0000,'2026-07-20 12:15:31',1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,'2026-07-20 12:15:31','2026-07-20 12:15:31');
COMMIT;

-- Dumped table `item_movement` with 6 row(s)
--

--
-- Table structure for table `item_movement_rel_extra`
--

CREATE TABLE `item_movement_rel_extra` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0,
  `item_movement_id` int(10) unsigned DEFAULT 0,
  `item_color_id` int(10) unsigned DEFAULT 0,
  `item_status_id` int(10) unsigned DEFAULT 0,
  `item_unit_business_id` int(10) unsigned DEFAULT 0,
  `item_mold_cavities_id` int(10) unsigned DEFAULT 0,
  `item_package_measurements_id` int(10) unsigned DEFAULT 0,
  `item_units_per_package_id` int(10) unsigned DEFAULT 0,
  `item_mold_properties_id` int(10) unsigned DEFAULT 0,
  `item_product_family_id` int(10) unsigned DEFAULT 0,
  `item_size_id` int(10) unsigned DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_movement_rel_extra_item_movement_id_foreign` (`item_movement_id`),
  KEY `index_item_status_id` (`item_status_id`),
  KEY `index_item_unit_business_id` (`item_unit_business_id`),
  KEY `index_item_mold_cavities_id` (`item_mold_cavities_id`),
  KEY `index_item_package_measurements_id` (`item_package_measurements_id`),
  KEY `index_item_units_per_package_id` (`item_units_per_package_id`),
  KEY `index_item_mold_properties_id` (`item_mold_properties_id`),
  KEY `index_item_product_family_id` (`item_product_family_id`),
  KEY `index_item_size_id` (`item_size_id`),
  CONSTRAINT `item_movement_rel_extra_item_movement_id_foreign` FOREIGN KEY (`item_movement_id`) REFERENCES `item_movement` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_movement_rel_extra`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_movement_rel_extra` with 0 row(s)
--

--
-- Table structure for table `item_package_measurements`
--

CREATE TABLE `item_package_measurements` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_package_measurements_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_package_measurements`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_package_measurements` with 0 row(s)
--

--
-- Table structure for table `item_product_family`
--

CREATE TABLE `item_product_family` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_product_family_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_product_family`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_product_family` with 0 row(s)
--

--
-- Table structure for table `item_rel_suscription_plans`
--

CREATE TABLE `item_rel_suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con items',
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`item`)),
  `suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con planes de suscripcion',
  `quantity` decimal(12,2) DEFAULT 0.00,
  `unit_value` decimal(16,2) DEFAULT 0.00,
  `affectation_igv_type_id` char(255) DEFAULT NULL,
  `total_base_igv` decimal(12,2) DEFAULT 0.00,
  `percentage_igv` decimal(12,2) DEFAULT 0.00,
  `total_igv` decimal(12,2) DEFAULT 0.00,
  `system_isc_type_id` char(255) DEFAULT NULL,
  `total_base_isc` decimal(12,2) DEFAULT 0.00,
  `percentage_isc` decimal(12,2) DEFAULT 0.00,
  `total_isc` decimal(12,2) DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) DEFAULT 0.00,
  `percentage_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_taxes` decimal(12,2) DEFAULT 0.00,
  `price_type_id` char(255) DEFAULT NULL,
  `unit_price` decimal(16,6) DEFAULT 0.000000,
  `total_value` decimal(12,2) DEFAULT 0.00,
  `total_charge` decimal(12,2) DEFAULT 0.00,
  `total_discount` decimal(12,2) DEFAULT 0.00,
  `total` decimal(12,2) DEFAULT 0.00,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `additional_information` text DEFAULT NULL,
  `warehouse_id` int(10) unsigned DEFAULT 0,
  `name_product_pdf` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_rel_suscription_plans`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_rel_suscription_plans` with 0 row(s)
--

--
-- Table structure for table `item_sets`
--

CREATE TABLE `item_sets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `individual_item_id` int(10) unsigned NOT NULL,
  `quantity` decimal(12,4) NOT NULL DEFAULT 1.0000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_sets_item_id_foreign` (`item_id`),
  KEY `item_sets_individual_item_id_foreign` (`individual_item_id`),
  CONSTRAINT `item_sets_individual_item_id_foreign` FOREIGN KEY (`individual_item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_sets_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_sets`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_sets` with 0 row(s)
--

--
-- Table structure for table `item_size`
--

CREATE TABLE `item_size` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_size_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_size`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_size` with 0 row(s)
--

--
-- Table structure for table `item_status`
--

CREATE TABLE `item_status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_status_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_status`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_status` with 0 row(s)
--

--
-- Table structure for table `item_supplies`
--

CREATE TABLE `item_supplies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `individual_item_id` int(10) unsigned NOT NULL,
  `quantity` decimal(13,3) NOT NULL,
  `unit_price` decimal(12,2) DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_supplies_item_id_foreign` (`item_id`),
  KEY `item_supplies_individual_item_id_foreign` (`individual_item_id`),
  CONSTRAINT `item_supplies_individual_item_id_foreign` FOREIGN KEY (`individual_item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_supplies_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_supplies`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_supplies` with 0 row(s)
--

--
-- Table structure for table `item_tags`
--

CREATE TABLE `item_tags` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `tag_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `item_tags_item_id_foreign` (`item_id`),
  KEY `item_tags_tag_id_foreign` (`tag_id`),
  CONSTRAINT `item_tags_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `item_tags_tag_id_foreign` FOREIGN KEY (`tag_id`) REFERENCES `tags` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_tags`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_tags` with 0 row(s)
--

--
-- Table structure for table `item_types`
--

CREATE TABLE `item_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_types`
--

SET autocommit=0;
INSERT INTO `item_types` VALUES ('01','Producto'),('02','Servicio');
COMMIT;

-- Dumped table `item_types` with 2 row(s)
--

--
-- Table structure for table `item_units_per_package`
--

CREATE TABLE `item_units_per_package` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_units_per_package_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_units_per_package`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_units_per_package` with 0 row(s)
--

--
-- Table structure for table `item_unit_business`
--

CREATE TABLE `item_unit_business` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `cat_item_unit_business_id` int(10) unsigned NOT NULL,
  `active` tinyint(4) DEFAULT 1 COMMENT 'Define si se encuentra activo',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_unit_business`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_unit_business` with 0 row(s)
--

--
-- Table structure for table `item_unit_types`
--

CREATE TABLE `item_unit_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `unit_type_id` varchar(255) NOT NULL,
  `quantity_unit` decimal(12,4) NOT NULL,
  `price1` decimal(12,4) NOT NULL,
  `price2` decimal(12,4) NOT NULL,
  `price3` decimal(12,4) NOT NULL,
  `price_default` tinyint(1) NOT NULL DEFAULT 2,
  `barcode` varchar(150) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `item_unit_types_barcode_unique` (`barcode`),
  KEY `item_unit_types_unit_type_id_foreign` (`unit_type_id`),
  KEY `item_unit_types_item_id_foreign` (`item_id`),
  CONSTRAINT `item_unit_types_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `item_unit_types_unit_type_id_foreign` FOREIGN KEY (`unit_type_id`) REFERENCES `cat_unit_types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=499 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_unit_types`
--

SET autocommit=0;
INSERT INTO `item_unit_types` VALUES (1,'Unidad',1,'NIU',1.0000,4.0000,0.0000,0.0000,1,'1NIU1',NULL),(2,'Caja',2,'BX',40.0000,0.0000,0.0000,0.0000,1,'2BX40',NULL),(3,'Blíster',2,'BL',10.0000,0.0000,0.0000,0.0000,1,'3BL10',NULL),(4,'Unidad',2,'NIU',1.0000,1.0000,0.0000,0.0000,1,'4NIU1',NULL),(5,'Caja',3,'BX',60.0000,0.0000,0.0000,0.0000,1,'5BX60',NULL),(6,'Blíster',3,'BL',10.0000,0.0000,0.0000,0.0000,1,'6BL10',NULL),(7,'Unidad',3,'NIU',1.0000,2.0000,0.0000,0.0000,1,'7NIU1',NULL),(8,'Caja',4,'BX',60.0000,0.0000,0.0000,0.0000,1,'8BX60',NULL),(9,'Blíster',4,'BL',10.0000,0.0000,0.0000,0.0000,1,'9BL10',NULL),(10,'Unidad',4,'NIU',1.0000,2.0000,0.0000,0.0000,1,'10NIU1',NULL),(11,'Caja',5,'BX',60.0000,0.0000,0.0000,0.0000,1,'11BX60',NULL),(12,'Blíster',5,'BL',10.0000,0.0000,0.0000,0.0000,1,'12BL10',NULL),(13,'Unidad',5,'NIU',1.0000,2.0000,0.0000,0.0000,1,'13NIU1',NULL),(14,'Caja',6,'BX',60.0000,0.0000,0.0000,0.0000,1,'14BX60',NULL),(15,'Blíster',6,'BL',10.0000,0.0000,0.0000,0.0000,1,'15BL10',NULL),(16,'Unidad',6,'NIU',1.0000,2.0000,0.0000,0.0000,1,'16NIU1',NULL),(17,'Unidad',7,'NIU',1.0000,2.5000,0.0000,0.0000,1,'17NIU1',NULL),(18,'Caja',8,'BX',100.0000,0.0000,0.0000,0.0000,1,'18BX100',NULL),(19,'Blíster',8,'BL',10.0000,0.0000,0.0000,0.0000,1,'19BL10',NULL),(20,'Unidad',8,'NIU',1.0000,3.0000,0.0000,0.0000,1,'20NIU1',NULL),(21,'Caja',9,'BX',100.0000,0.0000,0.0000,0.0000,1,'21BX100',NULL),(22,'Blíster',9,'BL',10.0000,0.0000,0.0000,0.0000,1,'22BL10',NULL),(23,'Unidad',9,'NIU',1.0000,2.0000,0.0000,0.0000,1,'23NIU1',NULL),(24,'Caja',10,'BX',100.0000,0.0000,0.0000,0.0000,1,'24BX100',NULL),(25,'Blíster',10,'BL',10.0000,0.0000,0.0000,0.0000,1,'25BL10',NULL),(26,'Unidad',10,'NIU',1.0000,2.5000,0.0000,0.0000,1,'26NIU1',NULL),(27,'Unidad',11,'NIU',1.0000,1.5000,0.0000,0.0000,1,'27NIU1',NULL),(28,'Unidad',12,'NIU',1.0000,1.5000,0.0000,0.0000,1,'28NIU1',NULL),(29,'Caja',13,'BX',120.0000,0.0000,0.0000,0.0000,1,'29BX120',NULL),(30,'Blíster',13,'BL',10.0000,0.0000,0.0000,0.0000,1,'30BL10',NULL),(31,'Unidad',13,'NIU',1.0000,2.5000,0.0000,0.0000,1,'31NIU1',NULL),(32,'Caja',14,'BX',100.0000,0.0000,0.0000,0.0000,1,'32BX100',NULL),(33,'Blíster',14,'BL',10.0000,0.0000,0.0000,0.0000,1,'33BL10',NULL),(34,'Unidad',14,'NIU',1.0000,2.5000,0.0000,0.0000,1,'34NIU1',NULL),(35,'Unidad',15,'NIU',1.0000,3.5000,0.0000,0.0000,1,'35NIU1',NULL),(38,'Caja',17,'BX',100.0000,0.0000,0.0000,0.0000,1,'38BX100',NULL),(39,'Blíster',17,'BL',10.0000,0.0000,0.0000,0.0000,1,'39BL10',NULL),(40,'Unidad',17,'NIU',1.0000,2.5000,0.0000,0.0000,1,'40NIU1',NULL),(41,'Caja',18,'BX',60.0000,0.0000,0.0000,0.0000,1,'41BX60',NULL),(42,'Blíster',18,'BL',10.0000,0.0000,0.0000,0.0000,1,'42BL10',NULL),(43,'Unidad',18,'NIU',1.0000,3.0000,0.0000,0.0000,1,'43NIU1',NULL),(44,'Caja',19,'BX',50.0000,0.0000,0.0000,0.0000,1,'44BX50',NULL),(45,'Unidad',19,'NIU',1.0000,3.5000,0.0000,0.0000,1,'45NIU1',NULL),(46,'Unidad',20,'NIU',1.0000,3.5000,0.0000,0.0000,1,'46NIU1',NULL),(47,'Unidad',21,'NIU',1.0000,35.0000,0.0000,0.0000,1,'47NIU1',NULL),(48,'Unidad',22,'NIU',1.0000,25.0000,0.0000,0.0000,1,'48NIU1',NULL),(49,'Unidad',23,'NIU',1.0000,25.0000,0.0000,0.0000,1,'49NIU1',NULL),(50,'Unidad',24,'NIU',1.0000,20.0000,0.0000,0.0000,1,'50NIU1',NULL),(51,'Unidad',25,'NIU',1.0000,18.0000,0.0000,0.0000,1,'51NIU1',NULL),(52,'Caja',26,'BX',10.0000,0.0000,0.0000,0.0000,1,'52BX10',NULL),(53,'Unidad',26,'NIU',1.0000,4.5000,0.0000,0.0000,1,'53NIU1',NULL),(54,'Unidad',27,'NIU',1.0000,35.0000,0.0000,0.0000,1,'54NIU1',NULL),(55,'Unidad',28,'NIU',1.0000,30.0000,0.0000,0.0000,1,'55NIU1',NULL),(56,'Unidad',29,'NIU',1.0000,30.0000,0.0000,0.0000,1,'56NIU1',NULL),(57,'Unidad',30,'NIU',1.0000,20.0000,0.0000,0.0000,1,'57NIU1',NULL),(58,'Unidad',31,'NIU',1.0000,25.0000,0.0000,0.0000,1,'58NIU1',NULL),(59,'Unidad',32,'NIU',1.0000,12.0000,0.0000,0.0000,1,'59NIU1',NULL),(60,'Unidad',33,'NIU',1.0000,20.0000,0.0000,0.0000,1,'60NIU1',NULL),(61,'Caja',34,'BX',100.0000,0.0000,0.0000,0.0000,1,'61BX100',NULL),(62,'Blíster',34,'BL',10.0000,0.0000,0.0000,0.0000,1,'62BL10',NULL),(63,'Unidad',34,'NIU',1.0000,3.0000,0.0000,0.0000,1,'63NIU1',NULL),(64,'Unidad',35,'NIU',1.0000,6.5000,0.0000,0.0000,1,'64NIU1',NULL),(65,'Caja',36,'BX',10.0000,0.0000,0.0000,0.0000,1,'65BX10',NULL),(66,'Unidad',36,'NIU',1.0000,3.0000,0.0000,0.0000,1,'66NIU1',NULL),(67,'Caja',37,'BX',100.0000,0.0000,0.0000,0.0000,1,'67BX100',NULL),(68,'Blíster',37,'BL',10.0000,0.0000,0.0000,0.0000,1,'68BL10',NULL),(69,'Unidad',37,'NIU',1.0000,3.0000,0.0000,0.0000,1,'69NIU1',NULL),(70,'Caja',38,'BX',100.0000,0.0000,0.0000,0.0000,1,'70BX100',NULL),(71,'Blíster',38,'BL',10.0000,0.0000,0.0000,0.0000,1,'71BL10',NULL),(72,'Unidad',38,'NIU',1.0000,2.5000,0.0000,0.0000,1,'72NIU1',NULL),(73,'Unidad',39,'NIU',1.0000,25.0000,0.0000,0.0000,1,'73NIU1',NULL),(74,'Unidad',40,'NIU',1.0000,15.0000,0.0000,0.0000,1,'74NIU1',NULL),(75,'Unidad',41,'NIU',1.0000,15.0000,0.0000,0.0000,1,'75NIU1',NULL),(76,'Unidad',42,'NIU',1.0000,6.0000,0.0000,0.0000,1,'76NIU1',NULL),(77,'Unidad',43,'NIU',1.0000,15.0000,0.0000,0.0000,1,'77NIU1',NULL),(78,'Unidad',44,'NIU',1.0000,5.0000,0.0000,0.0000,1,'78NIU1',NULL),(79,'Unidad',45,'NIU',1.0000,6.0000,0.0000,0.0000,1,'79NIU1',NULL),(80,'Unidad',46,'NIU',1.0000,6.0000,0.0000,0.0000,1,'80NIU1',NULL),(81,'Unidad',47,'NIU',1.0000,6.0000,0.0000,0.0000,1,'81NIU1',NULL),(82,'Unidad',48,'NIU',1.0000,6.0000,0.0000,0.0000,1,'82NIU1',NULL),(83,'Unidad',49,'NIU',1.0000,6.0000,0.0000,0.0000,1,'83NIU1',NULL),(84,'Unidad',50,'NIU',1.0000,4.5000,0.0000,0.0000,1,'84NIU1',NULL),(85,'Unidad',51,'NIU',1.0000,6.0000,0.0000,0.0000,1,'85NIU1',NULL),(86,'Unidad',52,'NIU',1.0000,25.0000,0.0000,0.0000,1,'86NIU1',NULL),(87,'Unidad',53,'NIU',1.0000,25.0000,0.0000,0.0000,1,'87NIU1',NULL),(88,'Unidad',54,'NIU',1.0000,25.0000,0.0000,0.0000,1,'88NIU1',NULL),(89,'Unidad',55,'NIU',1.0000,25.0000,0.0000,0.0000,1,'89NIU1',NULL),(90,'Unidad',56,'NIU',1.0000,28.0000,0.0000,0.0000,1,'90NIU1',NULL),(91,'Unidad',57,'NIU',1.0000,20.0000,0.0000,0.0000,1,'91NIU1',NULL),(92,'Caja',58,'BX',100.0000,0.0000,0.0000,0.0000,1,'92BX100',NULL),(93,'Blíster',58,'BL',10.0000,0.0000,0.0000,0.0000,1,'93BL10',NULL),(94,'Unidad',58,'NIU',1.0000,2.0000,0.0000,0.0000,1,'94NIU1',NULL),(95,'Unidad',59,'NIU',1.0000,20.0000,0.0000,0.0000,1,'95NIU1',NULL),(96,'Caja',60,'BX',100.0000,0.0000,0.0000,0.0000,1,'96BX100',NULL),(97,'Blíster',60,'BL',10.0000,0.0000,0.0000,0.0000,1,'97BL10',NULL),(98,'Unidad',60,'NIU',1.0000,3.0000,0.0000,0.0000,1,'98NIU1',NULL),(99,'Unidad',61,'NIU',1.0000,23.0000,0.0000,0.0000,1,'99NIU1',NULL),(100,'Unidad',62,'NIU',1.0000,23.0000,0.0000,0.0000,1,'100NIU1',NULL),(101,'Unidad',63,'NIU',1.0000,32.0000,0.0000,0.0000,1,'101NIU1',NULL),(102,'Unidad',64,'NIU',1.0000,28.0000,0.0000,0.0000,1,'102NIU1',NULL),(103,'Caja',65,'BX',3.0000,0.0000,0.0000,0.0000,1,'103BX3',NULL),(104,'Unidad',65,'NIU',1.0000,3.5000,0.0000,0.0000,1,'104NIU1',NULL),(105,'Unidad',66,'NIU',1.0000,15.0000,0.0000,0.0000,1,'105NIU1',NULL),(106,'Caja',67,'BX',2.0000,0.0000,0.0000,0.0000,1,'106BX2',NULL),(107,'Unidad',67,'NIU',1.0000,6.0000,0.0000,0.0000,1,'107NIU1',NULL),(108,'Caja',68,'BX',6.0000,0.0000,0.0000,0.0000,1,'108BX6',NULL),(109,'Unidad',68,'NIU',1.0000,4.0000,0.0000,0.0000,1,'109NIU1',NULL),(110,'Unidad',69,'NIU',1.0000,28.0000,0.0000,0.0000,1,'110NIU1',NULL),(111,'Unidad',70,'NIU',1.0000,20.0000,0.0000,0.0000,1,'111NIU1',NULL),(112,'Unidad',71,'NIU',1.0000,25.0000,0.0000,0.0000,1,'112NIU1',NULL),(113,'Caja',72,'BX',100.0000,0.0000,0.0000,0.0000,1,'113BX100',NULL),(114,'Blíster',72,'BL',10.0000,0.0000,0.0000,0.0000,1,'114BL10',NULL),(115,'Unidad',72,'NIU',1.0000,3.5000,0.0000,0.0000,1,'115NIU1',NULL),(116,'Caja',73,'BX',100.0000,0.0000,0.0000,0.0000,1,'116BX100',NULL),(117,'Blíster',73,'BL',10.0000,0.0000,0.0000,0.0000,1,'117BL10',NULL),(118,'Unidad',73,'NIU',1.0000,2.0000,0.0000,0.0000,1,'118NIU1',NULL),(119,'Caja',74,'BX',30.0000,0.0000,0.0000,0.0000,1,'119BX30',NULL),(120,'Blíster',74,'BL',10.0000,0.0000,0.0000,0.0000,1,'120BL10',NULL),(121,'Unidad',74,'NIU',1.0000,4.0000,0.0000,0.0000,1,'121NIU1',NULL),(122,'Unidad',75,'NIU',1.0000,20.0000,0.0000,0.0000,1,'122NIU1',NULL),(123,'Unidad',76,'NIU',1.0000,28.0000,0.0000,0.0000,1,'123NIU1',NULL),(124,'Caja',77,'BX',100.0000,0.0000,0.0000,0.0000,1,'124BX100',NULL),(125,'Blíster',77,'BL',10.0000,0.0000,0.0000,0.0000,1,'125BL10',NULL),(126,'Unidad',77,'NIU',1.0000,2.5000,0.0000,0.0000,1,'126NIU1',NULL),(127,'Caja',78,'BX',100.0000,0.0000,0.0000,0.0000,1,'127BX100',NULL),(128,'Blíster',78,'BL',10.0000,0.0000,0.0000,0.0000,1,'128BL10',NULL),(129,'Unidad',78,'NIU',1.0000,2.0000,0.0000,0.0000,1,'129NIU1',NULL),(130,'Caja',79,'BX',100.0000,0.0000,0.0000,0.0000,1,'130BX100',NULL),(131,'Blíster',79,'BL',10.0000,0.0000,0.0000,0.0000,1,'131BL10',NULL),(132,'Unidad',79,'NIU',1.0000,2.5000,0.0000,0.0000,1,'132NIU1',NULL),(133,'Caja',80,'BX',100.0000,0.0000,0.0000,0.0000,1,'133BX100',NULL),(134,'Blíster',80,'BL',10.0000,0.0000,0.0000,0.0000,1,'134BL10',NULL),(135,'Unidad',80,'NIU',1.0000,2.8000,0.0000,0.0000,1,'135NIU1',NULL),(136,'Caja',81,'BX',100.0000,0.0000,0.0000,0.0000,1,'136BX100',NULL),(137,'Blíster',81,'BL',10.0000,0.0000,0.0000,0.0000,1,'137BL10',NULL),(138,'Unidad',81,'NIU',1.0000,2.0000,0.0000,0.0000,1,'138NIU1',NULL),(139,'Caja',82,'BX',60.0000,0.0000,0.0000,0.0000,1,'139BX60',NULL),(140,'Blíster',82,'BL',10.0000,0.0000,0.0000,0.0000,1,'140BL10',NULL),(141,'Unidad',82,'NIU',1.0000,2.5000,0.0000,0.0000,1,'141NIU1',NULL),(142,'Unidad',83,'NIU',1.0000,33.0000,0.0000,0.0000,1,'142NIU1',NULL),(143,'Unidad',84,'NIU',1.0000,30.0000,0.0000,0.0000,1,'143NIU1',NULL),(144,'Unidad',85,'NIU',1.0000,20.0000,0.0000,0.0000,1,'144NIU1',NULL),(145,'Unidad',86,'NIU',1.0000,17.0000,0.0000,0.0000,1,'145NIU1',NULL),(146,'Unidad',87,'NIU',1.0000,18.0000,0.0000,0.0000,1,'146NIU1',NULL),(147,'Caja',88,'BX',100.0000,0.0000,0.0000,0.0000,1,'147BX100',NULL),(148,'Blíster',88,'BL',10.0000,0.0000,0.0000,0.0000,1,'148BL10',NULL),(149,'Unidad',88,'NIU',1.0000,1.0000,0.0000,0.0000,1,'149NIU1',NULL),(150,'Unidad',89,'NIU',1.0000,25.0000,0.0000,0.0000,1,'150NIU1',NULL),(151,'Caja',90,'BX',100.0000,0.0000,0.0000,0.0000,1,'151BX100',NULL),(152,'Blíster',90,'BL',10.0000,0.0000,0.0000,0.0000,1,'152BL10',NULL),(153,'Unidad',90,'NIU',1.0000,3.0000,0.0000,0.0000,1,'153NIU1',NULL),(154,'Caja',91,'BX',100.0000,0.0000,0.0000,0.0000,1,'154BX100',NULL),(155,'Blíster',91,'BL',10.0000,0.0000,0.0000,0.0000,1,'155BL10',NULL),(156,'Unidad',91,'NIU',1.0000,2.0000,0.0000,0.0000,1,'156NIU1',NULL),(157,'Caja',92,'BX',100.0000,0.0000,0.0000,0.0000,1,'157BX100',NULL),(158,'Blíster',92,'BL',10.0000,0.0000,0.0000,0.0000,1,'158BL10',NULL),(159,'Unidad',92,'NIU',1.0000,2.5000,0.0000,0.0000,1,'159NIU1',NULL),(160,'Unidad',93,'NIU',1.0000,14.0000,0.0000,0.0000,1,'160NIU1',NULL),(161,'Unidad',94,'NIU',1.0000,14.0000,0.0000,0.0000,1,'161NIU1',NULL),(162,'Unidad',95,'NIU',1.0000,12.0000,0.0000,0.0000,1,'162NIU1',NULL),(163,'Unidad',96,'NIU',1.0000,16.0000,0.0000,0.0000,1,'163NIU1',NULL),(164,'Unidad',97,'NIU',1.0000,14.0000,0.0000,0.0000,1,'164NIU1',NULL),(165,'Caja',98,'BX',100.0000,0.0000,0.0000,0.0000,1,'165BX100',NULL),(166,'Blíster',98,'BL',10.0000,0.0000,0.0000,0.0000,1,'166BL10',NULL),(167,'Unidad',98,'NIU',1.0000,2.0000,0.0000,0.0000,1,'167NIU1',NULL),(168,'Unidad',99,'NIU',1.0000,3.0000,0.0000,0.0000,1,'168NIU1',NULL),(169,'Unidad',100,'NIU',1.0000,2.0000,0.0000,0.0000,1,'169NIU1',NULL),(170,'Unidad',101,'NIU',1.0000,20.0000,0.0000,0.0000,1,'170NIU1',NULL),(171,'Unidad',102,'NIU',1.0000,33.0000,0.0000,0.0000,1,'171NIU1',NULL),(172,'Caja',103,'BX',14.0000,0.0000,0.0000,0.0000,1,'172BX14',NULL),(173,'Blíster',103,'BL',7.0000,0.0000,0.0000,0.0000,1,'173BL7',NULL),(174,'Unidad',103,'NIU',1.0000,3.5000,0.0000,0.0000,1,'174NIU1',NULL),(176,'Caja',105,'BX',100.0000,0.0000,0.0000,0.0000,1,'176BX100',NULL),(177,'Blíster',105,'BL',10.0000,0.0000,0.0000,0.0000,1,'177BL10',NULL),(178,'Unidad',105,'NIU',1.0000,3.5000,0.0000,0.0000,1,'178NIU1',NULL),(179,'Caja',106,'BX',60.0000,0.0000,0.0000,0.0000,1,'179BX60',NULL),(180,'Blíster',106,'BL',10.0000,0.0000,0.0000,0.0000,1,'180BL10',NULL),(181,'Unidad',106,'NIU',1.0000,2.5000,0.0000,0.0000,1,'181NIU1',NULL),(182,'Caja',107,'BX',20.0000,0.0000,0.0000,0.0000,1,'182BX20',NULL),(183,'Blíster',107,'BL',10.0000,0.0000,0.0000,0.0000,1,'183BL10',NULL),(184,'Unidad',107,'NIU',1.0000,1.0000,0.0000,0.0000,1,'184NIU1',NULL),(185,'Caja',108,'BX',100.0000,0.0000,0.0000,0.0000,1,'185BX100',NULL),(186,'Blíster',108,'BL',10.0000,0.0000,0.0000,0.0000,1,'186BL10',NULL),(187,'Unidad',108,'NIU',1.0000,1.0000,0.0000,0.0000,1,'187NIU1',NULL),(188,'Caja',109,'BX',100.0000,0.0000,0.0000,0.0000,1,'188BX100',NULL),(189,'Blíster',109,'BL',10.0000,0.0000,0.0000,0.0000,1,'189BL10',NULL),(190,'Unidad',109,'NIU',1.0000,1.0000,0.0000,0.0000,1,'190NIU1',NULL),(191,'Caja',110,'BX',100.0000,0.0000,0.0000,0.0000,1,'191BX100',NULL),(192,'Blíster',110,'BL',10.0000,0.0000,0.0000,0.0000,1,'192BL10',NULL),(193,'Unidad',110,'NIU',1.0000,1.5000,0.0000,0.0000,1,'193NIU1',NULL),(194,'Caja',111,'BX',100.0000,0.0000,0.0000,0.0000,1,'194BX100',NULL),(195,'Blíster',111,'BL',10.0000,0.0000,0.0000,0.0000,1,'195BL10',NULL),(196,'Unidad',111,'NIU',1.0000,0.5000,0.0000,0.0000,1,'196NIU1',NULL),(197,'Caja',112,'BX',30.0000,0.0000,0.0000,0.0000,1,'197BX30',NULL),(198,'Blíster',112,'BL',10.0000,0.0000,0.0000,0.0000,1,'198BL10',NULL),(199,'Unidad',112,'NIU',1.0000,1.0000,0.0000,0.0000,1,'199NIU1',NULL),(200,'Caja',113,'BX',30.0000,0.0000,0.0000,0.0000,1,'200BX30',NULL),(201,'Blíster',113,'BL',10.0000,0.0000,0.0000,0.0000,1,'201BL10',NULL),(202,'Unidad',113,'NIU',1.0000,2.0000,0.0000,0.0000,1,'202NIU1',NULL),(203,'Caja',114,'BX',60.0000,0.0000,0.0000,0.0000,1,'203BX60',NULL),(204,'Blíster',114,'BL',10.0000,0.0000,0.0000,0.0000,1,'204BL10',NULL),(205,'Unidad',114,'NIU',1.0000,1.0000,0.0000,0.0000,1,'205NIU1',NULL),(206,'Caja',115,'BX',100.0000,0.0000,0.0000,0.0000,1,'206BX100',NULL),(207,'Blíster',115,'BL',10.0000,0.0000,0.0000,0.0000,1,'207BL10',NULL),(208,'Unidad',115,'NIU',1.0000,1.0000,0.0000,0.0000,1,'208NIU1',NULL),(209,'Caja',116,'BX',10.0000,0.0000,0.0000,0.0000,1,'209BX10',NULL),(210,'Unidad',116,'NIU',1.0000,0.5000,0.0000,0.0000,1,'210NIU1',NULL),(211,'Caja',117,'BX',100.0000,0.0000,0.0000,0.0000,1,'211BX100',NULL),(212,'Blíster',117,'BL',10.0000,0.0000,0.0000,0.0000,1,'212BL10',NULL),(213,'Unidad',117,'NIU',1.0000,1.5000,0.0000,0.0000,1,'213NIU1',NULL),(215,'Caja',119,'BX',100.0000,0.0000,0.0000,0.0000,1,'215BX100',NULL),(216,'Blíster',119,'BL',10.0000,0.0000,0.0000,0.0000,1,'216BL10',NULL),(217,'Unidad',119,'NIU',1.0000,2.0000,0.0000,0.0000,1,'217NIU1',NULL),(218,'Caja',120,'BX',100.0000,0.0000,0.0000,0.0000,1,'218BX100',NULL),(219,'Blíster',120,'BL',10.0000,0.0000,0.0000,0.0000,1,'219BL10',NULL),(220,'Unidad',120,'NIU',1.0000,2.0000,0.0000,0.0000,1,'220NIU1',NULL),(221,'Caja',121,'BX',50.0000,0.0000,0.0000,0.0000,1,'221BX50',NULL),(222,'Blíster',121,'BL',10.0000,0.0000,0.0000,0.0000,1,'222BL10',NULL),(223,'Unidad',121,'NIU',1.0000,1.0000,0.0000,0.0000,1,'223NIU1',NULL),(224,'Caja',122,'BX',100.0000,0.0000,0.0000,0.0000,1,'224BX100',NULL),(225,'Blíster',122,'BL',10.0000,0.0000,0.0000,0.0000,1,'225BL10',NULL),(226,'Unidad',122,'NIU',1.0000,3.5000,0.0000,0.0000,1,'226NIU1',NULL),(227,'Caja',123,'BX',100.0000,0.0000,0.0000,0.0000,1,'227BX100',NULL),(228,'Blíster',123,'BL',10.0000,0.0000,0.0000,0.0000,1,'228BL10',NULL),(229,'Unidad',123,'NIU',1.0000,2.0000,0.0000,0.0000,1,'229NIU1',NULL),(230,'Unidad',124,'NIU',1.0000,6.0000,0.0000,0.0000,1,'230NIU1',NULL),(231,'Caja',125,'BX',100.0000,0.0000,0.0000,0.0000,1,'231BX100',NULL),(232,'Blíster',125,'BL',10.0000,0.0000,0.0000,0.0000,1,'232BL10',NULL),(233,'Unidad',125,'NIU',1.0000,0.5000,0.0000,0.0000,1,'233NIU1',NULL),(234,'Caja',126,'BX',100.0000,0.0000,0.0000,0.0000,1,'234BX100',NULL),(235,'Blíster',126,'BL',10.0000,0.0000,0.0000,0.0000,1,'235BL10',NULL),(236,'Unidad',126,'NIU',1.0000,1.5000,0.0000,0.0000,1,'236NIU1',NULL),(237,'Caja',127,'BX',10.0000,0.0000,0.0000,0.0000,1,'237BX10',NULL),(238,'Unidad',127,'NIU',1.0000,3.0000,0.0000,0.0000,1,'238NIU1',NULL),(239,'Caja',128,'BX',100.0000,0.0000,0.0000,0.0000,1,'239BX100',NULL),(240,'Blíster',128,'BL',10.0000,0.0000,0.0000,0.0000,1,'240BL10',NULL),(241,'Unidad',128,'NIU',1.0000,0.5000,0.0000,0.0000,1,'241NIU1',NULL),(242,'Unidad',129,'NIU',1.0000,3.0000,0.0000,0.0000,1,'242NIU1',NULL),(243,'Caja',130,'BX',100.0000,0.0000,0.0000,0.0000,1,'243BX100',NULL),(244,'Blíster',130,'BL',10.0000,0.0000,0.0000,0.0000,1,'244BL10',NULL),(245,'Unidad',130,'NIU',1.0000,1.0000,0.0000,0.0000,1,'245NIU1',NULL),(246,'Caja',131,'BX',100.0000,0.0000,0.0000,0.0000,1,'246BX100',NULL),(247,'Blíster',131,'BL',10.0000,0.0000,0.0000,0.0000,1,'247BL10',NULL),(248,'Unidad',131,'NIU',1.0000,1.0000,0.0000,0.0000,1,'248NIU1',NULL),(249,'Caja',132,'BX',20.0000,0.0000,0.0000,0.0000,1,'249BX20',NULL),(250,'Blíster',132,'BL',10.0000,0.0000,0.0000,0.0000,1,'250BL10',NULL),(251,'Unidad',132,'NIU',1.0000,3.0000,0.0000,0.0000,1,'251NIU1',NULL),(252,'Caja',133,'BX',100.0000,0.0000,0.0000,0.0000,1,'252BX100',NULL),(253,'Blíster',133,'BL',10.0000,0.0000,0.0000,0.0000,1,'253BL10',NULL),(254,'Unidad',133,'NIU',1.0000,0.5000,0.0000,0.0000,1,'254NIU1',NULL),(255,'Caja',134,'BX',100.0000,0.0000,0.0000,0.0000,1,'255BX100',NULL),(256,'Blíster',134,'BL',10.0000,0.0000,0.0000,0.0000,1,'256BL10',NULL),(257,'Unidad',134,'NIU',1.0000,1.5000,0.0000,0.0000,1,'257NIU1',NULL),(258,'Caja',135,'BX',10.0000,0.0000,0.0000,0.0000,1,'258BX10',NULL),(259,'Unidad',135,'NIU',1.0000,3.5000,0.0000,0.0000,1,'259NIU1',NULL),(260,'Caja',136,'BX',100.0000,0.0000,0.0000,0.0000,1,'260BX100',NULL),(261,'Blíster',136,'BL',10.0000,0.0000,0.0000,0.0000,1,'261BL10',NULL),(262,'Unidad',136,'NIU',1.0000,1.0000,0.0000,0.0000,1,'262NIU1',NULL),(263,'Caja',137,'BX',100.0000,0.0000,0.0000,0.0000,1,'263BX100',NULL),(264,'Blíster',137,'BL',10.0000,0.0000,0.0000,0.0000,1,'264BL10',NULL),(265,'Unidad',137,'NIU',1.0000,2.5000,0.0000,0.0000,1,'265NIU1',NULL),(266,'Caja',138,'BX',100.0000,0.0000,0.0000,0.0000,1,'266BX100',NULL),(267,'Blíster',138,'BL',10.0000,0.0000,0.0000,0.0000,1,'267BL10',NULL),(268,'Unidad',138,'NIU',1.0000,0.5000,0.0000,0.0000,1,'268NIU1',NULL),(269,'Caja',139,'BX',100.0000,0.0000,0.0000,0.0000,1,'269BX100',NULL),(270,'Blíster',139,'BL',10.0000,0.0000,0.0000,0.0000,1,'270BL10',NULL),(271,'Unidad',139,'NIU',1.0000,1.0000,0.0000,0.0000,1,'271NIU1',NULL),(272,'Unidad',140,'NIU',1.0000,30.0000,0.0000,0.0000,1,'272NIU1',NULL),(273,'Caja',141,'BX',100.0000,0.0000,0.0000,0.0000,1,'273BX100',NULL),(274,'Blíster',141,'BL',10.0000,0.0000,0.0000,0.0000,1,'274BL10',NULL),(275,'Unidad',141,'NIU',1.0000,2.5000,0.0000,0.0000,1,'275NIU1',NULL),(276,'Unidad',142,'NIU',1.0000,6.0000,0.0000,0.0000,1,'276NIU1',NULL),(277,'Unidad',143,'NIU',1.0000,20.0000,0.0000,0.0000,1,'277NIU1',NULL),(278,'Unidad',144,'NIU',1.0000,18.0000,0.0000,0.0000,1,'278NIU1',NULL),(279,'Unidad',145,'NIU',1.0000,13.0000,0.0000,0.0000,1,'279NIU1',NULL),(280,'Unidad',146,'NIU',1.0000,12.0000,0.0000,0.0000,1,'280NIU1',NULL),(281,'Unidad',147,'NIU',1.0000,9.0000,0.0000,0.0000,1,'281NIU1',NULL),(282,'Unidad',148,'NIU',1.0000,12.0000,0.0000,0.0000,1,'282NIU1',NULL),(283,'Unidad',149,'NIU',1.0000,20.0000,0.0000,0.0000,1,'283NIU1',NULL),(284,'Unidad',150,'NIU',1.0000,10.0000,0.0000,0.0000,1,'284NIU1',NULL),(285,'Unidad',151,'NIU',1.0000,18.0000,0.0000,0.0000,1,'285NIU1',NULL),(286,'Unidad',152,'NIU',1.0000,14.0000,0.0000,0.0000,1,'286NIU1',NULL),(287,'Unidad',153,'NIU',1.0000,8.0000,0.0000,0.0000,1,'287NIU1',NULL),(288,'Unidad',154,'NIU',1.0000,12.0000,0.0000,0.0000,1,'288NIU1',NULL),(289,'Caja',155,'BX',100.0000,0.0000,0.0000,0.0000,1,'289BX100',NULL),(290,'Blíster',155,'BL',10.0000,0.0000,0.0000,0.0000,1,'290BL10',NULL),(291,'Unidad',155,'NIU',1.0000,3.5000,0.0000,0.0000,1,'291NIU1',NULL),(292,'Caja',156,'BX',100.0000,0.0000,0.0000,0.0000,1,'292BX100',NULL),(293,'Unidad',156,'NIU',1.0000,2.0000,0.0000,0.0000,1,'293NIU1',NULL),(294,'Caja',157,'BX',100.0000,0.0000,0.0000,0.0000,1,'294BX100',NULL),(295,'Blíster',157,'BL',10.0000,0.0000,0.0000,0.0000,1,'295BL10',NULL),(296,'Unidad',157,'NIU',1.0000,3.5000,0.0000,0.0000,1,'296NIU1',NULL),(297,'Caja',158,'BX',100.0000,0.0000,0.0000,0.0000,1,'297BX100',NULL),(298,'Blíster',158,'BL',10.0000,0.0000,0.0000,0.0000,1,'298BL10',NULL),(299,'Unidad',158,'NIU',1.0000,1.5000,0.0000,0.0000,1,'299NIU1',NULL),(300,'Caja',159,'BX',100.0000,0.0000,0.0000,0.0000,1,'300BX100',NULL),(301,'Blíster',159,'BL',10.0000,0.0000,0.0000,0.0000,1,'301BL10',NULL),(302,'Unidad',159,'NIU',1.0000,1.5000,0.0000,0.0000,1,'302NIU1',NULL),(303,'Caja',160,'BX',100.0000,0.0000,0.0000,0.0000,1,'303BX100',NULL),(304,'Blíster',160,'BL',10.0000,0.0000,0.0000,0.0000,1,'304BL10',NULL),(305,'Unidad',160,'NIU',1.0000,1.5000,0.0000,0.0000,1,'305NIU1',NULL),(306,'Caja',161,'BX',100.0000,0.0000,0.0000,0.0000,1,'306BX100',NULL),(307,'Blíster',161,'BL',10.0000,0.0000,0.0000,0.0000,1,'307BL10',NULL),(308,'Unidad',161,'NIU',1.0000,1.5000,0.0000,0.0000,1,'308NIU1',NULL),(309,'Caja',162,'BX',100.0000,0.0000,0.0000,0.0000,1,'309BX100',NULL),(310,'Blíster',162,'BL',10.0000,0.0000,0.0000,0.0000,1,'310BL10',NULL),(311,'Unidad',162,'NIU',1.0000,1.0000,0.0000,0.0000,1,'311NIU1',NULL),(312,'Caja',163,'BX',10.0000,0.0000,0.0000,0.0000,1,'312BX10',NULL),(313,'Unidad',163,'NIU',1.0000,2.5000,0.0000,0.0000,1,'313NIU1',NULL),(314,'Caja',164,'BX',4.0000,0.0000,0.0000,0.0000,1,'314BX4',NULL),(315,'Unidad',164,'NIU',1.0000,6.0000,0.0000,0.0000,1,'315NIU1',NULL),(316,'Caja',165,'BX',30.0000,0.0000,0.0000,0.0000,1,'316BX30',NULL),(317,'Blíster',165,'BL',10.0000,0.0000,0.0000,0.0000,1,'317BL10',NULL),(318,'Unidad',165,'NIU',1.0000,2.5000,0.0000,0.0000,1,'318NIU1',NULL),(319,'Unidad',166,'NIU',1.0000,8.0000,0.0000,0.0000,1,'319NIU1',NULL),(320,'Unidad',167,'NIU',1.0000,14.0000,0.0000,0.0000,1,'320NIU1',NULL),(321,'Unidad',168,'NIU',1.0000,10.0000,0.0000,0.0000,1,'321NIU1',NULL),(322,'Unidad',169,'NIU',1.0000,15.0000,0.0000,0.0000,1,'322NIU1',NULL),(323,'Unidad',170,'NIU',1.0000,12.0000,0.0000,0.0000,1,'323NIU1',NULL),(324,'Unidad',171,'NIU',1.0000,14.0000,0.0000,0.0000,1,'324NIU1',NULL),(325,'Unidad',172,'NIU',1.0000,10.0000,0.0000,0.0000,1,'325NIU1',NULL),(326,'Unidad',173,'NIU',1.0000,8.0000,0.0000,0.0000,1,'326NIU1',NULL),(327,'Unidad',174,'NIU',1.0000,18.0000,0.0000,0.0000,1,'327NIU1',NULL),(328,'Unidad',175,'NIU',1.0000,12.0000,0.0000,0.0000,1,'328NIU1',NULL),(329,'Unidad',176,'NIU',1.0000,14.0000,0.0000,0.0000,1,'329NIU1',NULL),(330,'Unidad',177,'NIU',1.0000,14.0000,0.0000,0.0000,1,'330NIU1',NULL),(331,'Unidad',178,'NIU',1.0000,9.0000,0.0000,0.0000,1,'331NIU1',NULL),(332,'Unidad',179,'NIU',1.0000,9.0000,0.0000,0.0000,1,'332NIU1',NULL),(333,'Unidad',180,'NIU',1.0000,14.0000,0.0000,0.0000,1,'333NIU1',NULL),(334,'Unidad',181,'NIU',1.0000,45.0000,0.0000,0.0000,1,'334NIU1',NULL),(335,'Unidad',182,'NIU',1.0000,12.0000,0.0000,0.0000,1,'335NIU1',NULL),(336,'Unidad',183,'NIU',1.0000,14.0000,0.0000,0.0000,1,'336NIU1',NULL),(337,'Caja',184,'BX',100.0000,0.0000,0.0000,0.0000,1,'337BX100',NULL),(338,'Blíster',184,'BL',10.0000,0.0000,0.0000,0.0000,1,'338BL10',NULL),(339,'Unidad',184,'NIU',1.0000,2.5000,0.0000,0.0000,1,'339NIU1',NULL),(340,'Caja',185,'BX',30.0000,0.0000,0.0000,0.0000,1,'340BX30',NULL),(341,'Blíster',185,'BL',10.0000,0.0000,0.0000,0.0000,1,'341BL10',NULL),(342,'Unidad',185,'NIU',1.0000,5.0000,0.0000,0.0000,1,'342NIU1',NULL),(343,'Caja',186,'BX',120.0000,0.0000,0.0000,0.0000,1,'343BX120',NULL),(344,'Blíster',186,'BL',10.0000,0.0000,0.0000,0.0000,1,'344BL10',NULL),(345,'Unidad',186,'NIU',1.0000,2.5000,0.0000,0.0000,1,'345NIU1',NULL),(346,'Unidad',187,'NIU',1.0000,20.0000,0.0000,0.0000,1,'346NIU1',NULL),(347,'Unidad',188,'NIU',1.0000,6.0000,0.0000,0.0000,1,'347NIU1',NULL),(349,'Unidad',190,'NIU',1.0000,6.5000,0.0000,0.0000,1,'349NIU1',NULL),(351,'Unidad',192,'NIU',1.0000,5.0000,0.0000,0.0000,1,'351NIU1',NULL),(352,'Unidad',193,'NIU',1.0000,12.0000,0.0000,0.0000,1,'352NIU1',NULL),(353,'Unidad',194,'NIU',1.0000,6.5000,0.0000,0.0000,1,'353NIU1',NULL),(354,'Unidad',195,'NIU',1.0000,8.5000,0.0000,0.0000,1,'354NIU1',NULL),(355,'Unidad',196,'NIU',1.0000,8.5000,0.0000,0.0000,1,'355NIU1',NULL),(356,'Unidad',197,'NIU',1.0000,6.5000,0.0000,0.0000,1,'356NIU1',NULL),(357,'Unidad',198,'NIU',1.0000,3.0000,0.0000,0.0000,1,'357NIU1',NULL),(358,'Unidad',199,'NIU',1.0000,4.0000,0.0000,0.0000,1,'358NIU1',NULL),(359,'Unidad',200,'NIU',1.0000,1.5000,0.0000,0.0000,1,'359NIU1',NULL),(360,'Unidad',201,'NIU',1.0000,1.5000,0.0000,0.0000,1,'360NIU1',NULL),(361,'Unidad',202,'NIU',1.0000,2.0000,0.0000,0.0000,1,'361NIU1',NULL),(362,'Unidad',203,'NIU',1.0000,1.0000,0.0000,0.0000,1,'362NIU1',NULL),(363,'Unidad',204,'NIU',1.0000,3.5000,0.0000,0.0000,1,'363NIU1',NULL),(364,'Unidad',205,'NIU',1.0000,3.5000,0.0000,0.0000,1,'364NIU1',NULL),(365,'Unidad',206,'NIU',1.0000,2.5000,0.0000,0.0000,1,'365NIU1',NULL),(366,'Unidad',207,'NIU',1.0000,3.0000,0.0000,0.0000,1,'366NIU1',NULL),(367,'Unidad',208,'NIU',1.0000,2.5000,0.0000,0.0000,1,'367NIU1',NULL),(368,'Unidad',209,'NIU',1.0000,3.0000,0.0000,0.0000,1,'368NIU1',NULL),(369,'Unidad',210,'NIU',1.0000,4.5000,0.0000,0.0000,1,'369NIU1',NULL),(370,'Unidad',211,'NIU',1.0000,3.5000,0.0000,0.0000,1,'370NIU1',NULL),(371,'Unidad',212,'NIU',1.0000,18.0000,0.0000,0.0000,1,'371NIU1',NULL),(372,'Caja',213,'BX',100.0000,0.0000,0.0000,0.0000,1,'372BX100',NULL),(373,'Blíster',213,'BL',10.0000,0.0000,0.0000,0.0000,1,'373BL10',NULL),(374,'Unidad',213,'NIU',1.0000,2.5000,0.0000,0.0000,1,'374NIU1',NULL),(375,'Unidad',214,'NIU',1.0000,2.5000,0.0000,0.0000,1,'375NIU1',NULL),(376,'Unidad',215,'NIU',1.0000,4.5000,0.0000,0.0000,1,'376NIU1',NULL),(377,'Unidad',216,'NIU',1.0000,18.0000,0.0000,0.0000,1,'377NIU1',NULL),(378,'Unidad',217,'NIU',1.0000,28.0000,0.0000,0.0000,1,'378NIU1',NULL),(379,'Unidad',218,'NIU',1.0000,25.0000,0.0000,0.0000,1,'379NIU1',NULL),(380,'Unidad',219,'NIU',1.0000,14.0000,0.0000,0.0000,1,'380NIU1',NULL),(381,'Unidad',220,'NIU',1.0000,4.0000,0.0000,0.0000,1,'381NIU1',NULL),(382,'Unidad',221,'NIU',1.0000,8.5000,0.0000,0.0000,1,'382NIU1',NULL),(383,'Unidad',222,'NIU',1.0000,3.5000,0.0000,0.0000,1,'383NIU1',NULL),(384,'Unidad',223,'NIU',1.0000,2.5000,0.0000,0.0000,1,'384NIU1',NULL),(385,'Unidad',224,'NIU',1.0000,4.5000,0.0000,0.0000,1,'385NIU1',NULL),(386,'Unidad',225,'NIU',1.0000,4.5000,0.0000,0.0000,1,'386NIU1',NULL),(387,'Unidad',226,'NIU',1.0000,1.0000,0.0000,0.0000,1,'387NIU1',NULL),(388,'Unidad',227,'NIU',1.0000,4.0000,0.0000,0.0000,1,'388NIU1',NULL),(389,'Unidad',228,'NIU',1.0000,0.5000,0.0000,0.0000,1,'389NIU1',NULL),(390,'Unidad',229,'NIU',1.0000,3.5000,0.0000,0.0000,1,'390NIU1',NULL),(391,'Unidad',230,'NIU',1.0000,2.5000,0.0000,0.0000,1,'391NIU1',NULL),(392,'Unidad',231,'NIU',1.0000,1.5000,0.0000,0.0000,1,'392NIU1',NULL),(393,'Unidad',232,'NIU',1.0000,20.0000,0.0000,0.0000,1,'393NIU1',NULL),(394,'Unidad',233,'NIU',1.0000,18.0000,0.0000,0.0000,1,'394NIU1',NULL),(395,'Unidad',234,'NIU',1.0000,2.5000,0.0000,0.0000,1,'395NIU1',NULL),(396,'Unidad',235,'NIU',1.0000,2.5000,0.0000,0.0000,1,'396NIU1',NULL),(397,'Unidad',236,'NIU',1.0000,3.5000,0.0000,0.0000,1,'397NIU1',NULL),(398,'Unidad',237,'NIU',1.0000,3.0000,0.0000,0.0000,1,'398NIU1',NULL),(399,'Unidad',238,'NIU',1.0000,3.5000,0.0000,0.0000,1,'399NIU1',NULL),(400,'Unidad',239,'NIU',1.0000,18.0000,0.0000,0.0000,1,'400NIU1',NULL),(401,'Unidad',240,'NIU',1.0000,13.0000,0.0000,0.0000,1,'401NIU1',NULL),(402,'Unidad',241,'NIU',1.0000,6.0000,0.0000,0.0000,1,'402NIU1',NULL),(403,'Unidad',242,'NIU',1.0000,6.0000,0.0000,0.0000,1,'403NIU1',NULL),(404,'Unidad',243,'NIU',1.0000,8.5000,0.0000,0.0000,1,'404NIU1',NULL),(405,'Unidad',244,'NIU',1.0000,12.0000,0.0000,0.0000,1,'405NIU1',NULL),(406,'Unidad',245,'NIU',1.0000,6.5000,0.0000,0.0000,1,'406NIU1',NULL),(407,'Unidad',246,'NIU',1.0000,7.5000,0.0000,0.0000,1,'407NIU1',NULL),(408,'Unidad',247,'NIU',1.0000,7.5000,0.0000,0.0000,1,'408NIU1',NULL),(409,'Unidad',248,'NIU',1.0000,7.0000,0.0000,0.0000,1,'409NIU1',NULL),(410,'Unidad',249,'NIU',1.0000,9.5000,0.0000,0.0000,1,'410NIU1',NULL),(411,'Unidad',250,'NIU',1.0000,3.5000,0.0000,0.0000,1,'411NIU1',NULL),(412,'Unidad',251,'NIU',1.0000,2.5000,0.0000,0.0000,1,'412NIU1',NULL),(413,'Unidad',252,'NIU',1.0000,3.5000,0.0000,0.0000,1,'413NIU1',NULL),(414,'Unidad',253,'NIU',1.0000,14.0000,0.0000,0.0000,1,'414NIU1',NULL),(415,'Unidad',254,'NIU',1.0000,17.0000,0.0000,0.0000,1,'415NIU1',NULL),(416,'Unidad',255,'NIU',1.0000,7.0000,0.0000,0.0000,1,'416NIU1',NULL),(417,'Unidad',256,'NIU',1.0000,7.0000,0.0000,0.0000,1,'417NIU1',NULL),(418,'Unidad',257,'NIU',1.0000,3.5000,0.0000,0.0000,1,'418NIU1',NULL),(419,'Unidad',258,'NIU',1.0000,6.5000,0.0000,0.0000,1,'419NIU1',NULL),(420,'Unidad',259,'NIU',1.0000,3.0000,0.0000,0.0000,1,'420NIU1',NULL),(421,'Unidad',260,'NIU',1.0000,3.0000,0.0000,0.0000,1,'421NIU1',NULL),(422,'Unidad',261,'NIU',1.0000,3.5000,0.0000,0.0000,1,'422NIU1',NULL),(423,'Unidad',262,'NIU',1.0000,3.5000,0.0000,0.0000,1,'423NIU1',NULL),(424,'Unidad',263,'NIU',1.0000,3.5000,0.0000,0.0000,1,'424NIU1',NULL),(425,'Unidad',264,'NIU',1.0000,3.0000,0.0000,0.0000,1,'425NIU1',NULL),(426,'Unidad',265,'NIU',1.0000,1.5000,0.0000,0.0000,1,'426NIU1',NULL),(427,'Unidad',266,'NIU',1.0000,1.5000,0.0000,0.0000,1,'427NIU1',NULL),(428,'Unidad',267,'NIU',1.0000,14.0000,0.0000,0.0000,1,'428NIU1',NULL),(429,'Unidad',268,'NIU',1.0000,5.0000,0.0000,0.0000,1,'429NIU1',NULL),(430,'Unidad',269,'NIU',1.0000,3.0000,0.0000,0.0000,1,'430NIU1',NULL),(431,'Unidad',270,'NIU',1.0000,5.0000,0.0000,0.0000,1,'431NIU1',NULL),(432,'Unidad',271,'NIU',1.0000,3.0000,0.0000,0.0000,1,'432NIU1',NULL),(433,'Unidad',272,'NIU',1.0000,3.0000,0.0000,0.0000,1,'433NIU1',NULL),(434,'Caja',273,'BX',100.0000,0.0000,0.0000,0.0000,1,'434BX100',NULL),(435,'Blíster',273,'BL',10.0000,0.0000,0.0000,0.0000,1,'435BL10',NULL),(436,'Unidad',273,'NIU',1.0000,0.5000,0.0000,0.0000,1,'436NIU1',NULL),(437,'Unidad',274,'NIU',1.0000,0.2000,0.0000,0.0000,1,'437NIU1',NULL),(438,'Unidad',275,'NIU',1.0000,20.0000,0.0000,0.0000,1,'438NIU1',NULL),(439,'Unidad',276,'NIU',1.0000,11.0000,0.0000,0.0000,1,'439NIU1',NULL),(440,'Unidad',277,'NIU',1.0000,0.4000,0.0000,0.0000,1,'440NIU1',NULL),(441,'Unidad',278,'NIU',1.0000,0.4000,0.0000,0.0000,1,'441NIU1',NULL),(442,'Unidad',279,'NIU',1.0000,0.4000,0.0000,0.0000,1,'442NIU1',NULL),(443,'Caja',280,'BX',120.0000,0.0000,0.0000,0.0000,1,'443BX120',NULL),(444,'Blíster',280,'BL',10.0000,0.0000,0.0000,0.0000,1,'444BL10',NULL),(445,'Unidad',280,'NIU',1.0000,2.5000,0.0000,0.0000,1,'445NIU1',NULL),(446,'Caja',281,'BX',100.0000,0.0000,0.0000,0.0000,1,'446BX100',NULL),(447,'Blíster',281,'BL',10.0000,0.0000,0.0000,0.0000,1,'447BL10',NULL),(448,'Unidad',281,'NIU',1.0000,0.5000,0.0000,0.0000,1,'448NIU1',NULL),(449,'Caja',282,'BX',20.0000,0.0000,0.0000,0.0000,1,'449BX20',NULL),(450,'Blíster',282,'BL',10.0000,0.0000,0.0000,0.0000,1,'450BL10',NULL),(451,'Unidad',282,'NIU',1.0000,1.0000,0.0000,0.0000,1,'451NIU1',NULL),(452,'Caja',283,'BX',100.0000,0.0000,0.0000,0.0000,1,'452BX100',NULL),(453,'Blíster',283,'BL',10.0000,0.0000,0.0000,0.0000,1,'453BL10',NULL),(454,'Unidad',283,'NIU',1.0000,2.0000,0.0000,0.0000,1,'454NIU1',NULL),(455,'Unidad',284,'NIU',1.0000,1.5000,0.0000,0.0000,1,'455NIU1',NULL),(456,'Caja',285,'BX',100.0000,0.0000,0.0000,0.0000,1,'456BX100',NULL),(457,'Blíster',285,'BL',10.0000,0.0000,0.0000,0.0000,1,'457BL10',NULL),(458,'Unidad',285,'NIU',1.0000,2.0000,0.0000,0.0000,1,'458NIU1',NULL),(459,'Caja',286,'BX',100.0000,0.0000,0.0000,0.0000,1,'459BX100',NULL),(460,'Blíster',286,'BL',10.0000,0.0000,0.0000,0.0000,1,'460BL10',NULL),(461,'Unidad',286,'NIU',1.0000,1.0000,0.0000,0.0000,1,'461NIU1',NULL),(462,'Caja',287,'BX',100.0000,0.0000,0.0000,0.0000,1,'462BX100',NULL),(463,'Blíster',287,'BL',10.0000,0.0000,0.0000,0.0000,1,'463BL10',NULL),(464,'Unidad',287,'NIU',1.0000,2.0000,0.0000,0.0000,1,'464NIU1',NULL),(465,'Caja',288,'BX',100.0000,0.0000,0.0000,0.0000,1,'465BX100',NULL),(466,'Blíster',288,'BL',10.0000,0.0000,0.0000,0.0000,1,'466BL10',NULL),(467,'Unidad',288,'NIU',1.0000,1.0000,0.0000,0.0000,1,'467NIU1',NULL),(468,'Unidad',289,'NIU',1.0000,2.0000,0.0000,0.0000,1,'468NIU1',NULL),(469,'Unidad',290,'NIU',1.0000,2.0000,0.0000,0.0000,1,'469NIU1',NULL),(470,'Unidad',291,'NIU',1.0000,3.5000,0.0000,0.0000,1,'470NIU1',NULL),(471,'Caja',292,'BX',40.0000,0.0000,0.0000,0.0000,1,'471BX40',NULL),(472,'Unidad',292,'NIU',1.0000,2.5000,0.0000,0.0000,1,'472NIU1',NULL),(473,'Unidad',293,'NIU',1.0000,0.5000,0.0000,0.0000,1,'473NIU1',NULL),(474,'Unidad',294,'NIU',1.0000,4.5000,0.0000,0.0000,1,'474NIU1',NULL),(475,'Unidad',295,'NIU',1.0000,4.5000,0.0000,0.0000,1,'475NIU1',NULL),(476,'Caja',296,'BX',50.0000,0.0000,0.0000,0.0000,1,'476BX50',NULL),(477,'Unidad',296,'NIU',1.0000,3.0000,0.0000,0.0000,1,'477NIU1',NULL),(478,'Caja',297,'BX',150.0000,0.0000,0.0000,0.0000,1,'478BX150',NULL),(479,'Blíster',297,'BL',10.0000,0.0000,0.0000,0.0000,1,'479BL10',NULL),(480,'Unidad',297,'NIU',1.0000,2.5000,0.0000,0.0000,1,'480NIU1',NULL),(481,'Unidad',298,'NIU',1.0000,20.0000,0.0000,0.0000,1,'481NIU1',NULL),(482,'Unidad',299,'NIU',1.0000,20.0000,0.0000,0.0000,1,'482NIU1',NULL),(483,'Unidad',300,'NIU',1.0000,17.0000,0.0000,0.0000,1,'483NIU1',NULL),(484,'Unidad',301,'NIU',1.0000,17.0000,0.0000,0.0000,1,'484NIU1',NULL),(485,'Unidad',302,'NIU',1.0000,17.0000,0.0000,0.0000,1,'485NIU1',NULL),(486,'Unidad',303,'NIU',1.0000,23.1100,0.0000,0.0000,1,'486NIU1',NULL),(487,'Unidad',304,'NIU',1.0000,38.0000,0.0000,0.0000,1,'487NIU1',NULL),(488,'Unidad',305,'NIU',1.0000,3.0000,0.0000,0.0000,1,'488NIU1',NULL),(489,'Unidad',306,'NIU',1.0000,2.5000,0.0000,0.0000,1,'489NIU1',NULL),(490,'Unidad',307,'NIU',1.0000,1.5000,0.0000,0.0000,1,'490NIU1',NULL),(491,'Caja',308,'BX',100.0000,0.0000,0.0000,0.0000,1,'491BX100',NULL),(492,'Blíster',308,'BL',10.0000,0.0000,0.0000,0.0000,1,'492BL10',NULL),(493,'Unidad',308,'NIU',1.0000,2.5000,0.0000,0.0000,1,'493NIU1',NULL),(494,'Unidad',309,'NIU',1.0000,11.0000,0.0000,0.0000,1,'494NIU1',NULL),(495,'Caja',310,'BX',30.0000,0.0000,0.0000,0.0000,1,'495BX30',NULL),(496,'Blíster',310,'BL',10.0000,0.0000,0.0000,0.0000,1,'496BL10',NULL),(497,'Unidad',310,'NIU',1.0000,3.5000,0.0000,0.0000,1,'497NIU1',NULL),(498,'Unidad',311,'NIU',1.0000,14.0000,0.0000,0.0000,1,'498NIU1',NULL);
COMMIT;

-- Dumped table `item_unit_types` with 492 row(s)
--

--
-- Table structure for table `item_unit_type_changes`
--

CREATE TABLE `item_unit_type_changes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `item_unit_type_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `field` varchar(32) NOT NULL,
  `old_value` decimal(12,4) DEFAULT NULL,
  `new_value` decimal(12,4) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  KEY `item_unit_type_changes_item_unit_type_id_field_index` (`item_unit_type_id`,`field`),
  KEY `item_unit_type_changes_item_id_created_at_index` (`item_id`,`created_at`),
  KEY `iutc_wh_created_idx` (`warehouse_id`,`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_unit_type_changes`
--

SET autocommit=0;
INSERT INTO `item_unit_type_changes` VALUES (1,66,105,NULL,'price1',7.0000,15.0000,2,NULL,'2026-07-08 16:54:29'),(2,43,77,NULL,'price1',7.0000,15.0000,2,NULL,'2026-07-08 16:58:23'),(3,93,160,NULL,'price1',18.0000,14.0000,2,NULL,'2026-07-08 17:02:30'),(4,95,162,NULL,'price1',15.0000,9.0000,2,NULL,'2026-07-08 17:10:35'),(5,41,75,NULL,'price1',8.0000,15.0000,2,NULL,'2026-07-08 17:13:13'),(6,92,159,NULL,'price1',3.0000,2.5000,2,NULL,'2026-07-08 17:22:41'),(7,35,64,NULL,'price1',6.0000,6.5000,2,NULL,'2026-07-08 17:28:14'),(8,25,51,NULL,'price1',20.0000,18.0000,2,NULL,'2026-07-08 17:29:20'),(9,86,145,NULL,'price1',25.0000,17.0000,2,NULL,'2026-07-08 17:29:41'),(10,88,149,NULL,'price1',2.0000,1.0000,2,NULL,'2026-07-08 17:30:28'),(11,40,74,NULL,'price1',9.0000,15.0000,2,NULL,'2026-07-08 17:40:11'),(12,95,162,NULL,'price1',9.0000,12.0000,2,NULL,'2026-07-09 18:17:21'),(13,108,187,NULL,'price1',1.0000,1.5000,2,NULL,'2026-07-10 18:14:20'),(14,149,283,NULL,'price1',9.0000,20.0000,2,NULL,'2026-07-11 12:19:19'),(16,188,347,NULL,'price1',5.0000,6.0000,2,NULL,'2026-07-14 17:48:42'),(17,208,367,NULL,'price1',3.0000,2.5000,2,NULL,'2026-07-14 17:49:17'),(18,154,288,NULL,'price1',10.0000,12.0000,2,NULL,'2026-07-14 18:18:43'),(19,206,365,NULL,'price1',3.5000,2.5000,2,NULL,'2026-07-17 18:42:11'),(20,68,109,NULL,'price1',4.5000,4.0000,2,NULL,'2026-07-23 18:16:18'),(21,301,484,NULL,'price1',10.1600,17.0000,2,NULL,'2026-07-24 23:12:03'),(22,302,485,NULL,'price1',10.1600,17.0000,2,NULL,'2026-07-24 23:14:48'),(23,159,302,NULL,'price1',2.0000,1.5000,2,NULL,'2026-07-25 21:19:29'),(24,108,187,NULL,'price1',1.5000,1.0000,2,NULL,'2026-07-28 14:58:43');
COMMIT;

-- Dumped table `item_unit_type_changes` with 23 row(s)
--

--
-- Table structure for table `item_unit_type_warehouse_price`
--

CREATE TABLE `item_unit_type_warehouse_price` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `item_unit_type_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `price1` decimal(12,2) DEFAULT NULL,
  `price2` decimal(12,2) DEFAULT NULL,
  `price3` decimal(12,2) DEFAULT NULL,
  `price_default` tinyint(3) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `iutwp_unique` (`item_unit_type_id`,`warehouse_id`),
  KEY `iutwp_wh_idx` (`warehouse_id`,`item_unit_type_id`),
  CONSTRAINT `iutwp_iut_fk` FOREIGN KEY (`item_unit_type_id`) REFERENCES `item_unit_types` (`id`) ON DELETE CASCADE,
  CONSTRAINT `iutwp_wh_fk` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_unit_type_warehouse_price`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_unit_type_warehouse_price` with 0 row(s)
--

--
-- Table structure for table `item_warehouse`
--

CREATE TABLE `item_warehouse` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `stock` decimal(12,4) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `idx_item_warehouse_unique` (`item_id`,`warehouse_id`),
  KEY `item_warehouse_warehouse_id_foreign` (`warehouse_id`),
  CONSTRAINT `item_warehouse_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `item_warehouse_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=312 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_warehouse`
--

SET autocommit=0;
INSERT INTO `item_warehouse` VALUES (1,1,1,19.0000,'2026-07-02 11:34:00','2026-07-02 11:34:00'),(2,2,1,31.0000,'2026-07-04 11:10:03','2026-07-04 11:10:03'),(3,3,1,31.0000,'2026-07-04 11:12:43','2026-07-04 11:12:43'),(4,4,1,42.0000,'2026-07-04 11:16:46','2026-07-04 11:16:46'),(5,5,1,16.0000,'2026-07-04 11:33:36','2026-07-04 11:33:36'),(6,6,1,167.0000,'2026-07-04 11:38:57','2026-07-20 11:37:38'),(7,7,1,21.0000,'2026-07-04 11:44:33','2026-07-04 11:44:33'),(8,8,1,91.0000,'2026-07-04 11:51:06','2026-07-04 11:51:06'),(9,9,1,40.0000,'2026-07-04 12:09:16','2026-07-04 12:09:16'),(10,10,1,88.0000,'2026-07-04 12:13:34','2026-07-04 12:13:34'),(11,11,1,23.0000,'2026-07-04 12:22:12','2026-07-04 12:22:12'),(12,12,1,21.0000,'2026-07-04 12:25:57','2026-07-04 12:25:57'),(13,13,1,96.0000,'2026-07-04 12:39:49','2026-07-04 12:39:49'),(14,14,1,88.0000,'2026-07-04 12:44:58','2026-07-04 12:44:58'),(15,15,1,42.0000,'2026-07-04 12:47:32','2026-07-04 12:47:32'),(17,17,1,53.0000,'2026-07-04 13:06:06','2026-07-04 13:06:06'),(18,18,1,89.0000,'2026-07-04 13:33:05','2026-07-04 13:33:05'),(19,19,1,20.0000,'2026-07-04 13:48:21','2026-07-04 13:48:21'),(20,20,1,44.0000,'2026-07-04 13:52:42','2026-07-04 13:52:42'),(21,21,1,4.0000,'2026-07-04 13:56:49','2026-07-04 13:56:49'),(22,22,1,12.0000,'2026-07-04 13:58:49','2026-07-04 13:58:49'),(23,23,1,2.0000,'2026-07-04 14:02:57','2026-07-04 14:02:57'),(24,24,1,1.0000,'2026-07-04 14:04:25','2026-07-04 14:04:25'),(25,25,1,9.0000,'2026-07-04 14:06:38','2026-07-04 14:06:38'),(26,26,1,25.0000,'2026-07-04 14:11:03','2026-07-04 14:11:03'),(27,27,1,4.0000,'2026-07-04 14:12:16','2026-07-04 14:12:16'),(28,28,1,2.0000,'2026-07-04 14:15:34','2026-07-04 14:15:34'),(29,29,1,1.0000,'2026-07-04 14:16:54','2026-07-04 14:16:54'),(30,30,1,19.0000,'2026-07-04 14:19:49','2026-07-04 14:19:49'),(31,31,1,16.0000,'2026-07-04 14:21:31','2026-07-04 14:21:31'),(32,32,1,10.0000,'2026-07-04 14:23:07','2026-07-04 14:23:07'),(33,33,1,2.0000,'2026-07-04 14:27:13','2026-07-04 14:27:13'),(34,34,1,79.0000,'2026-07-04 14:30:23','2026-07-04 14:30:23'),(35,35,1,88.0000,'2026-07-04 14:34:57','2026-07-04 14:34:57'),(36,36,1,108.0000,'2026-07-04 14:36:27','2026-07-04 14:36:27'),(37,37,1,19.0000,'2026-07-04 14:38:17','2026-07-04 14:38:17'),(38,38,1,97.0000,'2026-07-04 14:40:40','2026-07-04 14:40:40'),(39,39,1,0.0000,'2026-07-05 19:41:37','2026-07-05 19:41:37'),(40,40,1,10.0000,'2026-07-05 19:50:23','2026-07-05 19:50:23'),(41,41,1,13.0000,'2026-07-05 19:53:12','2026-07-05 19:53:12'),(42,42,1,3.0000,'2026-07-05 19:59:16','2026-07-05 19:59:16'),(43,43,1,24.0000,'2026-07-05 20:05:02','2026-07-05 20:05:02'),(44,44,1,43.0000,'2026-07-05 20:10:59','2026-07-05 20:10:59'),(45,45,1,16.0000,'2026-07-05 20:36:46','2026-07-05 20:36:46'),(46,46,1,15.0000,'2026-07-05 20:51:00','2026-07-05 20:51:00'),(47,47,1,44.0000,'2026-07-05 20:56:47','2026-07-05 20:56:47'),(48,48,1,25.0000,'2026-07-05 20:59:32','2026-07-05 20:59:32'),(49,49,1,22.0000,'2026-07-06 19:03:26','2026-07-06 19:03:26'),(50,50,1,0.0000,'2026-07-06 19:04:42','2026-07-06 19:04:42'),(51,51,1,6.0000,'2026-07-06 19:11:10','2026-07-06 19:11:10'),(52,52,1,12.0000,'2026-07-06 19:14:43','2026-07-06 19:14:43'),(53,53,1,2.0000,'2026-07-06 19:42:21','2026-07-06 19:42:21'),(54,54,1,2.0000,'2026-07-06 19:45:08','2026-07-06 19:45:08'),(55,55,1,1.0000,'2026-07-06 19:48:59','2026-07-06 19:48:59'),(56,56,1,1.0000,'2026-07-06 19:51:23','2026-07-06 19:51:23'),(57,57,1,1.0000,'2026-07-06 19:53:09','2026-07-06 19:53:09'),(58,58,1,170.0000,'2026-07-06 20:03:06','2026-07-06 20:03:06'),(59,59,1,5.0000,'2026-07-06 20:08:12','2026-07-06 20:08:12'),(60,60,1,173.0000,'2026-07-06 20:14:05','2026-07-06 20:14:05'),(61,61,1,9.0000,'2026-07-06 20:40:51','2026-07-06 20:40:51'),(62,62,1,2.0000,'2026-07-06 20:42:44','2026-07-06 20:42:44'),(63,63,1,2.0000,'2026-07-06 20:46:52','2026-07-06 20:46:52'),(64,64,1,1.0000,'2026-07-06 20:48:27','2026-07-06 20:48:27'),(65,65,1,10.0000,'2026-07-06 20:50:31','2026-07-06 20:50:31'),(66,66,1,48.0000,'2026-07-06 21:04:56','2026-07-21 22:55:58'),(67,67,1,100.0000,'2026-07-06 21:07:37','2026-07-06 21:07:37'),(68,68,1,13.0000,'2026-07-06 21:29:38','2026-07-06 21:29:38'),(69,69,1,9.0000,'2026-07-06 21:31:52','2026-07-06 21:31:52'),(70,70,1,13.0000,'2026-07-06 21:46:29','2026-07-06 21:46:29'),(71,71,1,6.0000,'2026-07-06 21:47:48','2026-07-06 21:47:48'),(72,72,1,82.0000,'2026-07-06 21:52:40','2026-07-06 21:52:40'),(73,73,1,82.0000,'2026-07-07 18:02:25','2026-07-07 18:02:25'),(74,74,1,47.0000,'2026-07-07 18:07:06','2026-07-07 18:07:06'),(75,75,1,6.0000,'2026-07-07 18:11:09','2026-07-07 18:11:09'),(76,76,1,2.0000,'2026-07-07 18:13:03','2026-07-07 18:13:03'),(77,77,1,92.0000,'2026-07-07 18:57:40','2026-07-07 18:57:40'),(78,78,1,131.0000,'2026-07-07 19:05:44','2026-07-07 19:05:44'),(79,79,1,66.0000,'2026-07-07 19:16:18','2026-07-07 19:16:18'),(80,80,1,40.0000,'2026-07-07 19:18:27','2026-07-07 19:18:27'),(81,81,1,79.0000,'2026-07-07 19:32:02','2026-07-07 19:32:02'),(82,82,1,32.0000,'2026-07-07 19:34:37','2026-07-07 19:34:37'),(83,83,1,1.0000,'2026-07-07 19:40:29','2026-07-07 19:40:29'),(84,84,1,1.0000,'2026-07-07 19:44:52','2026-07-07 19:44:52'),(85,85,1,3.0000,'2026-07-07 19:47:09','2026-07-07 19:47:09'),(86,86,1,2.0000,'2026-07-07 19:51:45','2026-07-07 19:51:45'),(87,87,1,3.0000,'2026-07-07 19:56:42','2026-07-07 19:56:42'),(88,88,1,85.0000,'2026-07-07 19:59:43','2026-07-07 19:59:43'),(89,89,1,5.0000,'2026-07-07 20:01:39','2026-07-07 20:01:39'),(90,90,1,73.0000,'2026-07-07 20:09:29','2026-07-07 20:09:29'),(91,91,1,200.0000,'2026-07-07 20:10:55','2026-07-07 20:10:55'),(92,92,1,200.0000,'2026-07-07 20:14:36','2026-07-07 20:14:36'),(93,93,1,1.0000,'2026-07-07 20:53:06','2026-07-07 20:53:06'),(94,94,1,6.0000,'2026-07-07 21:00:12','2026-07-07 21:00:12'),(95,95,1,3.0000,'2026-07-07 21:04:27','2026-07-07 21:04:27'),(96,96,1,8.0000,'2026-07-09 18:03:49','2026-07-09 18:03:49'),(97,97,1,6.0000,'2026-07-09 18:13:28','2026-07-09 18:13:28'),(98,98,1,84.0000,'2026-07-09 18:30:29','2026-07-09 18:30:29'),(99,99,1,50.0000,'2026-07-09 18:43:58','2026-07-09 18:43:58'),(100,100,1,40.0000,'2026-07-09 18:49:42','2026-07-09 18:49:42'),(101,101,1,7.0000,'2026-07-09 19:15:20','2026-07-09 19:15:20'),(102,102,1,12.0000,'2026-07-09 19:19:47','2026-07-09 19:19:47'),(103,103,1,56.0000,'2026-07-09 19:30:54','2026-07-09 19:30:54'),(105,105,1,102.0000,'2026-07-09 20:26:28','2026-07-09 20:26:28'),(106,106,1,89.0000,'2026-07-09 20:40:49','2026-07-09 20:40:49'),(107,107,1,58.0000,'2026-07-09 20:57:56','2026-07-09 20:57:56'),(108,108,1,0.0000,'2026-07-10 18:11:16','2026-07-10 18:11:16'),(109,109,1,74.0000,'2026-07-10 18:30:09','2026-07-10 18:30:09'),(110,110,1,18.0000,'2026-07-10 18:51:40','2026-07-10 18:51:40'),(111,111,1,99.0000,'2026-07-10 19:12:32','2026-07-10 19:12:32'),(112,112,1,66.0000,'2026-07-10 19:27:05','2026-07-10 19:27:05'),(113,113,1,68.0000,'2026-07-10 19:32:55','2026-07-10 19:32:55'),(114,114,1,200.0000,'2026-07-10 20:05:30','2026-07-10 20:05:30'),(115,115,1,268.0000,'2026-07-10 20:17:12','2026-07-20 11:34:58'),(116,116,1,100.0000,'2026-07-10 20:22:21','2026-07-10 20:22:21'),(117,117,1,138.0000,'2026-07-10 20:29:14','2026-07-10 20:29:14'),(119,119,1,100.0000,'2026-07-10 20:41:57','2026-07-10 20:41:57'),(120,120,1,87.0000,'2026-07-10 20:49:52','2026-07-10 20:49:52'),(121,121,1,85.0000,'2026-07-10 21:09:04','2026-07-10 21:09:04'),(122,122,1,311.0000,'2026-07-10 21:14:15','2026-07-10 21:14:15'),(123,123,1,100.0000,'2026-07-10 21:22:41','2026-07-10 21:22:41'),(124,124,1,4.0000,'2026-07-10 21:32:27','2026-07-10 21:32:27'),(125,125,1,116.0000,'2026-07-10 21:40:40','2026-07-10 21:40:40'),(126,126,1,4.0000,'2026-07-10 21:44:45','2026-07-10 21:44:45'),(127,127,1,10.0000,'2026-07-10 21:47:59','2026-07-10 21:47:59'),(128,128,1,100.0000,'2026-07-10 21:50:25','2026-07-10 21:50:25'),(129,129,1,9.0000,'2026-07-10 21:52:36','2026-07-10 21:52:36'),(130,130,1,76.0000,'2026-07-10 22:12:14','2026-07-10 22:12:14'),(131,131,1,89.0000,'2026-07-10 22:16:21','2026-07-10 22:16:21'),(132,132,1,20.0000,'2026-07-11 10:35:15','2026-07-11 10:35:15'),(133,133,1,70.0000,'2026-07-11 10:37:51','2026-07-11 10:37:51'),(134,134,1,39.0000,'2026-07-11 10:41:56','2026-07-11 10:41:56'),(135,135,1,60.0000,'2026-07-11 10:45:20','2026-07-11 10:45:20'),(136,136,1,100.0000,'2026-07-11 10:47:39','2026-07-11 10:47:39'),(137,137,1,101.0000,'2026-07-11 10:54:35','2026-07-11 10:54:35'),(138,138,1,55.0000,'2026-07-11 11:04:01','2026-07-11 11:04:01'),(139,139,1,90.0000,'2026-07-11 11:06:09','2026-07-11 11:06:09'),(140,140,1,3.0000,'2026-07-11 11:35:33','2026-07-11 11:35:33'),(141,141,1,140.0000,'2026-07-11 11:38:28','2026-07-11 11:38:28'),(142,142,1,6.0000,'2026-07-11 11:41:28','2026-07-11 11:41:28'),(143,143,1,6.0000,'2026-07-11 11:50:24','2026-07-11 11:50:24'),(144,144,1,6.0000,'2026-07-11 11:52:53','2026-07-11 11:52:53'),(145,145,1,6.0000,'2026-07-11 11:59:48','2026-07-11 11:59:48'),(146,146,1,6.0000,'2026-07-11 12:08:27','2026-07-11 12:08:27'),(147,147,1,7.0000,'2026-07-11 12:11:46','2026-07-11 12:11:46'),(148,148,1,12.0000,'2026-07-11 12:15:40','2026-07-11 12:15:40'),(149,149,1,3.0000,'2026-07-11 12:18:12','2026-07-11 12:18:12'),(150,150,1,1.0000,'2026-07-11 12:21:43','2026-07-11 12:21:43'),(151,151,1,6.0000,'2026-07-11 12:25:07','2026-07-11 12:25:07'),(152,152,1,3.0000,'2026-07-11 12:27:29','2026-07-11 12:27:29'),(153,153,1,11.0000,'2026-07-11 12:31:30','2026-07-11 12:31:30'),(154,154,1,3.0000,'2026-07-11 12:34:31','2026-07-11 12:34:31'),(155,155,1,115.0000,'2026-07-11 12:42:00','2026-07-11 12:42:00'),(156,156,1,185.0000,'2026-07-11 12:45:07','2026-07-11 12:45:07'),(157,157,1,360.0000,'2026-07-11 12:54:47','2026-07-11 12:54:47'),(158,158,1,163.0000,'2026-07-11 12:59:19','2026-07-11 12:59:19'),(159,159,1,94.0000,'2026-07-11 13:01:21','2026-07-11 13:01:21'),(160,160,1,97.0000,'2026-07-11 13:03:17','2026-07-11 13:03:17'),(161,161,1,9.0000,'2026-07-11 13:07:32','2026-07-11 13:07:32'),(162,162,1,41.0000,'2026-07-11 13:13:51','2026-07-11 13:13:51'),(163,163,1,13.0000,'2026-07-11 13:16:47','2026-07-11 13:16:47'),(164,164,1,6.0000,'2026-07-11 13:21:04','2026-07-11 13:21:04'),(165,165,1,39.0000,'2026-07-11 13:24:08','2026-07-11 13:24:08'),(166,166,1,11.0000,'2026-07-11 13:29:17','2026-07-11 13:29:17'),(167,167,1,11.0000,'2026-07-11 13:35:00','2026-07-11 13:35:00'),(168,168,1,5.0000,'2026-07-11 13:38:25','2026-07-11 13:38:25'),(169,169,1,3.0000,'2026-07-11 13:46:12','2026-07-11 13:46:12'),(170,170,1,3.0000,'2026-07-11 14:01:46','2026-07-11 14:01:46'),(171,171,1,10.0000,'2026-07-11 14:05:54','2026-07-11 14:05:54'),(172,172,1,4.0000,'2026-07-11 14:07:51','2026-07-11 14:07:51'),(173,173,1,6.0000,'2026-07-11 14:10:46','2026-07-11 14:10:46'),(174,174,1,1.0000,'2026-07-11 14:14:34','2026-07-11 14:14:34'),(175,175,1,2.0000,'2026-07-11 14:24:38','2026-07-11 14:24:38'),(176,176,1,4.0000,'2026-07-11 14:31:47','2026-07-11 14:31:47'),(177,177,1,1.0000,'2026-07-11 14:32:52','2026-07-11 14:32:52'),(178,178,1,4.0000,'2026-07-11 14:35:06','2026-07-11 14:35:06'),(179,179,1,3.0000,'2026-07-11 14:38:26','2026-07-11 14:38:26'),(180,180,1,2.0000,'2026-07-11 14:40:25','2026-07-11 14:40:25'),(181,181,1,2.0000,'2026-07-11 14:42:44','2026-07-11 14:42:44'),(182,182,1,16.0000,'2026-07-11 14:48:12','2026-07-11 14:48:12'),(183,183,1,7.0000,'2026-07-11 14:57:26','2026-07-11 14:57:26'),(184,184,1,100.0000,'2026-07-13 19:13:46','2026-07-13 19:13:46'),(185,185,1,30.0000,'2026-07-13 19:18:21','2026-07-13 19:18:21'),(186,186,1,120.0000,'2026-07-13 19:22:12','2026-07-13 19:22:12'),(187,187,1,6.0000,'2026-07-13 19:23:40','2026-07-13 19:23:40'),(188,188,1,0.0000,'2026-07-14 12:08:36','2026-07-14 12:08:36'),(190,190,1,0.0000,'2026-07-14 12:13:33','2026-07-14 12:13:33'),(192,192,1,12.0000,'2026-07-14 12:30:56','2026-07-14 12:30:56'),(193,193,1,6.0000,'2026-07-14 12:50:56','2026-07-14 12:50:56'),(194,194,1,11.0000,'2026-07-14 12:55:40','2026-07-14 12:55:40'),(195,195,1,2.0000,'2026-07-14 12:59:28','2026-07-14 12:59:28'),(196,196,1,10.0000,'2026-07-14 13:04:51','2026-07-14 13:04:51'),(197,197,1,5.0000,'2026-07-14 13:17:25','2026-07-14 13:17:25'),(198,198,1,24.0000,'2026-07-14 13:20:07','2026-07-14 13:20:07'),(199,199,1,8.0000,'2026-07-14 13:21:01','2026-07-14 13:21:01'),(200,200,1,8.0000,'2026-07-14 13:23:45','2026-07-14 13:23:45'),(201,201,1,49.0000,'2026-07-14 13:26:28','2026-07-14 13:26:28'),(202,202,1,5.0000,'2026-07-14 13:28:05','2026-07-14 13:28:05'),(203,203,1,14.0000,'2026-07-14 13:31:49','2026-07-14 13:31:49'),(204,204,1,15.0000,'2026-07-14 13:42:29','2026-07-14 13:42:29'),(205,205,1,8.0000,'2026-07-14 13:51:46','2026-07-14 13:51:46'),(206,206,1,7.0000,'2026-07-14 13:54:57','2026-07-14 13:54:57'),(207,207,1,14.0000,'2026-07-14 13:57:58','2026-07-20 12:03:58'),(208,208,1,11.0000,'2026-07-14 14:00:29','2026-07-14 14:00:29'),(209,209,1,16.0000,'2026-07-14 14:03:48','2026-07-14 14:03:48'),(210,210,1,50.0000,'2026-07-14 18:07:33','2026-07-14 18:07:33'),(211,211,1,48.0000,'2026-07-14 18:10:28','2026-07-14 18:10:28'),(212,212,1,6.0000,'2026-07-14 18:35:14','2026-07-14 18:35:14'),(213,213,1,192.0000,'2026-07-14 18:42:00','2026-07-14 18:42:00'),(214,214,1,399.0000,'2026-07-14 18:55:19','2026-07-14 18:55:19'),(215,215,1,36.0000,'2026-07-14 20:01:35','2026-07-14 20:01:35'),(216,216,1,4.0000,'2026-07-14 20:12:47','2026-07-14 20:12:47'),(217,217,1,2.0000,'2026-07-14 20:16:58','2026-07-14 20:16:58'),(218,218,1,2.0000,'2026-07-14 20:24:42','2026-07-14 20:24:42'),(219,219,1,4.0000,'2026-07-14 20:28:20','2026-07-14 20:28:20'),(220,220,1,6.0000,'2026-07-14 20:35:37','2026-07-14 20:35:37'),(221,221,1,4.0000,'2026-07-14 21:26:21','2026-07-14 21:26:21'),(222,222,1,96.0000,'2026-07-14 22:00:20','2026-07-14 22:00:20'),(223,223,1,90.0000,'2026-07-14 22:08:12','2026-07-14 22:08:12'),(224,224,1,40.0000,'2026-07-15 17:57:36','2026-07-15 17:57:36'),(225,225,1,10.0000,'2026-07-15 18:34:06','2026-07-15 18:34:06'),(226,226,1,60.0000,'2026-07-15 18:46:11','2026-07-15 18:46:11'),(227,227,1,79.0000,'2026-07-15 19:08:51','2026-07-15 19:08:51'),(228,228,1,151.0000,'2026-07-15 19:20:25','2026-07-15 19:20:25'),(229,229,1,27.0000,'2026-07-15 19:26:53','2026-07-15 19:26:53'),(230,230,1,28.0000,'2026-07-15 19:37:17','2026-07-15 19:37:17'),(231,231,1,13.0000,'2026-07-15 19:45:14','2026-07-15 19:45:14'),(232,232,1,18.0000,'2026-07-15 20:01:10','2026-07-15 20:01:10'),(233,233,1,24.0000,'2026-07-15 20:04:51','2026-07-20 12:15:31'),(234,234,1,7.0000,'2026-07-15 20:17:07','2026-07-15 20:17:07'),(235,235,1,25.0000,'2026-07-15 20:40:17','2026-07-15 20:40:17'),(236,236,1,13.0000,'2026-07-15 20:49:14','2026-07-15 20:49:14'),(237,237,1,8.0000,'2026-07-15 20:55:16','2026-07-15 20:55:16'),(238,238,1,20.0000,'2026-07-15 21:12:31','2026-07-15 21:12:31'),(239,239,1,10.0000,'2026-07-16 18:40:55','2026-07-16 18:40:55'),(240,240,1,7.0000,'2026-07-16 19:01:05','2026-07-16 19:01:05'),(241,241,1,6.0000,'2026-07-16 19:06:14','2026-07-16 19:06:14'),(242,242,1,12.0000,'2026-07-16 19:28:51','2026-07-16 19:28:51'),(243,243,1,11.0000,'2026-07-16 19:43:44','2026-07-16 19:43:44'),(244,244,1,3.0000,'2026-07-16 19:51:38','2026-07-16 19:51:38'),(245,245,1,5.0000,'2026-07-16 19:57:29','2026-07-16 19:57:29'),(246,246,1,13.0000,'2026-07-16 20:09:54','2026-07-16 20:09:54'),(247,247,1,3.0000,'2026-07-16 20:40:29','2026-07-16 20:40:29'),(248,248,1,14.0000,'2026-07-16 20:51:36','2026-07-16 20:51:36'),(249,249,1,11.0000,'2026-07-16 21:06:05','2026-07-16 21:06:05'),(250,250,1,12.0000,'2026-07-16 21:35:35','2026-07-16 21:35:35'),(251,251,1,13.0000,'2026-07-16 21:40:28','2026-07-16 21:40:28'),(252,252,1,4.0000,'2026-07-16 21:43:12','2026-07-16 21:43:12'),(253,253,1,8.0000,'2026-07-16 21:48:26','2026-07-16 21:48:26'),(254,254,1,6.0000,'2026-07-16 21:51:54','2026-07-16 21:51:54'),(255,255,1,6.0000,'2026-07-16 21:59:23','2026-07-16 21:59:23'),(256,256,1,9.0000,'2026-07-16 22:02:53','2026-07-16 22:02:53'),(257,257,1,7.0000,'2026-07-16 22:05:52','2026-07-16 22:05:52'),(258,258,1,6.0000,'2026-07-16 22:08:56','2026-07-16 22:08:56'),(259,259,1,22.0000,'2026-07-17 18:31:59','2026-07-17 18:31:59'),(260,260,1,16.0000,'2026-07-17 18:39:36','2026-07-17 18:39:36'),(261,261,1,5.0000,'2026-07-17 18:49:12','2026-07-17 18:49:12'),(262,262,1,4.0000,'2026-07-17 19:00:20','2026-07-17 19:00:20'),(263,263,1,11.0000,'2026-07-17 19:05:06','2026-07-17 19:05:06'),(264,264,1,3.0000,'2026-07-17 19:10:02','2026-07-17 19:10:02'),(265,265,1,18.0000,'2026-07-17 19:18:27','2026-07-17 19:18:27'),(266,266,1,9.0000,'2026-07-17 19:22:24','2026-07-17 19:22:24'),(267,267,1,3.0000,'2026-07-17 19:57:36','2026-07-17 19:57:36'),(268,268,1,9.0000,'2026-07-17 20:09:47','2026-07-17 20:09:47'),(269,269,1,11.0000,'2026-07-17 20:12:59','2026-07-17 20:12:59'),(270,270,1,6.0000,'2026-07-17 20:22:52','2026-07-17 20:22:52'),(271,271,1,7.0000,'2026-07-17 20:37:56','2026-07-17 20:37:56'),(272,272,1,11.0000,'2026-07-17 21:09:11','2026-07-17 21:09:11'),(273,273,1,100.0000,'2026-07-21 22:24:41','2026-07-21 22:24:41'),(274,274,1,100.0000,'2026-07-21 22:29:55','2026-07-21 22:29:55'),(275,275,1,149.0000,'2026-07-23 19:03:08','2026-07-23 19:03:08'),(276,276,1,4.0000,'2026-07-23 19:13:16','2026-07-23 19:13:16'),(277,277,1,268.0000,'2026-07-23 19:27:41','2026-07-23 19:27:41'),(278,278,1,186.0000,'2026-07-23 19:36:41','2026-07-23 19:36:41'),(279,279,1,76.0000,'2026-07-23 19:42:43','2026-07-23 19:42:43'),(280,280,1,81.0000,'2026-07-23 19:55:11','2026-07-23 19:55:11'),(281,281,1,70.0000,'2026-07-23 20:12:19','2026-07-23 20:12:19'),(282,282,1,9.0000,'2026-07-23 20:24:31','2026-07-23 20:24:31'),(283,283,1,15.0000,'2026-07-23 21:14:22','2026-07-23 21:14:22'),(284,284,1,57.0000,'2026-07-23 21:20:10','2026-07-23 21:20:10'),(285,285,1,10.0000,'2026-07-23 21:22:38','2026-07-23 21:22:38'),(286,286,1,23.0000,'2026-07-23 21:24:47','2026-07-23 21:24:47'),(287,287,1,35.0000,'2026-07-23 21:26:48','2026-07-23 21:26:48'),(288,288,1,54.0000,'2026-07-23 21:32:43','2026-07-23 21:32:43'),(289,289,1,66.0000,'2026-07-23 21:41:51','2026-07-23 21:41:51'),(290,290,1,31.0000,'2026-07-23 21:51:29','2026-07-23 21:51:29'),(291,291,1,30.0000,'2026-07-23 21:55:08','2026-07-23 21:55:08'),(292,292,1,80.0000,'2026-07-24 18:10:48','2026-07-24 18:10:48'),(293,293,1,300.0000,'2026-07-24 18:30:53','2026-07-24 18:30:53'),(294,294,1,15.0000,'2026-07-24 18:46:13','2026-07-24 18:46:13'),(295,295,1,6.0000,'2026-07-24 19:05:13','2026-07-24 19:05:13'),(296,296,1,10.0000,'2026-07-24 19:26:09','2026-07-24 19:26:09'),(297,297,1,12.0000,'2026-07-24 19:29:40','2026-07-24 19:29:40'),(298,298,1,1.0000,'2026-07-24 22:52:50','2026-07-24 22:52:50'),(299,299,1,1.0000,'2026-07-24 22:54:29','2026-07-24 22:54:29'),(300,300,1,1.0000,'2026-07-24 23:07:58','2026-07-24 23:07:58'),(301,301,1,1.0000,'2026-07-24 23:10:42','2026-07-24 23:10:42'),(302,302,1,1.0000,'2026-07-24 23:13:54','2026-07-24 23:13:54'),(303,303,1,1.0000,'2026-07-24 23:17:34','2026-07-24 23:17:34'),(304,304,1,1.0000,'2026-07-24 23:19:51','2026-07-24 23:19:51'),(305,305,1,90.0000,'2026-07-27 21:00:55','2026-07-27 21:00:55'),(306,306,1,141.0000,'2026-07-27 21:27:20','2026-07-27 21:27:20'),(307,307,1,19.0000,'2026-07-27 21:33:57','2026-07-27 21:33:57'),(308,308,1,148.0000,'2026-07-27 21:58:33','2026-07-27 21:58:33'),(309,309,1,1.0000,'2026-07-28 11:35:20','2026-07-28 11:35:20'),(310,310,1,35.0000,'2026-07-28 12:24:18','2026-07-28 12:24:18'),(311,311,1,1.0000,'2026-07-28 14:49:04','2026-07-28 14:49:04');
COMMIT;

-- Dumped table `item_warehouse` with 306 row(s)
--

--
-- Table structure for table `item_warehouse_pricing_states`
--

CREATE TABLE `item_warehouse_pricing_states` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `initialized_at` timestamp NULL DEFAULT NULL,
  `initialized_source` varchar(32) DEFAULT NULL,
  `last_applied_at` timestamp NULL DEFAULT NULL,
  `last_applied_from_warehouse_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `iwps_item_wh_unique` (`item_id`,`warehouse_id`),
  KEY `iwps_wh_initialized_idx` (`warehouse_id`,`initialized_at`),
  KEY `iwps_last_applied_wh_fk` (`last_applied_from_warehouse_id`),
  CONSTRAINT `iwps_item_fk` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `iwps_last_applied_wh_fk` FOREIGN KEY (`last_applied_from_warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL,
  CONSTRAINT `iwps_wh_fk` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `item_warehouse_pricing_states`
--

SET autocommit=0;
COMMIT;

-- Dumped table `item_warehouse_pricing_states` with 0 row(s)
--

--
-- Table structure for table `kardex`
--

CREATE TABLE `kardex` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_of_issue` date NOT NULL,
  `type` enum('sale','purchase') DEFAULT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `purchase_id` int(10) unsigned DEFAULT NULL,
  `purchase_settlement_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `kardex_purchase_id_foreign` (`purchase_id`),
  KEY `kardex_document_id_foreign` (`document_id`),
  KEY `kardex_item_id_foreign` (`item_id`),
  KEY `kardex_sale_note_id_foreign` (`sale_note_id`),
  KEY `kardex_purchase_settlement_id_foreign` (`purchase_settlement_id`),
  CONSTRAINT `kardex_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `kardex_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `kardex_purchase_id_foreign` FOREIGN KEY (`purchase_id`) REFERENCES `purchases` (`id`) ON DELETE CASCADE,
  CONSTRAINT `kardex_purchase_settlement_id_foreign` FOREIGN KEY (`purchase_settlement_id`) REFERENCES `purchase_settlements` (`id`) ON DELETE CASCADE,
  CONSTRAINT `kardex_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=314 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `kardex`
--

SET autocommit=0;
INSERT INTO `kardex` VALUES (1,'2026-07-02',NULL,1,NULL,NULL,NULL,NULL,19.0000,'2026-07-02 11:34:00','2026-07-02 11:34:00'),(2,'2026-07-04',NULL,2,NULL,NULL,NULL,NULL,31.0000,'2026-07-04 11:10:03','2026-07-04 11:10:03'),(3,'2026-07-04',NULL,3,NULL,NULL,NULL,NULL,31.0000,'2026-07-04 11:12:43','2026-07-04 11:12:43'),(4,'2026-07-04',NULL,4,NULL,NULL,NULL,NULL,42.0000,'2026-07-04 11:16:46','2026-07-04 11:16:46'),(5,'2026-07-04',NULL,5,NULL,NULL,NULL,NULL,16.0000,'2026-07-04 11:33:36','2026-07-04 11:33:36'),(6,'2026-07-04',NULL,6,NULL,NULL,NULL,NULL,69.0000,'2026-07-04 11:38:57','2026-07-04 11:38:57'),(7,'2026-07-04',NULL,7,NULL,NULL,NULL,NULL,21.0000,'2026-07-04 11:44:33','2026-07-04 11:44:33'),(8,'2026-07-04',NULL,8,NULL,NULL,NULL,NULL,91.0000,'2026-07-04 11:51:06','2026-07-04 11:51:06'),(9,'2026-07-04',NULL,9,NULL,NULL,NULL,NULL,40.0000,'2026-07-04 12:09:16','2026-07-04 12:09:16'),(10,'2026-07-04',NULL,10,NULL,NULL,NULL,NULL,88.0000,'2026-07-04 12:13:34','2026-07-04 12:13:34'),(11,'2026-07-04',NULL,11,NULL,NULL,NULL,NULL,23.0000,'2026-07-04 12:22:12','2026-07-04 12:22:12'),(12,'2026-07-04',NULL,12,NULL,NULL,NULL,NULL,21.0000,'2026-07-04 12:25:57','2026-07-04 12:25:57'),(13,'2026-07-04',NULL,13,NULL,NULL,NULL,NULL,96.0000,'2026-07-04 12:39:49','2026-07-04 12:39:49'),(14,'2026-07-04',NULL,14,NULL,NULL,NULL,NULL,88.0000,'2026-07-04 12:44:58','2026-07-04 12:44:58'),(15,'2026-07-04',NULL,15,NULL,NULL,NULL,NULL,42.0000,'2026-07-04 12:47:32','2026-07-04 12:47:32'),(17,'2026-07-04',NULL,17,NULL,NULL,NULL,NULL,53.0000,'2026-07-04 13:06:06','2026-07-04 13:06:06'),(18,'2026-07-04',NULL,18,NULL,NULL,NULL,NULL,89.0000,'2026-07-04 13:33:05','2026-07-04 13:33:05'),(19,'2026-07-04',NULL,19,NULL,NULL,NULL,NULL,20.0000,'2026-07-04 13:48:21','2026-07-04 13:48:21'),(20,'2026-07-04',NULL,20,NULL,NULL,NULL,NULL,44.0000,'2026-07-04 13:52:42','2026-07-04 13:52:42'),(21,'2026-07-04',NULL,21,NULL,NULL,NULL,NULL,4.0000,'2026-07-04 13:56:49','2026-07-04 13:56:49'),(22,'2026-07-04',NULL,22,NULL,NULL,NULL,NULL,12.0000,'2026-07-04 13:58:49','2026-07-04 13:58:49'),(23,'2026-07-04',NULL,23,NULL,NULL,NULL,NULL,2.0000,'2026-07-04 14:02:57','2026-07-04 14:02:57'),(24,'2026-07-04',NULL,24,NULL,NULL,NULL,NULL,1.0000,'2026-07-04 14:04:25','2026-07-04 14:04:25'),(25,'2026-07-04',NULL,25,NULL,NULL,NULL,NULL,9.0000,'2026-07-04 14:06:38','2026-07-04 14:06:38'),(26,'2026-07-04',NULL,26,NULL,NULL,NULL,NULL,25.0000,'2026-07-04 14:11:03','2026-07-04 14:11:03'),(27,'2026-07-04',NULL,27,NULL,NULL,NULL,NULL,4.0000,'2026-07-04 14:12:16','2026-07-04 14:12:16'),(28,'2026-07-04',NULL,28,NULL,NULL,NULL,NULL,2.0000,'2026-07-04 14:15:34','2026-07-04 14:15:34'),(29,'2026-07-04',NULL,29,NULL,NULL,NULL,NULL,1.0000,'2026-07-04 14:16:54','2026-07-04 14:16:54'),(30,'2026-07-04',NULL,30,NULL,NULL,NULL,NULL,19.0000,'2026-07-04 14:19:49','2026-07-04 14:19:49'),(31,'2026-07-04',NULL,31,NULL,NULL,NULL,NULL,16.0000,'2026-07-04 14:21:31','2026-07-04 14:21:31'),(32,'2026-07-04',NULL,32,NULL,NULL,NULL,NULL,10.0000,'2026-07-04 14:23:07','2026-07-04 14:23:07'),(33,'2026-07-04',NULL,33,NULL,NULL,NULL,NULL,2.0000,'2026-07-04 14:27:13','2026-07-04 14:27:13'),(34,'2026-07-04',NULL,34,NULL,NULL,NULL,NULL,79.0000,'2026-07-04 14:30:23','2026-07-04 14:30:23'),(35,'2026-07-04',NULL,35,NULL,NULL,NULL,NULL,88.0000,'2026-07-04 14:34:57','2026-07-04 14:34:57'),(36,'2026-07-04',NULL,36,NULL,NULL,NULL,NULL,108.0000,'2026-07-04 14:36:27','2026-07-04 14:36:27'),(37,'2026-07-04',NULL,37,NULL,NULL,NULL,NULL,19.0000,'2026-07-04 14:38:17','2026-07-04 14:38:17'),(38,'2026-07-04',NULL,38,NULL,NULL,NULL,NULL,97.0000,'2026-07-04 14:40:40','2026-07-04 14:40:40'),(39,'2026-07-05',NULL,39,NULL,NULL,NULL,NULL,0.0000,'2026-07-05 19:41:37','2026-07-05 19:41:37'),(40,'2026-07-05',NULL,40,NULL,NULL,NULL,NULL,10.0000,'2026-07-05 19:50:23','2026-07-05 19:50:23'),(41,'2026-07-05',NULL,41,NULL,NULL,NULL,NULL,13.0000,'2026-07-05 19:53:12','2026-07-05 19:53:12'),(42,'2026-07-05',NULL,42,NULL,NULL,NULL,NULL,3.0000,'2026-07-05 19:59:16','2026-07-05 19:59:16'),(43,'2026-07-05',NULL,43,NULL,NULL,NULL,NULL,24.0000,'2026-07-05 20:05:02','2026-07-05 20:05:02'),(44,'2026-07-05',NULL,44,NULL,NULL,NULL,NULL,43.0000,'2026-07-05 20:10:59','2026-07-05 20:10:59'),(45,'2026-07-05',NULL,45,NULL,NULL,NULL,NULL,16.0000,'2026-07-05 20:36:46','2026-07-05 20:36:46'),(46,'2026-07-05',NULL,46,NULL,NULL,NULL,NULL,15.0000,'2026-07-05 20:51:00','2026-07-05 20:51:00'),(47,'2026-07-05',NULL,47,NULL,NULL,NULL,NULL,44.0000,'2026-07-05 20:56:47','2026-07-05 20:56:47'),(48,'2026-07-05',NULL,48,NULL,NULL,NULL,NULL,25.0000,'2026-07-05 20:59:32','2026-07-05 20:59:32'),(49,'2026-07-06',NULL,49,NULL,NULL,NULL,NULL,22.0000,'2026-07-06 19:03:26','2026-07-06 19:03:26'),(50,'2026-07-06',NULL,50,NULL,NULL,NULL,NULL,0.0000,'2026-07-06 19:04:42','2026-07-06 19:04:42'),(51,'2026-07-06',NULL,51,NULL,NULL,NULL,NULL,6.0000,'2026-07-06 19:11:10','2026-07-06 19:11:10'),(52,'2026-07-06',NULL,52,NULL,NULL,NULL,NULL,12.0000,'2026-07-06 19:14:43','2026-07-06 19:14:43'),(53,'2026-07-06',NULL,53,NULL,NULL,NULL,NULL,2.0000,'2026-07-06 19:42:21','2026-07-06 19:42:21'),(54,'2026-07-06',NULL,54,NULL,NULL,NULL,NULL,2.0000,'2026-07-06 19:45:08','2026-07-06 19:45:08'),(55,'2026-07-06',NULL,55,NULL,NULL,NULL,NULL,1.0000,'2026-07-06 19:48:59','2026-07-06 19:48:59'),(56,'2026-07-06',NULL,56,NULL,NULL,NULL,NULL,1.0000,'2026-07-06 19:51:23','2026-07-06 19:51:23'),(57,'2026-07-06',NULL,57,NULL,NULL,NULL,NULL,1.0000,'2026-07-06 19:53:09','2026-07-06 19:53:09'),(58,'2026-07-06',NULL,58,NULL,NULL,NULL,NULL,170.0000,'2026-07-06 20:03:06','2026-07-06 20:03:06'),(59,'2026-07-06',NULL,59,NULL,NULL,NULL,NULL,5.0000,'2026-07-06 20:08:12','2026-07-06 20:08:12'),(60,'2026-07-06',NULL,60,NULL,NULL,NULL,NULL,173.0000,'2026-07-06 20:14:05','2026-07-06 20:14:05'),(61,'2026-07-06',NULL,61,NULL,NULL,NULL,NULL,9.0000,'2026-07-06 20:40:51','2026-07-06 20:40:51'),(62,'2026-07-06',NULL,62,NULL,NULL,NULL,NULL,2.0000,'2026-07-06 20:42:44','2026-07-06 20:42:44'),(63,'2026-07-06',NULL,63,NULL,NULL,NULL,NULL,2.0000,'2026-07-06 20:46:52','2026-07-06 20:46:52'),(64,'2026-07-06',NULL,64,NULL,NULL,NULL,NULL,1.0000,'2026-07-06 20:48:27','2026-07-06 20:48:27'),(65,'2026-07-06',NULL,65,NULL,NULL,NULL,NULL,10.0000,'2026-07-06 20:50:31','2026-07-06 20:50:31'),(66,'2026-07-06',NULL,66,NULL,NULL,NULL,NULL,55.0000,'2026-07-06 21:04:56','2026-07-06 21:04:56'),(67,'2026-07-06',NULL,67,NULL,NULL,NULL,NULL,100.0000,'2026-07-06 21:07:37','2026-07-06 21:07:37'),(68,'2026-07-06',NULL,68,NULL,NULL,NULL,NULL,13.0000,'2026-07-06 21:29:38','2026-07-06 21:29:38'),(69,'2026-07-06',NULL,69,NULL,NULL,NULL,NULL,9.0000,'2026-07-06 21:31:52','2026-07-06 21:31:52'),(70,'2026-07-06',NULL,70,NULL,NULL,NULL,NULL,13.0000,'2026-07-06 21:46:29','2026-07-06 21:46:29'),(71,'2026-07-06',NULL,71,NULL,NULL,NULL,NULL,6.0000,'2026-07-06 21:47:48','2026-07-06 21:47:48'),(72,'2026-07-06',NULL,72,NULL,NULL,NULL,NULL,82.0000,'2026-07-06 21:52:40','2026-07-06 21:52:40'),(73,'2026-07-07',NULL,73,NULL,NULL,NULL,NULL,82.0000,'2026-07-07 18:02:25','2026-07-07 18:02:25'),(74,'2026-07-07',NULL,74,NULL,NULL,NULL,NULL,47.0000,'2026-07-07 18:07:06','2026-07-07 18:07:06'),(75,'2026-07-07',NULL,75,NULL,NULL,NULL,NULL,6.0000,'2026-07-07 18:11:09','2026-07-07 18:11:09'),(76,'2026-07-07',NULL,76,NULL,NULL,NULL,NULL,2.0000,'2026-07-07 18:13:03','2026-07-07 18:13:03'),(77,'2026-07-07',NULL,77,NULL,NULL,NULL,NULL,92.0000,'2026-07-07 18:57:40','2026-07-07 18:57:40'),(78,'2026-07-07',NULL,78,NULL,NULL,NULL,NULL,131.0000,'2026-07-07 19:05:44','2026-07-07 19:05:44'),(79,'2026-07-07',NULL,79,NULL,NULL,NULL,NULL,66.0000,'2026-07-07 19:16:18','2026-07-07 19:16:18'),(80,'2026-07-07',NULL,80,NULL,NULL,NULL,NULL,40.0000,'2026-07-07 19:18:27','2026-07-07 19:18:27'),(81,'2026-07-07',NULL,81,NULL,NULL,NULL,NULL,79.0000,'2026-07-07 19:32:02','2026-07-07 19:32:02'),(82,'2026-07-07',NULL,82,NULL,NULL,NULL,NULL,32.0000,'2026-07-07 19:34:37','2026-07-07 19:34:37'),(83,'2026-07-07',NULL,83,NULL,NULL,NULL,NULL,1.0000,'2026-07-07 19:40:29','2026-07-07 19:40:29'),(84,'2026-07-07',NULL,84,NULL,NULL,NULL,NULL,1.0000,'2026-07-07 19:44:52','2026-07-07 19:44:52'),(85,'2026-07-07',NULL,85,NULL,NULL,NULL,NULL,3.0000,'2026-07-07 19:47:09','2026-07-07 19:47:09'),(86,'2026-07-07',NULL,86,NULL,NULL,NULL,NULL,2.0000,'2026-07-07 19:51:45','2026-07-07 19:51:45'),(87,'2026-07-07',NULL,87,NULL,NULL,NULL,NULL,3.0000,'2026-07-07 19:56:42','2026-07-07 19:56:42'),(88,'2026-07-07',NULL,88,NULL,NULL,NULL,NULL,85.0000,'2026-07-07 19:59:43','2026-07-07 19:59:43'),(89,'2026-07-07',NULL,89,NULL,NULL,NULL,NULL,5.0000,'2026-07-07 20:01:39','2026-07-07 20:01:39'),(90,'2026-07-07',NULL,90,NULL,NULL,NULL,NULL,73.0000,'2026-07-07 20:09:29','2026-07-07 20:09:29'),(91,'2026-07-07',NULL,91,NULL,NULL,NULL,NULL,200.0000,'2026-07-07 20:10:55','2026-07-07 20:10:55'),(92,'2026-07-07',NULL,92,NULL,NULL,NULL,NULL,200.0000,'2026-07-07 20:14:36','2026-07-07 20:14:36'),(93,'2026-07-07',NULL,93,NULL,NULL,NULL,NULL,1.0000,'2026-07-07 20:53:06','2026-07-07 20:53:06'),(94,'2026-07-07',NULL,94,NULL,NULL,NULL,NULL,6.0000,'2026-07-07 21:00:12','2026-07-07 21:00:12'),(95,'2026-07-07',NULL,95,NULL,NULL,NULL,NULL,3.0000,'2026-07-07 21:04:27','2026-07-07 21:04:27'),(96,'2026-07-09',NULL,96,NULL,NULL,NULL,NULL,8.0000,'2026-07-09 18:03:49','2026-07-09 18:03:49'),(97,'2026-07-09',NULL,97,NULL,NULL,NULL,NULL,6.0000,'2026-07-09 18:13:28','2026-07-09 18:13:28'),(98,'2026-07-09',NULL,98,NULL,NULL,NULL,NULL,84.0000,'2026-07-09 18:30:29','2026-07-09 18:30:29'),(99,'2026-07-09',NULL,99,NULL,NULL,NULL,NULL,50.0000,'2026-07-09 18:43:58','2026-07-09 18:43:58'),(100,'2026-07-09',NULL,100,NULL,NULL,NULL,NULL,40.0000,'2026-07-09 18:49:42','2026-07-09 18:49:42'),(101,'2026-07-09',NULL,101,NULL,NULL,NULL,NULL,7.0000,'2026-07-09 19:15:20','2026-07-09 19:15:20'),(102,'2026-07-09',NULL,102,NULL,NULL,NULL,NULL,12.0000,'2026-07-09 19:19:47','2026-07-09 19:19:47'),(103,'2026-07-09',NULL,103,NULL,NULL,NULL,NULL,56.0000,'2026-07-09 19:30:54','2026-07-09 19:30:54'),(105,'2026-07-09',NULL,105,NULL,NULL,NULL,NULL,102.0000,'2026-07-09 20:26:28','2026-07-09 20:26:28'),(106,'2026-07-09',NULL,106,NULL,NULL,NULL,NULL,89.0000,'2026-07-09 20:40:49','2026-07-09 20:40:49'),(107,'2026-07-09',NULL,107,NULL,NULL,NULL,NULL,58.0000,'2026-07-09 20:57:56','2026-07-09 20:57:56'),(108,'2026-07-10',NULL,108,NULL,NULL,NULL,NULL,0.0000,'2026-07-10 18:11:16','2026-07-10 18:11:16'),(109,'2026-07-10',NULL,109,NULL,NULL,NULL,NULL,74.0000,'2026-07-10 18:30:09','2026-07-10 18:30:09'),(110,'2026-07-10',NULL,110,NULL,NULL,NULL,NULL,18.0000,'2026-07-10 18:51:40','2026-07-10 18:51:40'),(111,'2026-07-10',NULL,111,NULL,NULL,NULL,NULL,99.0000,'2026-07-10 19:12:32','2026-07-10 19:12:32'),(112,'2026-07-10',NULL,112,NULL,NULL,NULL,NULL,66.0000,'2026-07-10 19:27:05','2026-07-10 19:27:05'),(113,'2026-07-10',NULL,113,NULL,NULL,NULL,NULL,68.0000,'2026-07-10 19:32:55','2026-07-10 19:32:55'),(114,'2026-07-10',NULL,114,NULL,NULL,NULL,NULL,200.0000,'2026-07-10 20:05:30','2026-07-10 20:05:30'),(115,'2026-07-10',NULL,115,NULL,NULL,NULL,NULL,281.0000,'2026-07-10 20:17:12','2026-07-10 20:17:12'),(116,'2026-07-10',NULL,116,NULL,NULL,NULL,NULL,100.0000,'2026-07-10 20:22:21','2026-07-10 20:22:21'),(117,'2026-07-10',NULL,117,NULL,NULL,NULL,NULL,138.0000,'2026-07-10 20:29:14','2026-07-10 20:29:14'),(119,'2026-07-10',NULL,119,NULL,NULL,NULL,NULL,100.0000,'2026-07-10 20:41:57','2026-07-10 20:41:57'),(120,'2026-07-10',NULL,120,NULL,NULL,NULL,NULL,87.0000,'2026-07-10 20:49:52','2026-07-10 20:49:52'),(121,'2026-07-10',NULL,121,NULL,NULL,NULL,NULL,85.0000,'2026-07-10 21:09:04','2026-07-10 21:09:04'),(122,'2026-07-10',NULL,122,NULL,NULL,NULL,NULL,311.0000,'2026-07-10 21:14:15','2026-07-10 21:14:15'),(123,'2026-07-10',NULL,123,NULL,NULL,NULL,NULL,100.0000,'2026-07-10 21:22:41','2026-07-10 21:22:41'),(124,'2026-07-10',NULL,124,NULL,NULL,NULL,NULL,4.0000,'2026-07-10 21:32:27','2026-07-10 21:32:27'),(125,'2026-07-10',NULL,125,NULL,NULL,NULL,NULL,116.0000,'2026-07-10 21:40:40','2026-07-10 21:40:40'),(126,'2026-07-10',NULL,126,NULL,NULL,NULL,NULL,4.0000,'2026-07-10 21:44:45','2026-07-10 21:44:45'),(127,'2026-07-10',NULL,127,NULL,NULL,NULL,NULL,10.0000,'2026-07-10 21:47:59','2026-07-10 21:47:59'),(128,'2026-07-10',NULL,128,NULL,NULL,NULL,NULL,100.0000,'2026-07-10 21:50:25','2026-07-10 21:50:25'),(129,'2026-07-10',NULL,129,NULL,NULL,NULL,NULL,9.0000,'2026-07-10 21:52:36','2026-07-10 21:52:36'),(130,'2026-07-10',NULL,130,NULL,NULL,NULL,NULL,76.0000,'2026-07-10 22:12:14','2026-07-10 22:12:14'),(131,'2026-07-10',NULL,131,NULL,NULL,NULL,NULL,89.0000,'2026-07-10 22:16:21','2026-07-10 22:16:21'),(132,'2026-07-11',NULL,132,NULL,NULL,NULL,NULL,20.0000,'2026-07-11 10:35:15','2026-07-11 10:35:15'),(133,'2026-07-11',NULL,133,NULL,NULL,NULL,NULL,70.0000,'2026-07-11 10:37:51','2026-07-11 10:37:51'),(134,'2026-07-11',NULL,134,NULL,NULL,NULL,NULL,39.0000,'2026-07-11 10:41:56','2026-07-11 10:41:56'),(135,'2026-07-11',NULL,135,NULL,NULL,NULL,NULL,60.0000,'2026-07-11 10:45:20','2026-07-11 10:45:20'),(136,'2026-07-11',NULL,136,NULL,NULL,NULL,NULL,100.0000,'2026-07-11 10:47:39','2026-07-11 10:47:39'),(137,'2026-07-11',NULL,137,NULL,NULL,NULL,NULL,101.0000,'2026-07-11 10:54:35','2026-07-11 10:54:35'),(138,'2026-07-11',NULL,138,NULL,NULL,NULL,NULL,55.0000,'2026-07-11 11:04:01','2026-07-11 11:04:01'),(139,'2026-07-11',NULL,139,NULL,NULL,NULL,NULL,90.0000,'2026-07-11 11:06:09','2026-07-11 11:06:09'),(140,'2026-07-11',NULL,140,NULL,NULL,NULL,NULL,3.0000,'2026-07-11 11:35:33','2026-07-11 11:35:33'),(141,'2026-07-11',NULL,141,NULL,NULL,NULL,NULL,140.0000,'2026-07-11 11:38:28','2026-07-11 11:38:28'),(142,'2026-07-11',NULL,142,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 11:41:28','2026-07-11 11:41:28'),(143,'2026-07-11',NULL,143,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 11:50:24','2026-07-11 11:50:24'),(144,'2026-07-11',NULL,144,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 11:52:53','2026-07-11 11:52:53'),(145,'2026-07-11',NULL,145,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 11:59:48','2026-07-11 11:59:48'),(146,'2026-07-11',NULL,146,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 12:08:27','2026-07-11 12:08:27'),(147,'2026-07-11',NULL,147,NULL,NULL,NULL,NULL,7.0000,'2026-07-11 12:11:46','2026-07-11 12:11:46'),(148,'2026-07-11',NULL,148,NULL,NULL,NULL,NULL,12.0000,'2026-07-11 12:15:40','2026-07-11 12:15:40'),(149,'2026-07-11',NULL,149,NULL,NULL,NULL,NULL,3.0000,'2026-07-11 12:18:12','2026-07-11 12:18:12'),(150,'2026-07-11',NULL,150,NULL,NULL,NULL,NULL,1.0000,'2026-07-11 12:21:43','2026-07-11 12:21:43'),(151,'2026-07-11',NULL,151,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 12:25:07','2026-07-11 12:25:07'),(152,'2026-07-11',NULL,152,NULL,NULL,NULL,NULL,3.0000,'2026-07-11 12:27:29','2026-07-11 12:27:29'),(153,'2026-07-11',NULL,153,NULL,NULL,NULL,NULL,11.0000,'2026-07-11 12:31:30','2026-07-11 12:31:30'),(154,'2026-07-11',NULL,154,NULL,NULL,NULL,NULL,3.0000,'2026-07-11 12:34:31','2026-07-11 12:34:31'),(155,'2026-07-11',NULL,155,NULL,NULL,NULL,NULL,115.0000,'2026-07-11 12:42:00','2026-07-11 12:42:00'),(156,'2026-07-11',NULL,156,NULL,NULL,NULL,NULL,185.0000,'2026-07-11 12:45:07','2026-07-11 12:45:07'),(157,'2026-07-11',NULL,157,NULL,NULL,NULL,NULL,360.0000,'2026-07-11 12:54:47','2026-07-11 12:54:47'),(158,'2026-07-11',NULL,158,NULL,NULL,NULL,NULL,163.0000,'2026-07-11 12:59:19','2026-07-11 12:59:19'),(159,'2026-07-11',NULL,159,NULL,NULL,NULL,NULL,94.0000,'2026-07-11 13:01:22','2026-07-11 13:01:22'),(160,'2026-07-11',NULL,160,NULL,NULL,NULL,NULL,97.0000,'2026-07-11 13:03:17','2026-07-11 13:03:17'),(161,'2026-07-11',NULL,161,NULL,NULL,NULL,NULL,9.0000,'2026-07-11 13:07:32','2026-07-11 13:07:32'),(162,'2026-07-11',NULL,162,NULL,NULL,NULL,NULL,41.0000,'2026-07-11 13:13:51','2026-07-11 13:13:51'),(163,'2026-07-11',NULL,163,NULL,NULL,NULL,NULL,13.0000,'2026-07-11 13:16:47','2026-07-11 13:16:47'),(164,'2026-07-11',NULL,164,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 13:21:04','2026-07-11 13:21:04'),(165,'2026-07-11',NULL,165,NULL,NULL,NULL,NULL,39.0000,'2026-07-11 13:24:08','2026-07-11 13:24:08'),(166,'2026-07-11',NULL,166,NULL,NULL,NULL,NULL,11.0000,'2026-07-11 13:29:17','2026-07-11 13:29:17'),(167,'2026-07-11',NULL,167,NULL,NULL,NULL,NULL,11.0000,'2026-07-11 13:35:00','2026-07-11 13:35:00'),(168,'2026-07-11',NULL,168,NULL,NULL,NULL,NULL,5.0000,'2026-07-11 13:38:25','2026-07-11 13:38:25'),(169,'2026-07-11',NULL,169,NULL,NULL,NULL,NULL,3.0000,'2026-07-11 13:46:12','2026-07-11 13:46:12'),(170,'2026-07-11',NULL,170,NULL,NULL,NULL,NULL,3.0000,'2026-07-11 14:01:46','2026-07-11 14:01:46'),(171,'2026-07-11',NULL,171,NULL,NULL,NULL,NULL,10.0000,'2026-07-11 14:05:54','2026-07-11 14:05:54'),(172,'2026-07-11',NULL,172,NULL,NULL,NULL,NULL,4.0000,'2026-07-11 14:07:51','2026-07-11 14:07:51'),(173,'2026-07-11',NULL,173,NULL,NULL,NULL,NULL,6.0000,'2026-07-11 14:10:46','2026-07-11 14:10:46'),(174,'2026-07-11',NULL,174,NULL,NULL,NULL,NULL,1.0000,'2026-07-11 14:14:34','2026-07-11 14:14:34'),(175,'2026-07-11',NULL,175,NULL,NULL,NULL,NULL,2.0000,'2026-07-11 14:24:38','2026-07-11 14:24:38'),(176,'2026-07-11',NULL,176,NULL,NULL,NULL,NULL,4.0000,'2026-07-11 14:31:47','2026-07-11 14:31:47'),(177,'2026-07-11',NULL,177,NULL,NULL,NULL,NULL,1.0000,'2026-07-11 14:32:52','2026-07-11 14:32:52'),(178,'2026-07-11',NULL,178,NULL,NULL,NULL,NULL,4.0000,'2026-07-11 14:35:06','2026-07-11 14:35:06'),(179,'2026-07-11',NULL,179,NULL,NULL,NULL,NULL,3.0000,'2026-07-11 14:38:26','2026-07-11 14:38:26'),(180,'2026-07-11',NULL,180,NULL,NULL,NULL,NULL,2.0000,'2026-07-11 14:40:25','2026-07-11 14:40:25'),(181,'2026-07-11',NULL,181,NULL,NULL,NULL,NULL,2.0000,'2026-07-11 14:42:44','2026-07-11 14:42:44'),(182,'2026-07-11',NULL,182,NULL,NULL,NULL,NULL,16.0000,'2026-07-11 14:48:12','2026-07-11 14:48:12'),(183,'2026-07-11',NULL,183,NULL,NULL,NULL,NULL,7.0000,'2026-07-11 14:57:26','2026-07-11 14:57:26'),(184,'2026-07-13',NULL,184,NULL,NULL,NULL,NULL,100.0000,'2026-07-13 19:13:46','2026-07-13 19:13:46'),(185,'2026-07-13',NULL,185,NULL,NULL,NULL,NULL,30.0000,'2026-07-13 19:18:21','2026-07-13 19:18:21'),(186,'2026-07-13',NULL,186,NULL,NULL,NULL,NULL,120.0000,'2026-07-13 19:22:12','2026-07-13 19:22:12'),(187,'2026-07-13',NULL,187,NULL,NULL,NULL,NULL,6.0000,'2026-07-13 19:23:40','2026-07-13 19:23:40'),(188,'2026-07-14',NULL,188,NULL,NULL,NULL,NULL,0.0000,'2026-07-14 12:08:36','2026-07-14 12:08:36'),(190,'2026-07-14',NULL,190,NULL,NULL,NULL,NULL,0.0000,'2026-07-14 12:13:33','2026-07-14 12:13:33'),(192,'2026-07-14',NULL,192,NULL,NULL,NULL,NULL,12.0000,'2026-07-14 12:30:56','2026-07-14 12:30:56'),(193,'2026-07-14',NULL,193,NULL,NULL,NULL,NULL,6.0000,'2026-07-14 12:50:56','2026-07-14 12:50:56'),(194,'2026-07-14',NULL,194,NULL,NULL,NULL,NULL,11.0000,'2026-07-14 12:55:40','2026-07-14 12:55:40'),(195,'2026-07-14',NULL,195,NULL,NULL,NULL,NULL,2.0000,'2026-07-14 12:59:28','2026-07-14 12:59:28'),(196,'2026-07-14',NULL,196,NULL,NULL,NULL,NULL,10.0000,'2026-07-14 13:04:51','2026-07-14 13:04:51'),(197,'2026-07-14',NULL,197,NULL,NULL,NULL,NULL,5.0000,'2026-07-14 13:17:25','2026-07-14 13:17:25'),(198,'2026-07-14',NULL,198,NULL,NULL,NULL,NULL,24.0000,'2026-07-14 13:20:07','2026-07-14 13:20:07'),(199,'2026-07-14',NULL,199,NULL,NULL,NULL,NULL,8.0000,'2026-07-14 13:21:01','2026-07-14 13:21:01'),(200,'2026-07-14',NULL,200,NULL,NULL,NULL,NULL,8.0000,'2026-07-14 13:23:45','2026-07-14 13:23:45'),(201,'2026-07-14',NULL,201,NULL,NULL,NULL,NULL,49.0000,'2026-07-14 13:26:28','2026-07-14 13:26:28'),(202,'2026-07-14',NULL,202,NULL,NULL,NULL,NULL,5.0000,'2026-07-14 13:28:05','2026-07-14 13:28:05'),(203,'2026-07-14',NULL,203,NULL,NULL,NULL,NULL,14.0000,'2026-07-14 13:31:49','2026-07-14 13:31:49'),(204,'2026-07-14',NULL,204,NULL,NULL,NULL,NULL,15.0000,'2026-07-14 13:42:29','2026-07-14 13:42:29'),(205,'2026-07-14',NULL,205,NULL,NULL,NULL,NULL,8.0000,'2026-07-14 13:51:46','2026-07-14 13:51:46'),(206,'2026-07-14',NULL,206,NULL,NULL,NULL,NULL,7.0000,'2026-07-14 13:54:57','2026-07-14 13:54:57'),(207,'2026-07-14',NULL,207,NULL,NULL,NULL,NULL,15.0000,'2026-07-14 13:57:58','2026-07-14 13:57:58'),(208,'2026-07-14',NULL,208,NULL,NULL,NULL,NULL,11.0000,'2026-07-14 14:00:29','2026-07-14 14:00:29'),(209,'2026-07-14',NULL,209,NULL,NULL,NULL,NULL,16.0000,'2026-07-14 14:03:48','2026-07-14 14:03:48'),(210,'2026-07-14',NULL,210,NULL,NULL,NULL,NULL,50.0000,'2026-07-14 18:07:33','2026-07-14 18:07:33'),(211,'2026-07-14',NULL,211,NULL,NULL,NULL,NULL,48.0000,'2026-07-14 18:10:28','2026-07-14 18:10:28'),(212,'2026-07-14',NULL,212,NULL,NULL,NULL,NULL,6.0000,'2026-07-14 18:35:14','2026-07-14 18:35:14'),(213,'2026-07-14',NULL,213,NULL,NULL,NULL,NULL,192.0000,'2026-07-14 18:42:00','2026-07-14 18:42:00'),(214,'2026-07-14',NULL,214,NULL,NULL,NULL,NULL,399.0000,'2026-07-14 18:55:19','2026-07-14 18:55:19'),(215,'2026-07-14',NULL,215,NULL,NULL,NULL,NULL,36.0000,'2026-07-14 20:01:35','2026-07-14 20:01:35'),(216,'2026-07-14',NULL,216,NULL,NULL,NULL,NULL,4.0000,'2026-07-14 20:12:47','2026-07-14 20:12:47'),(217,'2026-07-14',NULL,217,NULL,NULL,NULL,NULL,2.0000,'2026-07-14 20:16:58','2026-07-14 20:16:58'),(218,'2026-07-14',NULL,218,NULL,NULL,NULL,NULL,2.0000,'2026-07-14 20:24:42','2026-07-14 20:24:42'),(219,'2026-07-14',NULL,219,NULL,NULL,NULL,NULL,4.0000,'2026-07-14 20:28:20','2026-07-14 20:28:20'),(220,'2026-07-14',NULL,220,NULL,NULL,NULL,NULL,6.0000,'2026-07-14 20:35:37','2026-07-14 20:35:37'),(221,'2026-07-14',NULL,221,NULL,NULL,NULL,NULL,4.0000,'2026-07-14 21:26:21','2026-07-14 21:26:21'),(222,'2026-07-14',NULL,222,NULL,NULL,NULL,NULL,96.0000,'2026-07-14 22:00:20','2026-07-14 22:00:20'),(223,'2026-07-14',NULL,223,NULL,NULL,NULL,NULL,90.0000,'2026-07-14 22:08:12','2026-07-14 22:08:12'),(224,'2026-07-15',NULL,224,NULL,NULL,NULL,NULL,40.0000,'2026-07-15 17:57:36','2026-07-15 17:57:36'),(225,'2026-07-15',NULL,225,NULL,NULL,NULL,NULL,10.0000,'2026-07-15 18:34:06','2026-07-15 18:34:06'),(226,'2026-07-15',NULL,226,NULL,NULL,NULL,NULL,60.0000,'2026-07-15 18:46:11','2026-07-15 18:46:11'),(227,'2026-07-15',NULL,227,NULL,NULL,NULL,NULL,79.0000,'2026-07-15 19:08:51','2026-07-15 19:08:51'),(228,'2026-07-15',NULL,228,NULL,NULL,NULL,NULL,151.0000,'2026-07-15 19:20:25','2026-07-15 19:20:25'),(229,'2026-07-15',NULL,229,NULL,NULL,NULL,NULL,27.0000,'2026-07-15 19:26:53','2026-07-15 19:26:53'),(230,'2026-07-15',NULL,230,NULL,NULL,NULL,NULL,28.0000,'2026-07-15 19:37:17','2026-07-15 19:37:17'),(231,'2026-07-15',NULL,231,NULL,NULL,NULL,NULL,13.0000,'2026-07-15 19:45:14','2026-07-15 19:45:14'),(232,'2026-07-15',NULL,232,NULL,NULL,NULL,NULL,18.0000,'2026-07-15 20:01:10','2026-07-15 20:01:10'),(233,'2026-07-15',NULL,233,NULL,NULL,NULL,NULL,25.0000,'2026-07-15 20:04:51','2026-07-15 20:04:51'),(234,'2026-07-15',NULL,234,NULL,NULL,NULL,NULL,7.0000,'2026-07-15 20:17:07','2026-07-15 20:17:07'),(235,'2026-07-15',NULL,235,NULL,NULL,NULL,NULL,25.0000,'2026-07-15 20:40:17','2026-07-15 20:40:17'),(236,'2026-07-15',NULL,236,NULL,NULL,NULL,NULL,13.0000,'2026-07-15 20:49:14','2026-07-15 20:49:14'),(237,'2026-07-15',NULL,237,NULL,NULL,NULL,NULL,8.0000,'2026-07-15 20:55:16','2026-07-15 20:55:16'),(238,'2026-07-15',NULL,238,NULL,NULL,NULL,NULL,20.0000,'2026-07-15 21:12:31','2026-07-15 21:12:31'),(239,'2026-07-16',NULL,239,NULL,NULL,NULL,NULL,10.0000,'2026-07-16 18:40:55','2026-07-16 18:40:55'),(240,'2026-07-16',NULL,240,NULL,NULL,NULL,NULL,7.0000,'2026-07-16 19:01:05','2026-07-16 19:01:05'),(241,'2026-07-16',NULL,241,NULL,NULL,NULL,NULL,6.0000,'2026-07-16 19:06:14','2026-07-16 19:06:14'),(242,'2026-07-16',NULL,242,NULL,NULL,NULL,NULL,12.0000,'2026-07-16 19:28:51','2026-07-16 19:28:51'),(243,'2026-07-16',NULL,243,NULL,NULL,NULL,NULL,11.0000,'2026-07-16 19:43:44','2026-07-16 19:43:44'),(244,'2026-07-16',NULL,244,NULL,NULL,NULL,NULL,3.0000,'2026-07-16 19:51:38','2026-07-16 19:51:38'),(245,'2026-07-16',NULL,245,NULL,NULL,NULL,NULL,5.0000,'2026-07-16 19:57:29','2026-07-16 19:57:29'),(246,'2026-07-16',NULL,246,NULL,NULL,NULL,NULL,13.0000,'2026-07-16 20:09:54','2026-07-16 20:09:54'),(247,'2026-07-16',NULL,247,NULL,NULL,NULL,NULL,3.0000,'2026-07-16 20:40:29','2026-07-16 20:40:29'),(248,'2026-07-16',NULL,248,NULL,NULL,NULL,NULL,14.0000,'2026-07-16 20:51:36','2026-07-16 20:51:36'),(249,'2026-07-16',NULL,249,NULL,NULL,NULL,NULL,11.0000,'2026-07-16 21:06:05','2026-07-16 21:06:05'),(250,'2026-07-16',NULL,250,NULL,NULL,NULL,NULL,12.0000,'2026-07-16 21:35:35','2026-07-16 21:35:35'),(251,'2026-07-16',NULL,251,NULL,NULL,NULL,NULL,13.0000,'2026-07-16 21:40:28','2026-07-16 21:40:28'),(252,'2026-07-16',NULL,252,NULL,NULL,NULL,NULL,4.0000,'2026-07-16 21:43:12','2026-07-16 21:43:12'),(253,'2026-07-16',NULL,253,NULL,NULL,NULL,NULL,8.0000,'2026-07-16 21:48:26','2026-07-16 21:48:26'),(254,'2026-07-16',NULL,254,NULL,NULL,NULL,NULL,6.0000,'2026-07-16 21:51:54','2026-07-16 21:51:54'),(255,'2026-07-16',NULL,255,NULL,NULL,NULL,NULL,6.0000,'2026-07-16 21:59:24','2026-07-16 21:59:24'),(256,'2026-07-16',NULL,256,NULL,NULL,NULL,NULL,9.0000,'2026-07-16 22:02:53','2026-07-16 22:02:53'),(257,'2026-07-16',NULL,257,NULL,NULL,NULL,NULL,7.0000,'2026-07-16 22:05:52','2026-07-16 22:05:52'),(258,'2026-07-16',NULL,258,NULL,NULL,NULL,NULL,6.0000,'2026-07-16 22:08:56','2026-07-16 22:08:56'),(259,'2026-07-17',NULL,259,NULL,NULL,NULL,NULL,22.0000,'2026-07-17 18:31:59','2026-07-17 18:31:59'),(260,'2026-07-17',NULL,260,NULL,NULL,NULL,NULL,16.0000,'2026-07-17 18:39:36','2026-07-17 18:39:36'),(261,'2026-07-17',NULL,261,NULL,NULL,NULL,NULL,5.0000,'2026-07-17 18:49:12','2026-07-17 18:49:12'),(262,'2026-07-17',NULL,262,NULL,NULL,NULL,NULL,4.0000,'2026-07-17 19:00:20','2026-07-17 19:00:20'),(263,'2026-07-17',NULL,263,NULL,NULL,NULL,NULL,11.0000,'2026-07-17 19:05:06','2026-07-17 19:05:06'),(264,'2026-07-17',NULL,264,NULL,NULL,NULL,NULL,3.0000,'2026-07-17 19:10:02','2026-07-17 19:10:02'),(265,'2026-07-17',NULL,265,NULL,NULL,NULL,NULL,18.0000,'2026-07-17 19:18:27','2026-07-17 19:18:27'),(266,'2026-07-17',NULL,266,NULL,NULL,NULL,NULL,9.0000,'2026-07-17 19:22:24','2026-07-17 19:22:24'),(267,'2026-07-17',NULL,267,NULL,NULL,NULL,NULL,3.0000,'2026-07-17 19:57:36','2026-07-17 19:57:36'),(268,'2026-07-17',NULL,268,NULL,NULL,NULL,NULL,9.0000,'2026-07-17 20:09:47','2026-07-17 20:09:47'),(269,'2026-07-17',NULL,269,NULL,NULL,NULL,NULL,11.0000,'2026-07-17 20:12:59','2026-07-17 20:12:59'),(270,'2026-07-17',NULL,270,NULL,NULL,NULL,NULL,6.0000,'2026-07-17 20:22:52','2026-07-17 20:22:52'),(271,'2026-07-17',NULL,271,NULL,NULL,NULL,NULL,7.0000,'2026-07-17 20:37:56','2026-07-17 20:37:56'),(272,'2026-07-17',NULL,272,NULL,NULL,NULL,NULL,11.0000,'2026-07-17 21:09:11','2026-07-17 21:09:11'),(273,'2026-07-20','sale',207,NULL,NULL,NULL,1,1.0000,'2026-07-20 12:03:58','2026-07-20 12:03:58'),(274,'2026-07-20','sale',233,NULL,NULL,NULL,2,1.0000,'2026-07-20 12:15:31','2026-07-20 12:15:31'),(275,'2026-07-21',NULL,273,NULL,NULL,NULL,NULL,100.0000,'2026-07-21 22:24:41','2026-07-21 22:24:41'),(276,'2026-07-21',NULL,274,NULL,NULL,NULL,NULL,100.0000,'2026-07-21 22:29:55','2026-07-21 22:29:55'),(277,'2026-07-23',NULL,275,NULL,NULL,NULL,NULL,149.0000,'2026-07-23 19:03:08','2026-07-23 19:03:08'),(278,'2026-07-23',NULL,276,NULL,NULL,NULL,NULL,4.0000,'2026-07-23 19:13:16','2026-07-23 19:13:16'),(279,'2026-07-23',NULL,277,NULL,NULL,NULL,NULL,268.0000,'2026-07-23 19:27:41','2026-07-23 19:27:41'),(280,'2026-07-23',NULL,278,NULL,NULL,NULL,NULL,186.0000,'2026-07-23 19:36:41','2026-07-23 19:36:41'),(281,'2026-07-23',NULL,279,NULL,NULL,NULL,NULL,76.0000,'2026-07-23 19:42:43','2026-07-23 19:42:43'),(282,'2026-07-23',NULL,280,NULL,NULL,NULL,NULL,81.0000,'2026-07-23 19:55:11','2026-07-23 19:55:11'),(283,'2026-07-23',NULL,281,NULL,NULL,NULL,NULL,70.0000,'2026-07-23 20:12:19','2026-07-23 20:12:19'),(284,'2026-07-23',NULL,282,NULL,NULL,NULL,NULL,9.0000,'2026-07-23 20:24:31','2026-07-23 20:24:31'),(285,'2026-07-23',NULL,283,NULL,NULL,NULL,NULL,15.0000,'2026-07-23 21:14:22','2026-07-23 21:14:22'),(286,'2026-07-23',NULL,284,NULL,NULL,NULL,NULL,57.0000,'2026-07-23 21:20:10','2026-07-23 21:20:10'),(287,'2026-07-23',NULL,285,NULL,NULL,NULL,NULL,10.0000,'2026-07-23 21:22:38','2026-07-23 21:22:38'),(288,'2026-07-23',NULL,286,NULL,NULL,NULL,NULL,23.0000,'2026-07-23 21:24:47','2026-07-23 21:24:47'),(289,'2026-07-23',NULL,287,NULL,NULL,NULL,NULL,35.0000,'2026-07-23 21:26:48','2026-07-23 21:26:48'),(290,'2026-07-23',NULL,288,NULL,NULL,NULL,NULL,54.0000,'2026-07-23 21:32:43','2026-07-23 21:32:43'),(291,'2026-07-23',NULL,289,NULL,NULL,NULL,NULL,66.0000,'2026-07-23 21:41:51','2026-07-23 21:41:51'),(292,'2026-07-23',NULL,290,NULL,NULL,NULL,NULL,31.0000,'2026-07-23 21:51:29','2026-07-23 21:51:29'),(293,'2026-07-23',NULL,291,NULL,NULL,NULL,NULL,30.0000,'2026-07-23 21:55:08','2026-07-23 21:55:08'),(294,'2026-07-24',NULL,292,NULL,NULL,NULL,NULL,80.0000,'2026-07-24 18:10:48','2026-07-24 18:10:48'),(295,'2026-07-24',NULL,293,NULL,NULL,NULL,NULL,300.0000,'2026-07-24 18:30:53','2026-07-24 18:30:53'),(296,'2026-07-24',NULL,294,NULL,NULL,NULL,NULL,15.0000,'2026-07-24 18:46:13','2026-07-24 18:46:13'),(297,'2026-07-24',NULL,295,NULL,NULL,NULL,NULL,6.0000,'2026-07-24 19:05:13','2026-07-24 19:05:13'),(298,'2026-07-24',NULL,296,NULL,NULL,NULL,NULL,10.0000,'2026-07-24 19:26:09','2026-07-24 19:26:09'),(299,'2026-07-24',NULL,297,NULL,NULL,NULL,NULL,12.0000,'2026-07-24 19:29:40','2026-07-24 19:29:40'),(300,'2026-07-24',NULL,298,NULL,NULL,NULL,NULL,1.0000,'2026-07-24 22:52:50','2026-07-24 22:52:50'),(301,'2026-07-24',NULL,299,NULL,NULL,NULL,NULL,1.0000,'2026-07-24 22:54:29','2026-07-24 22:54:29'),(302,'2026-07-24',NULL,300,NULL,NULL,NULL,NULL,1.0000,'2026-07-24 23:07:58','2026-07-24 23:07:58'),(303,'2026-07-24',NULL,301,NULL,NULL,NULL,NULL,1.0000,'2026-07-24 23:10:42','2026-07-24 23:10:42'),(304,'2026-07-24',NULL,302,NULL,NULL,NULL,NULL,1.0000,'2026-07-24 23:13:54','2026-07-24 23:13:54'),(305,'2026-07-24',NULL,303,NULL,NULL,NULL,NULL,1.0000,'2026-07-24 23:17:34','2026-07-24 23:17:34'),(306,'2026-07-24',NULL,304,NULL,NULL,NULL,NULL,1.0000,'2026-07-24 23:19:51','2026-07-24 23:19:51'),(307,'2026-07-27',NULL,305,NULL,NULL,NULL,NULL,90.0000,'2026-07-27 21:00:55','2026-07-27 21:00:55'),(308,'2026-07-27',NULL,306,NULL,NULL,NULL,NULL,141.0000,'2026-07-27 21:27:20','2026-07-27 21:27:20'),(309,'2026-07-27',NULL,307,NULL,NULL,NULL,NULL,19.0000,'2026-07-27 21:33:57','2026-07-27 21:33:57'),(310,'2026-07-27',NULL,308,NULL,NULL,NULL,NULL,148.0000,'2026-07-27 21:58:33','2026-07-27 21:58:33'),(311,'2026-07-28',NULL,309,NULL,NULL,NULL,NULL,1.0000,'2026-07-28 11:35:20','2026-07-28 11:35:20'),(312,'2026-07-28',NULL,310,NULL,NULL,NULL,NULL,35.0000,'2026-07-28 12:24:18','2026-07-28 12:24:18'),(313,'2026-07-28',NULL,311,NULL,NULL,NULL,NULL,1.0000,'2026-07-28 14:49:04','2026-07-28 14:49:04');
COMMIT;

-- Dumped table `kardex` with 308 row(s)
--

--
-- Table structure for table `laboratory_results`
--

CREATE TABLE `laboratory_results` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_laboratory_item_id` int(10) unsigned DEFAULT NULL,
  `date_result` date DEFAULT NULL,
  `file_url` varchar(255) DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `laboratory_results`
--

SET autocommit=0;
COMMIT;

-- Dumped table `laboratory_results` with 0 row(s)
--

--
-- Table structure for table `locations`
--

CREATE TABLE `locations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `locations`
--

SET autocommit=0;
INSERT INTO `locations` VALUES (1,'J-1','2026-07-14 13:09:03','2026-07-14 13:09:03'),(2,'J - 2','2026-07-14 13:20:39','2026-07-14 13:20:39'),(3,'J - 3','2026-07-14 13:41:02','2026-07-14 13:41:02'),(4,'A-5','2026-07-24 22:37:00','2026-07-24 22:37:00'),(5,'VITRINA GRANDE','2026-07-24 22:52:42','2026-07-24 22:52:42');
COMMIT;

-- Dumped table `locations` with 5 row(s)
--

--
-- Table structure for table `machines`
--

CREATE TABLE `machines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `machine_type_id` int(10) unsigned NOT NULL,
  `name` text DEFAULT NULL,
  `brand` text DEFAULT NULL,
  `model` text DEFAULT NULL,
  `closing_force` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `machines`
--

SET autocommit=0;
COMMIT;

-- Dumped table `machines` with 0 row(s)
--

--
-- Table structure for table `machine_types`
--

CREATE TABLE `machine_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` text NOT NULL,
  `description` text DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `machine_types`
--

SET autocommit=0;
COMMIT;

-- Dumped table `machine_types` with 0 row(s)
--

--
-- Table structure for table `medical_consultations`
--

CREATE TABLE `medical_consultations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `specialty_id` int(10) unsigned DEFAULT NULL,
  `treatment` text DEFAULT NULL,
  `work_plan` text DEFAULT NULL,
  `evaluation` text DEFAULT NULL,
  `patient_status` text DEFAULT NULL,
  `additional_observations` text DEFAULT NULL,
  `recital_date` date DEFAULT NULL,
  `vas_scale` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mc_patient_id` (`patient_id`),
  KEY `mc_appointment_id` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultations`
--

SET autocommit=0;
COMMIT;

-- Dumped table `medical_consultations` with 0 row(s)
--

--
-- Table structure for table `medical_consultation_diagnoses`
--

CREATE TABLE `medical_consultation_diagnoses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_consultation_id` int(10) unsigned NOT NULL,
  `diagnosis_id` int(10) unsigned NOT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mcd_consultation_id` (`medical_consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultation_diagnoses`
--

SET autocommit=0;
COMMIT;

-- Dumped table `medical_consultation_diagnoses` with 0 row(s)
--

--
-- Table structure for table `medical_consultation_procedures`
--

CREATE TABLE `medical_consultation_procedures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_consultation_id` int(10) unsigned NOT NULL,
  `procedure_id` int(10) unsigned NOT NULL,
  `description` text DEFAULT NULL,
  `days` int(11) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mcp_consultation_id` (`medical_consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultation_procedures`
--

SET autocommit=0;
COMMIT;

-- Dumped table `medical_consultation_procedures` with 0 row(s)
--

--
-- Table structure for table `medical_consultation_vouchers`
--

CREATE TABLE `medical_consultation_vouchers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `medical_consultation_id` int(10) unsigned NOT NULL,
  `prefix` varchar(255) DEFAULT NULL,
  `voucher_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mcv_consultation_id` (`medical_consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_consultation_vouchers`
--

SET autocommit=0;
COMMIT;

-- Dumped table `medical_consultation_vouchers` with 0 row(s)
--

--
-- Table structure for table `medical_laboratories`
--

CREATE TABLE `medical_laboratories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `medical_consultation_id` int(10) unsigned DEFAULT NULL,
  `priority` char(2) DEFAULT NULL,
  `state` char(2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `prefix` text DEFAULT NULL,
  `order` text DEFAULT NULL,
  `schedule_date` date DEFAULT NULL,
  `creation_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_laboratories`
--

SET autocommit=0;
COMMIT;

-- Dumped table `medical_laboratories` with 0 row(s)
--

--
-- Table structure for table `medical_laboratory_items`
--

CREATE TABLE `medical_laboratory_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT NULL,
  `medical_laboratory_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `medical_laboratory_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `medical_laboratory_items` with 0 row(s)
--

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1020 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

SET autocommit=0;
INSERT INTO `migrations` VALUES (1,'2018_00_00_000000_tenant_catalogs_table',1),(2,'2018_01_00_000000_tenant_system_table',1),(3,'2018_01_01_000000_tenant_users_table',1),(4,'2018_01_01_000001_tenant_password_resets_table',1),(5,'2018_01_01_000004_tenant_modules_table',1),(6,'2018_01_01_000006_tenant_module_user_table',1),(7,'2018_01_01_000013_tenant_location_table',1),(8,'2018_05_16_000800_tenant_companies_table',1),(9,'2018_05_16_000810_tenant_establishments_table',1),(10,'2018_05_16_000900_tenant_configurations_table',1),(11,'2018_05_17_000002_tenant_series_table',1),(12,'2018_05_17_000101_tenant_persons_table',1),(13,'2018_06_17_000001_tenant_items_table',1),(14,'2018_06_17_000002_tenant_documents_table',1),(15,'2018_06_17_000005_tenant_document_items_table',1),(16,'2018_06_19_000020_tenant_invoices_table',1),(17,'2018_06_19_000021_tenant_notes_table',1),(18,'2018_06_21_000002_tenant_summaries_table',1),(19,'2018_06_21_000003_tenant_summary_documents_table',1),(20,'2018_06_21_000004_tenant_voided_table',1),(21,'2018_06_21_000005_tenant_voided_documents_table',1),(22,'2018_06_22_000022_tenant_retentions_table',1),(23,'2018_06_22_000023_tenant_retention_documents_table',1),(24,'2018_06_22_000024_tenant_perceptions_table',1),(25,'2018_06_22_000026_tenant_perception_details_table',1),(26,'2018_07_22_000024_tenant_dispatches_table',1),(27,'2018_07_22_000030_tenant_dispatch_items_table',1),(28,'2019_02_12_000002_tenant_purchases_table',1),(29,'2019_02_12_000005_tenant_purchase_items_table',1),(30,'2019_02_12_000007_tenant_kardex_table',1),(31,'2019_02_13_150334_tenant_add_cront_to_configurations',1),(32,'2019_02_13_175903_tenant_change_type_column_quantity_to_document_items',1),(33,'2019_02_13_190940_tenant_add_information_to_documents',1),(34,'2019_02_14_100645_tenant_add_establishment_id_to_users',1),(35,'2019_02_19_150123_tenant_change_columns_to_exchange_rates',1),(36,'2019_02_25_074400_tenant_add_data_json_to_documents',1),(37,'2019_02_26_084922_tenant_change_columns_offline_to_documents',1),(38,'2019_02_27_093803_tenant_add_send_online_to_documents',1),(39,'2019_02_27_150015_create_tasks_table',1),(40,'2019_02_28_100503_tenant_add_calculate_quantity_to_items',1),(41,'2019_02_28_154355_tenant_delete_unique_class_to_tasks',1),(42,'2019_02_28_215128_tenant_change_decimal_column_quantity_to_document_items',1),(43,'2019_03_01_100028_tenant_change_decimal_column_stock_to_items',1),(44,'2019_03_01_100550_tenant_change_type_column_quantity_to_purchase_items',1),(45,'2019_03_01_100938_tenant_change_type_column_quantity_to_kardex',1),(46,'2019_03_01_163938_tenant_add_locked_to_users',1),(47,'2019_03_16_095539_tenant_quotations_table',1),(48,'2019_03_16_095620_tenant_quotation_items_table',1),(49,'2019_03_19_155345_tenant_sale_notes_table',1),(50,'2019_03_19_155546_tenant_sale_note_items_table',1),(51,'2019_03_20_152101_tenant_add_sale_note_id_to_kardex',1),(52,'2019_03_22_095723_tenant_change_nullable_colum_type_to_kardex',1),(53,'2019_03_23_114011_tenant_warehouses_table',1),(54,'2019_03_23_134515_add_warehouse_id_to_items',1),(55,'2019_03_23_154011_tenant_item_warehouse_table',1),(56,'2019_03_25_120709_tenant_inventories_table',1),(57,'2019_03_26_120709_tenant_inventory_kardex_table',1),(58,'2019_03_27_104823_tenant_add_record_to_warehouses',1),(59,'2019_03_28_102106_tenant_add_quotation_id_to_documents',1),(60,'2019_03_28_112106_tenant_add_foreign_establishment_id_to_warehouses',1),(61,'2019_03_29_100403_tenant_add_foreign_to_item_warehouse',1),(62,'2019_03_29_100413_tenant_add_foreign_to_inventories',1),(63,'2019_03_29_100433_tenant_add_foreign_to_inventory_kardex',1),(64,'2019_03_29_100503_tenant_add_has_igv_to_items',1),(65,'2019_04_24_151702_tenant_add_stock_to_configurations',1),(66,'2019_04_26_105302_tenant_add_contingency_to_series',1),(67,'2019_04_29_111659_tenant_inventory_configurations_table',1),(68,'2019_04_29_164935_tenant_add_record_to_inventory_configurations',1),(69,'2019_04_30_140509_tenant_add_type_to_users',1),(70,'2019_05_06_174801_tenant_change_column_type_to_users',1),(71,'2019_05_07_160954_tenant_item_unit_types_table',1),(72,'2019_05_10_172128_tenant_add_price_default_to_item_unit_types',1),(73,'2019_05_13_145524_tenant_fix_error_to_inventories',1),(74,'2019_05_14_091046_tenant_description_to_item_unit_types',1),(75,'2019_05_27_185903_tenant_change_type_column_qr_to_documents',1),(76,'2019_05_28_172128_tenant_add_percentage_of_profit_to_items',1),(77,'2019_06_12_000005_tenant_document_payments_table',1),(78,'2019_06_12_000015_tenant_sale_note_payments_table',1),(79,'2019_06_12_172128_tenant_add_total_canceled_to_sale_notes',1),(80,'2019_06_13_100503_tenant_change_unit_price_to_items',1),(81,'2019_06_14_100503_tenant_person_address_table',1),(82,'2019_06_24_122116_tenant_add_changed_to_sale_notes',1),(83,'2019_07_09_141248_tenant_expense_types_table',1),(84,'2019_07_09_141408_tenant_expenses_table',1),(85,'2019_07_09_141508_tenant_expense_items_table',1),(86,'2019_07_09_172826_tenant_add_perception_agent_to_persons',1),(87,'2019_07_10_092347_tenant_add_percentage_perception_to_items',1),(88,'2019_07_10_103811_tenant_add_columns_perceptions_to_purchases',1),(89,'2019_07_10_120610_tenant_add_columns_purchases_to_payment_method_types',1),(90,'2019_07_10_123325_tenant_purchase_payments_table',1),(91,'2019_07_10_140636_tenant_add_date_of_due_to_purchases',1),(92,'2019_07_10_151332_tenant_add_warehouse_id_to_purchase_items',1),(93,'2019_07_12_181618_tenant_add_columns_aditional_to_establishments',1),(94,'2019_07_19_163617_tenant_add_columns_system_to_configurations',1),(95,'2019_07_22_094601_tenant_cash_table',1),(96,'2019_07_22_094658_tenant_cash_documents_table',1),(97,'2019_07_22_094725_tenant_add_image_to_items',1),(98,'2019_07_22_094803_tenant_modify_document_id_to_cash_documents',1),(99,'2019_07_22_102243_tenant_accounts_table',1),(100,'2019_07_22_103459_tenant_add_account_id_to_items',1),(101,'2019_07_23_175808_tenant_modify_decimals_to_item_unit_types',1),(102,'2019_07_24_162847_tenant_add_data_module_for_pos',1),(103,'2019_07_25_144505_tenant_add_ose_to_companies',1),(104,'2019_07_27_181623_tenant_add_name_name2_to_items',1),(105,'2019_07_31_165537_tenant_add_subtotal_account_to_configurations',1),(106,'2019_08_01_002801_tenant_add_status_to_item',1),(107,'2019_08_01_005553_tenant_add_status_to_persons',1),(108,'2019_08_01_011908_tenant_add_description_to_quotations',1),(109,'2019_08_01_095140_tenant_add_status_to_bank_accounts',1),(110,'2019_08_01_101234_tenant_add_active_to_banks',1),(111,'2019_08_01_102419_tenant_add_active_to_card_brands',1),(112,'2019_08_01_105836_tenant_delete_subtotal_account_to_configurations',1),(113,'2019_08_01_110045_tenant_company_accounts_table',1),(114,'2019_08_03_162431_tenant_add_data_modules_for_dashboard',1),(115,'2019_08_05_130830_tenant_add_index_external_id_to_documents',1),(116,'2019_08_12_125016_tenant_up_unit_price_to_items',1),(117,'2019_08_13_082230_tenant_add_column_limit_user_to_configurations',1),(118,'2019_08_16_153648_tenant_add_more_decimal_column_stock_to_items',1),(119,'2019_08_16_161756_tenant_add_total_plastic_bag_taxes_to_documents',1),(120,'2019_08_16_161824_tenant_add_total_plastic_bag_taxes_to_document_items',1),(121,'2019_08_16_161854_tenant_add_amount_plastic_bag_taxes_to_items',1),(122,'2019_08_19_112540_tenant_add_quotation_id_to_sale_notes',1),(123,'2019_08_19_115344_tenant_add_sale_note_id_to_documents',1),(124,'2019_08_19_124610_tenant_add_state_condition_to_persons',1),(125,'2019_08_20_121326_tenant_add_indexes_to_documents',1),(126,'2019_08_20_144511_tenant_add_indexes_to_summaries',1),(127,'2019_08_20_151037_tenant_add_indexes_to_persons',1),(128,'2019_08_21_145954_tenant_modify_name_name2_to_items',1),(129,'2019_08_23_115358_tenant_add_data_accounnting_inventory_to_modules',1),(130,'2019_08_23_160411_tenant_modify_description_to_items',1),(131,'2019_09_03_153427_tenant_change_nullable_column_affected_document_id_to_notes',1),(132,'2019_09_03_153656_tenant_add_data_affected_document_to_notes',1),(133,'2019_09_09_153206_tenant_add_sale_note_id_to_cash_documents',1),(134,'2019_09_09_174848_tenant_modify_columns_to_perceptions',1),(135,'2019_09_09_174916_tenant_modify_columns_to_perception_details',1),(136,'2019_09_10_102854_tenant_modify_series_id_to_perceptions',1),(137,'2019_09_11_131559_tenant_add_apply_store_to_items',1),(138,'2019_09_11_154949_tenant_expense_method_types',1),(139,'2019_09_11_155535_tenant_expense_payments',1),(140,'2019_09_11_174858_tenant_expense_reasons',1),(141,'2019_09_11_174929_tenant_add_expense_reason_id_to_expenses',1),(142,'2019_09_13_112026_tenant_add_column_image_medium_and_image_small_to_items',1),(143,'2019_09_15_233528_tenant_create_table_tag',1),(144,'2019_09_15_233537_tenant_create_table_item_tag',1),(145,'2019_09_16_121938_tenant_add_date_of_due_to_items',1),(146,'2019_09_16_133219_tenant_add_data_ecommerce_to_modules',1),(147,'2019_09_16_160453_tenant_add_timestamps_to_tag',1),(148,'2019_09_16_161726_tenant_add_status_to_tags',1),(149,'2019_09_17_131050_tenant_add_type_client_to_users',1),(150,'2019_09_17_202003_tenant_promotions_table',1),(151,'2019_09_18_152416_tenant_add_percentage_perception_to_persons',1),(152,'2019_09_18_160838_tenant_add_has_perception_to_items',1),(153,'2019_09_30_151349_tenant_add_has_prepayment_to_documents',1),(154,'2019_09_30_160541_tenant_inventory_transactions_table',1),(155,'2019_09_30_160919_tenant_change_columns_to_inventories',1),(156,'2019_10_04_092658_tenant_business_turns_table',1),(157,'2019_10_04_094841_tenant_document_hotels_table',1),(158,'2019_10_09_101229_tenant_add_locked_tenant_to_configurations',1),(159,'2019_10_10_155554_tenant_add_quantity_documents_date_time_start_to_configurations',1),(160,'2019_10_11_095050_tenant_billing_cycles_table',1),(161,'2019_10_11_153948_tenant_add_locked_users_to_configurations',1),(162,'2019_10_14_101501_tenant_add_column_set_to_items',1),(163,'2019_10_14_102317_tenant_item_sets_table',1),(164,'2019_10_14_235308_tenant_orders_table',1),(165,'2019_10_15_122633_tenant_person_types_table',1),(166,'2019_10_15_123201_tenant_add_person_types_to_persons',1),(167,'2019_10_16_001052_tenant_add_identity_and_number_to_users',1),(168,'2019_10_17_100307_tenant_add_data_to_document_types',1),(169,'2019_10_18_150004_tenant_categories_table',1),(170,'2019_10_18_150414_tenant_brands_table',1),(171,'2019_10_18_150604_tenant_brand_category_to_items',1),(172,'2019_10_18_194622_tenant_add_soft_delete_to_purchases',1),(173,'2019_10_20_190039_tenant_add_plan_to_configurations',1),(174,'2019_10_20_195730_tenant_add_cuenta_to_modules',1),(175,'2019_10_20_200958_tenant_account_payments_table',1),(176,'2019_10_22_173407_tenant_add_was_deducted_prepayment_to_documents',1),(177,'2019_10_24_103947_tenant_add_sunat_alternate_server_to_configurations',1),(178,'2019_10_24_183250_tenant_add_document_id_to_orders',1),(179,'2019_10_24_210806_tenant_items_rating_table',1),(180,'2019_10_26_213130_tenant_add_logo_store_to_companies',1),(181,'2019_10_28_202116_tenant_add_reference_number_to_cash',1),(182,'2019_11_05_113236_create_padrones_table',1),(183,'2019_11_05_113320_create_charge_padrones_table',1),(184,'2019_11_06_095251_tenant_add_success_shipping_status_to_documents',1),(185,'2019_11_06_102422_tenant_add_success_sunat_shipping_status_to_documents',1),(186,'2019_11_06_110606_tenant_add_success_query_status_to_documents',1),(187,'2019_11_06_113035_tenant_offline_configurations_table',1),(188,'2019_11_11_102124_tenant_series_configurations_table',1),(189,'2019_11_12_223340_tenant_add_reference_document_id_to_dispatches',1),(190,'2019_11_13_124821_tenant_add_document_type_id_to_series_configurations',1),(191,'2019_11_18_154307_tenant_create_congiguration_ecommerce_table',1),(192,'2019_11_19_113132_tenant_cat_detraction_types_table',1),(193,'2019_11_20_175549_tenant_add_inventory_kardex_id_to_sale_note_items',1),(194,'2019_11_20_221547_tenant_add_address_to_configuration_ecommerce',1),(195,'2019_11_25_213648_tenant_add_social_to_configuration_ecommerce',1),(196,'2019_11_29_093342_tenant_add_detraction_account_to_companies',1),(197,'2019_12_02_105910_tenant_add_purchase_expense_to_cash_documents',1),(198,'2019_12_02_111743_tenant_change_expense_reason_id_to_expenses',1),(199,'2019_12_02_111837_tenant_add_soap_type_id_to_expenses',1),(200,'2019_12_02_152128_tenant_add_date_of_due_to_quotations',1),(201,'2019_12_02_161856_tenant_add_data_to_payment_method_types',1),(202,'2019_12_02_163726_tenant_add_payment_method_type_id_to_quotations',1),(203,'2019_12_05_104120_tenant_fixed_columns_to_cash_documents',1),(204,'2019_12_06_114132_tenant_add_shipping_address_to_quotations',1),(205,'2019_12_06_120917_tenant_add_commission_amount_to_items',1),(206,'2019_12_11_111224_tenant_purchase_quotations_table',1),(207,'2019_12_11_112209_tenant_purchase_quotation_items_table',1),(208,'2019_12_11_122830_tenant_add_reference_quotation_id_to_dispatches',1),(209,'2019_12_11_174726_tenant_purchase_orders_table',1),(210,'2019_12_11_175353_tenant_purchase_order_items_table',1),(211,'2019_12_16_103759_tenant_add_decimal_quantity_to_configurations',1),(212,'2019_12_16_181022_tenant_add_prefix_to_purchase_orders',1),(213,'2019_12_17_101130_tenant_add_purchase_order_id_to_purchases',1),(214,'2019_12_19_102946_tenant_item_lots_table',1),(215,'2019_12_19_105644_tenant_add_lot_code_to_items',1),(216,'2019_12_19_141604_tenant_add_operation_amazonia_to_companies',1),(217,'2019_12_20_123931_tenant_module_levels_table',1),(218,'2019_12_20_123945_tenant_module_level_user_table',1),(219,'2019_12_23_144236_tenant_add_apply_concurrency_to_sale_notes',1),(220,'2019_12_23_171335_tenant_add_columns_periods_to_sale_notes',1),(221,'2019_12_24_114350_tenant_add_columns_lots_to_item_lots',1),(222,'2019_12_24_123601_tenant_add_lot_code_to_purchase_items',1),(223,'2019_12_27_111848_tenant_add_lot_code_to_inventories',1),(224,'2019_12_30_095201_tenant_add_lots_enabled_to_items',1),(225,'2020_01_03_111747_tenant_add_amount_plastic_bag_taxes_to_configurations',1),(226,'2020_01_08_102051_tenant_add_total_canceled_to_documents',1),(227,'2020_01_09_094728_tenant_change_decimal_column_quantity_to_dispatch_items',1),(228,'2020_01_09_102017_tenant_change_type_decimal_column_quantity_to_dispatch_items',1),(229,'2020_01_09_153023_tenant_add_compact_sidebar_to_configurations',1),(230,'2020_01_10_095143_tenant_add_cci_to_bank_accounts',1),(231,'2020_01_10_121518_tenant_add_warehouse_id_to_document_items',1),(232,'2020_01_15_095621_tenant_add_change_decimal_exchange_rate_sale_tables',1),(233,'2020_01_15_100032_tenant_add_data_to_cat_document_types',1),(234,'2020_01_15_144606_tenant_add_series_number_to_sale_notes',1),(235,'2020_01_15_172447_tenant_add_paid_to_sale_notes',1),(236,'2020_01_15_181229_tenant_add_plate_to_sale_notes',1),(237,'2020_01_16_101424_tenant_add_detail_to_inventories',1),(238,'2020_01_16_103741_tenant_change_decimals_unit_price_tables',1),(239,'2020_01_16_121313_tenant_add_state_to_item_lots',1),(240,'2020_01_17_095233_tenant_document_transports_table',1),(241,'2020_01_17_115328_tenant_add_plate_number_to_documents',1),(242,'2020_01_17_175217_tenant_add_state_type_to_expenses',1),(243,'2020_01_21_153921_tenant_inventories_transfer_table',1),(244,'2020_01_21_155245_tenant_add_inventories_transfer_id_to_inventories',1),(245,'2020_01_23_120700_tenant_drop_compact_sidebar_to_configurations',1),(246,'2020_01_23_120830_tenant_re_create_compact_sidebar_to_configurations',1),(247,'2020_01_23_123235_tenant_add_columns_to_document_hotels',1),(248,'2020_01_27_121553_tenant_add_commission_type_to_items',1),(249,'2020_01_27_150915_tenant_change_column_number_to_sale_notes',1),(250,'2020_01_28_135422_tenant_add_tag_to_configuration_ecommerce',1),(251,'2020_01_31_122444_tenant_add_config_system_to_configurations',1),(252,'2020_02_05_124542_tenant_add_guests_to_document_hotels',1),(253,'2020_02_07_164026_tenant_create_person_addresses',1),(254,'2020_02_10_111943_tenant_add_affectation_type_prepayment_to_documents',1),(255,'2020_02_11_210535_tenant_add_active_to_items',1),(256,'2020_02_12_203736_tenant_add_contact_to_users',1),(257,'2020_02_17_115050_tenant_add_delivery_date_to_quotations',1),(258,'2020_02_17_141658_tenant_create_format_templates_table',1),(259,'2020_02_17_194731_tenant_add_formats_to_configurations',1),(260,'2020_02_17_202910_tenant_item_images_table',1),(261,'2020_02_19_102018_tenant_order_notes_table',1),(262,'2020_02_19_121619_tenant_order_note_items_table',1),(263,'2020_02_19_150814_tenant_add_order_note_id_to_documents',1),(264,'2020_02_19_150828_tenant_add_order_note_id_to_sale_notes',1),(265,'2020_02_19_160926_tenant_add_reference_order_note_id_to_dispatches',1),(266,'2020_02_20_224501_tenant_add_colums_grid_items_to_configurations',1),(267,'2020_02_21_172411_tenant_add_soap_shipping_response_to_documents',1),(268,'2020_02_24_213558_tenant_date_of_due_column_to_purchase_items',1),(269,'2020_02_25_103837_tenant_add_options_pos_to_configurations',1),(270,'2020_02_25_154338_tenant_add_change_to_document_payments',1),(271,'2020_02_26_201604_tenant_item_lots_group_table',1),(272,'2020_02_26_203030_tenant_add_series_enabled_to_items',1),(273,'2020_02_27_113111_tenant_add_change_to_sale_note_payments',1),(274,'2020_03_03_172821_tenant_add_additional_information_to_document_items',1),(275,'2020_03_06_101730_tenant_global_payments_table',1),(276,'2020_03_10_165850_tenant_add_data_module_for_finance',1),(277,'2020_03_11_151338_tenant_add_edit_name_product_purchase',1),(278,'2020_03_13_110238_add_column_name_product_pdf',1),(279,'2020_03_13_134951_add_column_name_product_pdf_update',1),(280,'2020_03_13_134955_add_column_name_product_pdf_change',1),(281,'2020_03_16_152939_tenant_add_indexes_to_payments_tables_for_finances',1),(282,'2020_03_16_162652_tenant_add_enabled_to_persons',1),(283,'2020_03_20_030559_add_columna_restrict_receipt_date',1),(284,'2020_03_20_174637_tenant_add_affectation_igv_type_id_to_configurations',1),(285,'2020_03_25_173128_tenant_sale_opportunities_table',1),(286,'2020_03_25_173442_tenant_sale_opportunity_items_table',1),(287,'2020_03_26_121642_tenant_add_sale_opportunity_id_to_quotations',1),(288,'2020_03_26_170415_tenant_sale_opportunity_files_table',1),(289,'2020_03_27_111133_tenant_quotation_payments_table',1),(290,'2020_03_27_123343_tenant_add_changed_to_quotations',1),(291,'2020_03_27_141008_tenant_add_column_visual_to_configurations',1),(292,'2020_03_27_143825_tenant_add_account_number_to_quotations',1),(293,'2020_03_27_150024_tenant_add_terms_condition_to_quotations',1),(294,'2020_03_30_112859_tenant_payment_files_table',1),(295,'2020_03_31_111522_tenant_add_customer_id_to_purchases',1),(296,'2020_03_31_122445_tenant_fixed_asset_items_table',1),(297,'2020_03_31_141008_tenant_add_column_show_ws_to_configurations',1),(298,'2020_03_31_151057_tenant_fixed_asset_purchases_table',1),(299,'2020_03_31_151323_tenant_fixed_asset_purchase_items_table',1),(300,'2020_04_01_150413_tenant_add_terms_condition_to_configurations',1),(301,'2020_04_02_124023_tenant_add_sale_opportunity_id_to_purchase_orders',1),(302,'2020_04_02_151534_tenant_add_total_canceled_to_purchases',1),(303,'2020_04_02_154134_tenant_contracts_table',1),(304,'2020_04_02_154147_tenant_contract_items_table',1),(305,'2020_04_02_154244_tenant_contract_payments_table',1),(306,'2020_04_03_111019_tenant_income_types_table',1),(307,'2020_04_03_111139_tenant_income_reasons_table',1),(308,'2020_04_03_111209_tenant_income_table',1),(309,'2020_04_03_111703_tenant_income_items_table',1),(310,'2020_04_03_124629_tenant_income_payments_table',1),(311,'2020_04_03_143703_tenant_insert_internal_to_soap_types',1),(312,'2020_05_06_205001_create_status_orders_table',1),(313,'2020_05_06_210451_tenant_add_status_orders_to_orders',1),(314,'2020_05_07_123152_tenant_technical_services_table',1),(315,'2020_05_07_164323_tenant_user_commissions_table',1),(316,'2020_05_12_131218_add_product_to_configurations',1),(317,'2020_05_12_204311_tenant_add_cotizaction_finance_configurations',1),(318,'2020_05_19_162014_tenant_add_contact_to_persons',1),(319,'2020_05_25_140825_tenant_add_column_plate_number_to_sales_note',1),(320,'2020_05_30_132013_tenant_add_certificate_due_to_companies',1),(321,'2020_06_05_111820_tenant_add_line_to_items',1),(322,'2020_06_10_102549_tenant_add_columns_technical_specifications_items',1),(323,'2020_06_11_093739_tenant_add_columns_header_image_legend_footer_to_configurations',1),(324,'2020_06_11_152155_tenant_add_purchase_orders',1),(325,'2020_06_23_122822_tenant_drivers_table',1),(326,'2020_06_23_122938_tenant_dispatchers_table',1),(327,'2020_06_23_123012_tenant_order_forms_table',1),(328,'2020_06_23_123126_tenant_order_form_items_table',1),(329,'2020_06_24_173951_tenant_add_reference_order_form_id_to_dispatches',1),(330,'2020_07_03_124017_tenant_add_purchase_has_igv_to_items',1),(331,'2020_07_08_163451_tenant_change_column_name_product_pdf_to_document_items',1),(332,'2020_07_21_213555_tenant_add_columns_to_technical_services',1),(333,'2020_07_23_153920_tenant_add_user_id_to_global_payments',1),(334,'2020_07_23_215548_tenant_add_img_firm_to_companies',1),(335,'2020_07_23_221614_tenant_add_qr_to_order_forms',1),(336,'2020_07_27_184250_add_apiruc_to_configurations',1),(337,'2020_07_30_101311_tenant_add_soap_shipping_response_to_summaries',1),(338,'2020_07_30_105514_tenant_add_soap_shipping_response_to_voided',1),(339,'2020_08_03_123426_tenant_add_secondary_license_plates_to_dispatches',1),(340,'2020_08_04_104159_tenant_add_initial_balance_to_bank_accounts',1),(341,'2020_08_04_123149_tenant_add_pending_amount_prepayment_to_documents',1),(342,'2020_08_05_104849_tenant_add_payment_method_type_id_to_documents',1),(343,'2020_08_05_125307_tenant_add_filename_to_purchases',1),(344,'2020_08_06_101100_tenant_change_columns_delivery_date_date_of_due_to_quotations',1),(345,'2020_08_06_120140_tenant_add_data_to_module_levels',1),(346,'2020_08_20_151205_tenant_change_column_terms_condition_to_quotations',1),(347,'2020_08_20_151856_tenant_change_column_terms_condition_to_configurations',1),(348,'2020_08_20_172938_tenant_change_decimal_column_quantity_to_item_lots_group',1),(349,'2020_08_26_142025_tenant_add_indexes_to_items',1),(350,'2020_08_27_101335_tenant_add_indexes_to_item_lots',1),(351,'2020_08_28_100623_tenant_change_type_column_terms_condition_to_contracts',1),(352,'2020_09_01_160245_tenant_add_warehouse_id_to_sale_note_items',1),(353,'2020_09_02_103127_tenant_add_warehouse_id_to_order_note_items',1),(354,'2020_09_02_124906_tenant_add_customer_id_to_establishments',1),(355,'2020_09_04_094513_tenant_add_quantity_to_item_sets',1),(356,'2020_09_04_165849_tenant_active_data_to_cat_operation_types',1),(357,'2020_09_07_110546_tenant_add_data_module_for_establishments_users',1),(358,'2020_09_08_141513_tenant_add_regularize_shipping_to_documents',1),(359,'2020_09_08_142658_tenant_add_response_regularize_shipping_to_documents',1),(360,'2020_09_09_144419_tenant_modify_text_description_to_expense_method_types',1),(361,'2020_09_09_151848_tenant_change_column_number_to_expenses',1),(362,'2020_09_09_160249_tenant_contract_state_types_table',1),(363,'2020_09_09_161329_tenant_change_state_type_id_to_contracts',1),(364,'2020_09_11_105705_tenant_cash_transactions_table',1),(365,'2020_09_14_123539_tenant_technical_service_payments_table',1),(366,'2020_09_25_113553_tenant_add_data_rh_to_cat_document_types',1),(367,'2020_09_29_110506_tenant_change_description_to_items',1),(368,'2020_10_09_153402_tenant_add_default_document_type_03_to_configurations',1),(369,'2020_10_13_095308_tenant_add_data_public_services_to_cat_document_types',1),(370,'2020_10_13_111740_tenant_web_platforms_table',1),(371,'2020_10_13_112548_tenant_add_destination_default_to_configurations',1),(372,'2020_10_13_120454_tenant_add_web_platform_id_to_items',1),(373,'2020_10_15_120313_tenant_active_transport_1004_to_cat_operation_types',1),(374,'2020_10_15_173515_tenant_add_contact_phone_to_quotations',1),(375,'2020_10_16_101845_teanant_add_data_to_module_levels',1),(376,'2020_10_16_143042_tenant_add_columns_aditional_to_modules',1),(377,'2020_10_26_151606_tenant_change_columns_nullable_to_dispatches',1),(378,'2020_11_05_103808_tenant_add_seller_to_documents',1),(379,'2020_11_05_120923_tenant_add_payment_method_type_id_to_sale_notes',1),(380,'2020_11_06_104926_tenant_add_soap_shipping_response_to_retentions',1),(381,'2020_11_10_101728_tenant_change_column_name_to_items',1),(382,'2020_11_12_143726_tenant_add_observation_to_sale_notes',1),(383,'2020_11_12_164451_tenant_add_reference_sale_note_id_to_dispatches',1),(384,'2020_11_18_123948_tenant_add_soap_shipping_response_to_dispatches',1),(385,'2020_11_19_115728_tenant_devolution_reasons_table',1),(386,'2020_11_19_115848_tenant_devolutions_table',1),(387,'2020_11_19_115944_tenant_devolution_items_table',1),(388,'2020_11_25_115944_tenant_create_preprinted_format_templates_table',1),(389,'2020_12_01_172908_tenant_add_reference_data_to_documents_sale_notes',1),(390,'2020_12_03_141335_tenant_change_text_description_to_cat_document_types',1),(391,'2020_12_31_103348_tenant_add_has_plastic_bag_taxes_to_items',1),(392,'2021_01_05_145928_add_model_column_to_items_table',1),(393,'2021_01_08_095018_add_barcode_column_to_items_table',1),(394,'2021_01_08_103402_update_barcode_column_to_items_table',1),(395,'2021_01_18_143008_change_lenght_to_items_table',1),(396,'2021_01_19_111533_add_internal_code_column_to_persons_table',1),(397,'2021_01_21_181843_add_terms_condition_sale_to_configurations_table',1),(398,'2021_01_21_183856_add_terms_condition_column_to_documents_table',1),(399,'2021_01_26_102448_create_hotel_rates_table',1),(400,'2021_01_26_152649_create_hotel_categories_table',1),(401,'2021_01_26_161851_create_hotel_floors_table',1),(402,'2021_01_26_171515_create_hotel_rooms_table',1),(403,'2021_01_27_155235_create_hotel_room_rates_table',1),(404,'2021_01_28_205134_create_hotel_rents_table',1),(405,'2021_01_31_163211_create_hotel_rent_items_table',1),(406,'2021_02_01_102051_add_columns_to_hotel_rents_table',1),(407,'2021_02_01_112617_add_column_item_id_to_hotel_rooms_table',1),(408,'2021_02_02_180153_add_arrears_column_to_hotel_rents_table',1),(409,'2021_02_04_215327_add_show_in_document_column_to_bank_accounts_table',1),(410,'2021_02_08_111945_add_document_id_column_to_dispatches_table',1),(411,'2021_02_10_153546_add_login_column_to_configurations_table',1),(412,'2021_02_11_113008_change_destination_to_global_payments_table',1),(413,'2021_02_15_101110_add_favicon_column_to_companies_table',1),(414,'2021_02_15_175921_add_navbar_column_to_configurations_table',1),(415,'2021_02_19_165318_add_finances_column_to_configurations_table',1),(416,'2021_02_25_165224_create_documentary_offices_table',1),(417,'2021_02_25_180958_create_documentary_processes_table',1),(418,'2021_02_25_183124_create_documentary_documents_table',1),(419,'2021_02_26_102851_create_documentary_actions_table',1),(420,'2021_02_26_102900_create_documentary_files_table',1),(421,'2021_03_01_120554_add_user_id_column_to_documentary_files_table',1),(422,'2021_03_01_120931_create_documentary_file_offices_table',1),(423,'2021_03_10_163436_add_extra_modules_to_modules_table',1),(424,'2021_03_11_111743_add_logo_column_to_establishments_table',1),(425,'2021_03_19_204148_add_items_to_modules_table',1),(426,'2021_03_19_221614_add_referential_information_to_quotations_table',1),(427,'2021_03_20_112202_change_order_items_to_modules_table',1),(428,'2021_03_20_115648_add_seller_id_column_to_quotations_table',1),(429,'2021_03_20_132104_add_seller_id_column_to_contracts_table',1),(430,'2021_03_21_165318_add_quotation_allow_seller_generate_sale_column_to_configurations_table',1),(431,'2021_03_24_111209_tenant_payment_conditions_table',1),(432,'2021_03_24_111211_tenant_add_payment_condition_to_documents',1),(433,'2021_03_24_141211_tenant_document_fee_table',1),(434,'2021_03_25_162827_add_purchase_order_column_to_sale_notes_table',1),(435,'2021_03_25_215438_add_codes_column_to_items_table',1),(436,'2021_03_25_215438_add_column_digemid_code_to_companies_table',1),(437,'2021_03_25_215438_change_column_second_name_on_items_table',1),(438,'2021_03_31_212318_add_document_id_column_to_sale_notes_table',1),(439,'2021_04_01_113520_add_levels_to_module_levels_table',1),(440,'2021_04_05_115318_add_allow_edit_unit_price_to_seller_column_to_configurations_table',1),(441,'2021_04_08_000106_create_points_table',1),(442,'2021_04_08_004409_create_configuration_points_table',1),(443,'2021_04_08_005315_add_foreign_to_points_table',1),(444,'2021_04_08_175347_change_electronico_at_cat_document_type',1),(445,'2021_04_11_113741_add_column_points_to_items_table',1),(446,'2021_04_17_163456_add_technical_service_id_to_cash_documents_table',1),(447,'2021_04_19_141528_add_column_points_to_sale_notes_table',1),(448,'2021_04_19_144103_add_column_points_to_documents_table',1),(449,'2021_04_22_170915_add_template_pdf_to_establishments_table',1),(450,'2021_04_23_143433_add_edit_flag_to_documents_table',1),(451,'2021_04_27_105557_add_payment_type_to_payment_method',1),(452,'2021_04_29_122333_add_visual_ticket_58_to_configurations_table',1),(453,'2021_05_03_131833_add_mail_configuration',1),(454,'2021_05_06_152551_add_due_date_to_sales_note',1),(455,'2021_05_07_154207_add_soft_delete_to_document',1),(456,'2021_05_07_154207_remove_soft_delete_to_document',1),(457,'2021_05_12_163406_add_seller_can_create_porduct_to_configuration',1),(458,'2021_05_13_120615_add_seller_can_view_balance_on_finance_to_configuration',1),(459,'2021_05_27_124620_add_generate_option_to_sale_opportunities',1),(460,'2021_06_03_122337_add_method_type_to_documents_fee',1),(461,'2021_06_03_165209_add_serie_and_document_to_user',1),(462,'2021_06_07_140759_change_format_number_to_expenses_table',1),(463,'2021_06_09_124243_add_update_documents_by_dispaches_to_configurations',1),(464,'2021_06_10_092525_add_pharmacy_to_items',1),(465,'2021_06_15_094333_add_name_product_pdf_to_order_note_items',1),(466,'2021_06_16_154233_add_send_auto_sunat_to_dispatches',1),(467,'2021_06_18_141048_add_modules_digemid',1),(468,'2021_06_22_112855_add_fields_to_client',1),(469,'2021_06_23_130016_create_digemid_catalog',1),(470,'2021_06_28_125907_add_fields_to_documentary_office',1),(471,'2021_06_29_173743_tenant_add_allowance_charge_to_configurations',1),(472,'2021_06_29_184419_remove_key_from_documentary',1),(473,'2021_06_30_174147_create_adjust_to_docymentary_offices',1),(474,'2021_06_30_175311_tenant_add_purchase_to_cash_documents',1),(475,'2021_07_01_171620_adjust_to_docymentary_procedure',1),(476,'2021_07_02_133558_add_office_to_process',1),(477,'2021_07_05_091229_change_data_to',1),(478,'2021_07_05_094927_create_documentary_guides_number',1),(479,'2021_07_05_125811_add_field_to_documentary_file',1),(480,'2021_07_05_141048_add_modules_docymentary_requirements',1),(481,'2021_07_05_213052_change_observation_from_file_offices',1),(482,'2021_07_05_220241_add_requirements_to_documentary_file',1),(483,'2021_07_06_114113_tenant_add_discount_stock_to_cat_transfer_reason_types',1),(484,'2021_07_06_173358_tenant_add_dispatch_id_to_documents',1),(485,'2021_07_06_174510_add_name_pdf_to_sale_note_item',1),(486,'2021_07_14_103324_add_data_affected_document',1),(487,'2021_07_16_204722_add_phone_to_configuration_ecommerce',1),(488,'2021_07_19_132554_add_days_to_client',1),(489,'2021_07_26_102802_add_banned_column_to_points_table',1),(490,'2021_07_30_113708_create_expiration_date_settings_table',1),(491,'2021_08_03_115743_add_field_to_send_sale_note_to_other_site',1),(492,'2021_08_05_143043_add_quotation_to_order_note',1),(493,'2021_08_05_144042_tenant_add_search_item_by_series_to_configurations',1),(494,'2021_08_06_094151_tenant_add_change_free_affectation_igv_to_configurations',1),(495,'2021_08_09_115837_add_currency_to_configuration',1),(496,'2021_08_09_131738_tenant_add_select_available_price_list_to_configurations',1),(497,'2021_08_16_111909_create_colors_for_items',1),(498,'2021_08_17_091109_add_more_propertys_to_item',1),(499,'2021_08_20_153033_add_extra_data_of_product_to_configuration',1),(500,'2021_08_20_161555_add_extra_data_item_menu',1),(501,'2021_08_23_105050_tenant_add_group_items_generate_document_to_configurations',1),(502,'2021_08_23_172828_adjust_inventory_item_extra_data',1),(503,'2021_08_24_153219_tenant_add_columns_unknown_error_to_summaries',1),(504,'2021_08_25_155900_tenant_add_columns_integrated_query_to_companies',1),(505,'2021_09_08_165136_add_optional_emails_to_person',1),(506,'2021_09_10_120216_create_email_send_log',1),(507,'2021_09_10_143648_tenant_add_subtotal_to_documents',1),(508,'2021_09_13_171757_tenat_add_total_igv_free_to_documents',1),(509,'2021_09_15_115746_add_global_igv_to_purchase',1),(510,'2021_09_15_170619_tenant_change_length_description_to_quotations',1),(511,'2021_09_16_144202_add_app_to_modules',1),(512,'2021_09_17_120309_add_url_apk_to_configurations',1),(513,'2021_09_17_150025_transfer_accounts_payment',1),(514,'2021_09_20_183304_add_new_enter_template_to_format_templates',1),(515,'2021_09_21_172056_add_file_to_format_templates',1),(516,'2021_09_22_120834_add_fields_technical_services',1),(517,'2021_09_22_120835_create_technical_service_items',1),(518,'2021_09_24_114832_add_configuration_to_show_name_of_pdf',1),(519,'2021_09_28_183535_add_name_pdf_to_quotation_items',1),(520,'2021_09_29_123827_add_text_to_address_in_configuration',1),(521,'2021_09_29_180607_tenant_add_set_address_by_establishment_to_configurations',1),(522,'2021_09_30_135325_tenant_add_order_id_to_sale_notes',1),(523,'2021_09_30_170149_tenant_add_permission_to_edit_cpe_to_configurations',1),(524,'2021_09_30_171912_tenant_add_permission_edit_cpe_to_users',1),(525,'2021_10_04_154837_tenant_change_nullable_packages_number_to_dispatches',1),(526,'2021_10_05_171912_add_configuration_module_to_user',1),(527,'2021_10_05_174410_tenant_add_total_igv_free_to_quotations',1),(528,'2021_10_06_132920_tenant_add_total_igv_free_to_order_notes',1),(529,'2021_10_07_144354_create_guide_file',1),(530,'2021_10_11_110825_create_item_movement_table',1),(531,'2021_10_12_111345_create_item_movement_rel_extra_table',1),(532,'2021_10_13_113504_add_only_user_warehouse_item_to_config',1),(533,'2021_10_18_110547_tenant_add_technical_service_id_to_documents',1),(534,'2021_10_18_110700_change_default_show_items_only_user_stablishment',1),(535,'2021_10_18_110700_change_value_show_items_only_user_stablishment',1),(536,'2021_10_18_110907_tenant_add_technical_service_id_to_sale_notes',1),(537,'2021_10_18_150100_tenant_add_document_type_04_to_cat_document_types',1),(538,'2021_10_18_150136_tenant_add_data_operation_type_0501_to_cat_operation_types',1),(539,'2021_10_18_150154_tenant_cat_address_types_table',1),(540,'2021_10_18_150215_tenant_add_address_type_id_to_persons',1),(541,'2021_10_18_150306_tenant_purchase_settlements_table',1),(542,'2021_10_18_150324_tenant_purchase_settlement_items_table',1),(543,'2021_10_18_153949_tenant_add_data_purchase_settlements_to_module_levels',1),(544,'2021_10_18_174146_tenant_add_subtotal_to_purchase_settlements',1),(545,'2021_10_19_150956_tenant_add_pending_amount_detraction_to_documents',1),(546,'2021_10_20_160503_tenant_add_retention_to_documents',1),(547,'2021_10_20_161035_tenant_add_data_retention_to_cat_charge_discount_types',1),(548,'2021_10_20_174401_tenant_rename_pending_amount_detraction_to_documents',1),(549,'2021_10_21_093921_tenant_add_igv_retention_percentage_to_configurations',1),(550,'2021_10_22_130040_create_app_suscription',1),(551,'2021_10_25_112316_tenant_add_subtotal_to_quotations',1),(552,'2021_10_25_142908_create_suscription_plans_table',1),(553,'2021_10_25_154009_tenant_add_option_13_to_cat_note_credit_types',1),(554,'2021_10_27_105710_tenant_add_subtotal_to_sale_notes',1),(555,'2021_10_27_133333_add_parent_id_field_to_persons',1),(556,'2021_10_28_110438_alter_sale_notes_and_documents',1),(557,'2021_10_28_173041_tenant_add_name_product_xml_to_document_items',1),(558,'2021_10_29_110421_tenant_add_name_product_pdf_to_xml_to_configurations',1),(559,'2021_10_29_114826_change_value_alternate_server_to_configurations',1),(560,'2021_11_09_113608_tenant_add_default_document_type_80_to_configurations',1),(561,'2021_11_09_143629_tenant_add_search_item_by_barcode_to_configurations',1),(562,'2021_11_09_173326_add_grade_and_section_touser_rel_suscription_plan',1),(563,'2021_11_11_113443_tenant_general_payment_conditions_table',1),(564,'2021_11_11_114229_tenant_add_payment_condition_id_to_purchases',1),(565,'2021_11_11_152521_tenant_purchase_fee_table',1),(566,'2021_11_11_180653_tenant_add_recreate_documents_to_users',1),(567,'2021_11_12_102347_add_grade_and_section_tables',1),(568,'2021_11_15_152956_additem_description_default_pdf_name_configuration',1),(569,'2021_11_16_150657_add_user_id_to_inventories_transfer',1),(570,'2021_11_25_105300_create_accounting_ledger_table',1),(571,'2021_11_25_154025_add_auto_print_to_configurations',1),(572,'2021_12_01_113756_add_show_services_on_pos',1),(573,'2021_12_02_141408_tenant_bank_loans_table',1),(574,'2021_12_03_130138_add_column_generic_to_items_table',1),(575,'2021_12_05_124642_add_column_location_to_items_table',1),(576,'2021_12_08_211200_add_pos_history_and_cost_to_configuration',1),(577,'2021_12_09_180033_change_column_localtion_to_items_table',1),(578,'2021_12_09_180332_create_table_locations_table',1),(579,'2021_12_09_182924_add_flag_to_production_for_item',1),(580,'2021_12_10_122529_add_zone_id_to_person',1),(581,'2021_12_10_130040_create_app_production',1),(582,'2021_12_10_172959_add_name_to_mill',1),(583,'2021_12_11_101624_add_data_to_inventory_transactions',1),(584,'2021_12_11_114856_add_item_to_mill_item',1),(585,'2021_12_11_170251_create_item_supplies',1),(586,'2021_12_15_112106_create_columns_to_show_by_user',1),(587,'2021_12_16_144057_add_show_totals_on_c_p_e_list',1),(588,'2021_12_21_134408_add_simplify_to_documentary',1),(589,'2021_12_22_150753_add_guide_to_documentary_archive',1),(590,'2021_12_25_163345_add_colors_to_documentary',1),(591,'2021_12_31_105910_change_documentary_process_characters',1),(592,'2022_01_05_170742_create_machine_for_production',1),(593,'2022_01_07_124919_add_complete_to_documentary_files',1),(594,'2022_01_11_140319_tenant_add_columns_send_pse_to_documents',1),(595,'2022_01_11_174033_tenant_add_columns_send_pse_to_companies',1),(596,'2022_01_12_180810_tenant_add_detraction_amount_rounded_int_to_configurations',1),(597,'2022_01_13_141051_tenant_add_sale_notes_relateds_to_documents',1),(598,'2022_01_15_130321_add_old_quantity_to_item_lot_group',1),(599,'2022_01_18_094821_tenant_add_data_to_inventory_transactions',1),(600,'2022_01_18_120000_add_show_term_condition_pos_to_configurations',1),(601,'2022_01_18_213317_tenant_create_cash_documents_credit',1),(602,'2022_01_20_202655_tenant_add_unique_filename_to_documents',1),(603,'2022_01_22_001715_add_date_end_to_documentary_files',1),(604,'2022_01_25_150315_add_apply_restaurant_to_items',1),(605,'2022_01_25_152940_create_app_restaurant',1),(606,'2022_01_26_175429_create_mi_tienda_pe',1),(607,'2022_01_28_110155_tenant_add_related_to_dispatches',1),(608,'2022_01_29_141957_add_purchase_order_and_observation_to_purchase',1),(609,'2022_01_29_191503_create_packaging_table',1),(610,'2022_01_30_120653_create_configuration_to_mi_tienda_pe',1),(611,'2022_02_02_203403_add_autogenerate_c_p_e_to_mi_tienda_pe',1),(612,'2022_02_07_110836_add_ticket_template_pdf_to_establishments_table',1),(613,'2022_02_07_121152_add_is_custom_ticket_to_format_templates',1),(614,'2022_02_07_142617_add_format_tickets_to_configurations',1),(615,'2022_02_07_161128_tenant_add_data_to_promotions_table',1),(616,'2022_02_08_213251_tenant_add_restaurant_to_orders',1),(617,'2022_02_11_162919_tenant_add_last_sale_price_to_configurations',1),(618,'2022_02_14_222010_tenant_add_flasg_to_inventory_configurations',1),(619,'2022_02_14_224820_tenant_add_barcode_to_item_unit_types',1),(620,'2022_02_16_150615_tenant_add_show_logo_establishment_to_configuration',1),(621,'2022_02_17_195824_add_colaborator_to_production_as_text',1),(622,'2022_02_22_111659_tenant_add_columns_send_pse_to_voided',1),(623,'2022_02_24_134926_tenant_add_columns_purchase_isc_to_items',1),(624,'2022_02_24_201345_tenant_download_tray_table',1),(625,'2022_02_25_172811_add_print_next_line_to_pdf_on_observation',1),(626,'2022_02_27_120405_tenant_add_comments_to_inventories',1),(627,'2022_03_03_110115_tenant_add_global_discount_type_id_to_configurations',1),(628,'2022_03_04_003932_tenant_add_quotation_to_cash_documents',1),(629,'2022_03_08_112351_tenant_add_columns_send_pse_to_dispatches',1),(630,'2022_03_09_111107_tenant_add_restaurant_to_cash',1),(631,'2022_03_10_003439_add_column_url_and_name_printer_to_establishments_table',1),(632,'2022_03_10_094902_tenant_add_shipping_time_days_to_configurations',1),(633,'2022_03_11_120508_add_trace_to_api_peru_service',1),(634,'2022_03_14_221802_tenant_add_type_to_download_tray',1),(635,'2022_03_18_140238_tenant_add_total_igv_free_to_sale_notes',1),(636,'2022_03_21_110605_create_restaurant_configuration',1),(637,'2022_03_21_161851_add_configuration_new_valdiator_pagination',1),(638,'2022_03_25_134555_tenant_add_customer_filter_by_seller_to_configurations',1),(639,'2022_03_25_143916_tenant_add_index_seller_id_to_persons',1),(640,'2022_03_25_170158_tenant_add_validate_purchase_sale_unit_price_to_configurations',1),(641,'2022_03_28_174245_add_barcode_column_to_persons_table',1),(642,'2022_03_29_101534_add_quantity_to_restaurant_configuration',1),(643,'2022_03_30_145732_tenant_add_nationality_to_persons',1),(644,'2022_03_31_132849_create_app_pos_garage',1),(645,'2022_04_04_151234_add_commands_to_restaurant_configurations',1),(646,'2022_04_06_111531_create_restaurant_roles_table',1),(647,'2022_04_06_112454_add_restaurant_role_to_users',1),(648,'2022_04_06_170626_tenant_add_unique_filename_to_sale_notes',1),(649,'2022_04_08_001444_create_pharmacy_configurations_table',1),(650,'2022_04_11_143145_tenant_add_name_product_pdf_to_contract_items',1),(651,'2022_04_11_152502_tenant_add_name_product_pdf_to_dispatch_items',1),(652,'2022_04_12_111023_tenant_add_columns_igv_unit_price_purchases_to_configurations',1),(653,'2022_04_12_121903_addindex_to_item_movement_rel_extra',1),(654,'2022_04_12_162742_tenant_report_configurations_table',1),(655,'2022_04_18_153331_tenant_add_payment_permissions_to_users',1),(656,'2022_04_19_114422_tenant_add_set_global_purchase_currency_items_to_configurations',1),(657,'2022_04_20_115118_tenant_add_subject_to_detraction_to_items',1),(658,'2022_04_20_205612_add_column_cash_and_transfers_to_cash_table',1),(659,'2022_04_22_101547_tenant_change_type_observation_to_sale_notes',1),(660,'2022_04_22_133909_tenant_add_set_unit_price_dispatch_related_record_to_configurations',1),(661,'2022_04_25_151827_tenant_add_index_barcode_to_item_unit_types',1),(662,'2022_04_26_175613_tenant_add_columns_restrict_voided_to_configurations',1),(663,'2022_04_28_175537_tenant_add_order_form_external_to_dispatches',1),(664,'2022_04_29_140515_tenant_add_enabled_tips_pos_to_configurations',1),(665,'2022_04_29_144947_tenant_tips_table',1),(666,'2022_05_02_135252_tenant_add_fields_to_module_levels',1),(667,'2022_05_02_152925_tenant_add_top_menu_to_configurations',1),(668,'2022_05_02_170654_tenant_add_data_district_250307_to_districts',1),(669,'2022_05_03_143911_tenant_create_skins_table',1),(670,'2022_05_03_171845_tenant_add_purchase_settlement_id_to_kardex',1),(671,'2022_05_04_143113_tenant_add_payment_method_type_id_to_purchase_settlements',1),(672,'2022_05_04_150922_tenant_change_type_column_quantity_to_item_supplies',1),(673,'2022_05_04_155103_tenant_workers_table',1),(674,'2022_05_04_174017_tenant_add_unique_filename_to_summaries',1),(675,'2022_05_05_110908_tenant_add_soap_type_id_to_production',1),(676,'2022_05_05_115054_tenant_add_soap_type_id_to_mill',1),(677,'2022_05_05_134703_tenant_add_soap_type_id_to_packaging',1),(678,'2022_05_06_162034_add_fields_to_person',1),(679,'2022_05_08_122934_tenant_add_route_path_to_module_levels',1),(680,'2022_05_08_130040_create_app_full_suscription',1),(681,'2022_05_08_130054_tenant_update_data_to_skins',1),(682,'2022_05_09_105130_tenant_payment_configurations_table',1),(683,'2022_05_09_122150_tenant_add_defaults_to_configurations',1),(684,'2022_05_09_141114_tenant_payment_link_types_table',1),(685,'2022_05_09_143633_tenant_payment_links_table',1),(686,'2022_05_09_212753_tenant_register_app_generate_link_to_modules',1),(687,'2022_05_10_113515_tenant_transaction_states_table',1),(688,'2022_05_10_113608_tenant_transactions_table',1),(689,'2022_05_10_113734_tenant_transaction_queries_table',1),(690,'2022_05_10_113800_tenant_client_error_types_table',1),(691,'2022_05_10_113813_tenant_client_errors_table',1),(692,'2022_05_10_163722_tenant_config_default_to_configurations',1),(693,'2022_05_11_104030_tenant_add_soap_type_id_to_transactions',1),(694,'2022_05_11_115321_tenant_add_query_transaction_to_payment_links',1),(695,'2022_05_11_161435_tenant_change_nullable_payment_to_payment_links',1),(696,'2022_05_11_224556_create_enter_permissions_table',1),(697,'2022_05_11_224631_create_enter_permissions_users_table',1),(698,'2022_05_12_180154_tenant_add_legend_forest_to_xml_to_configurations',1),(699,'2022_05_13_162912_tenant_add_index_regularize_shipping_to_documents',1),(700,'2022_05_13_163802_tenant_purchase_settlement_payments_table',1),(701,'2022_05_13_172504_tenant_add_change_currency_item_to_configurations',1),(702,'2022_05_17_164646_tenant_add_enabled_advanced_records_search_to_configurations',1),(703,'2022_05_23_133515_tenant_add_decimal_quantity_unit_price_pdf_to_configurations',1),(704,'2022_06_01_114042_tenant_add_separate_cash_transactions_to_configurations',1),(705,'2022_06_01_161857_add_column_hotel_rate_id_to_hotel_rents_table',1),(706,'2022_06_01_164204_tenant_add_order_cash_income_to_configurations',1),(707,'2022_06_02_160925_tenant_add_data_district_080915_to_districts',1),(708,'2022_06_03_135513_tenant_add_generate_order_note_from_quotation_to_configurations',1),(709,'2022_06_06_144610_tenant_add_list_items_by_warehouse_to_configurations',1),(710,'2022_06_16_143605_tenant_app_configurations_table',1),(711,'2022_06_17_143817_tenant_add_payment_received_to_document_payments',1),(712,'2022_06_21_101957_tenant_add_columns_login_pse_to_companies',1),(713,'2022_06_21_165810_tenant_add_user_pse_to_companies',1),(714,'2022_06_23_141216_tenant_add_print_format_pdf_to_app_configurations',1),(715,'2022_06_28_164504_tenant_add_date_of_issue_to_inventories',1),(716,'2022_06_30_110007_tenant_add_columns_send_pse_to_summaries',1),(717,'2022_06_30_172004_tenant_add_index_external_id_to_income',1),(718,'2022_06_30_172247_tenant_add_filename_to_income',1),(719,'2022_07_01_103451_tenant_add_filename_to_expenses',1),(720,'2022_07_01_172113_tenant_add_hide_pdf_view_documents_to_configurations',1),(721,'2022_07_04_152229_tenant_add_ticket_single_shipment_to_configurations',1),(722,'2022_07_04_153343_tenant_add_ticket_single_shipment_to_documents',1),(723,'2022_07_05_103856_tenant_add_purchase_permissions_to_users',1),(724,'2022_07_06_113107_tenant_add_columns_theme_configuration_to_app_configurations',1),(725,'2022_07_06_233507_tenant_add_columns_header_configuration_to_app_configurations',1),(726,'2022_07_07_100534_tenant_add_module_app_2_generator_to_modules',1),(727,'2022_07_07_131216_tenant_app_modules_table',1),(728,'2022_07_07_143039_tenant_app_module_user_table',1),(729,'2022_07_08_101718_tenant_add_data_configuration_to_app_modules',1),(730,'2022_07_08_165430_tenant_add_indexes_columns_to_cash',1),(731,'2022_07_11_180145_tenant_add_data_quotation_to_app_modules',1),(732,'2022_07_14_095450_tenant_add_app_logo_to_companies',1),(733,'2022_07_14_120321_tenant_add_affect_all_documents_to_configuration',1),(734,'2022_07_14_143450_tenant_add_terms_condition_column_to_sale_notes_table',1),(735,'2022_07_14_162144_tenant_add_terms_condition_column_to_dispatches_table',1),(736,'2022_07_15_110508_tenant_add_text_filter_to_items',1),(737,'2022_07_18_172843_tenant_add_app_mode_to_app_configurations',1),(738,'2022_07_19_033009_tenant_add_dashboard_options_to_configurations',1),(739,'2022_07_25_115003_tenant_add_quantity_sales_notes_to_configurations',1),(740,'2022_07_30_133127_tenant_add_direct_print_to_app_configurations',1),(741,'2022_08_05_110445_tenant_add_columns_whatsapp_to_companies',1),(742,'2022_08_05_174505_tenant_add_favorite_to_items',1),(743,'2022_08_07_122150_tenant_add_folio_to_documents',1),(744,'2022_08_11_151009_tenant_add_data_district_080916_to_districts',1),(745,'2022_08_11_151307_tenant_add_data_district_080917_to_districts',1),(746,'2022_08_11_151330_tenant_add_data_district_080918_to_districts',1),(747,'2022_08_11_151345_tenant_add_data_district_080919_to_districts',1),(748,'2022_08_14_190940_tenant_add_additional_data_to_documents',1),(749,'2022_08_15_101024_tenant_add_data_default_various_clients_to_persons',1),(750,'2022_08_23_140943_tenant_add_personal_information_to_users',1),(751,'2022_08_23_174028_tenant_user_default_document_types_table',1),(752,'2022_08_24_155445_tenant_add_data_district_080914_to_districts',1),(753,'2022_08_24_160940_tenant_add_additional_data_to_document_items',1),(754,'2022_08_24_165942_tenant_add_restrict_series_selection_seller_to_configurations',1),(755,'2022_08_25_113149_tenant_system_activity_logs_table',1),(756,'2022_08_25_154533_create_dispatch_sale_notes_table',1),(757,'2022_08_29_015753_tenant_add_igv_31556_to_establishments',1),(758,'2022_08_30_104544_tenant_add_location_to_system_activity_logs',1),(759,'2022_08_30_140345_tenant_rename_column_auth_transaction_type_to_system_activity_logs',1),(760,'2022_08_30_175558_tenant_add_regex_password_user_to_configurations',1),(761,'2022_08_31_105919_tenant_add_route_to_system_activity_logs',1),(762,'2022_08_31_112916_tenant_system_activity_log_types_table',1),(763,'2022_08_31_131222_tenant_add_foreign_transaction_type_to_system_activity_logs',1),(764,'2022_08_31_142530_tenant_add_columns_remember_change_password_to_configurations',1),(765,'2022_08_31_150743_tenant_add_last_password_update_to_users',1),(766,'2022_09_01_173835_tenant_add_columns_point_system_to_configurations',1),(767,'2022_09_02_100607_tenant_add_accumulated_points_to_persons',1),(768,'2022_09_02_130726_tenant_add_point_system_to_documents',1),(769,'2022_09_02_152858_tenant_add_columns_point_system_to_items',1),(770,'2022_09_02_172003_tenant_add_show_complete_name_pos_to_configurations',1),(771,'2022_09_03_190940_tenant_add_additional_data_to_documents_error',1),(772,'2022_09_06_165424_tenant_add_round_points_of_sale_to_configurations',1),(773,'2022_09_07_101240_tenant_add_columns_point_system_to_sale_notes',1),(774,'2022_09_08_102133_tenant_add_enable_categories_products_view_to_configurations',1),(775,'2022_09_08_113936_tenant_add_columns_restrict_seller_discount_to_configurations',1),(776,'2022_09_08_151132_tenant_authorized_discount_users_table',1),(777,'2022_09_09_110646_tenant_enabled_sales_agents_to_configurations',1),(778,'2022_09_09_113545_tenant_agents_table',1),(779,'2022_09_09_144216_tenant_add_agent_id_to_documents_sale_notes',1),(780,'2022_09_10_114510_tenant_add_inventory_review_to_inventory_configurations',1),(781,'2022_09_14_170825_tenant_add_change_affectation_exonerated_igv_to_configurations',1),(782,'2022_09_18_162711_add_pos_discount_permission_to_enter_permissions_table',1),(783,'2022_09_20_101814_tenant_add_data_login_lockout_to_system_activity_log_types',1),(784,'2022_09_20_155523_tenant_add_request_email_to_system_activity_logs',1),(785,'2022_09_27_104853_tenant_add_factory_code_to_items',1),(786,'2022_09_27_115234_tenant_add_search_factory_code_items_to_configurations',1),(787,'2022_09_28_101354_tenant_add_show_load_voucher_to_configurations',1),(788,'2022_09_29_114005_tenant_add_force_send_by_summary_to_documents',1),(789,'2022_09_29_115507_tenant_add_permission_force_send_by_summary_to_users',1),(790,'2022_10_04_141907_tenant_change_description_value_to_module_levels',1),(791,'2022_10_05_152438_tenant_add_environment_to_restaurant_configurations',1),(792,'2022_10_05_162751_tenant_add_index_changed_to_sale_notes',1),(793,'2022_10_12_141349_tenant_add_real_system_stock_to_inventories',1),(794,'2022_10_14_172645_tenant_add_register_series_invoice_xml_to_configurations',1),(795,'2022_10_16_101354_tenant_add_enable_discount_by_customer_to_configurations',1),(796,'2022_10_16_110607_tenant_add_discount_to_persons',1),(797,'2022_10_20_123539_tenant_add_image_default_to_items',1),(798,'2022_10_21_190940_tenant_add_additional_data_to_dispatches',1),(799,'2022_10_21_210941_tenant_add_additional_data_to_dispatch_items',1),(800,'2022_10_21_213010_tenant_add_config_to_restaurant_configurations',1),(801,'2022_10_22_113308_tenant_create_waiters_table',1),(802,'2022_10_22_174921_tenant_add_quantity_mesas_and_and_env4_to_environment_restaurant',1),(803,'2022_11_04_142103_tenant_add_enabled_dispatch_ticket_pdf_to_configurations',1),(804,'2022_11_04_173318_tenant_add_dispatch_ticket_pdf_to_document_sale_notes',1),(805,'2022_11_10_132533_tenant_add_item_lot_group_id_to_purchase_items',1),(806,'2022_11_14_162628_tenant_add_validate_stock_add_item_to_inventory_configurations',1),(807,'2022_11_16_000856_create_restaurant_table_envs_table',1),(808,'2022_11_16_000857_add_data_restaurant_table_envs',1),(809,'2022_11_16_235623_create_restaurant_tables_table',1),(810,'2022_11_17_154241_tenant_add_direct_send_documents_whatsapp_to_app_configurations',1),(811,'2022_11_27_235623_create_restaurant_notes_table',1),(812,'2022_11_28_007706_tenant_guides_table',1),(813,'2022_11_28_017707_tenant_guide_items_table',1),(814,'2022_11_28_101718_tenant_add_guide_id_to_inventories',1),(815,'2022_11_28_111428_tenant_add_series_and_number_to_inventories_transfer',1),(816,'2022_11_29_113028_tenant_create_number_series_to_guides',1),(817,'2022_11_30_103028_tenant_add_api_sunat_to_companies',1),(818,'2022_12_01_013028_tenant_add_ticket_to_dispatches',1),(819,'2022_12_01_112321_tenant_update_data_to_dispatches',1),(820,'2022_12_02_023125_tenant_add_number_mtc_to_dispatchers',1),(821,'2022_12_04_113118_tenant_add_sunat_to_companies',1),(822,'2022_12_06_105443_tenant_add_name_product_pdf_to_purchase_items',1),(823,'2022_12_07_112335_add_show_price_in_barcode_ticket_to_configurations',1),(824,'2022_12_12_225021_tenant_update_roles_restaurant_mozo',1),(825,'2022_12_13_131847_tenant_change_column_inventory_transaction_id_to_guides',1),(826,'2022_12_13_153125_tenant_add_unit_type_to_cat_unit_types',1),(827,'2022_12_16_153346_tenant_add_price_selected_add_product_to_configurations',1),(828,'2022_12_20_160732_tenant_add_additional_data_to_order_notes',1),(829,'2022_12_21_113016_tenant_edit_unit_type_to_cat_unit_types',1),(830,'2022_12_22_101455_tenant_pdf_footer_images_to_configurations',1),(831,'2022_12_23_132614_tenant_add_locked_create_establishments_to_configurations',1),(832,'2022_12_23_173228_tenant_add_restrict_sales_limit_to_configurations',1),(833,'2022_12_26_112720_add_data_district050511_to_districts',1),(834,'2022_12_27_012101_tenant_transports_table',1),(835,'2022_12_27_152518_tenant_add_restrict_sale_items_cpe_to_configurations',1),(836,'2022_12_27_154226_tenant_add_restrict_sale_cpe_to_items',1),(837,'2022_12_28_174959_tenant_add_show_convert_cpe_pos_to_configurations',1),(838,'2022_12_28_270513_tenant_update_to_dispatches',1),(839,'2022_12_29_120310_tenant_update_to_drivers',1),(840,'2022_12_29_132101_tenant_origin_addresses_table',1),(841,'2022_12_30_120731_tenant_add_index_is_credit_to_payment_method_types',1),(842,'2022_12_31_100513_tenant_add_transport_data_to_dispatches',1),(843,'2023_01_14_013028_tenant_change_length_ticket_to_dispatches',1),(844,'2023_01_15_122101_tenant_dispatch_addresses_table',1),(845,'2023_01_16_110612_tenant_add_receiver_to_dispatches',1),(846,'2023_01_16_150612_tenant_change_customer_id_to_dispatches',1),(847,'2023_02_09_144759_create_inventory_transfer_items',1),(848,'2023_02_24_163815_tenant_add_order_note_advanced_to_configurations',1),(849,'2023_03_08_113249_tenant_hotel_rent_item_payments_table',1),(850,'2023_03_09_132241_tenant_add_subtotal_to_order_notes',1),(851,'2023_03_15_151737_tenant_change_nullable_email_to_establishments',1),(852,'2023_03_15_154740_tenant_remove_validation_email_establishments_to_configurations',1),(853,'2023_07_18_214757_tenant_add_second_name_to_items',1),(854,'2023_09_07_151856_tenant_add_sire_to_companies',1),(855,'2023_11_10_204115_create_cie10_table',1),(856,'2023_11_10_204153_create_prescription_doctors_table',1),(857,'2023_11_10_204221_create_prescription_prescriptions_table',1),(858,'2023_11_10_204419_add_requires_prescription_to_items_table',1),(859,'2024_01_27_045748_guia_tenant_to_modules',1),(860,'2024_02_19_220058_response_signature_nubefact_to_documents',1),(861,'2024_02_19_220808_api_nubefact_to_companies',1),(862,'2024_02_21_042258_send_to_nubefact_to_companies',1),(863,'2024_02_21_085754_send_anulate_nubefact',1),(864,'2024_02_22_184908_api_token_to_establishments',1),(865,'2024_02_29_093306_total_plastic_bag_taxes_to_purchases',1),(866,'2024_09_13_105728_tenant_add_column_certificate_qz_tray_to_companies',1),(867,'2024_11_22_192222_change_decimal_to_purchase_items',1),(868,'2025_03_02_005639_add_column_hospital_type_to_establishments_table',1),(869,'2025_03_25_100110_tenant_add_total_to_sale_notes',1),(870,'2025_03_25_181211_tenant_sale_note_fee_table',1),(871,'2025_03_25_195114_tenant_add_columns_to_sale_note_payments',1),(872,'2025_04_22_114404_tenant_add_devolution_to_inventario',1),(873,'2025_04_22_114404_tenant_add_pse_qpos_to_companies',1),(874,'2025_08_12_114404_tenant_add_cash_box_to_configuracion',1),(875,'2025_08_27_120000_tenant_add_fast_payment_config_to_configurations',1),(876,'2025_08_27_120000_tenant_add_image_ads_config_to_configurations',1),(877,'2025_09_01_120000_tenant_add_annular_sale_to_users',1),(878,'2025_09_01_120000_tenant_add_prescriptions_salenote_invoice',1),(879,'2025_09_01_120000_tenant_prescriptions_table_make_fields_nullable',1),(880,'2025_10_10_025653_tenant_remove_qr_to_documents',1),(881,'2025_12_02_103028_tenant_add_number_ticket_to_companies',1),(882,'2026_02_28_170000_add_active_pos_to_payment_method_types_table',1),(883,'2026_03_01_000001_tenant_add_blister_unit_type',1),(884,'2026_03_01_000002_tenant_add_price_list_to_persons',1),(885,'2026_03_01_120000_add_pos_bank_account_id_to_payment_method_types_table',1),(886,'2026_03_01_180000_tenant_normalize_payment_method_types_for_pos',1),(887,'2026_03_02_000001_add_performance_indexes',1),(888,'2026_03_02_000002_add_item_warehouse_unique_index',1),(889,'2026_03_08_000003_add_digemid_sublevels_to_tenant_module_levels',1),(890,'2026_03_08_000004_rename_digemid_labels_to_farmacos',1),(891,'2026_03_09_000000_tenant_prescriptions_add_text_fields',1),(892,'2026_03_09_000010_create_pos_parked_sales_table',1),(893,'2026_03_10_000001_create_coupons_table',1),(894,'2026_03_10_000002_add_coupon_to_documents_and_sale_notes',1),(895,'2026_03_10_000003_add_coupons_module_level_to_tenant',1),(896,'2026_03_10_180100_tenant_create_purchase_xml_imports_table',1),(897,'2026_03_10_180200_tenant_create_supplier_item_aliases_table',1),(898,'2026_03_10_180300_tenant_add_xml_import_controls_to_purchases',1),(899,'2026_03_12_000001_add_is_pharmacist_to_users',1),(900,'2026_03_12_000002_add_pharmacist_restriction_to_configurations',1),(901,'2026_03_14_000001_create_charge_discounts_table',1),(902,'2026_03_16_000001_drop_clinic_module_tables',1),(903,'2026_03_30_120000_merge_legacy_a30_dias_payment_method_into_factura_a30_dias',1),(904,'2026_04_06_120000_add_use_profit_margin_formula_to_configurations',1),(905,'2026_04_06_180000_create_inventory_reconciliation_reviews_table',1),(906,'2026_04_14_000000_tenant_deactivate_non_pharmacy_units',1),(907,'2026_04_15_000000_tenant_add_closing_denominations_to_cash',1),(908,'2026_04_15_000001_tenant_add_purchase_fee_id_to_purchase_payments',1),(909,'2026_04_15_100000_tenant_unique_barcode_item_unit_types',1),(910,'2026_04_15_100100_tenant_item_unit_type_changes_table',1),(911,'2026_04_15_100200_tenant_add_soft_delete_to_item_unit_types',1),(912,'2026_04_15_110000_tenant_add_presentation_unit_type_to_inventory_kardex',1),(913,'2026_04_15_110100_tenant_add_presentation_unit_type_to_prescriptions',1),(914,'2026_04_15_120000_tenant_add_presentation_unit_type_to_inventory_transfer',1),(915,'2026_04_15_130000_tenant_add_presentation_unit_type_to_discounts_promotions',1),(916,'2026_04_15_150000_create_item_lot_movements_table',1),(917,'2026_04_16_140000_tenant_add_quantity_to_inventory_transfer_items',1),(918,'2026_04_16_180000_tenant_create_item_lots_group_warehouse_table',1),(919,'2026_04_17_100000_tenant_create_item_unit_type_warehouse_price_table',1),(920,'2026_04_17_100100_tenant_add_warehouse_id_to_item_unit_type_changes',1),(921,'2026_04_17_100200_tenant_add_active_warehouse_prices_per_presentation',1),(922,'2026_04_18_100000_tenant_drop_stock_thresholds_from_item_warehouse',1),(923,'2026_04_18_110000_tenant_bridge_legacy_item_warehouse_prices',1),(924,'2026_04_18_120000_tenant_drop_item_warehouse_prices_legacy',1),(925,'2026_04_18_130000_tenant_add_master_warehouse_to_configurations',1),(926,'2026_04_18_130100_tenant_create_item_warehouse_pricing_states_table',1),(927,'2026_04_18_130200_tenant_backfill_item_warehouse_pricing_states',1),(928,'2026_04_26_120000_tenant_add_owner_warehouse_to_items',1),(929,'2026_04_26_120100_tenant_backfill_items_owner_warehouse',1),(930,'2026_04_27_235000_tenant_backfill_item_points_to_exchange_fields',1),(931,'2026_04_29_100000_tenant_add_foreign_keys_to_promotion_presentation_scope',1),(932,'2026_05_06_000005_remove_pos_garage_module_level',1),(933,'2026_05_06_120000_tenant_create_user_mobile_establishments_table',1),(934,'2026_05_06_120100_tenant_create_mobile_idempotency_keys_table',1),(935,'2026_05_06_120200_tenant_create_mobile_push_devices_table',1),(936,'2026_05_11_120000_tenant_add_default_prefix_to_sale_notes',1),(937,'2026_05_20_000001_create_mobile_physical_counts_table',1),(938,'2026_05_20_000002_create_mobile_physical_count_lines_table',1),(939,'2026_05_20_000003_create_mobile_physical_count_events_table',1),(940,'2026_05_21_000001_add_inventory_id_to_mobile_physical_count_lines',1),(941,'2026_05_21_000002_add_operational_index_to_mobile_physical_counts',1),(942,'2026_05_22_000001_add_user_id_to_inventories_table',1),(943,'2026_06_17_120000_tenant_add_seller_incentive_to_configurations',1),(944,'2026_06_17_120100_tenant_add_shift_type_to_cash',1),(945,'2026_06_17_120200_tenant_create_seller_point_ledger_table',1),(946,'2026_06_18_000000_add_gre_fields_to_dispatches_table',1),(947,'2026_06_18_000100_add_license_plate_m1l_to_dispatches_table',1),(948,'2026_06_19_000000_add_condition_storage_to_items_table',1),(949,'2026_06_19_120000_tenant_create_seller_reward_table',1),(950,'2026_06_19_120100_tenant_create_seller_reward_redemption_table',1),(951,'2026_06_20_120000_fix_items_nullable_and_defaults',1),(952,'2026_06_22_000001_remove_orphan_clinic_module_rows',1),(953,'2026_06_22_000002_remove_orphan_advanced_dispatches_level',1),(954,'2026_06_22_130000_add_is_veterinary_to_configurations',1),(955,'2026_06_22_130001_add_modules_veterinary',1),(956,'2026_06_22_140000_create_vet_pets_table',1),(957,'2026_06_22_150000_create_vet_vaccination_records_table',1),(958,'2026_06_23_120000_add_is_vaccine_to_items_table',1),(959,'2026_06_23_160000_create_vet_consultations_table',1),(960,'2026_06_23_170000_create_vet_boardings_table',1),(961,'2026_06_23_180000_create_vet_appointments_table',1),(962,'2026_06_23_190000_add_type_to_vet_vaccination_records',1),(963,'2026_06_23_200000_create_vet_memberships_table',1),(964,'2026_06_23_210000_create_vet_catalogs_tables',1),(965,'2026_06_23_220000_add_vet_appointment_duration_to_configurations',1),(966,'2026_06_23_230000_add_vet_kennel_count_to_configurations',1),(967,'2026_06_24_120000_add_is_vet_service_to_items_table',1),(968,'2026_06_24_130000_add_vet_boarding_service_item_to_configurations',1),(969,'2026_06_24_140000_create_vet_prescriptions_table',1),(970,'2026_06_24_140001_create_vet_prescription_items_table',1),(971,'2026_06_24_140002_make_applied_date_nullable_on_vet_vaccination_records',1),(972,'2026_06_24_140003_create_vet_vaccine_protocols_table',1),(973,'2026_06_24_150000_create_vet_notification_log_table',1),(974,'2026_06_24_150001_add_vet_notify_fields_to_configurations',1),(975,'2026_06_24_160000_add_clinical_fields_to_vet_consultations',1),(976,'2026_06_24_160001_add_sterilized_to_vet_pets',1),(977,'2026_06_24_170000_add_working_hours_to_vet_veterinarians',1),(978,'2026_06_24_180000_add_species_fk_and_clinical_to_vet_pets',1),(979,'2026_06_24_180000_add_vet_consultation_service_item_to_configurations',1),(980,'2026_06_24_190000_add_type_to_vet_consultations',1),(981,'2026_06_24_190001_create_vet_consultation_attachments_table',1),(982,'2026_06_24_200000_create_vet_quotes_table',1),(983,'2026_06_24_200001_create_vet_quote_items_table',1),(984,'2026_06_25_120000_add_vet_clinic_hours_to_configurations',1),(985,'2026_06_25_130001_add_veterinary_sublevels_to_tenant_module_levels',1),(986,'2026_06_25_130002_add_user_id_to_vet_veterinarians',1),(987,'2026_06_25_140000_backfill_veterinary_levels_by_module',1),(988,'2026_06_25_150000_create_vet_consultation_procedures',1),(989,'2026_06_28_160000_add_parent_id_to_categories',1),(990,'2026_06_28_170000_add_is_clinic_to_configurations',1),(991,'2026_06_28_170001_add_modules_clinica',1),(992,'2026_06_28_180000_create_clinica_tables',1),(993,'2026_06_28_190000_add_clinic_role_id_to_users',1),(994,'2026_06_28_200000_add_birthdate_gender_to_persons',1),(995,'2026_06_29_120000_add_clinic_appointment_item_to_configurations',1),(996,'2026_06_29_120100_add_is_clinic_service_to_items',1),(997,'2026_06_30_120000_create_clinic_appointment_items',1),(998,'2026_06_30_140000_add_charge_columns_to_clinic_appointments',1),(999,'2026_07_07_120000_add_editable_sale_price_to_items',2),(1000,'2026_07_08_190000_create_atc_codes_table',3),(1001,'2026_07_08_190100_add_atc_id_to_items',3),(1002,'2026_07_08_190200_add_enable_atc_code_to_configurations',3),(1003,'2026_07_09_120000_add_enable_editable_sale_price_to_configurations',4),(1004,'2026_07_09_140000_add_print_format_to_establishments',5),(1005,'2026_07_09_130000_tenant_add_voided_by_to_sale_notes',6),(1006,'2026_07_09_140000_tenant_seed_action_audit_activity_types',6),(1007,'2026_07_11_130000_add_sale_default_profit_margin_to_configurations',7),(1008,'2026_07_12_120000_tenant_add_payment_method_correction',8),(1009,'2026_07_23_000000_add_enable_purchase_sanitary_registry_to_configurations',9),(1010,'2026_07_23_010000_add_source_key_to_inventory_kardex',10),(1011,'2026_07_27_120000_tenant_add_package_unit_type',11),(1012,'2026_07_27_130000_tenant_activate_package_unit_type',12),(1013,'2026_07_28_120000_add_oppf_excluded_to_cat_digemid_table',13),(1014,'2026_07_28_130000_update_digemid_health_report_route_after_removal',13),(1015,'2026_07_29_000000_tenant_add_establishment_warehouse_to_cash',14),(1016,'2026_07_29_000100_add_branch_switch_enabled_to_configurations',14),(1017,'2026_07_29_000200_backfill_establishment_warehouse_on_open_cash',14),(1018,'2026_07_30_140000_add_inventory_reconciliation_level_to_tenant_module_levels',14),(1019,'2026_07_30_230000_enable_branch_switch_for_existing_multibranch_tenants',15);
COMMIT;

-- Dumped table `migrations` with 1019 row(s)
--

--
-- Table structure for table `migration_configuration`
--

SET autocommit=0;
COMMIT;

-- Dumped table `migration_configuration` with 0 row(s)
--

--
-- Table structure for table `mill`
--

CREATE TABLE `mill` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date_start` date DEFAULT NULL,
  `time_start` time DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `time_end` time DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT 0,
  `soap_type_id` char(2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `comment` longtext DEFAULT NULL,
  `mill_name` varchar(255) DEFAULT NULL,
  `lot_code` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mill_soap_type_id_foreign` (`soap_type_id`),
  CONSTRAINT `mill_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mill`
--

SET autocommit=0;
COMMIT;

-- Dumped table `mill` with 0 row(s)
--

--
-- Table structure for table `mill_items`
--

CREATE TABLE `mill_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `item_id` int(10) unsigned DEFAULT 0,
  `mill_id` int(10) unsigned DEFAULT 0,
  `height_to_mill` decimal(12,3) DEFAULT 0.000 COMMENT 'Peso de entrada',
  `total_height` decimal(12,3) DEFAULT 0.000 COMMENT 'Peso dle insumo ',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,3) DEFAULT 0.000 COMMENT 'Peso dle insumo ',
  `item_extra_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`item_extra_data`)),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mill_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `mill_items` with 0 row(s)
--

--
-- Table structure for table `mi_tienda_pe`
--

CREATE TABLE `mi_tienda_pe` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `order_number` text DEFAULT NULL COMMENT 'Numero de pedido',
  `transaction_code` text DEFAULT NULL COMMENT 'Codigo de pasareña',
  `order_note_id` int(10) unsigned DEFAULT 0,
  `document_id` int(10) unsigned DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mi_tienda_pe`
--

SET autocommit=0;
COMMIT;

-- Dumped table `mi_tienda_pe` with 0 row(s)
--

--
-- Table structure for table `mobile_idempotency_keys`
--

CREATE TABLE `mobile_idempotency_keys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `idempotency_key` varchar(100) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'processing',
  `model` varchar(20) DEFAULT NULL,
  `record_id` int(10) unsigned DEFAULT NULL,
  `response_payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_payload`)),
  `error_message` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mik_user_est_key_unique` (`user_id`,`establishment_id`,`idempotency_key`),
  KEY `mobile_idempotency_keys_status_index` (`status`),
  KEY `mobile_idempotency_keys_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `mobile_idempotency_keys_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `mobile_idempotency_keys_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_idempotency_keys`
--

SET autocommit=0;
COMMIT;

-- Dumped table `mobile_idempotency_keys` with 0 row(s)
--

--
-- Table structure for table `mobile_physical_counts`
--

CREATE TABLE `mobile_physical_counts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `warehouse_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `submitted_at` timestamp NULL DEFAULT NULL,
  `submitted_by` int(10) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `approved_by` int(10) unsigned DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `rejected_by` int(10) unsigned DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `cancelled_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mobile_physical_counts_warehouse_id_status_index` (`warehouse_id`,`status`),
  KEY `mobile_physical_counts_user_id_status_index` (`user_id`,`status`),
  KEY `mobile_physical_counts_submitted_by_foreign` (`submitted_by`),
  KEY `mobile_physical_counts_approved_by_foreign` (`approved_by`),
  KEY `mobile_physical_counts_rejected_by_foreign` (`rejected_by`),
  KEY `mobile_physical_counts_cancelled_by_foreign` (`cancelled_by`),
  KEY `mobile_physical_counts_est_status_created_idx` (`establishment_id`,`status`,`created_at`),
  CONSTRAINT `mobile_physical_counts_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_cancelled_by_foreign` FOREIGN KEY (`cancelled_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `mobile_physical_counts_rejected_by_foreign` FOREIGN KEY (`rejected_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_submitted_by_foreign` FOREIGN KEY (`submitted_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_counts_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_physical_counts`
--

SET autocommit=0;
COMMIT;

-- Dumped table `mobile_physical_counts` with 0 row(s)
--

--
-- Table structure for table `mobile_physical_count_events`
--

CREATE TABLE `mobile_physical_count_events` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `physical_count_id` int(10) unsigned NOT NULL,
  `line_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item_unit_type_id` int(10) unsigned DEFAULT NULL,
  `lot_group_id` int(10) unsigned DEFAULT NULL,
  `barcode` varchar(100) DEFAULT NULL,
  `factor` decimal(12,4) NOT NULL DEFAULT 1.0000,
  `quantity` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `quantity_base` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `source` varchar(30) NOT NULL DEFAULT 'scan',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mobile_physical_count_events_physical_count_id_item_id_index` (`physical_count_id`,`item_id`),
  KEY `mobile_physical_count_events_line_id_foreign` (`line_id`),
  KEY `mobile_physical_count_events_user_id_foreign` (`user_id`),
  KEY `mobile_physical_count_events_item_id_foreign` (`item_id`),
  KEY `mobile_physical_count_events_item_unit_type_id_foreign` (`item_unit_type_id`),
  KEY `mobile_physical_count_events_lot_group_id_foreign` (`lot_group_id`),
  CONSTRAINT `mobile_physical_count_events_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `mobile_physical_count_events_item_unit_type_id_foreign` FOREIGN KEY (`item_unit_type_id`) REFERENCES `item_unit_types` (`id`),
  CONSTRAINT `mobile_physical_count_events_line_id_foreign` FOREIGN KEY (`line_id`) REFERENCES `mobile_physical_count_lines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `mobile_physical_count_events_lot_group_id_foreign` FOREIGN KEY (`lot_group_id`) REFERENCES `item_lots_group` (`id`),
  CONSTRAINT `mobile_physical_count_events_physical_count_id_foreign` FOREIGN KEY (`physical_count_id`) REFERENCES `mobile_physical_counts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `mobile_physical_count_events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_physical_count_events`
--

SET autocommit=0;
COMMIT;

-- Dumped table `mobile_physical_count_events` with 0 row(s)
--

--
-- Table structure for table `mobile_physical_count_lines`
--

CREATE TABLE `mobile_physical_count_lines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `physical_count_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item_unit_type_id` int(10) unsigned DEFAULT NULL,
  `lot_group_id` int(10) unsigned DEFAULT NULL,
  `lot_code` varchar(100) DEFAULT NULL,
  `line_key` varchar(160) NOT NULL,
  `counted_qty_base` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `system_qty_snapshot` decimal(12,4) DEFAULT NULL,
  `difference_qty` decimal(12,4) NOT NULL DEFAULT 0.0000,
  `inventory_id` int(10) unsigned DEFAULT NULL,
  `scanned_times` int(10) unsigned NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `last_counted_by` int(10) unsigned DEFAULT NULL,
  `last_counted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mobile_physical_count_lines_unique` (`physical_count_id`,`line_key`),
  KEY `mobile_physical_count_lines_item_id_lot_group_id_index` (`item_id`,`lot_group_id`),
  KEY `mobile_physical_count_lines_item_unit_type_id_foreign` (`item_unit_type_id`),
  KEY `mobile_physical_count_lines_lot_group_id_foreign` (`lot_group_id`),
  KEY `mobile_physical_count_lines_inventory_id_foreign` (`inventory_id`),
  KEY `mobile_physical_count_lines_last_counted_by_foreign` (`last_counted_by`),
  CONSTRAINT `mobile_physical_count_lines_inventory_id_foreign` FOREIGN KEY (`inventory_id`) REFERENCES `inventories` (`id`),
  CONSTRAINT `mobile_physical_count_lines_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `mobile_physical_count_lines_item_unit_type_id_foreign` FOREIGN KEY (`item_unit_type_id`) REFERENCES `item_unit_types` (`id`),
  CONSTRAINT `mobile_physical_count_lines_last_counted_by_foreign` FOREIGN KEY (`last_counted_by`) REFERENCES `users` (`id`),
  CONSTRAINT `mobile_physical_count_lines_lot_group_id_foreign` FOREIGN KEY (`lot_group_id`) REFERENCES `item_lots_group` (`id`),
  CONSTRAINT `mobile_physical_count_lines_physical_count_id_foreign` FOREIGN KEY (`physical_count_id`) REFERENCES `mobile_physical_counts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mobile_physical_count_lines`
--

SET autocommit=0;
COMMIT;

-- Dumped table `mobile_physical_count_lines` with 0 row(s)
--

--
