-- 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 `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 ('101-1','101-30060','20','1-2','1-6','2017-02-01 15:35:51','ACTIVA','GG1','66-46',10508,'','','',1),('101-10','','20','1-3','1-64','2017-02-03 09:27:17','CANCELADA','GG10','66-46',889,'','','',1),('101-11','101-30067','20','1-5','0-41','2017-02-03 09:40:23','ACTIVA','GG11','66-46',95,'','','',1),('101-12','101-30068','20','1-12','26-2','2017-02-03 09:47:01','ACTIVA','GG12','66-46',555,'','','',1),('101-13','101-30069','20','1-25','422-1982','2017-02-03 09:52:02','ACTIVA','GG13','66-46',391,'','','',1),('101-14','','20','','1-64','2018-08-14 12:56:30','CANCELADA','GG14','178-1804',920,'','','',2),('101-2','101-30058','20','1-2','422-1977','2017-02-02 12:33:05','ACTIVA','GG2','66-46',1945,'','','',1),('101-3','','20','1-1','1-3','2017-02-02 14:14:41','CANCELADA','GG3','66-46',8004,'','','',1),('101-4','101-30061','20','1-5','422-498','2017-02-02 14:50:34','ACTIVA','GG4','66-46',496,'','','',1),('101-5','101-30062','20','1-5','203-1','2017-02-02 14:57:19','ACTIVA','GG5','66-46',67,'','','',1),('101-6','','20','1-10','1-6','2017-02-02 15:12:14','CANCELADA','GG6','66-46',2552,'','','',1),('101-7','101-30064','20','1-5','20-3','2017-02-02 15:44:36','ACTIVA','GG7','66-46',110,'','','',1),('101-8','101-30066','20','1-6','1-58','2017-02-02 17:58:09','ACTIVA','GG8','66-46',134,'','','',1),('101-9','','20','1-1','1-4','2017-02-02 18:09:22','CANCELADA','GG9','66-46',6327,'','','',1),('322-20','','192-50','','193-91','2018-05-07 10:06:29','CANCELADA','BF20','192-587',1358,'','','',2);
/*!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 2019-04-04  5:52:42
