-- MySQL dump 10.16  Distrib 10.1.48-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: SPYquartup1
-- ------------------------------------------------------
-- Server version	10.1.48-MariaDB-0+deb9u2

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `cialdocobor`
--

DROP TABLE IF EXISTS `cialdocobor`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cialdocobor` (
  `soporte` char(2) NOT NULL DEFAULT '' COMMENT 'Tipo',
  `canal` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Canal',
  `num_borrado` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº Borrado',
  `fecha_cre` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Fecha creación',
  `hora_cre` time NOT NULL DEFAULT '00:00:00' COMMENT 'Hora creación',
  `fecha_bor` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Fecha borrado',
  `hora_bor` time NOT NULL DEFAULT '00:00:00' COMMENT 'Hora borrado',
  `filter_esta_p` char(1) NOT NULL DEFAULT 'N' COMMENT 'Estado Pendientes',
  `filter_esta_d` char(1) NOT NULL DEFAULT 'S' COMMENT 'Estado Detenidos',
  `filter_esta_t` char(1) NOT NULL DEFAULT 'S' COMMENT 'Estado Traspasados',
  `sw_borra_almacen` char(1) NOT NULL DEFAULT 'N' COMMENT 'Borra movs. almacén',
  `filter_fechas` text NOT NULL COMMENT 'Fechas',
  `filter_series` text NOT NULL COMMENT 'Series',
  `filter_numeros` text NOT NULL COMMENT 'Documentos Ciales.',
  `filter_cuentas` text NOT NULL COMMENT 'Cuenta',
  `num_docs` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº doctos. a borrar',
  `sw_borrar` char(1) NOT NULL DEFAULT 'N' COMMENT 'Borrar',
  `sw_borrado` char(1) NOT NULL DEFAULT 'N' COMMENT 'Borrado',
  `num_bor_cabe` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº doctos. borrados',
  `num_bor_line` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº líneas borradas',
  `num_bor_alma` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº movs. alm. borrados',
  `id_tenant` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Nº empresa',
  UNIQUE KEY `key0` (`id_tenant`,`canal`,`soporte`,`num_borrado`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cialdocobor`
--
-- WHERE:  id_tenant='1'

LOCK TABLES `cialdocobor` WRITE;
/*!40000 ALTER TABLE `cialdocobor` DISABLE KEYS */;
INSERT INTO `cialdocobor` (`soporte`, `canal`, `num_borrado`, `fecha_cre`, `hora_cre`, `fecha_bor`, `hora_bor`, `filter_esta_p`, `filter_esta_d`, `filter_esta_t`, `sw_borra_almacen`, `filter_fechas`, `filter_series`, `filter_numeros`, `filter_cuentas`, `num_docs`, `sw_borrar`, `sw_borrado`, `num_bor_cabe`, `num_bor_line`, `num_bor_alma`, `id_tenant`) VALUES ('PV',1,1,'2020-12-14','14:25:36','2020-12-14','14:25:56','N','S','N','N','2019','DEP','','',9,'N','S',9,42,0,1),('PV',1,2,'2020-12-14','14:25:36','2020-12-14','14:27:16','N','S','N','N','2020','DEP','=1','',1,'N','S',1,1,0,1),('PV',1,3,'2020-12-15','11:39:36','2020-12-15','11:41:15','S','N','N','N','2019','','','',164,'N','S',164,394,0,1),('PV',1,4,'2020-12-15','11:43:16','2020-12-15','11:43:34','S','N','N','N','2018','','','',41,'N','S',40,57,0,1),('PV',1,5,'2020-12-15','12:00:49','2020-12-15','12:01:12','N','S','N','N','2020','dep','','',721,'N','S',721,1433,0,1),('PV',1,6,'2022-01-11','23:11:36','2022-01-11','23:16:37','S','S','S','N','..2020','DEP','','',75,'N','S',75,177,0,1),('PV',1,7,'2022-01-12','10:00:08','2022-01-12','10:00:51','S','S','S','N','2021','=DEP','','',924,'N','S',924,1924,0,1),('PV',1,8,'2023-01-10','14:44:51','2023-01-10','14:45:37','S','S','S','N','2022','=DEP','','',1194,'N','S',1194,2580,0,1);
/*!40000 ALTER TABLE `cialdocobor` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-10-30  8:40:36
