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

DROP TABLE IF EXISTS `prodorfaser`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `prodorfaser` (
  `serie_orfa` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Serie fabricación',
  `nombre` text NOT NULL COMMENT 'Nombre',
  `of_cod_impreso` char(20) NOT NULL DEFAULT '' COMMENT 'Impreso OF',
  `of_titulo` char(250) NOT NULL DEFAULT '' COMMENT 'Título impreso OF',
  `of_sw_logo` char(1) NOT NULL DEFAULT 'S' COMMENT 'OF Logo en original',
  `of_copias_emp` int(11) NOT NULL DEFAULT '0' COMMENT 'OF Nº Copias empresa',
  `of_sw_loge` char(1) NOT NULL DEFAULT 'N' COMMENT 'OF Logo en copia emp.',
  `of_opers_page` text NOT NULL COMMENT 'Separar páginas por operaciones',
  `of_sw_save_pdf` char(1) NOT NULL DEFAULT 'N' COMMENT 'Guardar PDF OF',
  `num_impre_of` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Nº Impreso OF',
  `num_impre_prep` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'Nº Impreso Preparaciones',
  `ord_impre_arti` char(1) NOT NULL DEFAULT 'D' COMMENT 'Orden productos',
  `sw_tec_art_ult` char(1) NOT NULL DEFAULT 'N' COMMENT 'Ficha técnica art.final',
  `sw_impre_ceros` char(1) NOT NULL DEFAULT 'N' COMMENT 'Ver cantidades nulas',
  `sw_lisuof_of` char(1) NOT NULL DEFAULT 'N' COMMENT 'Lista sugs.compras en OF',
  `sw_lifufa_of` char(1) NOT NULL DEFAULT 'N' COMMENT 'Lista sugs.fusión en OF',
  `observaciones` text NOT NULL COMMENT 'Observaciones',
  `orden_opers_movs` text NOT NULL COMMENT 'Orden operaciones movtos.',
  `id_tenant` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Nº empresa',
  `opers_cierre_of` text NOT NULL COMMENT 'Operaciones cierre OFs.',
  `cod_serie_tra` char(3) NOT NULL DEFAULT 'TRA' COMMENT 'Serie traspasos preparación',
  `sw_mod_fecha_fin_of` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Fecha fin OF modificable',
  UNIQUE KEY `key0` (`id_tenant`,`serie_orfa`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `prodorfaser` WRITE;
/*!40000 ALTER TABLE `prodorfaser` DISABLE KEYS */;
INSERT INTO `prodorfaser` (`serie_orfa`, `nombre`, `of_cod_impreso`, `of_titulo`, `of_sw_logo`, `of_copias_emp`, `of_sw_loge`, `of_opers_page`, `of_sw_save_pdf`, `num_impre_of`, `num_impre_prep`, `ord_impre_arti`, `sw_tec_art_ult`, `sw_impre_ceros`, `sw_lisuof_of`, `sw_lifufa_of`, `observaciones`, `orden_opers_movs`, `id_tenant`, `opers_cierre_of`, `cod_serie_tra`, `sw_mod_fecha_fin_of`) VALUES (1,'Ordenes de fabricación Quartup','ImOFsolplay','Orden de fabricación','S',0,'N','COR, CON; COH, COA, ENV, ENS','N',1,1,'D','N','N','N','N','','',1,'ACC+MCC','TRA',0),(2,'Ordenes de fabricación Presupuestos B2B','ImOFsolplay','Orden de fabricación','S',0,'N','COR, CON; ENS','N',1,1,'D','N','N','N','N','','',1,'ACC+MCC','TRA',0);
/*!40000 ALTER TABLE `prodorfaser` 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:55
