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

DROP TABLE IF EXISTS `maesprectar`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `maesprectar` (
  `cod_tarifa` char(4) NOT NULL DEFAULT '' COMMENT 'Tarifa',
  `nombre` text NOT NULL COMMENT 'Nombre',
  `cod_moneda` char(3) NOT NULL DEFAULT 'EUR' COMMENT 'Moneda',
  `tipo` char(1) NOT NULL DEFAULT 'C' COMMENT 'Tipo',
  `sw_prec_neto` char(1) NOT NULL DEFAULT 'N' COMMENT 'Precio neto',
  `sw_iva_incluido` char(1) NOT NULL DEFAULT 'N' COMMENT 'Precio iva incluido',
  `orden_prec` int(11) NOT NULL DEFAULT '6' COMMENT 'Orden precios',
  `orden_dtos` int(11) NOT NULL DEFAULT '6' COMMENT 'Orden dtos.',
  `tpc_aumento` decimal(5,2) NOT NULL DEFAULT '0.00' COMMENT '% Aumento habitual (+/-)',
  `orden_prec_2` int(11) NOT NULL DEFAULT '7' COMMENT 'Orden precios Familia',
  `orden_dtos_2` int(11) NOT NULL DEFAULT '7' COMMENT 'Orden dtos. Familia',
  `orden_prec_3` int(11) NOT NULL DEFAULT '8' COMMENT 'Orden precios nivel 3',
  `orden_dtos_3` int(11) NOT NULL DEFAULT '8' COMMENT 'Orden dtos. nivel 3',
  `orden_prec_4` int(11) NOT NULL DEFAULT '9' COMMENT 'Orden precios nivel 4',
  `orden_dtos_4` int(11) NOT NULL DEFAULT '9' COMMENT 'Orden dtos. nivel 4',
  `orden_prec_5` int(11) NOT NULL DEFAULT '10' COMMENT 'Orden precios nivel 5',
  `orden_dtos_5` int(11) NOT NULL DEFAULT '10' COMMENT 'Orden dtos. nivel 5',
  `id_tenant` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Nº empresa',
  `nombre_b2b` char(10) NOT NULL DEFAULT '' COMMENT 'Nombre para Avant B2B',
  `observaciones` text NOT NULL COMMENT 'Observaciones',
  UNIQUE KEY `key0` (`id_tenant`,`cod_tarifa`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `maesprectar` WRITE;
/*!40000 ALTER TABLE `maesprectar` DISABLE KEYS */;
INSERT INTO `maesprectar` (`cod_tarifa`, `nombre`, `cod_moneda`, `tipo`, `sw_prec_neto`, `sw_iva_incluido`, `orden_prec`, `orden_dtos`, `tpc_aumento`, `orden_prec_2`, `orden_dtos_2`, `orden_prec_3`, `orden_dtos_3`, `orden_prec_4`, `orden_dtos_4`, `orden_prec_5`, `orden_dtos_5`, `id_tenant`, `nombre_b2b`, `observaciones`) VALUES ('EURO','Tarifa general','EUR','C','N','N',7,7,0.00,7,7,8,8,9,9,10,10,1,'','');
/*!40000 ALTER TABLE `maesprectar` 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:20
