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

DROP TABLE IF EXISTS `cialcoex`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cialcoex` (
  `id_cialcoex` int(11) NOT NULL DEFAULT '0' COMMENT 'Id descarga',
  `sw_descargado` char(1) NOT NULL DEFAULT 'N' COMMENT 'Descargado',
  `sw_cuentas` char(1) NOT NULL DEFAULT 'S' COMMENT 'Cuentas',
  `sw_taxas` char(1) NOT NULL DEFAULT 'N' COMMENT 'Taxas',
  `sw_proveedores` char(1) NOT NULL DEFAULT 'N' COMMENT 'Proveedores',
  `sw_clientes` char(1) NOT NULL DEFAULT 'N' COMMENT 'Clientes',
  `sw_asientos` char(1) NOT NULL DEFAULT 'S' COMMENT 'Asientos',
  `fecha_desde` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Fecha desde',
  `fecha_hasta` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Fecha hasta',
  `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_des` date NOT NULL DEFAULT '0000-00-00' COMMENT 'Fecha descarga',
  `hora_des` time NOT NULL DEFAULT '00:00:00' COMMENT 'Hora descarga',
  `sw_salida` char(1) NOT NULL DEFAULT 'N' COMMENT 'Formato de salida',
  `filter_cod_serie_fc` text NOT NULL COMMENT 'Series compras <br>(solo fichero facturas)',
  `filter_cod_serie_fv` text NOT NULL COMMENT 'Series ventas <br>(solo fichero facturas)',
  `cod_cuenta_fv` char(12) NOT NULL DEFAULT '' COMMENT 'Forzar cuenta cliente única',
  `filter_cod_diario` text NOT NULL COMMENT 'Diarios contables <br>(solo fichero asientos)',
  `id_tenant` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Nº empresa',
  `sw_dup_doc` char(1) NOT NULL DEFAULT '0' COMMENT 'Duplicar documento',
  `id_cialcoag` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº contabilización',
  `sw_repercutir_iva` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Repercutir IVA',
  UNIQUE KEY `key0` (`id_tenant`,`id_cialcoex`),
  KEY `key1` (`id_tenant`,`id_cialcoag`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `cialcoex` WRITE;
/*!40000 ALTER TABLE `cialcoex` DISABLE KEYS */;
INSERT INTO `cialcoex` (`id_cialcoex`, `sw_descargado`, `sw_cuentas`, `sw_taxas`, `sw_proveedores`, `sw_clientes`, `sw_asientos`, `fecha_desde`, `fecha_hasta`, `fecha_cre`, `hora_cre`, `fecha_des`, `hora_des`, `sw_salida`, `filter_cod_serie_fc`, `filter_cod_serie_fv`, `cod_cuenta_fv`, `filter_cod_diario`, `id_tenant`, `sw_dup_doc`, `id_cialcoag`, `sw_repercutir_iva`) VALUES (1,'S','S','N','N','N','S','2016-01-01','2016-12-31','2017-06-27','16:54:47','2017-06-27','16:55:29','N','','','','',1,'0',0,0);
/*!40000 ALTER TABLE `cialcoex` 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:28
