-- 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 ('322-20','','192-50','','193-91','2018-05-07 10:06:29','PENDIENTE','BF20','192-587',1358,'','','',1),('39-1','','21','1-1','1-4','2017-01-31 14:09:01','CANCELADA','AA1','178-2796',1955,'','','',1),('39-10','','21','1-23','422-524','2017-02-02 17:44:51','PENDIENTE','AA10','178-2796',283,'','','',0),('39-11','','21','','1-64','2018-08-14 07:28:10','CANCELADA','AA11','178-2403',541,'','','',2),('39-2','39-16348','21','1-1','1-4','2017-01-31 14:20:49','ACTIVA','AA2','178-2796',1955,'','','',1),('39-3','39-16351','21','1-2','1-6','2017-02-01 10:32:31','ACTIVA','AA3','178-2796',2174,'','','',1),('39-4','','21','1-2','1-6','2017-02-02 10:18:43','CANCELADA','AA4','178-2796',1925,'','','',1),('39-5','40-16370','21','1-2','422-1977','2017-02-02 10:46:20','ACTIVA','AA5','178-2796',218,'','','',1),('39-6','','21','1-10','1-6','2017-02-02 11:54:02','CANCELADA','AA6','178-2796',434,'','','',1),('39-7','','21','1-3','1-64','2017-02-02 13:47:52','CANCELADA','AA7','178-2796',456,'','','',1),('39-8','','21','1-5','422-286','2017-02-02 15:10:45','CANCELADA','AA8','178-2796',496,'','','',1),('39-9','','21','1-1','1-4','2017-02-02 17:31:59','CANCELADA','AA9','178-2796',1939,'','','',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 2021-10-06 11:57:27
