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

DROP TABLE IF EXISTS `almaubic`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `almaubic` (
  `cod_almacen` char(3) NOT NULL DEFAULT '001' COMMENT 'Almacén',
  `id_almaubic` int(11) NOT NULL DEFAULT '0' COMMENT 'Grupo ubicaciones',
  `nombre` text NOT NULL COMMENT 'Descripción',
  `nom_dim0` varchar(250) NOT NULL DEFAULT 'Zona' COMMENT 'Título zona',
  `cod_dim0_d` char(3) NOT NULL DEFAULT '' COMMENT 'Zona desde',
  `cod_dim0_h` char(3) NOT NULL DEFAULT '' COMMENT 'Zona hasta',
  `longitud_0` decimal(20,8) NOT NULL DEFAULT '0.00000000' COMMENT 'Longitud dim. 0',
  `cod_unidad_0` char(5) NOT NULL DEFAULT 'cm' COMMENT 'Unidad dim. 0',
  `sw_crea_0` char(1) NOT NULL DEFAULT 'S' COMMENT 'Crear zonas',
  `nom_dim1` varchar(250) NOT NULL DEFAULT 'Pasillo' COMMENT 'Título dimensión 1',
  `cod_dim1_d` char(3) NOT NULL DEFAULT '' COMMENT 'Dimensión 1 desde',
  `cod_dim1_h` char(3) NOT NULL DEFAULT '' COMMENT 'Dimensión 1 hasta',
  `longitud_1` decimal(20,8) NOT NULL DEFAULT '0.00000000' COMMENT 'Longitud dim. 1',
  `cod_unidad_1` char(5) NOT NULL DEFAULT 'cm' COMMENT 'Unidad dim. 1',
  `sw_crea_1` char(1) NOT NULL DEFAULT 'S' COMMENT 'Crear dimensión 1',
  `nom_dim2` varchar(250) NOT NULL DEFAULT 'Estantería' COMMENT 'Título dimensión 2',
  `cod_dim2_d` char(3) NOT NULL DEFAULT '' COMMENT 'Dimensión 2 desde',
  `cod_dim2_h` char(3) NOT NULL DEFAULT '' COMMENT 'Dimensión 2 hasta',
  `longitud_2` decimal(20,8) NOT NULL DEFAULT '0.00000000' COMMENT 'Longitud dim. 2',
  `cod_unidad_2` char(5) NOT NULL DEFAULT 'cm' COMMENT 'Unidad dim. 2',
  `sw_crea_2` char(1) NOT NULL DEFAULT 'S' COMMENT 'Crear dimensión 2',
  `nom_dim3` varchar(250) NOT NULL DEFAULT 'Piso' COMMENT 'Título dimensión 3',
  `cod_dim3_d` char(3) NOT NULL DEFAULT '' COMMENT 'Dimensión 3 desde',
  `cod_dim3_h` char(3) NOT NULL DEFAULT '' COMMENT 'Dimensión 3 hasta',
  `longitud_3` decimal(20,8) NOT NULL DEFAULT '0.00000000' COMMENT 'Longitud dim. 3',
  `cod_unidad_3` char(5) NOT NULL DEFAULT 'cm' COMMENT 'Unidad dim. 3',
  `sw_crea_3` char(1) NOT NULL DEFAULT 'S' COMMENT 'Crear dimensión 3',
  `max_crea_dims` int(11) NOT NULL DEFAULT '50' COMMENT 'Máx. regs. dims. crear',
  `max_crea_ubic` int(11) NOT NULL DEFAULT '5000' COMMENT 'Máx. regs. ubics. crear',
  `separador` char(1) NOT NULL DEFAULT '.' COMMENT 'Separador dimensiones',
  `sw_crea_x` char(1) NOT NULL DEFAULT 'S' COMMENT 'Crear ubicaciones',
  `observaciones` text NOT NULL COMMENT 'Observaciones',
  `id_tenant` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Nº empresa',
  UNIQUE KEY `key0` (`id_tenant`,`cod_almacen`,`id_almaubic`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `almaubic` WRITE;
/*!40000 ALTER TABLE `almaubic` DISABLE KEYS */;
INSERT INTO `almaubic` (`cod_almacen`, `id_almaubic`, `nombre`, `nom_dim0`, `cod_dim0_d`, `cod_dim0_h`, `longitud_0`, `cod_unidad_0`, `sw_crea_0`, `nom_dim1`, `cod_dim1_d`, `cod_dim1_h`, `longitud_1`, `cod_unidad_1`, `sw_crea_1`, `nom_dim2`, `cod_dim2_d`, `cod_dim2_h`, `longitud_2`, `cod_unidad_2`, `sw_crea_2`, `nom_dim3`, `cod_dim3_d`, `cod_dim3_h`, `longitud_3`, `cod_unidad_3`, `sw_crea_3`, `max_crea_dims`, `max_crea_ubic`, `separador`, `sw_crea_x`, `observaciones`, `id_tenant`) VALUES ('001',6,'Perfileria Nave1','Nave1','001','001',0.00000000,'cm','N','Pasillo','A','T',0.00000000,'cm','N','Hueco','01','30',0.00000000,'cm','N','','','',0.00000000,'cm','N',50,5000,'-','N','',1),('001',7,'Estanteria Nave 1','Nave1','001','001',0.00000000,'cm','N','Estanteria','01','12',0.00000000,'cm','N','Modulo','A','L',0.00000000,'cm','N','Altura','01','10',0.00000000,'cm','N',50,5000,'-','N','',1),('001',8,'Perfileria Nave 2','Nave 2','002','002',0.00000000,'cm','N','Pasillo','A','M',0.00000000,'cm','N','Hueco','01','30',0.00000000,'cm','N','','','',0.00000000,'cm','N',50,5000,'-','N','',1),('001',9,'Estanteria Nave 2','Nave2','002','002',0.00000000,'cm','N','Estanteria','01','10',0.00000000,'cm','N','Modulo','A','P',0.00000000,'cm','N','Altura','01','10',0.00000000,'cm','N',50,5000,'-','N','',1),('002',1,'Estanteria Nave 2 Brazos','Nave 2','002','002',0.00000000,'cm','N','Estanteria','01','10',0.00000000,'cm','N','Modulo','A','M',0.00000000,'cm','N','Altura','01','10',0.00000000,'cm','N',50,5000,'-','N','',1),('ALC',1,'Ubicaciones Almacén Singular lona colgada','Zona','01','01',0.00000000,'cm','N','Estación','01','63',0.00000000,'','N','Lado','1','2',0.00000000,'','N','Posición','1','2',0.00000000,'','N',500,5000,'.','N','',1),('LON',1,'Ubicaciones jaulas de lonas','Zona','01','01',0.00000000,'cm','N','Jaula','001','100',0.00000000,'cm','N','','','',0.00000000,'cm','N','','','',0.00000000,'cm','N',200,5000,'','N','',1);
/*!40000 ALTER TABLE `almaubic` 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:24
