-- MySQL dump 10.13  Distrib 5.6.24, for Win64 (x86_64)
--
-- 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 `r_articulos`
--

DROP TABLE IF EXISTS `r_articulos`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `r_articulos` (
  `R_ArticulosID` varchar(50) NOT NULL,
  `FamiliasID` varchar(50) DEFAULT NULL,
  `DivisionesID` varchar(50) DEFAULT NULL,
  `Nombre` varchar(100) DEFAULT NULL,
  `Codigo` int(11) DEFAULT '0',
  `Activo` tinyint(4) DEFAULT '0',
  `TiposImpuestosID` varchar(50) DEFAULT NULL,
  `Platillo` tinyint(4) DEFAULT '0',
  `Guarnicion` tinyint(4) DEFAULT '0',
  `Presentacion` tinyint(4) DEFAULT '0',
  `Aperitivo` tinyint(4) DEFAULT '0',
  `Bebida` tinyint(4) DEFAULT '0',
  `NoPlatillos` int(11) DEFAULT '0',
  `NoGuarniciones` int(11) DEFAULT '0',
  `NoAperitivos` int(11) DEFAULT '0',
  `Porcentaje` decimal(24,6) DEFAULT '0.000000',
  `Importe` decimal(24,6) DEFAULT '0.000000',
  `R_ArticulosRefID` varchar(50) DEFAULT NULL,
  `Img` varchar(50) DEFAULT NULL,
  `Manufacturable` tinyint(4) DEFAULT '0',
  `NoSeVende` tinyint(4) DEFAULT '0',
  `EsInsumo` tinyint(4) DEFAULT '0',
  `SurteAlmacen` tinyint(4) DEFAULT '0',
  `Descatalogado` tinyint(4) DEFAULT '0',
  `Inventariable` tinyint(4) DEFAULT '0',
  `Servicio` tinyint(4) DEFAULT '0',
  `VentaEscaner` tinyint(4) DEFAULT '0',
  `Ingrediente` tinyint(4) DEFAULT '0',
  `AcumuladorBom` int(11) DEFAULT '0',
  `MinimoOrdenable` int(11) DEFAULT '0',
  `Orden` int(11) DEFAULT '0',
  `PrecioGeneral` decimal(24,6) DEFAULT '0.000000',
  `CostoGeneral` decimal(24,6) DEFAULT '0.000000',
  `CantidadWok` int(11) DEFAULT '0',
  `Memo1` varchar(50) DEFAULT NULL,
  `Memo2` varchar(50) DEFAULT NULL,
  `Memo3` varchar(50) DEFAULT NULL,
  `Memo4` varchar(50) DEFAULT NULL,
  `Memo5` tinyint(4) DEFAULT '0',
  `Memo6` tinyint(4) DEFAULT '0',
  `InternalVersion` int(11) DEFAULT '0',
  PRIMARY KEY (`R_ArticulosID`),
  KEY `WDIDX_R_Articulos_FamiliasID` (`FamiliasID`),
  KEY `WDIDX_R_Articulos_DivisionesID` (`DivisionesID`),
  KEY `WDIDX_R_Articulos_Nombre` (`Nombre`),
  KEY `WDIDX_R_Articulos_Codigo` (`Codigo`),
  KEY `WDIDX_R_Articulos_Activo` (`Activo`),
  KEY `WDIDX_R_Articulos_TiposImpuestosID` (`TiposImpuestosID`),
  KEY `WDIDX_R_Articulos_Platillo` (`Platillo`),
  KEY `WDIDX_R_Articulos_Guarnicion` (`Guarnicion`),
  KEY `WDIDX_R_Articulos_Presentacion` (`Presentacion`),
  KEY `WDIDX_R_Articulos_Aperitivo` (`Aperitivo`),
  KEY `WDIDX_R_Articulos_Bebida` (`Bebida`),
  KEY `WDIDX_R_Articulos_R_ArticulosRefID` (`R_ArticulosRefID`),
  KEY `WDIDX_R_Articulos_Manufacturable` (`Manufacturable`),
  KEY `WDIDX_R_Articulos_NoSeVende` (`NoSeVende`),
  KEY `WDIDX_R_Articulos_EsInsumo` (`EsInsumo`),
  KEY `WDIDX_R_Articulos_SurteAlmacen` (`SurteAlmacen`),
  KEY `WDIDX_R_Articulos_Descatalogado` (`Descatalogado`),
  KEY `WDIDX_R_Articulos_Inventariable` (`Inventariable`),
  KEY `WDIDX_R_Articulos_Servicio` (`Servicio`),
  KEY `WDIDX_R_Articulos_VentaEscaner` (`VentaEscaner`),
  KEY `WDIDX_R_Articulos_Ingrediente` (`Ingrediente`),
  KEY `WDIDX_R_Articulos_CodigoDivisionesID` (`Codigo`,`DivisionesID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `r_articulos`
--

LOCK TABLES `r_articulos` WRITE;
/*!40000 ALTER TABLE `r_articulos` DISABLE KEYS */;
/*!40000 ALTER TABLE `r_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 2017-09-12  8:19:25
