-- MySQL dump 10.13  Distrib 5.7.12, for Win32 (AMD64)
--
-- Host: localhost    Database: circle_k
-- ------------------------------------------------------
-- Server version	5.7.10-log

/*!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 `pv_articulos`
--

DROP TABLE IF EXISTS `pv_articulos`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pv_articulos` (
  `PV_ArticulosID` varchar(50) NOT NULL,
  `FamiliasID` varchar(50) DEFAULT NULL,
  `DivisionesID` varchar(50) DEFAULT NULL,
  `TiposImpuestosID` varchar(50) DEFAULT NULL,
  `Codigo` int(11) DEFAULT '0',
  `Nombre` varchar(100) DEFAULT NULL,
  `Representa8020` tinyint(4) DEFAULT '0',
  `Referencia_DBF` int(11) DEFAULT '0',
  `EsMultijuego` tinyint(4) DEFAULT '0',
  `EsServicio` tinyint(4) DEFAULT '0',
  `CodigoBarra` varchar(30) DEFAULT NULL,
  `CodigoBarraExtra` tinyint(4) DEFAULT NULL,
  `UnidadPredeterminada` int(11) DEFAULT '0',
  `CantidadConDecimal` tinyint(4) DEFAULT '0',
  `Activo` tinyint(4) DEFAULT '0',
  `CapturaManual` tinyint(4) DEFAULT '0',
  `Monitorea` tinyint(4) DEFAULT '0',
  `SurteAlmacen` tinyint(4) DEFAULT '0',
  `Cantidad` int(11) DEFAULT '0',
  `Porcentaje` decimal(24,6) DEFAULT '0.000000',
  `Importe` decimal(24,6) DEFAULT '0.000000',
  `ImpuestoExtra` tinyint(4) DEFAULT '0',
  `EsInsumo` tinyint(4) DEFAULT '0',
  `Descatalogado` tinyint(4) DEFAULT '0',
  `MinimoOrdenable` int(11) DEFAULT '0',
  `MonitorearCaducidad` tinyint(4) DEFAULT '0',
  `Memo1` varchar(50) DEFAULT NULL,
  `Memo2` varchar(50) DEFAULT NULL,
  `Memo3` varchar(50) DEFAULT NULL,
  `Costo` decimal(24,6) DEFAULT '0.000000',
  `Precio` decimal(24,6) DEFAULT '0.000000',
  `esArmado` tinyint(4) DEFAULT '0',
  `EsRecarga` tinyint(4) DEFAULT '0',
  `BOMAcumulador` decimal(24,6) DEFAULT '0.000000',
  `VentaEnNegativo` tinyint(4) DEFAULT '0',
  `Manufacturable` tinyint(4) DEFAULT '0',
  `NoSeVende` tinyint(4) DEFAULT '0',
  `Memo4` varchar(20) DEFAULT NULL,
  `Memo5` varchar(20) DEFAULT NULL,
  `Memo6` varchar(20) DEFAULT NULL,
  `InternalVersion` int(11) DEFAULT '0',
  PRIMARY KEY (`PV_ArticulosID`),
  KEY `WDIDX_PV_Articulos_FamiliasID` (`FamiliasID`),
  KEY `WDIDX_PV_Articulos_DivisionesID` (`DivisionesID`),
  KEY `WDIDX_PV_Articulos_TiposImpuestosID` (`TiposImpuestosID`),
  KEY `WDIDX_PV_Articulos_Codigo` (`Codigo`),
  KEY `WDIDX_PV_Articulos_Nombre` (`Nombre`),
  KEY `WDIDX_PV_Articulos_Representa8020` (`Representa8020`),
  KEY `WDIDX_PV_Articulos_Referencia_DBF` (`Referencia_DBF`),
  KEY `WDIDX_PV_Articulos_EsMultijuego` (`EsMultijuego`),
  KEY `WDIDX_PV_Articulos_EsServicio` (`EsServicio`),
  KEY `WDIDX_PV_Articulos_CodigoBarra` (`CodigoBarra`),
  KEY `WDIDX_PV_Articulos_CodigoBarraExtra` (`CodigoBarraExtra`),
  KEY `WDIDX_PV_Articulos_Activo` (`Activo`),
  KEY `WDIDX_PV_Articulos_Monitorea` (`Monitorea`),
  KEY `WDIDX_PV_Articulos_ImpuestoExtra` (`ImpuestoExtra`),
  KEY `WDIDX_PV_Articulos_CodigoArticulosID` (`Codigo`,`PV_ArticulosID`),
  KEY `WDIDX_PV_Articulos_CodigoDivisionesID` (`Codigo`,`DivisionesID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pv_articulos`
--

LOCK TABLES `pv_articulos` WRITE;
/*!40000 ALTER TABLE `pv_articulos` DISABLE KEYS */;
/*!40000 ALTER TABLE `pv_articulos` 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 2026-05-30  9:24:23
