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

DROP TABLE IF EXISTS `almamoviabcart`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `almamoviabcart` (
  `id_almamoviabc` int(11) NOT NULL DEFAULT '0' COMMENT 'ABC',
  `id_maesarti` int(11) NOT NULL DEFAULT '0' COMMENT 'Producto',
  `id_maescombart` int(11) NOT NULL DEFAULT '0' COMMENT 'Combinación',
  `clase` char(1) NOT NULL DEFAULT '' COMMENT 'Categoría',
  `documentos` int(11) NOT NULL DEFAULT '0' COMMENT 'Documentos',
  `total` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'Total',
  `tpc_total` decimal(5,2) NOT NULL DEFAULT '0.00' COMMENT '% Tot',
  `id_tenant` smallint(6) NOT NULL DEFAULT '1' COMMENT 'Nº empresa',
  UNIQUE KEY `key0` (`id_tenant`,`id_almamoviabc`,`id_maesarti`,`id_maescombart`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `almamoviabcart` WRITE;
/*!40000 ALTER TABLE `almamoviabcart` DISABLE KEYS */;
INSERT INTO `almamoviabcart` (`id_almamoviabc`, `id_maesarti`, `id_maescombart`, `clase`, `documentos`, `total`, `tpc_total`, `id_tenant`) VALUES (1,13821,0,'C',0,0.00,0.00,1),(1,16177,0,'C',0,0.00,0.00,1),(1,45529,0,'C',8,13.00,0.95,1),(1,45530,0,'C',1,1.00,0.07,1),(1,45531,0,'C',0,0.00,0.00,1),(1,45532,0,'B',19,24.00,1.75,1),(1,45533,0,'B',20,25.00,1.82,1),(1,45534,0,'A',72,89.00,6.47,1),(1,45535,0,'A',116,140.00,10.18,1),(1,45536,0,'C',10,12.00,0.87,1),(1,45537,0,'C',1,2.00,0.15,1),(1,45538,0,'C',4,2.00,0.15,1),(1,45539,0,'C',2,3.00,0.22,1),(1,45543,0,'C',9,12.00,0.87,1),(1,45544,0,'A',86,181.00,13.16,1),(1,45545,0,'C',15,23.00,1.67,1),(1,45547,0,'C',1,3.00,0.22,1),(1,45549,0,'A',124,192.00,13.96,1),(1,45550,0,'A',83,103.00,7.49,1),(1,45551,0,'A',112,152.00,11.05,1),(1,45552,0,'C',7,11.00,0.80,1),(1,45553,0,'C',1,1.00,0.07,1),(1,45554,0,'C',2,2.00,0.15,1),(1,45555,0,'C',1,1.00,0.07,1),(1,45558,0,'C',7,8.00,0.58,1),(1,58280,0,'C',0,0.00,0.00,1),(1,58284,0,'C',1,1.00,0.07,1),(1,58285,0,'C',2,2.00,0.15,1),(1,59102,0,'C',0,0.00,0.00,1),(1,70063,0,'C',0,0.00,0.00,1),(1,70065,0,'C',0,0.00,0.00,1),(1,70066,0,'C',0,0.00,0.00,1),(1,70073,0,'C',0,0.00,0.00,1),(1,80871,0,'C',0,0.00,0.00,1),(1,81308,0,'C',8,11.00,0.80,1),(1,81340,0,'C',0,0.00,0.00,1),(1,81463,0,'C',0,0.00,0.00,1),(1,1004591,0,'C',0,0.00,0.00,1),(1,1010800,0,'B',30,54.00,3.93,1),(1,1011150,0,'C',0,0.00,0.00,1),(1,1011152,0,'C',3,6.00,0.44,1),(1,1011154,0,'C',3,3.00,0.22,1),(1,1014964,0,'C',0,0.00,0.00,1),(1,1015240,0,'C',0,0.00,0.00,1),(1,1017406,0,'C',5,6.00,0.44,1),(1,1017407,0,'B',49,53.00,3.85,1),(1,1017408,0,'A',38,136.00,9.89,1),(1,1017411,0,'C',2,2.00,0.15,1),(1,1017412,0,'B',34,47.00,3.42,1),(1,1017413,0,'B',26,29.00,2.11,1),(1,1017931,0,'C',11,16.00,1.16,1),(1,1021229,0,'C',3,9.00,0.65,1),(1,1022333,0,'C',0,0.00,0.00,1);
/*!40000 ALTER TABLE `almamoviabcart` 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:23
