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

DROP TABLE IF EXISTS `cialpreppacpar`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cialpreppacpar` (
  `id_cialpreppacpar` int(11) NOT NULL DEFAULT '0' COMMENT 'Nº parámetros',
  `nombre` text NOT NULL COMMENT 'Nombre',
  `sw_cialdocopro_env` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Registrar envío',
  `id_tenant` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Nº empresa',
  `sw_avisar_incidencia` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Notificar incidencia',
  `sw_input_peso` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Pedir peso',
  `sw_input_agencia` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Pedir medio de envío',
  `sw_fecha_expe_auto` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Asignar fec.expedición al cerrar',
  `sw_input_observaciones` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Pedir obser. transportista&nbsp;<br />(necesita activación del modulo de&nbsp;<br />Expediciones (p_exp))',
  `long_input_obs` int(11) NOT NULL DEFAULT '9999' COMMENT 'Longitud observaciones',
  `cialpreppacpar_sw_bulto` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Pedir y controlar bultos',
  `cialpreppacpar_sw_mepevo` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Pedir medidas/peso/volumen',
  `cialpreppacpar_sw_paclis` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Grabar packing list al cerrar',
  `cialpreppacpar_sw_emb` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Validar embalaje barcode con alb.',
  `id_quemsali_eti_doc` int(11) NOT NULL DEFAULT '0' COMMENT 'Unidad salida etiquetas transporte',
  `sw_input_cantidad` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Pedir unidades (Directo)',
  UNIQUE KEY `key0` (`id_tenant`,`id_cialpreppacpar`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `cialpreppacpar` WRITE;
/*!40000 ALTER TABLE `cialpreppacpar` DISABLE KEYS */;
INSERT INTO `cialpreppacpar` (`id_cialpreppacpar`, `nombre`, `sw_cialdocopro_env`, `id_tenant`, `sw_avisar_incidencia`, `sw_input_peso`, `sw_input_agencia`, `sw_fecha_expe_auto`, `sw_input_observaciones`, `long_input_obs`, `cialpreppacpar_sw_bulto`, `cialpreppacpar_sw_mepevo`, `cialpreppacpar_sw_paclis`, `cialpreppacpar_sw_emb`, `id_quemsali_eti_doc`, `sw_input_cantidad`) VALUES (1,'',1,1,0,0,0,0,0,9999,0,0,0,1,0,0);
/*!40000 ALTER TABLE `cialpreppacpar` 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:41:00
