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

DROP TABLE IF EXISTS `compracalculada_encabezado`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `compracalculada_encabezado` (
  `CompraCalculada_EncabezadoID` varchar(50) NOT NULL DEFAULT '0',
  `ComprasID` varchar(50) DEFAULT NULL,
  `TiendasID` varchar(50) DEFAULT NULL,
  `FamiliasID` varchar(50) DEFAULT NULL,
  `ProveedoresID` varchar(50) DEFAULT NULL,
  `Fecha` datetime DEFAULT NULL,
  `Estatus` varchar(50) DEFAULT NULL,
  `Folio` varchar(50) DEFAULT NULL,
  `UsuariosID` varchar(50) DEFAULT NULL,
  `Total` int(11) DEFAULT '0',
  `Memo1` varchar(50) DEFAULT NULL,
  `Memo2` varchar(50) DEFAULT NULL,
  `Memo3` varchar(50) DEFAULT NULL,
  `InternalVersion` int(11) DEFAULT '0',
  PRIMARY KEY (`CompraCalculada_EncabezadoID`),
  KEY `WDIDX_CompraCalculada_Encabezado_ComprasID` (`ComprasID`),
  KEY `WDIDX_CompraCalculada_Encabezado_TiendasID` (`TiendasID`),
  KEY `WDIDX_CompraCalculada_Encabezado_FamiliasID` (`FamiliasID`),
  KEY `WDIDX_CompraCalculada_Encabezado_ProveedoresID` (`ProveedoresID`),
  KEY `WDIDX_CompraCalculada_Encabezado_Fecha` (`Fecha`),
  KEY `WDIDX_CompraCalculada_Encabezado_Estatus` (`Estatus`),
  KEY `WDIDX_CompraCalculada_Encabezado_Folio` (`Folio`),
  KEY `WDIDX_CompraCalculada_Encabezado_UsuariosID` (`UsuariosID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `compracalculada_encabezado`
--

LOCK TABLES `compracalculada_encabezado` WRITE;
/*!40000 ALTER TABLE `compracalculada_encabezado` DISABLE KEYS */;
INSERT INTO `compracalculada_encabezado` VALUES ('25-1','','16','1-2','422-1977','2017-01-27 13:59:57','PENDIENTE','P1','192-2193',351,'','','',0),('25-2','25-17996','16','1-2','1-6','2017-01-27 14:56:28','ACTIVA','P2','192-2193',3792,'','','',1),('25-3','25-17994','16','1-1','1-4','2017-01-28 12:25:41','ACTIVA','P3','192-2193',905,'','','',1),('25-4','25-18019','16','1-2','1-6','2017-01-31 14:51:57','ACTIVA','P4','192-2193',3705,'','','',1),('25-5','25-18021','16','1-10','1-6','2017-01-31 14:56:45','ACTIVA','P5','192-2193',331,'','','',1),('25-6','','16','1-1','1-4','2017-02-01 10:24:26','PENDIENTE','P6','192-2193',939,'','','',0),('25-7','','16','1-2','1-6','2017-02-02 10:01:33','PENDIENTE','P7','192-2193',3382,'','','',0),('25-8','','16','1-10','1-6','2017-02-02 10:04:18','PENDIENTE','P8','192-2193',272,'','','',0),('25-9','25-18031','16','1-4','1-14','2017-02-03 08:02:39','ACTIVA','P9','192-2193',1654,'','','',1),('322-20','','192-50','','193-91','2018-05-07 10:06:29','PENDIENTE','BF20','192-587',1358,'','','',1);
/*!40000 ALTER TABLE `compracalculada_encabezado` 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 2020-02-18 17:45:49
