-- Table structure for table `cta_cte_cliente_details`
--

CREATE TABLE `cta_cte_cliente_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_cliente_details_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_cliente_details_person_id_foreign` (`person_id`),
  KEY `cta_cte_cliente_details_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `cta_cte_cliente_details_period_id_foreign` (`period_id`),
  KEY `cta_cte_cliente_details_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `cta_cte_cliente_details_saldo_id_foreign` (`saldo_id`),
  KEY `cta_cte_cliente_details_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `cta_cte_cliente_details_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_cliente_details_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_cliente_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_cliente_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_cliente_details_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_cliente_details_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `cta_cte_cliente_details_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_cliente_details`
--


--
-- Table structure for table `cta_cte_cliente_pivot_receipt`
--

CREATE TABLE `cta_cte_cliente_pivot_receipt` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned NOT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4076 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_cliente_pivot_receipt`
--

INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1,NULL,1,1,NULL,NULL,NULL,NULL),(2,NULL,2,2,NULL,NULL,NULL,NULL),(3,NULL,3,3,NULL,NULL,NULL,NULL),(4,NULL,4,4,NULL,NULL,NULL,NULL),(5,NULL,5,5,NULL,NULL,NULL,NULL),(6,NULL,6,6,NULL,NULL,NULL,NULL),(7,NULL,7,7,NULL,NULL,NULL,NULL),(8,NULL,8,8,NULL,NULL,NULL,NULL),(9,NULL,9,9,NULL,NULL,NULL,NULL),(10,NULL,10,10,NULL,NULL,NULL,NULL),(11,NULL,11,11,NULL,NULL,NULL,NULL),(12,NULL,12,12,NULL,NULL,NULL,NULL),(13,NULL,13,13,NULL,NULL,NULL,NULL),(14,NULL,14,14,NULL,NULL,NULL,NULL),(15,NULL,15,15,NULL,NULL,NULL,NULL),(16,NULL,16,16,NULL,NULL,NULL,NULL),(17,NULL,17,10,NULL,NULL,NULL,NULL),(18,NULL,18,11,NULL,NULL,NULL,NULL),(19,NULL,19,12,NULL,NULL,NULL,NULL),(20,NULL,20,14,NULL,NULL,NULL,NULL),(21,NULL,21,16,NULL,NULL,NULL,NULL),(22,NULL,22,13,NULL,NULL,NULL,NULL),(23,NULL,23,10,NULL,NULL,NULL,NULL),(24,NULL,24,10,NULL,NULL,NULL,NULL),(25,NULL,25,10,NULL,NULL,NULL,NULL),(26,NULL,26,17,NULL,NULL,NULL,NULL),(27,NULL,27,18,NULL,NULL,NULL,NULL),(28,NULL,28,19,NULL,NULL,NULL,NULL),(29,NULL,29,20,NULL,NULL,NULL,NULL),(30,NULL,30,21,NULL,NULL,NULL,NULL),(31,NULL,31,22,NULL,NULL,NULL,NULL),(32,NULL,32,23,NULL,NULL,NULL,NULL),(33,NULL,33,24,NULL,NULL,NULL,NULL),(34,NULL,34,25,NULL,NULL,NULL,NULL),(35,NULL,35,26,NULL,NULL,NULL,NULL),(36,NULL,36,27,NULL,NULL,NULL,NULL),(37,NULL,37,28,NULL,NULL,NULL,NULL),(38,NULL,38,26,NULL,NULL,NULL,NULL),(39,NULL,39,25,NULL,NULL,NULL,NULL),(40,NULL,40,29,NULL,NULL,NULL,NULL),(41,NULL,41,30,NULL,NULL,NULL,NULL),(42,NULL,42,31,NULL,NULL,NULL,NULL),(43,NULL,43,32,NULL,NULL,NULL,NULL),(44,NULL,44,29,NULL,NULL,NULL,NULL),(45,NULL,45,31,NULL,NULL,NULL,NULL),(46,NULL,46,33,NULL,NULL,NULL,NULL),(47,NULL,47,34,NULL,NULL,NULL,NULL),(48,NULL,48,35,NULL,NULL,NULL,NULL),(49,NULL,49,36,NULL,NULL,NULL,NULL),(50,NULL,50,37,NULL,NULL,NULL,NULL),(51,NULL,51,38,NULL,NULL,NULL,NULL),(52,NULL,52,39,NULL,NULL,NULL,NULL),(53,NULL,53,40,NULL,NULL,NULL,NULL),(54,NULL,54,41,NULL,NULL,NULL,NULL),(55,NULL,55,42,NULL,NULL,NULL,NULL),(56,NULL,56,43,NULL,NULL,NULL,NULL),(57,NULL,57,44,NULL,NULL,NULL,NULL),(58,NULL,58,45,NULL,NULL,NULL,NULL),(59,NULL,59,46,NULL,NULL,NULL,NULL),(60,NULL,60,47,NULL,NULL,NULL,NULL),(61,NULL,61,48,NULL,NULL,NULL,NULL),(62,NULL,62,49,NULL,NULL,NULL,NULL),(63,NULL,63,50,NULL,NULL,NULL,NULL),(64,NULL,64,51,NULL,NULL,NULL,NULL),(65,NULL,65,52,NULL,NULL,NULL,NULL),(66,NULL,66,53,NULL,NULL,NULL,NULL),(67,NULL,67,54,NULL,NULL,NULL,NULL),(68,NULL,68,55,NULL,NULL,NULL,NULL),(69,NULL,69,56,NULL,NULL,NULL,NULL),(70,NULL,70,57,NULL,NULL,NULL,NULL),(71,NULL,71,58,NULL,NULL,NULL,NULL),(72,NULL,72,59,NULL,NULL,NULL,NULL),(73,NULL,73,60,NULL,NULL,NULL,NULL),(74,NULL,74,61,NULL,NULL,NULL,NULL),(75,NULL,75,62,NULL,NULL,NULL,NULL),(76,NULL,76,63,NULL,NULL,NULL,NULL),(77,NULL,77,64,NULL,NULL,NULL,NULL),(78,NULL,78,65,NULL,NULL,NULL,NULL),(79,NULL,79,66,NULL,NULL,NULL,NULL),(80,NULL,80,67,NULL,NULL,NULL,NULL),(81,NULL,81,68,NULL,NULL,NULL,NULL),(82,NULL,82,69,NULL,NULL,NULL,NULL),(83,NULL,83,70,NULL,NULL,NULL,NULL),(84,NULL,84,71,NULL,NULL,NULL,NULL),(85,NULL,85,72,NULL,NULL,NULL,NULL),(86,NULL,86,73,NULL,NULL,NULL,NULL),(87,NULL,87,74,NULL,NULL,NULL,NULL),(88,NULL,88,75,NULL,NULL,NULL,NULL),(89,NULL,89,76,NULL,NULL,NULL,NULL),(90,NULL,90,77,NULL,NULL,NULL,NULL),(91,NULL,91,78,NULL,NULL,NULL,NULL),(92,NULL,92,79,NULL,NULL,NULL,NULL),(93,NULL,93,80,NULL,NULL,NULL,NULL),(94,NULL,94,81,NULL,NULL,NULL,NULL),(95,NULL,95,82,NULL,NULL,NULL,NULL),(96,NULL,96,83,NULL,NULL,NULL,NULL),(97,NULL,97,84,NULL,NULL,NULL,NULL),(98,NULL,98,85,NULL,NULL,NULL,NULL),(99,NULL,99,86,NULL,NULL,NULL,NULL),(100,NULL,100,87,NULL,NULL,NULL,NULL),(101,NULL,101,88,NULL,NULL,NULL,NULL),(102,NULL,102,89,NULL,NULL,NULL,NULL),(103,NULL,103,90,NULL,NULL,NULL,NULL),(104,NULL,104,91,NULL,NULL,NULL,NULL),(105,NULL,105,92,NULL,NULL,NULL,NULL),(106,NULL,106,93,NULL,NULL,NULL,NULL),(107,NULL,107,94,NULL,NULL,NULL,NULL),(108,NULL,108,95,NULL,NULL,NULL,NULL),(109,NULL,109,96,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (110,NULL,110,97,NULL,NULL,NULL,NULL),(111,NULL,111,98,NULL,NULL,NULL,NULL),(112,NULL,112,99,NULL,NULL,NULL,NULL),(113,NULL,113,100,NULL,NULL,NULL,NULL),(114,NULL,114,101,NULL,NULL,NULL,NULL),(115,NULL,115,102,NULL,NULL,NULL,NULL),(116,NULL,116,103,NULL,NULL,NULL,NULL),(117,NULL,117,104,NULL,NULL,NULL,NULL),(118,NULL,118,105,NULL,NULL,NULL,NULL),(119,NULL,119,106,NULL,NULL,NULL,NULL),(120,NULL,120,107,NULL,NULL,NULL,NULL),(121,NULL,121,108,NULL,NULL,NULL,NULL),(122,NULL,122,109,NULL,NULL,NULL,NULL),(123,NULL,123,110,NULL,NULL,NULL,NULL),(124,NULL,124,111,NULL,NULL,NULL,NULL),(125,NULL,125,112,NULL,NULL,NULL,NULL),(126,NULL,126,113,NULL,NULL,NULL,NULL),(127,NULL,127,114,NULL,NULL,NULL,NULL),(128,NULL,128,115,NULL,NULL,NULL,NULL),(129,NULL,129,116,NULL,NULL,NULL,NULL),(130,NULL,130,117,NULL,NULL,NULL,NULL),(131,NULL,131,118,NULL,NULL,NULL,NULL),(132,NULL,132,119,NULL,NULL,NULL,NULL),(133,NULL,133,120,NULL,NULL,NULL,NULL),(134,NULL,134,121,NULL,NULL,NULL,NULL),(135,NULL,135,122,NULL,NULL,NULL,NULL),(136,NULL,136,123,NULL,NULL,NULL,NULL),(137,NULL,137,124,NULL,NULL,NULL,NULL),(138,NULL,138,125,NULL,NULL,NULL,NULL),(139,NULL,139,126,NULL,NULL,NULL,NULL),(140,NULL,140,127,NULL,NULL,NULL,NULL),(141,NULL,141,128,NULL,NULL,NULL,NULL),(142,NULL,142,129,NULL,NULL,NULL,NULL),(143,NULL,143,130,NULL,NULL,NULL,NULL),(144,NULL,144,131,NULL,NULL,NULL,NULL),(145,NULL,145,132,NULL,NULL,NULL,NULL),(146,NULL,146,133,NULL,NULL,NULL,NULL),(147,NULL,147,134,NULL,NULL,NULL,NULL),(148,NULL,148,135,NULL,NULL,NULL,NULL),(149,NULL,149,136,NULL,NULL,NULL,NULL),(150,NULL,150,137,NULL,NULL,NULL,NULL),(151,NULL,151,138,NULL,NULL,NULL,NULL),(152,NULL,152,139,NULL,NULL,NULL,NULL),(153,NULL,153,140,NULL,NULL,NULL,NULL),(154,NULL,154,141,NULL,NULL,NULL,NULL),(155,NULL,155,142,NULL,NULL,NULL,NULL),(156,NULL,156,143,NULL,NULL,NULL,NULL),(157,NULL,157,144,NULL,NULL,NULL,NULL),(158,NULL,158,145,NULL,NULL,NULL,NULL),(159,NULL,159,146,NULL,NULL,NULL,NULL),(160,NULL,160,147,NULL,NULL,NULL,NULL),(161,NULL,161,148,NULL,NULL,NULL,NULL),(162,NULL,162,149,NULL,NULL,NULL,NULL),(163,NULL,163,150,NULL,NULL,NULL,NULL),(164,NULL,164,151,NULL,NULL,NULL,NULL),(165,NULL,165,152,NULL,NULL,NULL,NULL),(166,NULL,166,153,NULL,NULL,NULL,NULL),(167,NULL,167,154,NULL,NULL,NULL,NULL),(168,NULL,168,155,NULL,NULL,NULL,NULL),(169,NULL,169,156,NULL,NULL,NULL,NULL),(170,NULL,170,157,NULL,NULL,NULL,NULL),(171,NULL,171,158,NULL,NULL,NULL,NULL),(172,NULL,172,159,NULL,NULL,NULL,NULL),(173,NULL,173,160,NULL,NULL,NULL,NULL),(174,NULL,174,161,NULL,NULL,NULL,NULL),(175,NULL,175,162,NULL,NULL,NULL,NULL),(176,NULL,176,163,NULL,NULL,NULL,NULL),(177,NULL,177,164,NULL,NULL,NULL,NULL),(178,NULL,178,165,NULL,NULL,NULL,NULL),(179,NULL,179,166,NULL,NULL,NULL,NULL),(180,NULL,180,167,NULL,NULL,NULL,NULL),(181,NULL,181,168,NULL,NULL,NULL,NULL),(182,NULL,182,169,NULL,NULL,NULL,NULL),(183,NULL,183,170,NULL,NULL,NULL,NULL),(184,NULL,184,171,NULL,NULL,NULL,NULL),(185,NULL,185,172,NULL,NULL,NULL,NULL),(186,NULL,186,173,NULL,NULL,NULL,NULL),(187,NULL,187,174,NULL,NULL,NULL,NULL),(188,NULL,188,175,NULL,NULL,NULL,NULL),(189,NULL,189,176,NULL,NULL,NULL,NULL),(190,NULL,190,177,NULL,NULL,NULL,NULL),(191,NULL,191,178,NULL,NULL,NULL,NULL),(192,NULL,192,179,NULL,NULL,NULL,NULL),(193,NULL,193,180,NULL,NULL,NULL,NULL),(194,NULL,194,181,NULL,NULL,NULL,NULL),(195,NULL,195,182,NULL,NULL,NULL,NULL),(196,NULL,196,183,NULL,NULL,NULL,NULL),(197,NULL,197,184,NULL,NULL,NULL,NULL),(201,NULL,201,188,NULL,NULL,NULL,NULL),(202,NULL,202,189,NULL,NULL,NULL,NULL),(203,NULL,203,190,NULL,NULL,NULL,NULL),(204,NULL,204,191,NULL,NULL,NULL,NULL),(205,NULL,205,192,NULL,NULL,NULL,NULL),(206,NULL,206,193,NULL,NULL,NULL,NULL),(207,NULL,207,194,NULL,NULL,NULL,NULL),(208,NULL,208,194,NULL,NULL,NULL,NULL),(209,NULL,209,195,NULL,NULL,NULL,NULL),(210,NULL,210,196,NULL,NULL,NULL,NULL),(211,NULL,211,197,NULL,NULL,NULL,NULL),(212,NULL,212,198,NULL,NULL,NULL,NULL),(213,NULL,213,199,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (214,NULL,214,200,NULL,NULL,NULL,NULL),(215,NULL,215,201,NULL,NULL,NULL,NULL),(216,NULL,216,202,NULL,NULL,NULL,NULL),(217,NULL,217,203,NULL,NULL,NULL,NULL),(218,NULL,218,204,NULL,NULL,NULL,NULL),(219,NULL,219,205,NULL,NULL,NULL,NULL),(220,NULL,220,206,NULL,NULL,NULL,NULL),(221,NULL,221,207,NULL,NULL,NULL,NULL),(222,NULL,222,208,NULL,NULL,NULL,NULL),(223,NULL,223,209,NULL,NULL,NULL,NULL),(224,NULL,224,210,NULL,NULL,NULL,NULL),(225,NULL,225,211,NULL,NULL,NULL,NULL),(226,NULL,226,212,NULL,NULL,NULL,NULL),(227,NULL,227,213,NULL,NULL,NULL,NULL),(228,NULL,228,214,NULL,NULL,NULL,NULL),(229,NULL,229,215,NULL,NULL,NULL,NULL),(230,NULL,230,216,NULL,NULL,NULL,NULL),(231,NULL,231,217,NULL,NULL,NULL,NULL),(232,NULL,232,218,NULL,NULL,NULL,NULL),(233,NULL,233,219,NULL,NULL,NULL,NULL),(234,NULL,234,220,NULL,NULL,NULL,NULL),(235,NULL,235,221,NULL,NULL,NULL,NULL),(236,NULL,236,222,NULL,NULL,NULL,NULL),(237,NULL,237,223,NULL,NULL,NULL,NULL),(238,NULL,238,224,NULL,NULL,NULL,NULL),(239,NULL,239,225,NULL,NULL,NULL,NULL),(240,NULL,240,226,NULL,NULL,NULL,NULL),(241,NULL,241,227,NULL,NULL,NULL,NULL),(242,NULL,242,228,NULL,NULL,NULL,NULL),(243,NULL,243,229,NULL,NULL,NULL,NULL),(244,NULL,244,230,NULL,NULL,NULL,NULL),(245,NULL,245,231,NULL,NULL,NULL,NULL),(246,NULL,246,232,NULL,NULL,NULL,NULL),(247,NULL,247,233,NULL,NULL,NULL,NULL),(248,NULL,248,234,NULL,NULL,NULL,NULL),(249,NULL,249,235,NULL,NULL,NULL,NULL),(250,NULL,250,236,NULL,NULL,NULL,NULL),(251,NULL,251,237,NULL,NULL,NULL,NULL),(252,NULL,252,238,NULL,NULL,NULL,NULL),(253,NULL,253,239,NULL,NULL,NULL,NULL),(254,NULL,254,240,NULL,NULL,NULL,NULL),(255,NULL,255,241,NULL,NULL,NULL,NULL),(256,NULL,256,242,NULL,NULL,NULL,NULL),(257,NULL,257,243,NULL,NULL,NULL,NULL),(258,NULL,258,244,NULL,NULL,NULL,NULL),(259,NULL,259,245,NULL,NULL,NULL,NULL),(260,NULL,260,246,NULL,NULL,NULL,NULL),(261,NULL,261,247,NULL,NULL,NULL,NULL),(262,NULL,262,248,NULL,NULL,NULL,NULL),(263,NULL,263,249,NULL,NULL,NULL,NULL),(264,NULL,264,250,NULL,NULL,NULL,NULL),(265,NULL,265,251,NULL,NULL,NULL,NULL),(266,NULL,266,252,NULL,NULL,NULL,NULL),(267,NULL,267,253,NULL,NULL,NULL,NULL),(268,NULL,268,254,NULL,NULL,NULL,NULL),(269,NULL,269,255,NULL,NULL,NULL,NULL),(270,NULL,270,256,NULL,NULL,NULL,NULL),(271,NULL,271,257,NULL,NULL,NULL,NULL),(272,NULL,272,258,NULL,NULL,NULL,NULL),(273,NULL,273,259,NULL,NULL,NULL,NULL),(274,NULL,274,260,NULL,NULL,NULL,NULL),(275,NULL,275,261,NULL,NULL,NULL,NULL),(276,NULL,276,262,NULL,NULL,NULL,NULL),(277,NULL,277,263,NULL,NULL,NULL,NULL),(278,NULL,278,264,NULL,NULL,NULL,NULL),(279,NULL,279,265,NULL,NULL,NULL,NULL),(280,NULL,280,266,NULL,NULL,NULL,NULL),(281,NULL,281,267,NULL,NULL,NULL,NULL),(282,NULL,282,268,NULL,NULL,NULL,NULL),(283,NULL,283,269,NULL,NULL,NULL,NULL),(284,NULL,284,270,NULL,NULL,NULL,NULL),(285,NULL,285,271,NULL,NULL,NULL,NULL),(286,NULL,286,272,NULL,NULL,NULL,NULL),(287,NULL,287,273,NULL,NULL,NULL,NULL),(288,NULL,288,274,NULL,NULL,NULL,NULL),(289,NULL,289,275,NULL,NULL,NULL,NULL),(290,NULL,290,276,NULL,NULL,NULL,NULL),(291,NULL,291,277,NULL,NULL,NULL,NULL),(292,NULL,292,278,NULL,NULL,NULL,NULL),(293,NULL,293,279,NULL,NULL,NULL,NULL),(294,NULL,294,280,NULL,NULL,NULL,NULL),(295,NULL,295,281,NULL,NULL,NULL,NULL),(296,NULL,296,282,NULL,NULL,NULL,NULL),(297,NULL,297,283,NULL,NULL,NULL,NULL),(298,NULL,298,284,NULL,NULL,NULL,NULL),(299,NULL,299,285,NULL,NULL,NULL,NULL),(300,NULL,300,286,NULL,NULL,NULL,NULL),(301,NULL,301,287,NULL,NULL,NULL,NULL),(302,NULL,302,288,NULL,NULL,NULL,NULL),(303,NULL,303,289,NULL,NULL,NULL,NULL),(304,NULL,304,290,NULL,NULL,NULL,NULL),(305,NULL,305,291,NULL,NULL,NULL,NULL),(306,NULL,306,292,NULL,NULL,NULL,NULL),(307,NULL,307,293,NULL,NULL,NULL,NULL),(308,NULL,308,294,NULL,NULL,NULL,NULL),(309,NULL,309,295,NULL,NULL,NULL,NULL),(310,NULL,310,296,NULL,NULL,NULL,NULL),(311,NULL,311,297,NULL,NULL,NULL,NULL),(312,NULL,312,298,NULL,NULL,NULL,NULL),(313,NULL,313,299,NULL,NULL,NULL,NULL),(314,NULL,314,300,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (315,NULL,315,301,NULL,NULL,NULL,NULL),(316,NULL,316,302,NULL,NULL,NULL,NULL),(317,NULL,317,303,NULL,NULL,NULL,NULL),(318,NULL,318,304,NULL,NULL,NULL,NULL),(319,NULL,319,305,NULL,NULL,NULL,NULL),(320,NULL,320,306,NULL,NULL,NULL,NULL),(321,NULL,321,307,NULL,NULL,NULL,NULL),(322,NULL,322,308,NULL,NULL,NULL,NULL),(323,NULL,323,309,NULL,NULL,NULL,NULL),(324,NULL,324,310,NULL,NULL,NULL,NULL),(325,NULL,325,311,NULL,NULL,NULL,NULL),(326,NULL,326,312,NULL,NULL,NULL,NULL),(327,NULL,327,313,NULL,NULL,NULL,NULL),(328,NULL,328,314,NULL,NULL,NULL,NULL),(329,NULL,329,315,NULL,NULL,NULL,NULL),(330,NULL,330,316,NULL,NULL,NULL,NULL),(331,NULL,331,317,NULL,NULL,NULL,NULL),(332,NULL,332,318,NULL,NULL,NULL,NULL),(333,NULL,333,319,NULL,NULL,NULL,NULL),(334,NULL,334,320,NULL,NULL,NULL,NULL),(335,NULL,335,321,NULL,NULL,NULL,NULL),(336,NULL,336,322,NULL,NULL,NULL,NULL),(337,NULL,337,323,NULL,NULL,NULL,NULL),(338,NULL,338,324,NULL,NULL,NULL,NULL),(339,NULL,339,325,NULL,NULL,NULL,NULL),(340,NULL,340,326,NULL,NULL,NULL,NULL),(341,NULL,341,327,NULL,NULL,NULL,NULL),(342,NULL,342,328,NULL,NULL,NULL,NULL),(343,NULL,343,329,NULL,NULL,NULL,NULL),(344,NULL,344,330,NULL,NULL,NULL,NULL),(345,NULL,345,331,NULL,NULL,NULL,NULL),(346,NULL,346,332,NULL,NULL,NULL,NULL),(347,NULL,347,333,NULL,NULL,NULL,NULL),(348,NULL,348,334,NULL,NULL,NULL,NULL),(349,NULL,349,335,NULL,NULL,NULL,NULL),(350,NULL,350,336,NULL,NULL,NULL,NULL),(351,NULL,351,337,NULL,NULL,NULL,NULL),(352,NULL,352,338,NULL,NULL,NULL,NULL),(353,NULL,353,339,NULL,NULL,NULL,NULL),(354,NULL,354,340,NULL,NULL,NULL,NULL),(355,NULL,355,341,NULL,NULL,NULL,NULL),(356,NULL,356,342,NULL,NULL,NULL,NULL),(357,NULL,357,343,NULL,NULL,NULL,NULL),(358,NULL,358,344,NULL,NULL,NULL,NULL),(359,NULL,359,345,NULL,NULL,NULL,NULL),(360,NULL,360,346,NULL,NULL,NULL,NULL),(361,NULL,361,347,NULL,NULL,NULL,NULL),(362,NULL,362,348,NULL,NULL,NULL,NULL),(363,NULL,363,349,NULL,NULL,NULL,NULL),(364,NULL,364,350,NULL,NULL,NULL,NULL),(365,NULL,365,351,NULL,NULL,NULL,NULL),(366,NULL,366,352,NULL,NULL,NULL,NULL),(367,NULL,367,353,NULL,NULL,NULL,NULL),(368,NULL,368,354,NULL,NULL,NULL,NULL),(369,NULL,369,355,NULL,NULL,NULL,NULL),(370,NULL,370,356,NULL,NULL,NULL,NULL),(371,NULL,371,357,NULL,NULL,NULL,NULL),(372,NULL,372,358,NULL,NULL,NULL,NULL),(373,NULL,373,359,NULL,NULL,NULL,NULL),(374,NULL,374,360,NULL,NULL,NULL,NULL),(375,NULL,375,361,NULL,NULL,NULL,NULL),(376,NULL,376,362,NULL,NULL,NULL,NULL),(377,NULL,377,363,NULL,NULL,NULL,NULL),(378,NULL,378,364,NULL,NULL,NULL,NULL),(379,NULL,379,365,NULL,NULL,NULL,NULL),(380,NULL,380,366,NULL,NULL,NULL,NULL),(381,NULL,381,367,NULL,NULL,NULL,NULL),(382,NULL,382,368,NULL,NULL,NULL,NULL),(383,NULL,383,369,NULL,NULL,NULL,NULL),(384,NULL,384,370,NULL,NULL,NULL,NULL),(385,NULL,385,371,NULL,NULL,NULL,NULL),(386,NULL,386,372,NULL,NULL,NULL,NULL),(387,NULL,387,373,NULL,NULL,NULL,NULL),(388,NULL,388,374,NULL,NULL,NULL,NULL),(389,NULL,389,375,NULL,NULL,NULL,NULL),(390,NULL,390,376,NULL,NULL,NULL,NULL),(391,NULL,391,377,NULL,NULL,NULL,NULL),(392,NULL,392,378,NULL,NULL,NULL,NULL),(393,NULL,393,379,NULL,NULL,NULL,NULL),(394,NULL,394,380,NULL,NULL,NULL,NULL),(395,NULL,395,381,NULL,NULL,NULL,NULL),(396,NULL,396,382,NULL,NULL,NULL,NULL),(397,NULL,397,383,NULL,NULL,NULL,NULL),(398,NULL,398,384,NULL,NULL,NULL,NULL),(399,NULL,399,385,NULL,NULL,NULL,NULL),(400,NULL,400,386,NULL,NULL,NULL,NULL),(401,NULL,401,387,NULL,NULL,NULL,NULL),(402,NULL,402,388,NULL,NULL,NULL,NULL),(403,NULL,403,389,NULL,NULL,NULL,NULL),(404,NULL,404,390,NULL,NULL,NULL,NULL),(405,NULL,405,391,NULL,NULL,NULL,NULL),(406,NULL,406,392,NULL,NULL,NULL,NULL),(407,NULL,407,393,NULL,NULL,NULL,NULL),(408,NULL,408,394,NULL,NULL,NULL,NULL),(409,NULL,409,395,NULL,NULL,NULL,NULL),(410,NULL,410,396,NULL,NULL,NULL,NULL),(411,NULL,411,397,NULL,NULL,NULL,NULL),(412,NULL,412,398,NULL,NULL,NULL,NULL),(413,NULL,413,399,NULL,NULL,NULL,NULL),(414,NULL,414,400,NULL,NULL,NULL,NULL),(415,NULL,415,401,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (416,NULL,416,402,NULL,NULL,NULL,NULL),(417,NULL,417,403,NULL,NULL,NULL,NULL),(418,NULL,418,404,NULL,NULL,NULL,NULL),(419,NULL,419,405,NULL,NULL,NULL,NULL),(420,NULL,420,406,NULL,NULL,NULL,NULL),(421,NULL,421,407,NULL,NULL,NULL,NULL),(422,NULL,422,408,NULL,NULL,NULL,NULL),(423,NULL,423,409,NULL,NULL,NULL,NULL),(424,NULL,424,410,NULL,NULL,NULL,NULL),(425,NULL,425,411,NULL,NULL,NULL,NULL),(426,NULL,426,412,NULL,NULL,NULL,NULL),(427,NULL,427,413,NULL,NULL,NULL,NULL),(428,NULL,428,414,NULL,NULL,NULL,NULL),(429,NULL,429,415,NULL,NULL,NULL,NULL),(430,NULL,430,416,NULL,NULL,NULL,NULL),(431,NULL,431,417,NULL,NULL,NULL,NULL),(432,NULL,432,418,NULL,NULL,NULL,NULL),(433,NULL,433,419,NULL,NULL,NULL,NULL),(434,NULL,434,420,NULL,NULL,NULL,NULL),(435,NULL,435,421,NULL,NULL,NULL,NULL),(436,NULL,436,422,NULL,NULL,NULL,NULL),(437,NULL,437,423,NULL,NULL,NULL,NULL),(438,NULL,438,424,NULL,NULL,NULL,NULL),(439,NULL,439,425,NULL,NULL,NULL,NULL),(440,NULL,440,426,NULL,NULL,NULL,NULL),(441,NULL,441,427,NULL,NULL,NULL,NULL),(442,NULL,442,428,NULL,NULL,NULL,NULL),(443,NULL,443,429,NULL,NULL,NULL,NULL),(444,NULL,444,430,NULL,NULL,NULL,NULL),(445,NULL,445,431,NULL,NULL,NULL,NULL),(446,NULL,446,432,NULL,NULL,NULL,NULL),(447,NULL,447,433,NULL,NULL,NULL,NULL),(448,NULL,448,434,NULL,NULL,NULL,NULL),(449,NULL,449,435,NULL,NULL,NULL,NULL),(450,NULL,450,436,NULL,NULL,NULL,NULL),(451,NULL,451,437,NULL,NULL,NULL,NULL),(452,NULL,452,438,NULL,NULL,NULL,NULL),(453,NULL,453,439,NULL,NULL,NULL,NULL),(454,NULL,454,440,NULL,NULL,NULL,NULL),(455,NULL,455,441,NULL,NULL,NULL,NULL),(456,NULL,456,442,NULL,NULL,NULL,NULL),(457,NULL,457,443,NULL,NULL,NULL,NULL),(458,NULL,458,444,NULL,NULL,NULL,NULL),(459,NULL,459,445,NULL,NULL,NULL,NULL),(460,NULL,460,446,NULL,NULL,NULL,NULL),(461,NULL,461,447,NULL,NULL,NULL,NULL),(462,NULL,462,448,NULL,NULL,NULL,NULL),(463,NULL,463,449,NULL,NULL,NULL,NULL),(464,NULL,464,450,NULL,NULL,NULL,NULL),(465,NULL,465,451,NULL,NULL,NULL,NULL),(466,NULL,466,452,NULL,NULL,NULL,NULL),(467,NULL,467,453,NULL,NULL,NULL,NULL),(468,NULL,468,454,NULL,NULL,NULL,NULL),(469,NULL,469,455,NULL,NULL,NULL,NULL),(470,NULL,470,456,NULL,NULL,NULL,NULL),(471,NULL,471,457,NULL,NULL,NULL,NULL),(472,NULL,472,458,NULL,NULL,NULL,NULL),(473,NULL,473,459,NULL,NULL,NULL,NULL),(474,NULL,474,460,NULL,NULL,NULL,NULL),(475,NULL,475,461,NULL,NULL,NULL,NULL),(476,NULL,476,462,NULL,NULL,NULL,NULL),(477,NULL,477,463,NULL,NULL,NULL,NULL),(478,NULL,478,464,NULL,NULL,NULL,NULL),(479,NULL,479,465,NULL,NULL,NULL,NULL),(480,NULL,480,466,NULL,NULL,NULL,NULL),(481,NULL,481,467,NULL,NULL,NULL,NULL),(482,NULL,482,468,NULL,NULL,NULL,NULL),(483,NULL,483,469,NULL,NULL,NULL,NULL),(484,NULL,484,470,NULL,NULL,NULL,NULL),(485,NULL,485,471,NULL,NULL,NULL,NULL),(486,NULL,486,472,NULL,NULL,NULL,NULL),(487,NULL,487,473,NULL,NULL,NULL,NULL),(488,NULL,488,474,NULL,NULL,NULL,NULL),(489,NULL,489,475,NULL,NULL,NULL,NULL),(490,NULL,490,476,NULL,NULL,NULL,NULL),(491,NULL,491,477,NULL,NULL,NULL,NULL),(492,NULL,492,478,NULL,NULL,NULL,NULL),(493,NULL,493,479,NULL,NULL,NULL,NULL),(494,NULL,494,480,NULL,NULL,NULL,NULL),(495,NULL,495,481,NULL,NULL,NULL,NULL),(496,NULL,496,482,NULL,NULL,NULL,NULL),(497,NULL,497,483,NULL,NULL,NULL,NULL),(498,NULL,498,484,NULL,NULL,NULL,NULL),(499,NULL,499,485,NULL,NULL,NULL,NULL),(500,NULL,500,486,NULL,NULL,NULL,NULL),(501,NULL,501,487,NULL,NULL,NULL,NULL),(502,NULL,502,488,NULL,NULL,NULL,NULL),(503,NULL,503,489,NULL,NULL,NULL,NULL),(504,NULL,504,490,NULL,NULL,NULL,NULL),(505,NULL,505,491,NULL,NULL,NULL,NULL),(506,NULL,506,492,NULL,NULL,NULL,NULL),(507,NULL,507,493,NULL,NULL,NULL,NULL),(508,NULL,508,494,NULL,NULL,NULL,NULL),(509,NULL,509,495,NULL,NULL,NULL,NULL),(510,NULL,510,496,NULL,NULL,NULL,NULL),(511,NULL,511,497,NULL,NULL,NULL,NULL),(512,NULL,512,498,NULL,NULL,NULL,NULL),(513,NULL,513,499,NULL,NULL,NULL,NULL),(514,NULL,514,500,NULL,NULL,NULL,NULL),(515,NULL,515,501,NULL,NULL,NULL,NULL),(516,NULL,516,502,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (517,NULL,517,503,NULL,NULL,NULL,NULL),(518,NULL,518,504,NULL,NULL,NULL,NULL),(519,NULL,519,505,NULL,NULL,NULL,NULL),(520,NULL,520,506,NULL,NULL,NULL,NULL),(521,NULL,521,507,NULL,NULL,NULL,NULL),(522,NULL,522,508,NULL,NULL,NULL,NULL),(523,NULL,523,509,NULL,NULL,NULL,NULL),(524,NULL,524,510,NULL,NULL,NULL,NULL),(525,NULL,525,511,NULL,NULL,NULL,NULL),(526,NULL,526,512,NULL,NULL,NULL,NULL),(527,NULL,527,513,NULL,NULL,NULL,NULL),(528,NULL,528,514,NULL,NULL,NULL,NULL),(529,NULL,529,515,NULL,NULL,NULL,NULL),(530,NULL,530,516,NULL,NULL,NULL,NULL),(531,NULL,531,517,NULL,NULL,NULL,NULL),(532,NULL,532,518,NULL,NULL,NULL,NULL),(533,NULL,533,519,NULL,NULL,NULL,NULL),(534,NULL,534,520,NULL,NULL,NULL,NULL),(535,NULL,535,521,NULL,NULL,NULL,NULL),(536,NULL,536,522,NULL,NULL,NULL,NULL),(537,NULL,537,523,NULL,NULL,NULL,NULL),(538,NULL,538,524,NULL,NULL,NULL,NULL),(539,NULL,539,525,NULL,NULL,NULL,NULL),(540,NULL,540,526,NULL,NULL,NULL,NULL),(541,NULL,541,527,NULL,NULL,NULL,NULL),(542,NULL,542,528,NULL,NULL,NULL,NULL),(543,NULL,543,529,NULL,NULL,NULL,NULL),(544,NULL,544,530,NULL,NULL,NULL,NULL),(545,NULL,545,531,NULL,NULL,NULL,NULL),(546,NULL,546,532,NULL,NULL,NULL,NULL),(547,NULL,547,533,NULL,NULL,NULL,NULL),(548,NULL,548,534,NULL,NULL,NULL,NULL),(549,NULL,549,535,NULL,NULL,NULL,NULL),(550,NULL,550,536,NULL,NULL,NULL,NULL),(551,NULL,551,537,NULL,NULL,NULL,NULL),(552,NULL,552,538,NULL,NULL,NULL,NULL),(553,NULL,553,539,NULL,NULL,NULL,NULL),(554,NULL,554,540,NULL,NULL,NULL,NULL),(555,NULL,555,541,NULL,NULL,NULL,NULL),(556,NULL,556,542,NULL,NULL,NULL,NULL),(557,NULL,557,543,NULL,NULL,NULL,NULL),(558,NULL,558,544,NULL,NULL,NULL,NULL),(559,NULL,559,545,NULL,NULL,NULL,NULL),(560,NULL,560,546,NULL,NULL,NULL,NULL),(561,NULL,561,547,NULL,NULL,NULL,NULL),(562,NULL,562,548,NULL,NULL,NULL,NULL),(563,NULL,563,549,NULL,NULL,NULL,NULL),(564,NULL,564,550,NULL,NULL,NULL,NULL),(565,NULL,565,551,NULL,NULL,NULL,NULL),(566,NULL,566,552,NULL,NULL,NULL,NULL),(567,NULL,567,553,NULL,NULL,NULL,NULL),(568,NULL,568,554,NULL,NULL,NULL,NULL),(569,NULL,569,555,NULL,NULL,NULL,NULL),(570,NULL,570,556,NULL,NULL,NULL,NULL),(571,NULL,571,557,NULL,NULL,NULL,NULL),(572,NULL,572,558,NULL,NULL,NULL,NULL),(573,NULL,573,559,NULL,NULL,NULL,NULL),(574,NULL,574,560,NULL,NULL,NULL,NULL),(575,NULL,575,561,NULL,NULL,NULL,NULL),(576,NULL,576,562,NULL,NULL,NULL,NULL),(577,NULL,577,563,NULL,NULL,NULL,NULL),(578,NULL,578,564,NULL,NULL,NULL,NULL),(579,NULL,579,565,NULL,NULL,NULL,NULL),(580,NULL,580,566,NULL,NULL,NULL,NULL),(581,NULL,581,567,NULL,NULL,NULL,NULL),(582,NULL,582,568,NULL,NULL,NULL,NULL),(583,NULL,583,569,NULL,NULL,NULL,NULL),(584,NULL,584,570,NULL,NULL,NULL,NULL),(585,NULL,585,571,NULL,NULL,NULL,NULL),(586,NULL,586,572,NULL,NULL,NULL,NULL),(587,NULL,587,573,NULL,NULL,NULL,NULL),(588,NULL,588,574,NULL,NULL,NULL,NULL),(589,NULL,589,575,NULL,NULL,NULL,NULL),(590,NULL,590,576,NULL,NULL,NULL,NULL),(591,NULL,591,577,NULL,NULL,NULL,NULL),(592,NULL,592,578,NULL,NULL,NULL,NULL),(593,NULL,593,579,NULL,NULL,NULL,NULL),(594,NULL,594,580,NULL,NULL,NULL,NULL),(595,NULL,595,581,NULL,NULL,NULL,NULL),(596,NULL,596,582,NULL,NULL,NULL,NULL),(597,NULL,597,583,NULL,NULL,NULL,NULL),(598,NULL,598,584,NULL,NULL,NULL,NULL),(599,NULL,599,585,NULL,NULL,NULL,NULL),(600,NULL,600,586,NULL,NULL,NULL,NULL),(601,NULL,601,587,NULL,NULL,NULL,NULL),(602,NULL,602,588,NULL,NULL,NULL,NULL),(603,NULL,603,589,NULL,NULL,NULL,NULL),(604,NULL,604,590,NULL,NULL,NULL,NULL),(605,NULL,605,591,NULL,NULL,NULL,NULL),(606,NULL,606,592,NULL,NULL,NULL,NULL),(607,NULL,607,593,NULL,NULL,NULL,NULL),(608,NULL,608,594,NULL,NULL,NULL,NULL),(609,NULL,609,595,NULL,NULL,NULL,NULL),(610,NULL,610,596,NULL,NULL,NULL,NULL),(611,NULL,611,597,NULL,NULL,NULL,NULL),(612,NULL,612,598,NULL,NULL,NULL,NULL),(613,NULL,613,599,NULL,NULL,NULL,NULL),(614,NULL,614,600,NULL,NULL,NULL,NULL),(615,NULL,615,601,NULL,NULL,NULL,NULL),(616,NULL,616,602,NULL,NULL,NULL,NULL),(617,NULL,617,603,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (618,NULL,618,604,NULL,NULL,NULL,NULL),(619,NULL,619,605,NULL,NULL,NULL,NULL),(620,NULL,620,606,NULL,NULL,NULL,NULL),(621,NULL,621,607,NULL,NULL,NULL,NULL),(622,NULL,622,608,NULL,NULL,NULL,NULL),(623,NULL,623,609,NULL,NULL,NULL,NULL),(624,NULL,624,610,NULL,NULL,NULL,NULL),(625,NULL,625,611,NULL,NULL,NULL,NULL),(626,NULL,626,612,NULL,NULL,NULL,NULL),(627,NULL,627,613,NULL,NULL,NULL,NULL),(628,NULL,628,614,NULL,NULL,NULL,NULL),(629,NULL,629,615,NULL,NULL,NULL,NULL),(630,NULL,630,616,NULL,NULL,NULL,NULL),(631,NULL,631,617,NULL,NULL,NULL,NULL),(632,NULL,632,618,NULL,NULL,NULL,NULL),(633,NULL,633,619,NULL,NULL,NULL,NULL),(634,NULL,634,620,NULL,NULL,NULL,NULL),(635,NULL,635,621,NULL,NULL,NULL,NULL),(636,NULL,636,622,NULL,NULL,NULL,NULL),(637,NULL,637,623,NULL,NULL,NULL,NULL),(638,NULL,638,624,NULL,NULL,NULL,NULL),(639,NULL,639,625,NULL,NULL,NULL,NULL),(640,NULL,640,626,NULL,NULL,NULL,NULL),(641,NULL,641,627,NULL,NULL,NULL,NULL),(642,NULL,642,628,NULL,NULL,NULL,NULL),(643,NULL,643,629,NULL,NULL,NULL,NULL),(644,NULL,644,630,NULL,NULL,NULL,NULL),(645,NULL,645,631,NULL,NULL,NULL,NULL),(646,NULL,646,632,NULL,NULL,NULL,NULL),(647,NULL,647,633,NULL,NULL,NULL,NULL),(648,NULL,648,634,NULL,NULL,NULL,NULL),(649,NULL,649,635,NULL,NULL,NULL,NULL),(650,NULL,650,636,NULL,NULL,NULL,NULL),(651,NULL,651,637,NULL,NULL,NULL,NULL),(652,NULL,652,638,NULL,NULL,NULL,NULL),(653,NULL,653,639,NULL,NULL,NULL,NULL),(654,NULL,654,640,NULL,NULL,NULL,NULL),(655,NULL,655,641,NULL,NULL,NULL,NULL),(656,NULL,656,642,NULL,NULL,NULL,NULL),(657,NULL,657,643,NULL,NULL,NULL,NULL),(658,NULL,658,644,NULL,NULL,NULL,NULL),(659,NULL,659,645,NULL,NULL,NULL,NULL),(660,NULL,660,646,NULL,NULL,NULL,NULL),(661,NULL,661,647,NULL,NULL,NULL,NULL),(662,NULL,662,648,NULL,NULL,NULL,NULL),(663,NULL,663,649,NULL,NULL,NULL,NULL),(664,NULL,664,650,NULL,NULL,NULL,NULL),(665,NULL,665,651,NULL,NULL,NULL,NULL),(666,NULL,666,652,NULL,NULL,NULL,NULL),(667,NULL,667,653,NULL,NULL,NULL,NULL),(668,NULL,668,654,NULL,NULL,NULL,NULL),(669,NULL,669,655,NULL,NULL,NULL,NULL),(670,NULL,670,656,NULL,NULL,NULL,NULL),(671,NULL,671,657,NULL,NULL,NULL,NULL),(672,NULL,672,658,NULL,NULL,NULL,NULL),(673,NULL,673,659,NULL,NULL,NULL,NULL),(674,NULL,674,660,NULL,NULL,NULL,NULL),(675,NULL,675,661,NULL,NULL,NULL,NULL),(676,NULL,676,662,NULL,NULL,NULL,NULL),(677,NULL,677,663,NULL,NULL,NULL,NULL),(678,NULL,678,664,NULL,NULL,NULL,NULL),(679,NULL,679,665,NULL,NULL,NULL,NULL),(680,NULL,680,666,NULL,NULL,NULL,NULL),(681,NULL,681,667,NULL,NULL,NULL,NULL),(682,NULL,682,668,NULL,NULL,NULL,NULL),(683,NULL,683,669,NULL,NULL,NULL,NULL),(684,NULL,684,670,NULL,NULL,NULL,NULL),(685,NULL,685,671,NULL,NULL,NULL,NULL),(686,NULL,686,672,NULL,NULL,NULL,NULL),(687,NULL,687,673,NULL,NULL,NULL,NULL),(688,NULL,688,674,NULL,NULL,NULL,NULL),(689,NULL,689,675,NULL,NULL,NULL,NULL),(690,NULL,690,676,NULL,NULL,NULL,NULL),(691,NULL,691,677,NULL,NULL,NULL,NULL),(692,NULL,692,678,NULL,NULL,NULL,NULL),(693,NULL,693,679,NULL,NULL,NULL,NULL),(694,NULL,694,680,NULL,NULL,NULL,NULL),(695,NULL,695,681,NULL,NULL,NULL,NULL),(696,NULL,696,682,NULL,NULL,NULL,NULL),(697,NULL,697,683,NULL,NULL,NULL,NULL),(698,NULL,698,684,NULL,NULL,NULL,NULL),(699,NULL,699,685,NULL,NULL,NULL,NULL),(700,NULL,700,686,NULL,NULL,NULL,NULL),(701,NULL,701,687,NULL,NULL,NULL,NULL),(702,NULL,702,688,NULL,NULL,NULL,NULL),(703,NULL,703,689,NULL,NULL,NULL,NULL),(704,NULL,704,690,NULL,NULL,NULL,NULL),(705,NULL,705,691,NULL,NULL,NULL,NULL),(706,NULL,706,692,NULL,NULL,NULL,NULL),(707,NULL,707,693,NULL,NULL,NULL,NULL),(708,NULL,708,694,NULL,NULL,NULL,NULL),(709,NULL,709,695,NULL,NULL,NULL,NULL),(710,NULL,710,696,NULL,NULL,NULL,NULL),(711,NULL,711,697,NULL,NULL,NULL,NULL),(712,NULL,712,698,NULL,NULL,NULL,NULL),(713,NULL,713,699,NULL,NULL,NULL,NULL),(714,NULL,714,700,NULL,NULL,NULL,NULL),(715,NULL,715,701,NULL,NULL,NULL,NULL),(716,NULL,716,702,NULL,NULL,NULL,NULL),(717,NULL,717,703,NULL,NULL,NULL,NULL),(718,NULL,718,704,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (719,NULL,719,705,NULL,NULL,NULL,NULL),(720,NULL,720,706,NULL,NULL,NULL,NULL),(721,NULL,721,707,NULL,NULL,NULL,NULL),(722,NULL,722,708,NULL,NULL,NULL,NULL),(723,NULL,723,709,NULL,NULL,NULL,NULL),(724,NULL,724,710,NULL,NULL,NULL,NULL),(725,NULL,725,711,NULL,NULL,NULL,NULL),(726,NULL,726,712,NULL,NULL,NULL,NULL),(727,NULL,727,713,NULL,NULL,NULL,NULL),(728,NULL,728,714,NULL,NULL,NULL,NULL),(729,NULL,729,715,NULL,NULL,NULL,NULL),(730,NULL,730,716,NULL,NULL,NULL,NULL),(731,NULL,731,717,NULL,NULL,NULL,NULL),(732,NULL,732,718,NULL,NULL,NULL,NULL),(733,NULL,733,719,NULL,NULL,NULL,NULL),(734,NULL,734,720,NULL,NULL,NULL,NULL),(735,NULL,735,721,NULL,NULL,NULL,NULL),(736,NULL,736,722,NULL,NULL,NULL,NULL),(737,NULL,737,723,NULL,NULL,NULL,NULL),(738,NULL,738,724,NULL,NULL,NULL,NULL),(739,NULL,739,725,NULL,NULL,NULL,NULL),(740,NULL,740,726,NULL,NULL,NULL,NULL),(741,NULL,741,727,NULL,NULL,NULL,NULL),(742,NULL,742,728,NULL,NULL,NULL,NULL),(743,NULL,743,729,NULL,NULL,NULL,NULL),(744,NULL,744,730,NULL,NULL,NULL,NULL),(796,NULL,796,782,NULL,NULL,NULL,NULL),(797,NULL,797,783,NULL,NULL,NULL,NULL),(798,NULL,798,784,NULL,NULL,NULL,NULL),(799,NULL,799,785,NULL,NULL,NULL,NULL),(800,NULL,800,786,NULL,NULL,NULL,NULL),(801,NULL,801,787,NULL,NULL,NULL,NULL),(802,NULL,802,788,NULL,NULL,NULL,NULL),(803,NULL,803,789,NULL,NULL,NULL,NULL),(804,NULL,804,790,NULL,NULL,NULL,NULL),(805,NULL,805,791,NULL,NULL,NULL,NULL),(806,NULL,806,792,NULL,NULL,NULL,NULL),(807,NULL,807,793,NULL,NULL,NULL,NULL),(808,NULL,808,794,NULL,NULL,NULL,NULL),(809,NULL,809,795,NULL,NULL,NULL,NULL),(810,NULL,810,796,NULL,NULL,NULL,NULL),(811,NULL,811,797,NULL,NULL,NULL,NULL),(812,NULL,812,798,NULL,NULL,NULL,NULL),(813,NULL,813,799,NULL,NULL,NULL,NULL),(814,NULL,814,800,NULL,NULL,NULL,NULL),(815,NULL,815,801,NULL,NULL,NULL,NULL),(816,NULL,816,802,NULL,NULL,NULL,NULL),(817,NULL,817,803,NULL,NULL,NULL,NULL),(818,NULL,818,804,NULL,NULL,NULL,NULL),(819,NULL,819,805,NULL,NULL,NULL,NULL),(820,NULL,820,806,NULL,NULL,NULL,NULL),(821,NULL,821,807,NULL,NULL,NULL,NULL),(822,NULL,822,808,NULL,NULL,NULL,NULL),(823,NULL,823,809,NULL,NULL,NULL,NULL),(824,NULL,824,810,NULL,NULL,NULL,NULL),(825,NULL,825,811,NULL,NULL,NULL,NULL),(826,NULL,826,812,NULL,NULL,NULL,NULL),(827,NULL,827,813,NULL,NULL,NULL,NULL),(828,NULL,828,814,NULL,NULL,NULL,NULL),(829,NULL,829,815,NULL,NULL,NULL,NULL),(830,NULL,830,816,NULL,NULL,NULL,NULL),(831,NULL,831,817,NULL,NULL,NULL,NULL),(832,NULL,832,818,NULL,NULL,NULL,NULL),(833,NULL,833,819,NULL,NULL,NULL,NULL),(834,NULL,834,820,NULL,NULL,NULL,NULL),(835,NULL,835,821,NULL,NULL,NULL,NULL),(836,NULL,836,822,NULL,NULL,NULL,NULL),(837,NULL,837,823,NULL,NULL,NULL,NULL),(838,NULL,838,824,NULL,NULL,NULL,NULL),(839,NULL,839,825,NULL,NULL,NULL,NULL),(840,NULL,840,826,NULL,NULL,NULL,NULL),(841,NULL,841,827,NULL,NULL,NULL,NULL),(842,NULL,842,828,NULL,NULL,NULL,NULL),(843,NULL,843,829,NULL,NULL,NULL,NULL),(844,NULL,844,830,NULL,NULL,NULL,NULL),(845,NULL,845,831,NULL,NULL,NULL,NULL),(846,NULL,846,832,NULL,NULL,NULL,NULL),(848,NULL,848,834,NULL,NULL,NULL,NULL),(849,NULL,849,835,NULL,NULL,NULL,NULL),(850,NULL,850,836,NULL,NULL,NULL,NULL),(851,NULL,851,837,NULL,NULL,NULL,NULL),(852,NULL,852,838,NULL,NULL,NULL,NULL),(853,NULL,853,839,NULL,NULL,NULL,NULL),(868,NULL,868,854,NULL,NULL,NULL,NULL),(869,NULL,869,855,NULL,NULL,NULL,NULL),(870,NULL,870,856,NULL,NULL,NULL,NULL),(871,NULL,871,857,NULL,NULL,NULL,NULL),(872,NULL,872,858,NULL,NULL,NULL,NULL),(873,NULL,873,859,NULL,NULL,NULL,NULL),(874,NULL,874,860,NULL,NULL,NULL,NULL),(875,NULL,875,861,NULL,NULL,NULL,NULL),(876,NULL,876,862,NULL,NULL,NULL,NULL),(877,NULL,877,863,NULL,NULL,NULL,NULL),(878,NULL,878,864,NULL,NULL,NULL,NULL),(879,NULL,879,865,NULL,NULL,NULL,NULL),(880,NULL,880,866,NULL,NULL,NULL,NULL),(881,NULL,881,867,NULL,NULL,NULL,NULL),(882,NULL,882,868,NULL,NULL,NULL,NULL),(883,NULL,883,869,NULL,NULL,NULL,NULL),(884,NULL,884,870,NULL,NULL,NULL,NULL),(885,NULL,885,871,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (886,NULL,886,872,NULL,NULL,NULL,NULL),(887,NULL,887,873,NULL,NULL,NULL,NULL),(888,NULL,888,874,NULL,NULL,NULL,NULL),(889,NULL,889,875,NULL,NULL,NULL,NULL),(890,NULL,890,876,NULL,NULL,NULL,NULL),(891,NULL,891,877,NULL,NULL,NULL,NULL),(892,NULL,892,878,NULL,NULL,NULL,NULL),(893,NULL,893,879,NULL,NULL,NULL,NULL),(894,NULL,894,880,NULL,NULL,NULL,NULL),(895,NULL,895,881,NULL,NULL,NULL,NULL),(896,NULL,896,882,NULL,NULL,NULL,NULL),(897,NULL,897,883,NULL,NULL,NULL,NULL),(898,NULL,898,884,NULL,NULL,NULL,NULL),(899,NULL,899,885,NULL,NULL,NULL,NULL),(900,NULL,900,886,NULL,NULL,NULL,NULL),(901,NULL,901,887,NULL,NULL,NULL,NULL),(902,NULL,902,888,NULL,NULL,NULL,NULL),(903,NULL,903,889,NULL,NULL,NULL,NULL),(904,NULL,904,890,NULL,NULL,NULL,NULL),(905,NULL,905,891,NULL,NULL,NULL,NULL),(906,NULL,906,892,NULL,NULL,NULL,NULL),(907,NULL,907,893,NULL,NULL,NULL,NULL),(908,NULL,908,894,NULL,NULL,NULL,NULL),(909,NULL,909,895,NULL,NULL,NULL,NULL),(910,NULL,910,896,NULL,NULL,NULL,NULL),(911,NULL,911,897,NULL,NULL,NULL,NULL),(912,NULL,912,898,NULL,NULL,NULL,NULL),(913,NULL,913,899,NULL,NULL,NULL,NULL),(914,NULL,914,900,NULL,NULL,NULL,NULL),(915,NULL,915,901,NULL,NULL,NULL,NULL),(916,NULL,916,902,NULL,NULL,NULL,NULL),(917,NULL,917,903,NULL,NULL,NULL,NULL),(918,NULL,918,904,NULL,NULL,NULL,NULL),(919,NULL,919,905,NULL,NULL,NULL,NULL),(920,NULL,920,906,NULL,NULL,NULL,NULL),(921,NULL,921,907,NULL,NULL,NULL,NULL),(922,NULL,922,908,NULL,NULL,NULL,NULL),(923,NULL,923,909,NULL,NULL,NULL,NULL),(924,NULL,924,910,NULL,NULL,NULL,NULL),(925,NULL,925,911,NULL,NULL,NULL,NULL),(926,NULL,926,912,NULL,NULL,NULL,NULL),(927,NULL,927,913,NULL,NULL,NULL,NULL),(928,NULL,928,914,NULL,NULL,NULL,NULL),(929,NULL,929,915,NULL,NULL,NULL,NULL),(930,NULL,930,916,NULL,NULL,NULL,NULL),(931,NULL,931,917,NULL,NULL,NULL,NULL),(932,NULL,932,918,NULL,NULL,NULL,NULL),(933,NULL,933,919,NULL,NULL,NULL,NULL),(934,NULL,934,920,NULL,NULL,NULL,NULL),(935,NULL,935,921,NULL,NULL,NULL,NULL),(936,NULL,936,922,NULL,NULL,NULL,NULL),(937,NULL,937,923,NULL,NULL,NULL,NULL),(938,NULL,938,924,NULL,NULL,NULL,NULL),(939,NULL,939,925,NULL,NULL,NULL,NULL),(940,NULL,940,926,NULL,NULL,NULL,NULL),(941,NULL,941,927,NULL,NULL,NULL,NULL),(942,NULL,942,928,NULL,NULL,NULL,NULL),(943,NULL,943,929,NULL,NULL,NULL,NULL),(944,NULL,944,930,NULL,NULL,NULL,NULL),(945,NULL,945,931,NULL,NULL,NULL,NULL),(946,NULL,946,932,NULL,NULL,NULL,NULL),(947,NULL,947,933,NULL,NULL,NULL,NULL),(948,NULL,948,934,NULL,NULL,NULL,NULL),(949,NULL,949,935,NULL,NULL,NULL,NULL),(950,NULL,950,936,NULL,NULL,NULL,NULL),(951,NULL,951,937,NULL,NULL,NULL,NULL),(952,NULL,952,938,NULL,NULL,NULL,NULL),(953,NULL,953,939,NULL,NULL,NULL,NULL),(954,NULL,954,940,NULL,NULL,NULL,NULL),(955,NULL,955,941,NULL,NULL,NULL,NULL),(956,NULL,956,942,NULL,NULL,NULL,NULL),(957,NULL,957,943,NULL,NULL,NULL,NULL),(958,NULL,958,944,NULL,NULL,NULL,NULL),(959,NULL,959,945,NULL,NULL,NULL,NULL),(960,NULL,960,946,NULL,NULL,NULL,NULL),(961,NULL,961,947,NULL,NULL,NULL,NULL),(962,NULL,962,948,NULL,NULL,NULL,NULL),(963,NULL,963,949,NULL,NULL,NULL,NULL),(964,NULL,964,950,NULL,NULL,NULL,NULL),(965,NULL,965,951,NULL,NULL,NULL,NULL),(966,NULL,966,952,NULL,NULL,NULL,NULL),(967,NULL,967,953,NULL,NULL,NULL,NULL),(968,NULL,968,954,NULL,NULL,NULL,NULL),(969,NULL,969,955,NULL,NULL,NULL,NULL),(970,NULL,970,956,NULL,NULL,NULL,NULL),(971,NULL,971,957,NULL,NULL,NULL,NULL),(972,NULL,972,958,NULL,NULL,NULL,NULL),(973,NULL,973,959,NULL,NULL,NULL,NULL),(974,NULL,974,960,NULL,NULL,NULL,NULL),(975,NULL,975,961,NULL,NULL,NULL,NULL),(976,NULL,976,962,NULL,NULL,NULL,NULL),(977,NULL,977,963,NULL,NULL,NULL,NULL),(978,NULL,978,964,NULL,NULL,NULL,NULL),(979,NULL,979,965,NULL,NULL,NULL,NULL),(980,NULL,980,966,NULL,NULL,NULL,NULL),(981,NULL,981,967,NULL,NULL,NULL,NULL),(982,NULL,982,968,NULL,NULL,NULL,NULL),(983,NULL,983,969,NULL,NULL,NULL,NULL),(984,NULL,984,970,NULL,NULL,NULL,NULL),(985,NULL,985,971,NULL,NULL,NULL,NULL),(986,NULL,986,972,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (987,NULL,987,973,NULL,NULL,NULL,NULL),(988,NULL,988,974,NULL,NULL,NULL,NULL),(989,NULL,989,975,NULL,NULL,NULL,NULL),(990,NULL,990,976,NULL,NULL,NULL,NULL),(991,NULL,991,977,NULL,NULL,NULL,NULL),(992,NULL,992,978,NULL,NULL,NULL,NULL),(993,NULL,993,979,NULL,NULL,NULL,NULL),(994,NULL,994,980,NULL,NULL,NULL,NULL),(995,NULL,995,981,NULL,NULL,NULL,NULL),(996,NULL,996,982,NULL,NULL,NULL,NULL),(997,NULL,997,983,NULL,NULL,NULL,NULL),(998,NULL,998,984,NULL,NULL,NULL,NULL),(999,NULL,999,985,NULL,NULL,NULL,NULL),(1000,NULL,1000,986,NULL,NULL,NULL,NULL),(1001,NULL,1001,987,NULL,NULL,NULL,NULL),(1002,NULL,1002,988,NULL,NULL,NULL,NULL),(1003,NULL,1003,989,NULL,NULL,NULL,NULL),(1004,NULL,1004,990,NULL,NULL,NULL,NULL),(1005,NULL,1005,991,NULL,NULL,NULL,NULL),(1006,NULL,1006,992,NULL,NULL,NULL,NULL),(1007,NULL,1007,993,NULL,NULL,NULL,NULL),(1008,NULL,1008,994,NULL,NULL,NULL,NULL),(1009,NULL,1009,995,NULL,NULL,NULL,NULL),(1010,NULL,1010,996,NULL,NULL,NULL,NULL),(1011,NULL,1011,997,NULL,NULL,NULL,NULL),(1012,NULL,1012,998,NULL,NULL,NULL,NULL),(1013,NULL,1013,999,NULL,NULL,NULL,NULL),(1014,NULL,1014,1000,NULL,NULL,NULL,NULL),(1015,NULL,1015,1001,NULL,NULL,NULL,NULL),(1016,NULL,1016,1002,NULL,NULL,NULL,NULL),(1017,NULL,1017,1003,NULL,NULL,NULL,NULL),(1018,NULL,1018,1004,NULL,NULL,NULL,NULL),(1019,NULL,1019,1005,NULL,NULL,NULL,NULL),(1020,NULL,1020,1006,NULL,NULL,NULL,NULL),(1021,NULL,1021,1007,NULL,NULL,NULL,NULL),(1022,NULL,1022,1008,NULL,NULL,NULL,NULL),(1023,NULL,1023,1009,NULL,NULL,NULL,NULL),(1024,NULL,1024,1010,NULL,NULL,NULL,NULL),(1025,NULL,1025,1011,NULL,NULL,NULL,NULL),(1026,NULL,1026,1012,NULL,NULL,NULL,NULL),(1027,NULL,1027,1013,NULL,NULL,NULL,NULL),(1028,NULL,1028,1014,NULL,NULL,NULL,NULL),(1029,NULL,1029,1015,NULL,NULL,NULL,NULL),(1030,NULL,1030,1016,NULL,NULL,NULL,NULL),(1031,NULL,1031,1017,NULL,NULL,NULL,NULL),(1032,NULL,1032,1018,NULL,NULL,NULL,NULL),(1033,NULL,1033,1019,NULL,NULL,NULL,NULL),(1034,NULL,1034,1020,NULL,NULL,NULL,NULL),(1035,NULL,1035,1021,NULL,NULL,NULL,NULL),(1036,NULL,1036,1022,NULL,NULL,NULL,NULL),(1037,NULL,1037,1023,NULL,NULL,NULL,NULL),(1038,NULL,1038,1024,NULL,NULL,NULL,NULL),(1039,NULL,1039,1025,NULL,NULL,NULL,NULL),(1040,NULL,1040,1026,NULL,NULL,NULL,NULL),(1041,NULL,1041,1027,NULL,NULL,NULL,NULL),(1042,NULL,1042,1028,NULL,NULL,NULL,NULL),(1043,NULL,1043,1029,NULL,NULL,NULL,NULL),(1044,NULL,1044,1030,NULL,NULL,NULL,NULL),(1045,NULL,1045,1031,NULL,NULL,NULL,NULL),(1046,NULL,1046,1032,NULL,NULL,NULL,NULL),(1047,NULL,1047,1033,NULL,NULL,NULL,NULL),(1048,NULL,1048,1034,NULL,NULL,NULL,NULL),(1049,NULL,1049,1035,NULL,NULL,NULL,NULL),(1053,NULL,1053,1039,NULL,NULL,NULL,NULL),(1054,NULL,1054,1040,NULL,NULL,NULL,NULL),(1055,NULL,1055,1041,NULL,NULL,NULL,NULL),(1056,NULL,1056,1042,NULL,NULL,NULL,NULL),(1057,NULL,1057,1043,NULL,NULL,NULL,NULL),(1058,NULL,1058,1044,NULL,NULL,NULL,NULL),(1059,NULL,1059,1045,NULL,NULL,NULL,NULL),(1060,NULL,1060,1046,NULL,NULL,NULL,NULL),(1061,NULL,1061,1047,NULL,NULL,NULL,NULL),(1062,NULL,1062,1048,NULL,NULL,NULL,NULL),(1063,NULL,1063,1049,NULL,NULL,NULL,NULL),(1064,NULL,1064,1050,NULL,NULL,NULL,NULL),(1065,NULL,1065,1051,NULL,NULL,NULL,NULL),(1066,NULL,1066,1052,NULL,NULL,NULL,NULL),(1067,NULL,1067,1053,NULL,NULL,NULL,NULL),(1068,NULL,1068,1054,NULL,NULL,NULL,NULL),(1069,NULL,1069,1055,NULL,NULL,NULL,NULL),(1070,NULL,1070,1056,NULL,NULL,NULL,NULL),(1071,NULL,1071,1057,NULL,NULL,NULL,NULL),(1072,NULL,1072,1058,NULL,NULL,NULL,NULL),(1073,NULL,1073,1059,NULL,NULL,NULL,NULL),(1074,NULL,1074,1060,NULL,NULL,NULL,NULL),(1075,NULL,1075,1061,NULL,NULL,NULL,NULL),(1076,NULL,1076,1062,NULL,NULL,NULL,NULL),(1077,NULL,1077,1063,NULL,NULL,NULL,NULL),(1078,NULL,1078,1064,NULL,NULL,NULL,NULL),(1079,NULL,1079,1065,NULL,NULL,NULL,NULL),(1080,NULL,1080,1066,NULL,NULL,NULL,NULL),(1081,NULL,1081,1067,NULL,NULL,NULL,NULL),(1082,NULL,1082,1068,NULL,NULL,NULL,NULL),(1083,NULL,1083,1069,NULL,NULL,NULL,NULL),(1084,NULL,1084,1070,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1085,NULL,1085,1071,NULL,NULL,NULL,NULL),(1086,NULL,1086,1072,NULL,NULL,NULL,NULL),(1087,NULL,1087,1073,NULL,NULL,NULL,NULL),(1088,NULL,1088,1074,NULL,NULL,NULL,NULL),(1089,NULL,1089,1075,NULL,NULL,NULL,NULL),(1090,NULL,1090,1076,NULL,NULL,NULL,NULL),(1091,NULL,1091,1077,NULL,NULL,NULL,NULL),(1092,NULL,1092,1078,NULL,NULL,NULL,NULL),(1093,NULL,1093,1079,NULL,NULL,NULL,NULL),(1094,NULL,1094,1080,NULL,NULL,NULL,NULL),(1095,NULL,1095,1081,NULL,NULL,NULL,NULL),(1096,NULL,1096,1082,NULL,NULL,NULL,NULL),(1097,NULL,1097,1083,NULL,NULL,NULL,NULL),(1098,NULL,1098,1084,NULL,NULL,NULL,NULL),(1099,NULL,1099,1085,NULL,NULL,NULL,NULL),(1100,NULL,1100,1086,NULL,NULL,NULL,NULL),(1101,NULL,1101,1087,NULL,NULL,NULL,NULL),(1102,NULL,1102,1088,NULL,NULL,NULL,NULL),(1103,NULL,1103,1089,NULL,NULL,NULL,NULL),(1104,NULL,1104,1090,NULL,NULL,NULL,NULL),(1105,NULL,1105,1091,NULL,NULL,NULL,NULL),(1106,NULL,1106,1092,NULL,NULL,NULL,NULL),(1107,NULL,1107,1093,NULL,NULL,NULL,NULL),(1108,NULL,1108,1094,NULL,NULL,NULL,NULL),(1109,NULL,1109,1095,NULL,NULL,NULL,NULL),(1110,NULL,1110,1096,NULL,NULL,NULL,NULL),(1111,NULL,1111,1097,NULL,NULL,NULL,NULL),(1112,NULL,1112,1098,NULL,NULL,NULL,NULL),(1113,NULL,1113,1099,NULL,NULL,NULL,NULL),(1114,NULL,1114,1100,NULL,NULL,NULL,NULL),(1115,NULL,1115,1101,NULL,NULL,NULL,NULL),(1116,NULL,1116,1102,NULL,NULL,NULL,NULL),(1117,NULL,1117,1103,NULL,NULL,NULL,NULL),(1118,NULL,1118,1104,NULL,NULL,NULL,NULL),(1119,NULL,1119,1105,NULL,NULL,NULL,NULL),(1120,NULL,1120,1106,NULL,NULL,NULL,NULL),(1121,NULL,1121,1107,NULL,NULL,NULL,NULL),(1122,NULL,1122,1108,NULL,NULL,NULL,NULL),(1123,NULL,1123,1109,NULL,NULL,NULL,NULL),(1124,NULL,1124,1110,NULL,NULL,NULL,NULL),(1125,NULL,1125,1111,NULL,NULL,NULL,NULL),(1126,NULL,1126,1112,NULL,NULL,NULL,NULL),(1127,NULL,1127,1113,NULL,NULL,NULL,NULL),(1128,NULL,1128,1114,NULL,NULL,NULL,NULL),(1129,NULL,1129,1115,NULL,NULL,NULL,NULL),(1130,NULL,1130,1116,NULL,NULL,NULL,NULL),(1131,NULL,1131,1117,NULL,NULL,NULL,NULL),(1132,NULL,1132,1118,NULL,NULL,NULL,NULL),(1133,NULL,1133,1119,NULL,NULL,NULL,NULL),(1134,NULL,1134,1120,NULL,NULL,NULL,NULL),(1135,NULL,1135,1121,NULL,NULL,NULL,NULL),(1136,NULL,1136,1122,NULL,NULL,NULL,NULL),(1137,NULL,1137,1123,NULL,NULL,NULL,NULL),(1138,NULL,1138,1124,NULL,NULL,NULL,NULL),(1139,NULL,1139,1125,NULL,NULL,NULL,NULL),(1140,NULL,1140,1126,NULL,NULL,NULL,NULL),(1141,NULL,1141,1127,NULL,NULL,NULL,NULL),(1142,NULL,1142,1128,NULL,NULL,NULL,NULL),(1143,NULL,1143,1129,NULL,NULL,NULL,NULL),(1144,NULL,1144,1130,NULL,NULL,NULL,NULL),(1145,NULL,1145,1131,NULL,NULL,NULL,NULL),(1146,NULL,1146,1132,NULL,NULL,NULL,NULL),(1147,NULL,1147,1133,NULL,NULL,NULL,NULL),(1148,NULL,1148,1134,NULL,NULL,NULL,NULL),(1149,NULL,1149,1135,NULL,NULL,NULL,NULL),(1150,NULL,1150,1136,NULL,NULL,NULL,NULL),(1151,NULL,1151,1137,NULL,NULL,NULL,NULL),(1152,NULL,1152,1138,NULL,NULL,NULL,NULL),(1153,NULL,1153,1139,NULL,NULL,NULL,NULL),(1154,NULL,1154,1140,NULL,NULL,NULL,NULL),(1155,NULL,1155,1141,NULL,NULL,NULL,NULL),(1156,NULL,1156,1142,NULL,NULL,NULL,NULL),(1157,NULL,1157,1143,NULL,NULL,NULL,NULL),(1158,NULL,1158,1144,NULL,NULL,NULL,NULL),(1159,NULL,1159,1145,NULL,NULL,NULL,NULL),(1160,NULL,1160,1146,NULL,NULL,NULL,NULL),(1161,NULL,1161,1147,NULL,NULL,NULL,NULL),(1162,NULL,1162,1148,NULL,NULL,NULL,NULL),(1163,NULL,1163,1149,NULL,NULL,NULL,NULL),(1164,NULL,1164,1150,NULL,NULL,NULL,NULL),(1165,NULL,1165,1151,NULL,NULL,NULL,NULL),(1166,NULL,1166,1152,NULL,NULL,NULL,NULL),(1167,NULL,1167,1153,NULL,NULL,NULL,NULL),(1168,NULL,1168,1154,NULL,NULL,NULL,NULL),(1169,NULL,1169,1155,NULL,NULL,NULL,NULL),(1170,NULL,1170,1156,NULL,NULL,NULL,NULL),(1171,NULL,1171,1157,NULL,NULL,NULL,NULL),(1172,NULL,1172,1158,NULL,NULL,NULL,NULL),(1173,NULL,1173,1159,NULL,NULL,NULL,NULL),(1174,NULL,1174,1160,NULL,NULL,NULL,NULL),(1175,NULL,1175,1161,NULL,NULL,NULL,NULL),(1176,NULL,1176,1162,NULL,NULL,NULL,NULL),(1177,NULL,1177,1163,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1178,NULL,1178,1164,NULL,NULL,NULL,NULL),(1179,NULL,1179,1165,NULL,NULL,NULL,NULL),(1180,NULL,1180,1166,NULL,NULL,NULL,NULL),(1181,NULL,1181,1167,NULL,NULL,NULL,NULL),(1182,NULL,1182,1168,NULL,NULL,NULL,NULL),(1183,NULL,1183,1169,NULL,NULL,NULL,NULL),(1184,NULL,1184,1170,NULL,NULL,NULL,NULL),(1185,NULL,1185,1171,NULL,NULL,NULL,NULL),(1186,NULL,1186,1172,NULL,NULL,NULL,NULL),(1187,NULL,1187,1173,NULL,NULL,NULL,NULL),(1188,NULL,1188,1174,NULL,NULL,NULL,NULL),(1189,NULL,1189,1175,NULL,NULL,NULL,NULL),(1190,NULL,1190,1176,NULL,NULL,NULL,NULL),(1191,NULL,1191,1177,NULL,NULL,NULL,NULL),(1192,NULL,1192,1178,NULL,NULL,NULL,NULL),(1193,NULL,1193,1179,NULL,NULL,NULL,NULL),(1194,NULL,1194,1180,NULL,NULL,NULL,NULL),(1195,NULL,1195,1181,NULL,NULL,NULL,NULL),(1196,NULL,1196,1182,NULL,NULL,NULL,NULL),(1197,NULL,1197,1183,NULL,NULL,NULL,NULL),(1198,NULL,1198,1184,NULL,NULL,NULL,NULL),(1199,NULL,1199,1185,NULL,NULL,NULL,NULL),(1200,NULL,1200,1186,NULL,NULL,NULL,NULL),(1201,NULL,1201,1187,NULL,NULL,NULL,NULL),(1202,NULL,1202,1188,NULL,NULL,NULL,NULL),(1203,NULL,1203,1189,NULL,NULL,NULL,NULL),(1204,NULL,1204,1190,NULL,NULL,NULL,NULL),(1205,NULL,1205,1191,NULL,NULL,NULL,NULL),(1206,NULL,1206,1192,NULL,NULL,NULL,NULL),(1207,NULL,1207,1193,NULL,NULL,NULL,NULL),(1208,NULL,1208,1194,NULL,NULL,NULL,NULL),(1209,NULL,1209,1195,NULL,NULL,NULL,NULL),(1210,NULL,1210,1196,NULL,NULL,NULL,NULL),(1211,NULL,1211,1197,NULL,NULL,NULL,NULL),(1212,NULL,1212,1198,NULL,NULL,NULL,NULL),(1213,NULL,1213,1199,NULL,NULL,NULL,NULL),(1214,NULL,1214,1200,NULL,NULL,NULL,NULL),(1215,NULL,1215,1201,NULL,NULL,NULL,NULL),(1216,NULL,1216,1202,NULL,NULL,NULL,NULL),(1217,NULL,1217,1203,NULL,NULL,NULL,NULL),(1218,NULL,1218,1204,NULL,NULL,NULL,NULL),(1219,NULL,1219,1205,NULL,NULL,NULL,NULL),(1220,NULL,1220,1206,NULL,NULL,NULL,NULL),(1221,NULL,1221,1207,NULL,NULL,NULL,NULL),(1222,NULL,1222,1208,NULL,NULL,NULL,NULL),(1223,NULL,1223,1209,NULL,NULL,NULL,NULL),(1224,NULL,1224,1210,NULL,NULL,NULL,NULL),(1225,NULL,1225,1211,NULL,NULL,NULL,NULL),(1226,NULL,1226,1212,NULL,NULL,NULL,NULL),(1227,NULL,1227,1213,NULL,NULL,NULL,NULL),(1228,NULL,1228,1214,NULL,NULL,NULL,NULL),(1229,NULL,1229,1215,NULL,NULL,NULL,NULL),(1230,NULL,1230,1216,NULL,NULL,NULL,NULL),(1231,NULL,1231,1217,NULL,NULL,NULL,NULL),(1232,NULL,1232,1218,NULL,NULL,NULL,NULL),(1233,NULL,1233,1219,NULL,NULL,NULL,NULL),(1234,NULL,1234,1220,NULL,NULL,NULL,NULL),(1235,NULL,1235,1221,NULL,NULL,NULL,NULL),(1236,NULL,1236,1222,NULL,NULL,NULL,NULL),(1237,NULL,1237,1223,NULL,NULL,NULL,NULL),(1238,NULL,1238,1224,NULL,NULL,NULL,NULL),(1239,NULL,1239,1225,NULL,NULL,NULL,NULL),(1240,NULL,1240,1226,NULL,NULL,NULL,NULL),(1241,NULL,1241,1227,NULL,NULL,NULL,NULL),(1242,NULL,1242,1228,NULL,NULL,NULL,NULL),(1243,NULL,1243,1229,NULL,NULL,NULL,NULL),(1244,NULL,1244,1230,NULL,NULL,NULL,NULL),(1245,NULL,1245,1231,NULL,NULL,NULL,NULL),(1246,NULL,1246,1232,NULL,NULL,NULL,NULL),(1247,NULL,1247,1233,NULL,NULL,NULL,NULL),(1248,NULL,1248,1234,NULL,NULL,NULL,NULL),(1249,NULL,1249,1235,NULL,NULL,NULL,NULL),(1250,NULL,1250,1236,NULL,NULL,NULL,NULL),(1251,NULL,1251,1237,NULL,NULL,NULL,NULL),(1252,NULL,1252,1238,NULL,NULL,NULL,NULL),(1253,NULL,1253,1239,NULL,NULL,NULL,NULL),(1254,NULL,1254,1240,NULL,NULL,NULL,NULL),(1255,NULL,1255,1241,NULL,NULL,NULL,NULL),(1256,NULL,1256,1242,NULL,NULL,NULL,NULL),(1257,NULL,1257,1243,NULL,NULL,NULL,NULL),(1258,NULL,1258,1244,NULL,NULL,NULL,NULL),(1259,NULL,1259,1245,NULL,NULL,NULL,NULL),(1260,NULL,1260,1246,NULL,NULL,NULL,NULL),(1261,NULL,1261,1247,NULL,NULL,NULL,NULL),(1262,NULL,1262,1248,NULL,NULL,NULL,NULL),(1263,NULL,1263,1249,NULL,NULL,NULL,NULL),(1264,NULL,1264,1250,NULL,NULL,NULL,NULL),(1265,NULL,1265,1251,NULL,NULL,NULL,NULL),(1266,NULL,1266,1252,NULL,NULL,NULL,NULL),(1267,NULL,1267,1253,NULL,NULL,NULL,NULL),(1268,NULL,1268,1254,NULL,NULL,NULL,NULL),(1269,NULL,1269,1255,NULL,NULL,NULL,NULL),(1270,NULL,1270,1256,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1271,NULL,1271,1257,NULL,NULL,NULL,NULL),(1272,NULL,1272,1258,NULL,NULL,NULL,NULL),(1273,NULL,1273,1259,NULL,NULL,NULL,NULL),(1274,NULL,1274,1260,NULL,NULL,NULL,NULL),(1275,NULL,1275,1261,NULL,NULL,NULL,NULL),(1276,NULL,1276,1262,NULL,NULL,NULL,NULL),(1277,NULL,1277,1263,NULL,NULL,NULL,NULL),(1278,NULL,1278,1264,NULL,NULL,NULL,NULL),(1279,NULL,1279,1265,NULL,NULL,NULL,NULL),(1280,NULL,1280,1266,NULL,NULL,NULL,NULL),(1281,NULL,1281,1267,NULL,NULL,NULL,NULL),(1282,NULL,1282,1268,NULL,NULL,NULL,NULL),(1283,NULL,1283,1269,NULL,NULL,NULL,NULL),(1284,NULL,1284,1270,NULL,NULL,NULL,NULL),(1285,NULL,1285,1271,NULL,NULL,NULL,NULL),(1286,NULL,1286,1272,NULL,NULL,NULL,NULL),(1287,NULL,1287,1273,NULL,NULL,NULL,NULL),(1288,NULL,1288,1274,NULL,NULL,NULL,NULL),(1289,NULL,1289,1275,NULL,NULL,NULL,NULL),(1290,NULL,1290,1276,NULL,NULL,NULL,NULL),(1291,NULL,1291,1277,NULL,NULL,NULL,NULL),(1292,NULL,1292,1278,NULL,NULL,NULL,NULL),(1293,NULL,1293,1279,NULL,NULL,NULL,NULL),(1294,NULL,1294,1280,NULL,NULL,NULL,NULL),(1295,NULL,1295,1281,NULL,NULL,NULL,NULL),(1296,NULL,1296,1282,NULL,NULL,NULL,NULL),(1297,NULL,1297,1283,NULL,NULL,NULL,NULL),(1298,NULL,1298,1284,NULL,NULL,NULL,NULL),(1299,NULL,1299,1285,NULL,NULL,NULL,NULL),(1300,NULL,1300,1286,NULL,NULL,NULL,NULL),(1301,NULL,1301,1287,NULL,NULL,NULL,NULL),(1302,NULL,1302,1288,NULL,NULL,NULL,NULL),(1303,NULL,1303,1289,NULL,NULL,NULL,NULL),(1304,NULL,1304,1290,NULL,NULL,NULL,NULL),(1305,NULL,1305,1291,NULL,NULL,NULL,NULL),(1306,NULL,1306,1292,NULL,NULL,NULL,NULL),(1307,NULL,1307,1293,NULL,NULL,NULL,NULL),(1308,NULL,1308,1294,NULL,NULL,NULL,NULL),(1309,NULL,1309,1295,NULL,NULL,NULL,NULL),(1310,NULL,1310,1296,NULL,NULL,NULL,NULL),(1311,NULL,1311,1297,NULL,NULL,NULL,NULL),(1312,NULL,1312,1298,NULL,NULL,NULL,NULL),(1313,NULL,1313,1299,NULL,NULL,NULL,NULL),(1314,NULL,1314,1300,NULL,NULL,NULL,NULL),(1315,NULL,1315,1301,NULL,NULL,NULL,NULL),(1316,NULL,1316,1302,NULL,NULL,NULL,NULL),(1317,NULL,1317,1303,NULL,NULL,NULL,NULL),(1318,NULL,1318,1304,NULL,NULL,NULL,NULL),(1319,NULL,1319,1305,NULL,NULL,NULL,NULL),(1320,NULL,1320,1306,NULL,NULL,NULL,NULL),(1321,NULL,1321,1307,NULL,NULL,NULL,NULL),(1322,NULL,1322,1308,NULL,NULL,NULL,NULL),(1323,NULL,1323,1309,NULL,NULL,NULL,NULL),(1324,NULL,1324,1310,NULL,NULL,NULL,NULL),(1325,NULL,1325,1311,NULL,NULL,NULL,NULL),(1326,NULL,1326,1312,NULL,NULL,NULL,NULL),(1327,NULL,1327,1313,NULL,NULL,NULL,NULL),(1328,NULL,1328,1314,NULL,NULL,NULL,NULL),(1329,NULL,1329,1315,NULL,NULL,NULL,NULL),(1330,NULL,1330,1316,NULL,NULL,NULL,NULL),(1331,NULL,1331,1317,NULL,NULL,NULL,NULL),(1332,NULL,1332,1318,NULL,NULL,NULL,NULL),(1333,NULL,1333,1319,NULL,NULL,NULL,NULL),(1334,NULL,1334,1320,NULL,NULL,NULL,NULL),(1335,NULL,1335,1321,NULL,NULL,NULL,NULL),(1336,NULL,1336,1322,NULL,NULL,NULL,NULL),(1337,NULL,1337,1323,NULL,NULL,NULL,NULL),(1338,NULL,1338,1324,NULL,NULL,NULL,NULL),(1339,NULL,1339,1325,NULL,NULL,NULL,NULL),(1340,NULL,1340,1326,NULL,NULL,NULL,NULL),(1341,NULL,1341,1327,NULL,NULL,NULL,NULL),(1342,NULL,1342,1328,NULL,NULL,NULL,NULL),(1343,NULL,1343,1329,NULL,NULL,NULL,NULL),(1344,NULL,1344,1330,NULL,NULL,NULL,NULL),(1345,NULL,1345,1331,NULL,NULL,NULL,NULL),(1346,NULL,1346,1332,NULL,NULL,NULL,NULL),(1347,NULL,1347,1333,NULL,NULL,NULL,NULL),(1348,NULL,1348,1334,NULL,NULL,NULL,NULL),(1349,NULL,1349,1335,NULL,NULL,NULL,NULL),(1350,NULL,1350,1336,NULL,NULL,NULL,NULL),(1351,NULL,1351,1337,NULL,NULL,NULL,NULL),(1352,NULL,1352,1338,NULL,NULL,NULL,NULL),(1353,NULL,1353,1339,NULL,NULL,NULL,NULL),(1354,NULL,1354,1340,NULL,NULL,NULL,NULL),(1355,NULL,1355,1341,NULL,NULL,NULL,NULL),(1356,NULL,1356,1342,NULL,NULL,NULL,NULL),(1357,NULL,1357,1343,NULL,NULL,NULL,NULL),(1358,NULL,1358,1344,NULL,NULL,NULL,NULL),(1359,NULL,1359,1345,NULL,NULL,NULL,NULL),(1360,NULL,1360,1346,NULL,NULL,NULL,NULL),(1361,NULL,1361,1347,NULL,NULL,NULL,NULL),(1362,NULL,1362,1348,NULL,NULL,NULL,NULL),(1363,NULL,1363,1349,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1364,NULL,1364,1350,NULL,NULL,NULL,NULL),(1365,NULL,1365,1351,NULL,NULL,NULL,NULL),(1366,NULL,1366,1352,NULL,NULL,NULL,NULL),(1367,NULL,1367,1353,NULL,NULL,NULL,NULL),(1368,NULL,1368,1354,NULL,NULL,NULL,NULL),(1369,NULL,1369,1355,NULL,NULL,NULL,NULL),(1370,NULL,1370,1356,NULL,NULL,NULL,NULL),(1371,NULL,1371,1357,NULL,NULL,NULL,NULL),(1372,NULL,1372,1358,NULL,NULL,NULL,NULL),(1373,NULL,1373,1359,NULL,NULL,NULL,NULL),(1374,NULL,1374,1360,NULL,NULL,NULL,NULL),(1375,NULL,1375,1361,NULL,NULL,NULL,NULL),(1376,NULL,1376,1362,NULL,NULL,NULL,NULL),(1377,NULL,1377,1363,NULL,NULL,NULL,NULL),(1378,NULL,1378,1364,NULL,NULL,NULL,NULL),(1379,NULL,1379,1365,NULL,NULL,NULL,NULL),(1380,NULL,1380,1366,NULL,NULL,NULL,NULL),(1381,NULL,1381,1367,NULL,NULL,NULL,NULL),(1382,NULL,1382,1368,NULL,NULL,NULL,NULL),(1383,NULL,1383,1369,NULL,NULL,NULL,NULL),(1384,NULL,1384,1370,NULL,NULL,NULL,NULL),(1385,NULL,1385,1371,NULL,NULL,NULL,NULL),(1386,NULL,1386,1372,NULL,NULL,NULL,NULL),(1387,NULL,1387,1373,NULL,NULL,NULL,NULL),(1388,NULL,1388,1374,NULL,NULL,NULL,NULL),(1389,NULL,1389,1375,NULL,NULL,NULL,NULL),(1390,NULL,1390,1376,NULL,NULL,NULL,NULL),(1391,NULL,1391,1377,NULL,NULL,NULL,NULL),(1392,NULL,1392,1378,NULL,NULL,NULL,NULL),(1393,NULL,1393,1379,NULL,NULL,NULL,NULL),(1394,NULL,1394,1380,NULL,NULL,NULL,NULL),(1395,NULL,1395,1381,NULL,NULL,NULL,NULL),(1396,NULL,1396,1382,NULL,NULL,NULL,NULL),(1397,NULL,1397,1383,NULL,NULL,NULL,NULL),(1398,NULL,1398,1384,NULL,NULL,NULL,NULL),(1399,NULL,1399,1385,NULL,NULL,NULL,NULL),(1400,NULL,1400,1386,NULL,NULL,NULL,NULL),(1401,NULL,1401,1387,NULL,NULL,NULL,NULL),(1402,NULL,1402,1388,NULL,NULL,NULL,NULL),(1403,NULL,1403,1389,NULL,NULL,NULL,NULL),(1404,NULL,1404,1390,NULL,NULL,NULL,NULL),(1405,NULL,1405,1391,NULL,NULL,NULL,NULL),(1406,NULL,1406,1392,NULL,NULL,NULL,NULL),(1407,NULL,1407,1393,NULL,NULL,NULL,NULL),(1408,NULL,1408,1394,NULL,NULL,NULL,NULL),(1409,NULL,1409,1395,NULL,NULL,NULL,NULL),(1410,NULL,1410,1396,NULL,NULL,NULL,NULL),(1411,NULL,1411,1397,NULL,NULL,NULL,NULL),(1412,NULL,1412,1398,NULL,NULL,NULL,NULL),(1413,NULL,1413,1399,NULL,NULL,NULL,NULL),(1414,NULL,1414,1400,NULL,NULL,NULL,NULL),(1415,NULL,1415,1401,NULL,NULL,NULL,NULL),(1416,NULL,1416,1402,NULL,NULL,NULL,NULL),(1417,NULL,1417,1403,NULL,NULL,NULL,NULL),(1418,NULL,1418,1404,NULL,NULL,NULL,NULL),(1419,NULL,1419,1405,NULL,NULL,NULL,NULL),(1420,NULL,1420,1406,NULL,NULL,NULL,NULL),(1421,NULL,1421,1407,NULL,NULL,NULL,NULL),(1422,NULL,1422,1408,NULL,NULL,NULL,NULL),(1423,NULL,1423,1409,NULL,NULL,NULL,NULL),(1424,NULL,1424,1410,NULL,NULL,NULL,NULL),(1425,NULL,1425,1411,NULL,NULL,NULL,NULL),(1426,NULL,1426,1412,NULL,NULL,NULL,NULL),(1427,NULL,1427,1413,NULL,NULL,NULL,NULL),(1428,NULL,1428,1414,NULL,NULL,NULL,NULL),(1429,NULL,1429,1415,NULL,NULL,NULL,NULL),(1430,NULL,1430,1416,NULL,NULL,NULL,NULL),(1431,NULL,1431,1417,NULL,NULL,NULL,NULL),(1432,NULL,1432,1418,NULL,NULL,NULL,NULL),(1433,NULL,1433,1419,NULL,NULL,NULL,NULL),(1434,NULL,1434,1420,NULL,NULL,NULL,NULL),(1435,NULL,1435,1421,NULL,NULL,NULL,NULL),(1439,NULL,1439,1425,NULL,NULL,NULL,NULL),(1440,NULL,1440,1426,NULL,NULL,NULL,NULL),(1441,NULL,1441,1427,NULL,NULL,NULL,NULL),(1442,NULL,1442,1428,NULL,NULL,NULL,NULL),(1443,NULL,1443,1429,NULL,NULL,NULL,NULL),(1444,NULL,1444,1430,NULL,NULL,NULL,NULL),(1445,NULL,1445,1431,NULL,NULL,NULL,NULL),(1446,NULL,1446,1432,NULL,NULL,NULL,NULL),(1447,NULL,1447,1433,NULL,NULL,NULL,NULL),(1448,NULL,1448,1434,NULL,NULL,NULL,NULL),(1449,NULL,1449,1435,NULL,NULL,NULL,NULL),(1450,NULL,1450,1436,NULL,NULL,NULL,NULL),(1451,NULL,1451,1437,NULL,NULL,NULL,NULL),(1452,NULL,1452,1438,NULL,NULL,NULL,NULL),(1453,NULL,1453,1439,NULL,NULL,NULL,NULL),(1454,NULL,1454,1440,NULL,NULL,NULL,NULL),(1455,NULL,1455,1441,NULL,NULL,NULL,NULL),(1456,NULL,1456,1442,NULL,NULL,NULL,NULL),(1457,NULL,1457,1443,NULL,NULL,NULL,NULL),(1458,NULL,1458,1444,NULL,NULL,NULL,NULL),(1459,NULL,1459,1445,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1460,NULL,1460,1446,NULL,NULL,NULL,NULL),(1461,NULL,1461,1447,NULL,NULL,NULL,NULL),(1462,NULL,1462,1448,NULL,NULL,NULL,NULL),(1463,NULL,1463,1449,NULL,NULL,NULL,NULL),(1464,NULL,1464,1450,NULL,NULL,NULL,NULL),(1465,NULL,1465,1451,NULL,NULL,NULL,NULL),(1466,NULL,1466,1452,NULL,NULL,NULL,NULL),(1467,NULL,1467,1453,NULL,NULL,NULL,NULL),(1468,NULL,1468,1454,NULL,NULL,NULL,NULL),(1469,NULL,1469,1455,NULL,NULL,NULL,NULL),(1470,NULL,1470,1456,NULL,NULL,NULL,NULL),(1471,NULL,1471,1457,NULL,NULL,NULL,NULL),(1472,NULL,1472,1458,NULL,NULL,NULL,NULL),(1473,NULL,1473,1459,NULL,NULL,NULL,NULL),(1474,NULL,1474,1460,NULL,NULL,NULL,NULL),(1475,NULL,1475,1461,NULL,NULL,NULL,NULL),(1476,NULL,1476,1462,NULL,NULL,NULL,NULL),(1477,NULL,1477,1463,NULL,NULL,NULL,NULL),(1478,NULL,1478,1464,NULL,NULL,NULL,NULL),(1479,NULL,1479,1465,NULL,NULL,NULL,NULL),(1480,NULL,1480,1466,NULL,NULL,NULL,NULL),(1481,NULL,1481,1467,NULL,NULL,NULL,NULL),(1482,NULL,1482,1468,NULL,NULL,NULL,NULL),(1483,NULL,1483,1469,NULL,NULL,NULL,NULL),(1484,NULL,1484,1470,NULL,NULL,NULL,NULL),(1485,NULL,1485,1471,NULL,NULL,NULL,NULL),(1486,NULL,1486,1472,NULL,NULL,NULL,NULL),(1487,NULL,1487,1473,NULL,NULL,NULL,NULL),(1488,NULL,1488,1474,NULL,NULL,NULL,NULL),(1489,NULL,1489,1475,NULL,NULL,NULL,NULL),(1490,NULL,1490,1476,NULL,NULL,NULL,NULL),(1491,NULL,1491,1477,NULL,NULL,NULL,NULL),(1492,NULL,1492,1490,NULL,NULL,NULL,NULL),(1493,NULL,1493,1491,NULL,NULL,NULL,NULL),(1494,NULL,1494,1492,NULL,NULL,NULL,NULL),(1495,NULL,1495,1493,NULL,NULL,NULL,NULL),(1496,NULL,1496,1494,NULL,NULL,NULL,NULL),(1497,NULL,1497,1495,NULL,NULL,NULL,NULL),(1498,NULL,1498,1496,NULL,NULL,NULL,NULL),(1499,NULL,1499,1497,NULL,NULL,NULL,NULL),(1500,NULL,1500,1498,NULL,NULL,NULL,NULL),(1501,NULL,1501,1499,NULL,NULL,NULL,NULL),(1502,NULL,1502,1500,NULL,NULL,NULL,NULL),(1503,NULL,1503,1501,NULL,NULL,NULL,NULL),(1504,NULL,1504,1502,NULL,NULL,NULL,NULL),(1505,NULL,1505,1503,NULL,NULL,NULL,NULL),(1506,NULL,1506,1504,NULL,NULL,NULL,NULL),(1507,NULL,1507,1505,NULL,NULL,NULL,NULL),(1508,NULL,1508,1506,NULL,NULL,NULL,NULL),(1509,NULL,1509,1507,NULL,NULL,NULL,NULL),(1510,NULL,1510,1508,NULL,NULL,NULL,NULL),(1511,NULL,1511,1509,NULL,NULL,NULL,NULL),(1512,NULL,1512,1510,NULL,NULL,NULL,NULL),(1513,NULL,1513,1511,NULL,NULL,NULL,NULL),(1514,NULL,1514,1512,NULL,NULL,NULL,NULL),(1515,NULL,1515,1513,NULL,NULL,NULL,NULL),(1516,NULL,1516,1514,NULL,NULL,NULL,NULL),(1517,NULL,1517,1515,NULL,NULL,NULL,NULL),(1518,NULL,1518,1516,NULL,NULL,NULL,NULL),(1519,NULL,1519,1517,NULL,NULL,NULL,NULL),(1520,NULL,1520,1518,NULL,NULL,NULL,NULL),(1521,NULL,1521,1519,NULL,NULL,NULL,NULL),(1522,NULL,1522,1520,NULL,NULL,NULL,NULL),(1523,NULL,1523,1521,NULL,NULL,NULL,NULL),(1524,NULL,1524,1522,NULL,NULL,NULL,NULL),(1525,NULL,1525,1523,NULL,NULL,NULL,NULL),(1526,NULL,1526,1524,NULL,NULL,NULL,NULL),(1527,NULL,1527,1525,NULL,NULL,NULL,NULL),(1528,NULL,1528,1526,NULL,NULL,NULL,NULL),(1529,NULL,1529,1527,NULL,NULL,NULL,NULL),(1530,NULL,1530,1528,NULL,NULL,NULL,NULL),(1531,NULL,1531,1529,NULL,NULL,NULL,NULL),(1532,NULL,1532,1530,NULL,NULL,NULL,NULL),(1533,NULL,1533,1531,NULL,NULL,NULL,NULL),(1534,NULL,1534,1532,NULL,NULL,NULL,NULL),(1535,NULL,1535,1533,NULL,NULL,NULL,NULL),(1536,NULL,1536,1534,NULL,NULL,NULL,NULL),(1537,NULL,1537,1535,NULL,NULL,NULL,NULL),(1538,NULL,1538,1536,NULL,NULL,NULL,NULL),(1539,NULL,1539,1537,NULL,NULL,NULL,NULL),(1540,NULL,1540,1538,NULL,NULL,NULL,NULL),(1541,NULL,1541,1539,NULL,NULL,NULL,NULL),(1542,NULL,1542,1540,NULL,NULL,NULL,NULL),(1543,NULL,1543,1541,NULL,NULL,NULL,NULL),(1544,NULL,1544,1542,NULL,NULL,NULL,NULL),(1545,NULL,1545,1543,NULL,NULL,NULL,NULL),(1546,NULL,1546,1544,NULL,NULL,NULL,NULL),(1547,NULL,1547,1545,NULL,NULL,NULL,NULL),(1548,NULL,1548,1546,NULL,NULL,NULL,NULL),(1549,NULL,1549,1547,NULL,NULL,NULL,NULL),(1550,NULL,1550,1548,NULL,NULL,NULL,NULL),(1551,NULL,1551,1549,NULL,NULL,NULL,NULL),(1552,NULL,1552,1550,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1553,NULL,1553,1551,NULL,NULL,NULL,NULL),(1554,NULL,1554,1552,NULL,NULL,NULL,NULL),(1555,NULL,1555,1553,NULL,NULL,NULL,NULL),(1556,NULL,1556,1554,NULL,NULL,NULL,NULL),(1557,NULL,1557,1555,NULL,NULL,NULL,NULL),(1558,NULL,1558,1556,NULL,NULL,NULL,NULL),(1559,NULL,1559,1557,NULL,NULL,NULL,NULL),(1560,NULL,1560,1558,NULL,NULL,NULL,NULL),(1561,NULL,1561,1559,NULL,NULL,NULL,NULL),(1562,NULL,1562,1560,NULL,NULL,NULL,NULL),(1563,NULL,1563,1561,NULL,NULL,NULL,NULL),(1564,NULL,1564,1562,NULL,NULL,NULL,NULL),(1565,NULL,1565,1563,NULL,NULL,NULL,NULL),(1566,NULL,1566,1564,NULL,NULL,NULL,NULL),(1567,NULL,1567,1565,NULL,NULL,NULL,NULL),(1568,NULL,1568,1566,NULL,NULL,NULL,NULL),(1569,NULL,1569,1567,NULL,NULL,NULL,NULL),(1570,NULL,1570,1568,NULL,NULL,NULL,NULL),(1571,NULL,1571,1569,NULL,NULL,NULL,NULL),(1572,NULL,1572,1570,NULL,NULL,NULL,NULL),(1573,NULL,1573,1571,NULL,NULL,NULL,NULL),(1574,NULL,1574,1572,NULL,NULL,NULL,NULL),(1575,NULL,1575,1573,NULL,NULL,NULL,NULL),(1576,NULL,1576,1574,NULL,NULL,NULL,NULL),(1577,NULL,1577,1575,NULL,NULL,NULL,NULL),(1578,NULL,1578,1576,NULL,NULL,NULL,NULL),(1579,NULL,1579,1577,NULL,NULL,NULL,NULL),(1580,NULL,1580,1578,NULL,NULL,NULL,NULL),(1581,NULL,1581,1579,NULL,NULL,NULL,NULL),(1582,NULL,1582,1580,NULL,NULL,NULL,NULL),(1583,NULL,1583,1581,NULL,NULL,NULL,NULL),(1584,NULL,1584,1582,NULL,NULL,NULL,NULL),(1585,NULL,1585,1583,NULL,NULL,NULL,NULL),(1586,NULL,1586,1584,NULL,NULL,NULL,NULL),(1587,NULL,1587,1585,NULL,NULL,NULL,NULL),(1588,NULL,1588,1586,NULL,NULL,NULL,NULL),(1589,NULL,1589,1587,NULL,NULL,NULL,NULL),(1590,NULL,1590,1588,NULL,NULL,NULL,NULL),(1591,NULL,1591,1589,NULL,NULL,NULL,NULL),(1592,NULL,1592,1590,NULL,NULL,NULL,NULL),(1593,NULL,1593,1591,NULL,NULL,NULL,NULL),(1594,NULL,1594,1592,NULL,NULL,NULL,NULL),(1595,NULL,1595,1593,NULL,NULL,NULL,NULL),(1596,NULL,1596,1594,NULL,NULL,NULL,NULL),(1597,NULL,1597,1595,NULL,NULL,NULL,NULL),(1598,NULL,1598,1596,NULL,NULL,NULL,NULL),(1599,NULL,1599,1597,NULL,NULL,NULL,NULL),(1600,NULL,1600,1598,NULL,NULL,NULL,NULL),(1601,NULL,1601,1599,NULL,NULL,NULL,NULL),(1602,NULL,1602,1600,NULL,NULL,NULL,NULL),(1603,NULL,1603,1601,NULL,NULL,NULL,NULL),(1604,NULL,1604,1602,NULL,NULL,NULL,NULL),(1605,NULL,1605,1603,NULL,NULL,NULL,NULL),(1606,NULL,1606,1604,NULL,NULL,NULL,NULL),(1607,NULL,1607,1605,NULL,NULL,NULL,NULL),(1608,NULL,1608,1606,NULL,NULL,NULL,NULL),(1609,NULL,1609,1607,NULL,NULL,NULL,NULL),(1610,NULL,1610,1608,NULL,NULL,NULL,NULL),(1611,NULL,1611,1609,NULL,NULL,NULL,NULL),(1612,NULL,1612,1610,NULL,NULL,NULL,NULL),(1613,NULL,1613,1611,NULL,NULL,NULL,NULL),(1614,NULL,1614,1612,NULL,NULL,NULL,NULL),(1615,NULL,1615,1613,NULL,NULL,NULL,NULL),(1616,NULL,1616,1614,NULL,NULL,NULL,NULL),(1617,NULL,1617,1615,NULL,NULL,NULL,NULL),(1618,NULL,1618,1616,NULL,NULL,NULL,NULL),(1619,NULL,1619,1617,NULL,NULL,NULL,NULL),(1620,NULL,1620,1618,NULL,NULL,NULL,NULL),(1621,NULL,1621,1619,NULL,NULL,NULL,NULL),(1622,NULL,1622,1620,NULL,NULL,NULL,NULL),(1623,NULL,1623,1621,NULL,NULL,NULL,NULL),(1624,NULL,1624,1622,NULL,NULL,NULL,NULL),(1625,NULL,1625,1623,NULL,NULL,NULL,NULL),(1626,NULL,1626,1624,NULL,NULL,NULL,NULL),(1627,NULL,1627,1625,NULL,NULL,NULL,NULL),(1628,NULL,1628,1626,NULL,NULL,NULL,NULL),(1629,NULL,1629,1627,NULL,NULL,NULL,NULL),(1630,NULL,1630,1628,NULL,NULL,NULL,NULL),(1631,NULL,1631,1629,NULL,NULL,NULL,NULL),(1632,NULL,1632,1630,NULL,NULL,NULL,NULL),(1633,NULL,1633,1631,NULL,NULL,NULL,NULL),(1634,NULL,1634,1632,NULL,NULL,NULL,NULL),(1635,NULL,1635,1633,NULL,NULL,NULL,NULL),(1636,NULL,1636,1634,NULL,NULL,NULL,NULL),(1637,NULL,1637,1635,NULL,NULL,NULL,NULL),(1638,NULL,1638,1636,NULL,NULL,NULL,NULL),(1639,NULL,1639,1637,NULL,NULL,NULL,NULL),(1640,NULL,1640,1638,NULL,NULL,NULL,NULL),(1641,NULL,1641,1639,NULL,NULL,NULL,NULL),(1642,NULL,1642,1640,NULL,NULL,NULL,NULL),(1643,NULL,1643,1641,NULL,NULL,NULL,NULL),(1644,NULL,1644,1642,NULL,NULL,NULL,NULL),(1645,NULL,1645,1643,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1646,NULL,1646,1644,NULL,NULL,NULL,NULL),(1647,NULL,1647,1645,NULL,NULL,NULL,NULL),(1648,NULL,1648,1646,NULL,NULL,NULL,NULL),(1649,NULL,1649,1647,NULL,NULL,NULL,NULL),(1650,NULL,1650,1648,NULL,NULL,NULL,NULL),(1651,NULL,1651,1649,NULL,NULL,NULL,NULL),(1652,NULL,1652,1650,NULL,NULL,NULL,NULL),(1653,NULL,1653,1651,NULL,NULL,NULL,NULL),(1654,NULL,1654,1652,NULL,NULL,NULL,NULL),(1655,NULL,1655,1653,NULL,NULL,NULL,NULL),(1656,NULL,1656,1654,NULL,NULL,NULL,NULL),(1657,NULL,1657,1655,NULL,NULL,NULL,NULL),(1658,NULL,1658,1656,NULL,NULL,NULL,NULL),(1659,NULL,1659,1657,NULL,NULL,NULL,NULL),(1660,NULL,1660,1658,NULL,NULL,NULL,NULL),(1661,NULL,1661,1659,NULL,NULL,NULL,NULL),(1662,NULL,1662,1660,NULL,NULL,NULL,NULL),(1663,NULL,1663,1661,NULL,NULL,NULL,NULL),(1664,NULL,1664,1662,NULL,NULL,NULL,NULL),(1665,NULL,1665,1663,NULL,NULL,NULL,NULL),(1666,NULL,1666,1664,NULL,NULL,NULL,NULL),(1667,NULL,1667,1665,NULL,NULL,NULL,NULL),(1668,NULL,1668,1666,NULL,NULL,NULL,NULL),(1669,NULL,1669,1667,NULL,NULL,NULL,NULL),(1670,NULL,1670,1668,NULL,NULL,NULL,NULL),(1671,NULL,1671,1669,NULL,NULL,NULL,NULL),(1672,NULL,1672,1670,NULL,NULL,NULL,NULL),(1673,NULL,1673,1671,NULL,NULL,NULL,NULL),(1674,NULL,1674,1672,NULL,NULL,NULL,NULL),(1675,NULL,1675,1673,NULL,NULL,NULL,NULL),(1676,NULL,1676,1674,NULL,NULL,NULL,NULL),(1677,NULL,1677,1675,NULL,NULL,NULL,NULL),(1678,NULL,1678,1676,NULL,NULL,NULL,NULL),(1679,NULL,1679,1677,NULL,NULL,NULL,NULL),(1680,NULL,1680,1678,NULL,NULL,NULL,NULL),(1681,NULL,1681,1679,NULL,NULL,NULL,NULL),(1682,NULL,1682,1680,NULL,NULL,NULL,NULL),(1683,NULL,1683,1681,NULL,NULL,NULL,NULL),(1684,NULL,1684,1682,NULL,NULL,NULL,NULL),(1685,NULL,1685,1683,NULL,NULL,NULL,NULL),(1686,NULL,1686,1684,NULL,NULL,NULL,NULL),(1687,NULL,1687,1685,NULL,NULL,NULL,NULL),(1688,NULL,1688,1686,NULL,NULL,NULL,NULL),(1689,NULL,1689,1687,NULL,NULL,NULL,NULL),(1690,NULL,1690,1688,NULL,NULL,NULL,NULL),(1691,NULL,1691,1689,NULL,NULL,NULL,NULL),(1692,NULL,1692,1690,NULL,NULL,NULL,NULL),(1693,NULL,1693,1691,NULL,NULL,NULL,NULL),(1694,NULL,1694,1692,NULL,NULL,NULL,NULL),(1695,NULL,1695,1693,NULL,NULL,NULL,NULL),(1696,NULL,1696,1694,NULL,NULL,NULL,NULL),(1697,NULL,1697,1695,NULL,NULL,NULL,NULL),(1698,NULL,1698,1696,NULL,NULL,NULL,NULL),(1699,NULL,1699,1697,NULL,NULL,NULL,NULL),(1700,NULL,1700,1698,NULL,NULL,NULL,NULL),(1701,NULL,1701,1699,NULL,NULL,NULL,NULL),(1702,NULL,1702,1700,NULL,NULL,NULL,NULL),(1703,NULL,1703,1701,NULL,NULL,NULL,NULL),(1704,NULL,1704,1702,NULL,NULL,NULL,NULL),(1705,NULL,1705,1703,NULL,NULL,NULL,NULL),(1706,NULL,1706,1704,NULL,NULL,NULL,NULL),(1707,NULL,1707,1705,NULL,NULL,NULL,NULL),(1708,NULL,1708,1706,NULL,NULL,NULL,NULL),(1709,NULL,1709,1707,NULL,NULL,NULL,NULL),(1710,NULL,1710,1708,NULL,NULL,NULL,NULL),(1711,NULL,1711,1709,NULL,NULL,NULL,NULL),(1712,NULL,1712,1710,NULL,NULL,NULL,NULL),(1713,NULL,1713,1711,NULL,NULL,NULL,NULL),(1714,NULL,1714,1712,NULL,NULL,NULL,NULL),(1715,NULL,1715,1713,NULL,NULL,NULL,NULL),(1716,NULL,1716,1714,NULL,NULL,NULL,NULL),(1717,NULL,1717,1715,NULL,NULL,NULL,NULL),(1718,NULL,1718,1716,NULL,NULL,NULL,NULL),(1719,NULL,1719,1717,NULL,NULL,NULL,NULL),(1720,NULL,1720,1718,NULL,NULL,NULL,NULL),(1721,NULL,1721,1719,NULL,NULL,NULL,NULL),(1722,NULL,1722,1720,NULL,NULL,NULL,NULL),(1723,NULL,1723,1721,NULL,NULL,NULL,NULL),(1724,NULL,1724,1722,NULL,NULL,NULL,NULL),(1725,NULL,1725,1723,NULL,NULL,NULL,NULL),(1726,NULL,1726,1724,NULL,NULL,NULL,NULL),(1727,NULL,1727,1725,NULL,NULL,NULL,NULL),(1728,NULL,1728,1726,NULL,NULL,NULL,NULL),(1729,NULL,1729,1727,NULL,NULL,NULL,NULL),(1730,NULL,1730,1728,NULL,NULL,NULL,NULL),(1731,NULL,1731,1729,NULL,NULL,NULL,NULL),(1732,NULL,1732,1730,NULL,NULL,NULL,NULL),(1733,NULL,1733,1731,NULL,NULL,NULL,NULL),(1734,NULL,1734,1732,NULL,NULL,NULL,NULL),(1735,NULL,1735,1733,NULL,NULL,NULL,NULL),(1736,NULL,1736,1734,NULL,NULL,NULL,NULL),(1737,NULL,1737,1735,NULL,NULL,NULL,NULL),(1738,NULL,1738,1736,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1739,NULL,1739,1737,NULL,NULL,NULL,NULL),(1740,NULL,1740,1738,NULL,NULL,NULL,NULL),(1741,NULL,1741,1739,NULL,NULL,NULL,NULL),(1742,NULL,1742,1740,NULL,NULL,NULL,NULL),(1743,NULL,1743,1741,NULL,NULL,NULL,NULL),(1744,NULL,1744,1742,NULL,NULL,NULL,NULL),(1745,NULL,1745,1743,NULL,NULL,NULL,NULL),(1746,NULL,1746,1744,NULL,NULL,NULL,NULL),(1747,NULL,1747,1745,NULL,NULL,NULL,NULL),(1748,NULL,1748,1746,NULL,NULL,NULL,NULL),(1749,NULL,1749,1747,NULL,NULL,NULL,NULL),(1750,NULL,1750,1748,NULL,NULL,NULL,NULL),(1751,NULL,1751,1749,NULL,NULL,NULL,NULL),(1752,NULL,1752,1750,NULL,NULL,NULL,NULL),(1753,NULL,1753,1751,NULL,NULL,NULL,NULL),(1754,NULL,1754,1752,NULL,NULL,NULL,NULL),(1755,NULL,1755,1753,NULL,NULL,NULL,NULL),(1756,NULL,1756,1754,NULL,NULL,NULL,NULL),(1757,NULL,1757,1755,NULL,NULL,NULL,NULL),(1758,NULL,1758,1756,NULL,NULL,NULL,NULL),(1759,NULL,1759,1757,NULL,NULL,NULL,NULL),(1760,NULL,1760,1758,NULL,NULL,NULL,NULL),(1761,NULL,1761,1759,NULL,NULL,NULL,NULL),(1762,NULL,1762,1760,NULL,NULL,NULL,NULL),(1763,NULL,1763,1761,NULL,NULL,NULL,NULL),(1764,NULL,1764,1762,NULL,NULL,NULL,NULL),(1765,NULL,1765,1763,NULL,NULL,NULL,NULL),(1766,NULL,1766,1764,NULL,NULL,NULL,NULL),(1767,NULL,1767,1765,NULL,NULL,NULL,NULL),(1768,NULL,1768,1766,NULL,NULL,NULL,NULL),(1769,NULL,1769,1767,NULL,NULL,NULL,NULL),(1770,NULL,1770,1768,NULL,NULL,NULL,NULL),(1771,NULL,1771,1769,NULL,NULL,NULL,NULL),(1772,NULL,1772,1770,NULL,NULL,NULL,NULL),(1773,NULL,1773,1771,NULL,NULL,NULL,NULL),(1774,NULL,1774,1772,NULL,NULL,NULL,NULL),(1775,NULL,1775,1773,NULL,NULL,NULL,NULL),(1776,NULL,1776,1774,NULL,NULL,NULL,NULL),(1777,NULL,1777,1775,NULL,NULL,NULL,NULL),(1778,NULL,1778,1776,NULL,NULL,NULL,NULL),(1779,NULL,1779,1777,NULL,NULL,NULL,NULL),(1780,NULL,1780,1778,NULL,NULL,NULL,NULL),(1781,NULL,1781,1779,NULL,NULL,NULL,NULL),(1782,NULL,1782,1780,NULL,NULL,NULL,NULL),(1783,NULL,1783,1781,NULL,NULL,NULL,NULL),(1784,NULL,1784,1782,NULL,NULL,NULL,NULL),(1785,NULL,1785,1783,NULL,NULL,NULL,NULL),(1786,NULL,1786,1784,NULL,NULL,NULL,NULL),(1787,NULL,1787,1785,NULL,NULL,NULL,NULL),(1788,NULL,1788,1786,NULL,NULL,NULL,NULL),(1789,NULL,1789,1787,NULL,NULL,NULL,NULL),(1790,NULL,1790,1788,NULL,NULL,NULL,NULL),(1791,NULL,1791,1789,NULL,NULL,NULL,NULL),(1792,NULL,1792,1790,NULL,NULL,NULL,NULL),(1793,NULL,1793,1791,NULL,NULL,NULL,NULL),(1794,NULL,1794,1792,NULL,NULL,NULL,NULL),(1795,NULL,1795,1793,NULL,NULL,NULL,NULL),(1796,NULL,1796,1794,NULL,NULL,NULL,NULL),(1797,NULL,1797,1795,NULL,NULL,NULL,NULL),(1798,NULL,1798,1796,NULL,NULL,NULL,NULL),(1799,NULL,1799,1797,NULL,NULL,NULL,NULL),(1800,NULL,1800,1798,NULL,NULL,NULL,NULL),(1801,NULL,1801,1799,NULL,NULL,NULL,NULL),(1802,NULL,1802,1800,NULL,NULL,NULL,NULL),(1803,NULL,1803,1801,NULL,NULL,NULL,NULL),(1804,NULL,1804,1802,NULL,NULL,NULL,NULL),(1805,NULL,1805,1803,NULL,NULL,NULL,NULL),(1806,NULL,1806,1804,NULL,NULL,NULL,NULL),(1807,NULL,1807,1805,NULL,NULL,NULL,NULL),(1808,NULL,1808,1806,NULL,NULL,NULL,NULL),(1809,NULL,1809,1807,NULL,NULL,NULL,NULL),(1810,NULL,1810,1808,NULL,NULL,NULL,NULL),(1811,NULL,1811,1809,NULL,NULL,NULL,NULL),(1812,NULL,1812,1810,NULL,NULL,NULL,NULL),(1813,NULL,1813,1811,NULL,NULL,NULL,NULL),(1814,NULL,1814,1812,NULL,NULL,NULL,NULL),(1815,NULL,1815,1813,NULL,NULL,NULL,NULL),(1816,NULL,1816,1814,NULL,NULL,NULL,NULL),(1817,NULL,1817,1815,NULL,NULL,NULL,NULL),(1818,NULL,1818,1816,NULL,NULL,NULL,NULL),(1819,NULL,1819,1817,NULL,NULL,NULL,NULL),(1820,NULL,1820,1818,NULL,NULL,NULL,NULL),(1821,NULL,1821,1819,NULL,NULL,NULL,NULL),(1822,NULL,1822,1820,NULL,NULL,NULL,NULL),(1823,NULL,1823,1821,NULL,NULL,NULL,NULL),(1824,NULL,1824,1822,NULL,NULL,NULL,NULL),(1825,NULL,1825,1823,NULL,NULL,NULL,NULL),(1826,NULL,1826,1824,NULL,NULL,NULL,NULL),(1827,NULL,1827,1825,NULL,NULL,NULL,NULL),(1828,NULL,1828,1826,NULL,NULL,NULL,NULL),(1829,NULL,1829,1827,NULL,NULL,NULL,NULL),(1830,NULL,1830,1828,NULL,NULL,NULL,NULL),(1831,NULL,1831,1829,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1832,NULL,1832,1830,NULL,NULL,NULL,NULL),(1833,NULL,1833,1831,NULL,NULL,NULL,NULL),(1834,NULL,1834,1832,NULL,NULL,NULL,NULL),(1835,NULL,1835,1833,NULL,NULL,NULL,NULL),(1836,NULL,1836,1834,NULL,NULL,NULL,NULL),(1837,NULL,1837,1835,NULL,NULL,NULL,NULL),(1838,NULL,1838,1836,NULL,NULL,NULL,NULL),(1839,NULL,1839,1837,NULL,NULL,NULL,NULL),(1840,NULL,1840,1838,NULL,NULL,NULL,NULL),(1841,NULL,1841,1839,NULL,NULL,NULL,NULL),(1842,NULL,1842,1840,NULL,NULL,NULL,NULL),(1843,NULL,1843,1841,NULL,NULL,NULL,NULL),(1844,NULL,1844,1842,NULL,NULL,NULL,NULL),(1845,NULL,1845,1843,NULL,NULL,NULL,NULL),(1846,NULL,1846,1844,NULL,NULL,NULL,NULL),(1847,NULL,1847,1845,NULL,NULL,NULL,NULL),(1848,NULL,1848,1846,NULL,NULL,NULL,NULL),(1849,NULL,1849,1847,NULL,NULL,NULL,NULL),(1850,NULL,1850,1848,NULL,NULL,NULL,NULL),(1851,NULL,1851,1849,NULL,NULL,NULL,NULL),(1852,NULL,1852,1850,NULL,NULL,NULL,NULL),(1853,NULL,1853,1851,NULL,NULL,NULL,NULL),(1854,NULL,1854,1852,NULL,NULL,NULL,NULL),(1855,NULL,1855,1853,NULL,NULL,NULL,NULL),(1856,NULL,1856,1854,NULL,NULL,NULL,NULL),(1857,NULL,1857,1855,NULL,NULL,NULL,NULL),(1858,NULL,1858,1856,NULL,NULL,NULL,NULL),(1859,NULL,1859,1857,NULL,NULL,NULL,NULL),(1860,NULL,1860,1858,NULL,NULL,NULL,NULL),(1861,NULL,1861,1859,NULL,NULL,NULL,NULL),(1862,NULL,1862,1860,NULL,NULL,NULL,NULL),(1863,NULL,1863,1861,NULL,NULL,NULL,NULL),(1864,NULL,1864,1862,NULL,NULL,NULL,NULL),(1865,NULL,1865,1863,NULL,NULL,NULL,NULL),(1866,NULL,1866,1864,NULL,NULL,NULL,NULL),(1867,NULL,1867,1865,NULL,NULL,NULL,NULL),(1868,NULL,1868,1866,NULL,NULL,NULL,NULL),(1869,NULL,1869,1867,NULL,NULL,NULL,NULL),(1870,NULL,1870,1868,NULL,NULL,NULL,NULL),(1871,NULL,1871,1869,NULL,NULL,NULL,NULL),(1872,NULL,1872,1870,NULL,NULL,NULL,NULL),(1873,NULL,1873,1871,NULL,NULL,NULL,NULL),(1874,NULL,1874,1872,NULL,NULL,NULL,NULL),(1875,NULL,1875,1873,NULL,NULL,NULL,NULL),(1876,NULL,1876,1874,NULL,NULL,NULL,NULL),(1877,NULL,1877,1875,NULL,NULL,NULL,NULL),(1878,NULL,1878,1876,NULL,NULL,NULL,NULL),(1879,NULL,1879,1877,NULL,NULL,NULL,NULL),(1880,NULL,1880,1878,NULL,NULL,NULL,NULL),(1881,NULL,1881,1879,NULL,NULL,NULL,NULL),(1882,NULL,1882,1880,NULL,NULL,NULL,NULL),(1883,NULL,1883,1881,NULL,NULL,NULL,NULL),(1884,NULL,1884,1882,NULL,NULL,NULL,NULL),(1885,NULL,1885,1883,NULL,NULL,NULL,NULL),(1886,NULL,1886,1884,NULL,NULL,NULL,NULL),(1887,NULL,1887,1885,NULL,NULL,NULL,NULL),(1888,NULL,1888,1886,NULL,NULL,NULL,NULL),(1889,NULL,1889,1887,NULL,NULL,NULL,NULL),(1890,NULL,1890,1888,NULL,NULL,NULL,NULL),(1891,NULL,1891,1889,NULL,NULL,NULL,NULL),(1892,NULL,1892,1890,NULL,NULL,NULL,NULL),(1893,NULL,1893,1891,NULL,NULL,NULL,NULL),(1894,NULL,1894,1892,NULL,NULL,NULL,NULL),(1895,NULL,1895,1893,NULL,NULL,NULL,NULL),(1896,NULL,1896,1894,NULL,NULL,NULL,NULL),(1897,NULL,1897,1895,NULL,NULL,NULL,NULL),(1898,NULL,1898,1896,NULL,NULL,NULL,NULL),(1899,NULL,1899,1897,NULL,NULL,NULL,NULL),(1900,NULL,1900,1898,NULL,NULL,NULL,NULL),(1901,NULL,1901,1899,NULL,NULL,NULL,NULL),(1902,NULL,1902,1900,NULL,NULL,NULL,NULL),(1903,NULL,1903,1901,NULL,NULL,NULL,NULL),(1904,NULL,1904,1902,NULL,NULL,NULL,NULL),(1905,NULL,1905,1903,NULL,NULL,NULL,NULL),(1906,NULL,1906,1904,NULL,NULL,NULL,NULL),(1907,NULL,1907,1905,NULL,NULL,NULL,NULL),(1908,NULL,1908,1906,NULL,NULL,NULL,NULL),(1909,NULL,1909,1907,NULL,NULL,NULL,NULL),(1910,NULL,1910,1908,NULL,NULL,NULL,NULL),(1911,NULL,1911,1909,NULL,NULL,NULL,NULL),(1912,NULL,1912,1910,NULL,NULL,NULL,NULL),(1913,NULL,1913,1911,NULL,NULL,NULL,NULL),(1914,NULL,1914,1912,NULL,NULL,NULL,NULL),(1915,NULL,1915,1913,NULL,NULL,NULL,NULL),(1916,NULL,1916,1914,NULL,NULL,NULL,NULL),(1917,NULL,1917,1915,NULL,NULL,NULL,NULL),(1918,NULL,1918,1916,NULL,NULL,NULL,NULL),(1919,NULL,1919,1917,NULL,NULL,NULL,NULL),(1920,NULL,1920,1918,NULL,NULL,NULL,NULL),(1921,NULL,1921,1919,NULL,NULL,NULL,NULL),(1922,NULL,1922,1920,NULL,NULL,NULL,NULL),(1923,NULL,1923,1921,NULL,NULL,NULL,NULL),(1924,NULL,1924,1922,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (1925,NULL,1925,1923,NULL,NULL,NULL,NULL),(1926,NULL,1926,1924,NULL,NULL,NULL,NULL),(1927,NULL,1927,1925,NULL,NULL,NULL,NULL),(1928,NULL,1928,1926,NULL,NULL,NULL,NULL),(1929,NULL,1929,1927,NULL,NULL,NULL,NULL),(1930,NULL,1930,1928,NULL,NULL,NULL,NULL),(1931,NULL,1931,1929,NULL,NULL,NULL,NULL),(1932,NULL,1932,1930,NULL,NULL,NULL,NULL),(1933,NULL,1933,1931,NULL,NULL,NULL,NULL),(1934,NULL,1934,1932,NULL,NULL,NULL,NULL),(1935,NULL,1935,1933,NULL,NULL,NULL,NULL),(1936,NULL,1936,1934,NULL,NULL,NULL,NULL),(1937,NULL,1937,1935,NULL,NULL,NULL,NULL),(1938,NULL,1938,1936,NULL,NULL,NULL,NULL),(1939,NULL,1939,1937,NULL,NULL,NULL,NULL),(1940,NULL,1940,1938,NULL,NULL,NULL,NULL),(1941,NULL,1941,1939,NULL,NULL,NULL,NULL),(1942,NULL,1942,1940,NULL,NULL,NULL,NULL),(1943,NULL,1943,1941,NULL,NULL,NULL,NULL),(1944,NULL,1944,1942,NULL,NULL,NULL,NULL),(1945,NULL,1945,1943,NULL,NULL,NULL,NULL),(1946,NULL,1946,1944,NULL,NULL,NULL,NULL),(1947,NULL,1947,1945,NULL,NULL,NULL,NULL),(1948,NULL,1948,1946,NULL,NULL,NULL,NULL),(1949,NULL,1949,1947,NULL,NULL,NULL,NULL),(1950,NULL,1950,1948,NULL,NULL,NULL,NULL),(1951,NULL,1951,1949,NULL,NULL,NULL,NULL),(1952,NULL,1952,1950,NULL,NULL,NULL,NULL),(1953,NULL,1953,1951,NULL,NULL,NULL,NULL),(1954,NULL,1954,1952,NULL,NULL,NULL,NULL),(1955,NULL,1955,1953,NULL,NULL,NULL,NULL),(1956,NULL,1956,1954,NULL,NULL,NULL,NULL),(1957,NULL,1957,1955,NULL,NULL,NULL,NULL),(1958,NULL,1958,1956,NULL,NULL,NULL,NULL),(1959,NULL,1959,1957,NULL,NULL,NULL,NULL),(1960,NULL,1960,1958,NULL,NULL,NULL,NULL),(1961,NULL,1961,1959,NULL,NULL,NULL,NULL),(1962,NULL,1962,1960,NULL,NULL,NULL,NULL),(1963,NULL,1963,1961,NULL,NULL,NULL,NULL),(1964,NULL,1964,1962,NULL,NULL,NULL,NULL),(1965,NULL,1965,1963,NULL,NULL,NULL,NULL),(1966,NULL,1966,1964,NULL,NULL,NULL,NULL),(1967,NULL,1967,1965,NULL,NULL,NULL,NULL),(1968,NULL,1968,1966,NULL,NULL,NULL,NULL),(1969,NULL,1969,1967,NULL,NULL,NULL,NULL),(1970,NULL,1970,1968,NULL,NULL,NULL,NULL),(1971,NULL,1971,1969,NULL,NULL,NULL,NULL),(1972,NULL,1972,1970,NULL,NULL,NULL,NULL),(1973,NULL,1973,1971,NULL,NULL,NULL,NULL),(1974,NULL,1974,1972,NULL,NULL,NULL,NULL),(1975,NULL,1975,1973,NULL,NULL,NULL,NULL),(1976,NULL,1976,1974,NULL,NULL,NULL,NULL),(1977,NULL,1977,1975,NULL,NULL,NULL,NULL),(1978,NULL,1978,1976,NULL,NULL,NULL,NULL),(1979,NULL,1979,1977,NULL,NULL,NULL,NULL),(1980,NULL,1980,1978,NULL,NULL,NULL,NULL),(1981,NULL,1981,1979,NULL,NULL,NULL,NULL),(1982,NULL,1982,1980,NULL,NULL,NULL,NULL),(1983,NULL,1983,1981,NULL,NULL,NULL,NULL),(1984,NULL,1984,1982,NULL,NULL,NULL,NULL),(1985,NULL,1985,1983,NULL,NULL,NULL,NULL),(1986,NULL,1986,1984,NULL,NULL,NULL,NULL),(1987,NULL,1987,1985,NULL,NULL,NULL,NULL),(1988,NULL,1988,1986,NULL,NULL,NULL,NULL),(1989,NULL,1989,1987,NULL,NULL,NULL,NULL),(1990,NULL,1990,1988,NULL,NULL,NULL,NULL),(1991,NULL,1991,1989,NULL,NULL,NULL,NULL),(1992,NULL,1992,1990,NULL,NULL,NULL,NULL),(1993,NULL,1993,1991,NULL,NULL,NULL,NULL),(1994,NULL,1994,1992,NULL,NULL,NULL,NULL),(1995,NULL,1995,1993,NULL,NULL,NULL,NULL),(1996,NULL,1996,1994,NULL,NULL,NULL,NULL),(1997,NULL,1997,1995,NULL,NULL,NULL,NULL),(1998,NULL,1998,1996,NULL,NULL,NULL,NULL),(1999,NULL,1999,1997,NULL,NULL,NULL,NULL),(2000,NULL,2000,1998,NULL,NULL,NULL,NULL),(2001,NULL,2001,1999,NULL,NULL,NULL,NULL),(2002,NULL,2002,2000,NULL,NULL,NULL,NULL),(2003,NULL,2003,2001,NULL,NULL,NULL,NULL),(2004,NULL,2004,2002,NULL,NULL,NULL,NULL),(2005,NULL,2005,2003,NULL,NULL,NULL,NULL),(2006,NULL,2006,2004,NULL,NULL,NULL,NULL),(2007,NULL,2007,2005,NULL,NULL,NULL,NULL),(2008,NULL,2008,2006,NULL,NULL,NULL,NULL),(2009,NULL,2009,2007,NULL,NULL,NULL,NULL),(2010,NULL,2010,2008,NULL,NULL,NULL,NULL),(2011,NULL,2011,2009,NULL,NULL,NULL,NULL),(2012,NULL,2012,2010,NULL,NULL,NULL,NULL),(2013,NULL,2013,2011,NULL,NULL,NULL,NULL),(2014,NULL,2014,2012,NULL,NULL,NULL,NULL),(2015,NULL,2015,2013,NULL,NULL,NULL,NULL),(2016,NULL,2016,2014,NULL,NULL,NULL,NULL),(2017,NULL,2017,2015,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2018,NULL,2018,2016,NULL,NULL,NULL,NULL),(2019,NULL,2019,2017,NULL,NULL,NULL,NULL),(2020,NULL,2020,2018,NULL,NULL,NULL,NULL),(2021,NULL,2021,2019,NULL,NULL,NULL,NULL),(2022,NULL,2022,2020,NULL,NULL,NULL,NULL),(2023,NULL,2023,2021,NULL,NULL,NULL,NULL),(2024,NULL,2024,2022,NULL,NULL,NULL,NULL),(2025,NULL,2025,2023,NULL,NULL,NULL,NULL),(2026,NULL,2026,2024,NULL,NULL,NULL,NULL),(2027,NULL,2027,2025,NULL,NULL,NULL,NULL),(2028,NULL,2028,2026,NULL,NULL,NULL,NULL),(2029,NULL,2029,2027,NULL,NULL,NULL,NULL),(2030,NULL,2030,2028,NULL,NULL,NULL,NULL),(2031,NULL,2031,2029,NULL,NULL,NULL,NULL),(2032,NULL,2032,2030,NULL,NULL,NULL,NULL),(2033,NULL,2033,2031,NULL,NULL,NULL,NULL),(2034,NULL,2034,2032,NULL,NULL,NULL,NULL),(2035,NULL,2035,2033,NULL,NULL,NULL,NULL),(2036,NULL,2036,2034,NULL,NULL,NULL,NULL),(2037,NULL,2037,2035,NULL,NULL,NULL,NULL),(2038,NULL,2038,2036,NULL,NULL,NULL,NULL),(2039,NULL,2039,2037,NULL,NULL,NULL,NULL),(2040,NULL,2040,2038,NULL,NULL,NULL,NULL),(2041,NULL,2041,2039,NULL,NULL,NULL,NULL),(2042,NULL,2042,2040,NULL,NULL,NULL,NULL),(2043,NULL,2043,2041,NULL,NULL,NULL,NULL),(2046,NULL,2046,2044,NULL,NULL,NULL,NULL),(2047,NULL,2047,2045,NULL,NULL,NULL,NULL),(2048,NULL,2048,2046,NULL,NULL,NULL,NULL),(2049,NULL,2049,2047,NULL,NULL,NULL,NULL),(2050,NULL,2050,2048,NULL,NULL,NULL,NULL),(2051,NULL,2051,2049,NULL,NULL,NULL,NULL),(2052,NULL,2052,2050,NULL,NULL,NULL,NULL),(2053,NULL,2053,2051,NULL,NULL,NULL,NULL),(2054,NULL,2054,2052,NULL,NULL,NULL,NULL),(2055,NULL,2055,2053,NULL,NULL,NULL,NULL),(2056,NULL,2056,2054,NULL,NULL,NULL,NULL),(2057,NULL,2057,2055,NULL,NULL,NULL,NULL),(2058,NULL,2058,2056,NULL,NULL,NULL,NULL),(2059,NULL,2059,2057,NULL,NULL,NULL,NULL),(2060,NULL,2060,2058,NULL,NULL,NULL,NULL),(2061,NULL,2061,2059,NULL,NULL,NULL,NULL),(2062,NULL,2062,2060,NULL,NULL,NULL,NULL),(2063,NULL,2063,2061,NULL,NULL,NULL,NULL),(2064,NULL,2064,2062,NULL,NULL,NULL,NULL),(2065,NULL,2065,2063,NULL,NULL,NULL,NULL),(2066,NULL,2066,2064,NULL,NULL,NULL,NULL),(2067,NULL,2067,2065,NULL,NULL,NULL,NULL),(2068,NULL,2068,2066,NULL,NULL,NULL,NULL),(2069,NULL,2069,2067,NULL,NULL,NULL,NULL),(2070,NULL,2070,2068,NULL,NULL,NULL,NULL),(2071,NULL,2071,2069,NULL,NULL,NULL,NULL),(2072,NULL,2072,2070,NULL,NULL,NULL,NULL),(2073,NULL,2073,2071,NULL,NULL,NULL,NULL),(2074,NULL,2074,2072,NULL,NULL,NULL,NULL),(2075,NULL,2075,2073,NULL,NULL,NULL,NULL),(2076,NULL,2076,2074,NULL,NULL,NULL,NULL),(2077,NULL,2077,2075,NULL,NULL,NULL,NULL),(2078,NULL,2078,2076,NULL,NULL,NULL,NULL),(2079,NULL,2079,2077,NULL,NULL,NULL,NULL),(2080,NULL,2080,2078,NULL,NULL,NULL,NULL),(2081,NULL,2081,2079,NULL,NULL,NULL,NULL),(2082,NULL,2082,2080,NULL,NULL,NULL,NULL),(2083,NULL,2083,2081,NULL,NULL,NULL,NULL),(2084,NULL,2084,2082,NULL,NULL,NULL,NULL),(2085,NULL,2085,2083,NULL,NULL,NULL,NULL),(2086,NULL,2086,2084,NULL,NULL,NULL,NULL),(2087,NULL,2087,2085,NULL,NULL,NULL,NULL),(2088,NULL,2088,2086,NULL,NULL,NULL,NULL),(2089,NULL,2089,2087,NULL,NULL,NULL,NULL),(2090,NULL,2090,2088,NULL,NULL,NULL,NULL),(2091,NULL,2091,2089,NULL,NULL,NULL,NULL),(2092,NULL,2092,2090,NULL,NULL,NULL,NULL),(2093,NULL,2093,2091,NULL,NULL,NULL,NULL),(2094,NULL,2094,2092,NULL,NULL,NULL,NULL),(2095,NULL,2095,2093,NULL,NULL,NULL,NULL),(2096,NULL,2096,2094,NULL,NULL,NULL,NULL),(2097,NULL,2097,2095,NULL,NULL,NULL,NULL),(2098,NULL,2098,2096,NULL,NULL,NULL,NULL),(2099,NULL,2099,2097,NULL,NULL,NULL,NULL),(2100,NULL,2100,2098,NULL,NULL,NULL,NULL),(2101,NULL,2101,2099,NULL,NULL,NULL,NULL),(2102,NULL,2102,2100,NULL,NULL,NULL,NULL),(2103,NULL,2103,2101,NULL,NULL,NULL,NULL),(2104,NULL,2104,2102,NULL,NULL,NULL,NULL),(2105,NULL,2105,2103,NULL,NULL,NULL,NULL),(2106,NULL,2106,2104,NULL,NULL,NULL,NULL),(2107,NULL,2107,2105,NULL,NULL,NULL,NULL),(2108,NULL,2108,2106,NULL,NULL,NULL,NULL),(2109,NULL,2109,2107,NULL,NULL,NULL,NULL),(2110,NULL,2110,2108,NULL,NULL,NULL,NULL),(2111,NULL,2111,2109,NULL,NULL,NULL,NULL),(2112,NULL,2112,2110,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2113,NULL,2113,2111,NULL,NULL,NULL,NULL),(2114,NULL,2114,2112,NULL,NULL,NULL,NULL),(2115,NULL,2115,2113,NULL,NULL,NULL,NULL),(2116,NULL,2116,2114,NULL,NULL,NULL,NULL),(2117,NULL,2117,2115,NULL,NULL,NULL,NULL),(2118,NULL,2118,2116,NULL,NULL,NULL,NULL),(2119,NULL,2119,2117,NULL,NULL,NULL,NULL),(2120,NULL,2120,2118,NULL,NULL,NULL,NULL),(2121,NULL,2121,2119,NULL,NULL,NULL,NULL),(2122,NULL,2122,2120,NULL,NULL,NULL,NULL),(2123,NULL,2123,2121,NULL,NULL,NULL,NULL),(2124,NULL,2124,2122,NULL,NULL,NULL,NULL),(2125,NULL,2125,2123,NULL,NULL,NULL,NULL),(2126,NULL,2126,2124,NULL,NULL,NULL,NULL),(2127,NULL,2127,2125,NULL,NULL,NULL,NULL),(2128,NULL,2128,2126,NULL,NULL,NULL,NULL),(2129,NULL,2129,2127,NULL,NULL,NULL,NULL),(2130,NULL,2130,2128,NULL,NULL,NULL,NULL),(2131,NULL,2131,2129,NULL,NULL,NULL,NULL),(2132,NULL,2132,2130,NULL,NULL,NULL,NULL),(2133,NULL,2133,2131,NULL,NULL,NULL,NULL),(2134,NULL,2134,2132,NULL,NULL,NULL,NULL),(2135,NULL,2135,2133,NULL,NULL,NULL,NULL),(2136,NULL,2136,2134,NULL,NULL,NULL,NULL),(2137,NULL,2137,2135,NULL,NULL,NULL,NULL),(2138,NULL,2138,2136,NULL,NULL,NULL,NULL),(2139,NULL,2139,2137,NULL,NULL,NULL,NULL),(2140,NULL,2140,2138,NULL,NULL,NULL,NULL),(2141,NULL,2141,2139,NULL,NULL,NULL,NULL),(2142,NULL,2142,2140,NULL,NULL,NULL,NULL),(2143,NULL,2143,2141,NULL,NULL,NULL,NULL),(2144,NULL,2144,2142,NULL,NULL,NULL,NULL),(2145,NULL,2145,2143,NULL,NULL,NULL,NULL),(2146,NULL,2146,2144,NULL,NULL,NULL,NULL),(2147,NULL,2147,2145,NULL,NULL,NULL,NULL),(2148,NULL,2148,2146,NULL,NULL,NULL,NULL),(2149,NULL,2149,2147,NULL,NULL,NULL,NULL),(2150,NULL,2150,2148,NULL,NULL,NULL,NULL),(2151,NULL,2151,2149,NULL,NULL,NULL,NULL),(2152,NULL,2152,2150,NULL,NULL,NULL,NULL),(2153,NULL,2153,2151,NULL,NULL,NULL,NULL),(2154,NULL,2154,2152,NULL,NULL,NULL,NULL),(2155,NULL,2155,2153,NULL,NULL,NULL,NULL),(2156,NULL,2156,2154,NULL,NULL,NULL,NULL),(2157,NULL,2157,2155,NULL,NULL,NULL,NULL),(2158,NULL,2158,2156,NULL,NULL,NULL,NULL),(2159,NULL,2159,2157,NULL,NULL,NULL,NULL),(2160,NULL,2160,2158,NULL,NULL,NULL,NULL),(2161,NULL,2161,2159,NULL,NULL,NULL,NULL),(2162,NULL,2162,2160,NULL,NULL,NULL,NULL),(2163,NULL,2163,2161,NULL,NULL,NULL,NULL),(2164,NULL,2164,2162,NULL,NULL,NULL,NULL),(2165,NULL,2165,2163,NULL,NULL,NULL,NULL),(2166,NULL,2166,2164,NULL,NULL,NULL,NULL),(2167,NULL,2167,2165,NULL,NULL,NULL,NULL),(2168,NULL,2168,2166,NULL,NULL,NULL,NULL),(2169,NULL,2169,2167,NULL,NULL,NULL,NULL),(2170,NULL,2170,2168,NULL,NULL,NULL,NULL),(2171,NULL,2171,2169,NULL,NULL,NULL,NULL),(2172,NULL,2172,2170,NULL,NULL,NULL,NULL),(2173,NULL,2173,2171,NULL,NULL,NULL,NULL),(2174,NULL,2174,2172,NULL,NULL,NULL,NULL),(2175,NULL,2175,2173,NULL,NULL,NULL,NULL),(2176,NULL,2176,2174,NULL,NULL,NULL,NULL),(2177,NULL,2177,2175,NULL,NULL,NULL,NULL),(2178,NULL,2178,2176,NULL,NULL,NULL,NULL),(2179,NULL,2179,2177,NULL,NULL,NULL,NULL),(2180,NULL,2180,2178,NULL,NULL,NULL,NULL),(2181,NULL,2181,2179,NULL,NULL,NULL,NULL),(2182,NULL,2182,2180,NULL,NULL,NULL,NULL),(2183,NULL,2183,2181,NULL,NULL,NULL,NULL),(2184,NULL,2184,2182,NULL,NULL,NULL,NULL),(2185,NULL,2185,2183,NULL,NULL,NULL,NULL),(2186,NULL,2186,2184,NULL,NULL,NULL,NULL),(2187,NULL,2187,2185,NULL,NULL,NULL,NULL),(2188,NULL,2188,2186,NULL,NULL,NULL,NULL),(2189,NULL,2189,2187,NULL,NULL,NULL,NULL),(2190,NULL,2190,2188,NULL,NULL,NULL,NULL),(2191,NULL,2191,2189,NULL,NULL,NULL,NULL),(2192,NULL,2192,2190,NULL,NULL,NULL,NULL),(2193,NULL,2193,2191,NULL,NULL,NULL,NULL),(2194,NULL,2194,2192,NULL,NULL,NULL,NULL),(2195,NULL,2195,2193,NULL,NULL,NULL,NULL),(2196,NULL,2196,2194,NULL,NULL,NULL,NULL),(2197,NULL,2197,2195,NULL,NULL,NULL,NULL),(2198,NULL,2198,2196,NULL,NULL,NULL,NULL),(2199,NULL,2199,2197,NULL,NULL,NULL,NULL),(2200,NULL,2200,2198,NULL,NULL,NULL,NULL),(2201,NULL,2201,2199,NULL,NULL,NULL,NULL),(2202,NULL,2202,2200,NULL,NULL,NULL,NULL),(2203,NULL,2203,2201,NULL,NULL,NULL,NULL),(2204,NULL,2204,2202,NULL,NULL,NULL,NULL),(2205,NULL,2205,2203,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2206,NULL,2206,2204,NULL,NULL,NULL,NULL),(2207,NULL,2207,2205,NULL,NULL,NULL,NULL),(2208,NULL,2208,2206,NULL,NULL,NULL,NULL),(2209,NULL,2209,2207,NULL,NULL,NULL,NULL),(2210,NULL,2210,2208,NULL,NULL,NULL,NULL),(2211,NULL,2211,2209,NULL,NULL,NULL,NULL),(2212,NULL,2212,2210,NULL,NULL,NULL,NULL),(2213,NULL,2213,2211,NULL,NULL,NULL,NULL),(2214,NULL,2214,2212,NULL,NULL,NULL,NULL),(2215,NULL,2215,2213,NULL,NULL,NULL,NULL),(2216,NULL,2216,2214,NULL,NULL,NULL,NULL),(2217,NULL,2217,2215,NULL,NULL,NULL,NULL),(2218,NULL,2218,2216,NULL,NULL,NULL,NULL),(2219,NULL,2219,2217,NULL,NULL,NULL,NULL),(2220,NULL,2220,2218,NULL,NULL,NULL,NULL),(2221,NULL,2221,2219,NULL,NULL,NULL,NULL),(2222,NULL,2222,2220,NULL,NULL,NULL,NULL),(2223,NULL,2223,2221,NULL,NULL,NULL,NULL),(2224,NULL,2224,2222,NULL,NULL,NULL,NULL),(2225,NULL,2225,2223,NULL,NULL,NULL,NULL),(2226,NULL,2226,2224,NULL,NULL,NULL,NULL),(2227,NULL,2227,2225,NULL,NULL,NULL,NULL),(2228,NULL,2228,2226,NULL,NULL,NULL,NULL),(2229,NULL,2229,2227,NULL,NULL,NULL,NULL),(2230,NULL,2230,2228,NULL,NULL,NULL,NULL),(2231,NULL,2231,2229,NULL,NULL,NULL,NULL),(2232,NULL,2232,2230,NULL,NULL,NULL,NULL),(2233,NULL,2233,2231,NULL,NULL,NULL,NULL),(2234,NULL,2234,2232,NULL,NULL,NULL,NULL),(2235,NULL,2235,2233,NULL,NULL,NULL,NULL),(2236,NULL,2236,2234,NULL,NULL,NULL,NULL),(2237,NULL,2237,2235,NULL,NULL,NULL,NULL),(2238,NULL,2238,2236,NULL,NULL,NULL,NULL),(2239,NULL,2239,2237,NULL,NULL,NULL,NULL),(2240,NULL,2240,2238,NULL,NULL,NULL,NULL),(2241,NULL,2241,2239,NULL,NULL,NULL,NULL),(2242,NULL,2242,2240,NULL,NULL,NULL,NULL),(2243,NULL,2243,2241,NULL,NULL,NULL,NULL),(2244,NULL,2244,2242,NULL,NULL,NULL,NULL),(2245,NULL,2245,2243,NULL,NULL,NULL,NULL),(2246,NULL,2246,2244,NULL,NULL,NULL,NULL),(2247,NULL,2247,2245,NULL,NULL,NULL,NULL),(2248,NULL,2248,2246,NULL,NULL,NULL,NULL),(2249,NULL,2249,2247,NULL,NULL,NULL,NULL),(2250,NULL,2250,2248,NULL,NULL,NULL,NULL),(2251,NULL,2251,2249,NULL,NULL,NULL,NULL),(2252,NULL,2252,2250,NULL,NULL,NULL,NULL),(2253,NULL,2253,2251,NULL,NULL,NULL,NULL),(2254,NULL,2254,2252,NULL,NULL,NULL,NULL),(2255,NULL,2255,2253,NULL,NULL,NULL,NULL),(2256,NULL,2256,2254,NULL,NULL,NULL,NULL),(2257,NULL,2257,2255,NULL,NULL,NULL,NULL),(2258,NULL,2258,2256,NULL,NULL,NULL,NULL),(2259,NULL,2259,2257,NULL,NULL,NULL,NULL),(2260,NULL,2260,2258,NULL,NULL,NULL,NULL),(2261,NULL,2261,2259,NULL,NULL,NULL,NULL),(2262,NULL,2262,2260,NULL,NULL,NULL,NULL),(2263,NULL,2263,2261,NULL,NULL,NULL,NULL),(2264,NULL,2264,2262,NULL,NULL,NULL,NULL),(2265,NULL,2265,2263,NULL,NULL,NULL,NULL),(2266,NULL,2266,2264,NULL,NULL,NULL,NULL),(2267,NULL,2267,2265,NULL,NULL,NULL,NULL),(2268,NULL,2268,2266,NULL,NULL,NULL,NULL),(2269,NULL,2269,2267,NULL,NULL,NULL,NULL),(2270,NULL,2270,2268,NULL,NULL,NULL,NULL),(2271,NULL,2271,2269,NULL,NULL,NULL,NULL),(2272,NULL,2272,2270,NULL,NULL,NULL,NULL),(2273,NULL,2273,2271,NULL,NULL,NULL,NULL),(2274,NULL,2274,2272,NULL,NULL,NULL,NULL),(2275,NULL,2275,2273,NULL,NULL,NULL,NULL),(2276,NULL,2276,2274,NULL,NULL,NULL,NULL),(2277,NULL,2277,2275,NULL,NULL,NULL,NULL),(2278,NULL,2278,2276,NULL,NULL,NULL,NULL),(2279,NULL,2279,2277,NULL,NULL,NULL,NULL),(2280,NULL,2280,2278,NULL,NULL,NULL,NULL),(2281,NULL,2281,2279,NULL,NULL,NULL,NULL),(2282,NULL,2282,2280,NULL,NULL,NULL,NULL),(2283,NULL,2283,2281,NULL,NULL,NULL,NULL),(2284,NULL,2284,2282,NULL,NULL,NULL,NULL),(2285,NULL,2285,2283,NULL,NULL,NULL,NULL),(2286,NULL,2286,2284,NULL,NULL,NULL,NULL),(2287,NULL,2287,2285,NULL,NULL,NULL,NULL),(2288,NULL,2288,2286,NULL,NULL,NULL,NULL),(2289,NULL,2289,2287,NULL,NULL,NULL,NULL),(2290,NULL,2290,2288,NULL,NULL,NULL,NULL),(2291,NULL,2291,2289,NULL,NULL,NULL,NULL),(2292,NULL,2292,2290,NULL,NULL,NULL,NULL),(2293,NULL,2293,2291,NULL,NULL,NULL,NULL),(2294,NULL,2294,2292,NULL,NULL,NULL,NULL),(2295,NULL,2295,2293,NULL,NULL,NULL,NULL),(2296,NULL,2296,2294,NULL,NULL,NULL,NULL),(2297,NULL,2297,2295,NULL,NULL,NULL,NULL),(2298,NULL,2298,2296,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2299,NULL,2299,2297,NULL,NULL,NULL,NULL),(2300,NULL,2300,2298,NULL,NULL,NULL,NULL),(2301,NULL,2301,2299,NULL,NULL,NULL,NULL),(2302,NULL,2302,2300,NULL,NULL,NULL,NULL),(2303,NULL,2303,2301,NULL,NULL,NULL,NULL),(2304,NULL,2304,2302,NULL,NULL,NULL,NULL),(2305,NULL,2305,2303,NULL,NULL,NULL,NULL),(2306,NULL,2306,2304,NULL,NULL,NULL,NULL),(2307,NULL,2307,2305,NULL,NULL,NULL,NULL),(2308,NULL,2308,2306,NULL,NULL,NULL,NULL),(2309,NULL,2309,2307,NULL,NULL,NULL,NULL),(2310,NULL,2310,2308,NULL,NULL,NULL,NULL),(2311,NULL,2311,2309,NULL,NULL,NULL,NULL),(2312,NULL,2312,2310,NULL,NULL,NULL,NULL),(2313,NULL,2313,2311,NULL,NULL,NULL,NULL),(2314,NULL,2314,2312,NULL,NULL,NULL,NULL),(2315,NULL,2315,2313,NULL,NULL,NULL,NULL),(2316,NULL,2316,2314,NULL,NULL,NULL,NULL),(2317,NULL,2317,2315,NULL,NULL,NULL,NULL),(2318,NULL,2318,2316,NULL,NULL,NULL,NULL),(2319,NULL,2319,2317,NULL,NULL,NULL,NULL),(2320,NULL,2320,2318,NULL,NULL,NULL,NULL),(2321,NULL,2321,2319,NULL,NULL,NULL,NULL),(2322,NULL,2322,2320,NULL,NULL,NULL,NULL),(2323,NULL,2323,2321,NULL,NULL,NULL,NULL),(2324,NULL,2324,2322,NULL,NULL,NULL,NULL),(2325,NULL,2325,2323,NULL,NULL,NULL,NULL),(2326,NULL,2326,2324,NULL,NULL,NULL,NULL),(2327,NULL,2327,2325,NULL,NULL,NULL,NULL),(2328,NULL,2328,2326,NULL,NULL,NULL,NULL),(2329,NULL,2329,2327,NULL,NULL,NULL,NULL),(2330,NULL,2330,2328,NULL,NULL,NULL,NULL),(2331,NULL,2331,2329,NULL,NULL,NULL,NULL),(2332,NULL,2332,2330,NULL,NULL,NULL,NULL),(2333,NULL,2333,2331,NULL,NULL,NULL,NULL),(2334,NULL,2334,2332,NULL,NULL,NULL,NULL),(2335,NULL,2335,2333,NULL,NULL,NULL,NULL),(2336,NULL,2336,2334,NULL,NULL,NULL,NULL),(2337,NULL,2337,2335,NULL,NULL,NULL,NULL),(2338,NULL,2338,2336,NULL,NULL,NULL,NULL),(2339,NULL,2339,2337,NULL,NULL,NULL,NULL),(2340,NULL,2340,2338,NULL,NULL,NULL,NULL),(2341,NULL,2341,2339,NULL,NULL,NULL,NULL),(2342,NULL,2342,2340,NULL,NULL,NULL,NULL),(2343,NULL,2343,2341,NULL,NULL,NULL,NULL),(2344,NULL,2344,2342,NULL,NULL,NULL,NULL),(2345,NULL,2345,2343,NULL,NULL,NULL,NULL),(2346,NULL,2346,2344,NULL,NULL,NULL,NULL),(2347,NULL,2347,2345,NULL,NULL,NULL,NULL),(2348,NULL,2348,2346,NULL,NULL,NULL,NULL),(2357,NULL,2357,2355,NULL,NULL,NULL,NULL),(2358,NULL,2358,2356,NULL,NULL,NULL,NULL),(2359,NULL,2359,2357,NULL,NULL,NULL,NULL),(2360,NULL,2360,2358,NULL,NULL,NULL,NULL),(2361,NULL,2361,2359,NULL,NULL,NULL,NULL),(2362,NULL,2362,2360,NULL,NULL,NULL,NULL),(2363,NULL,2363,2361,NULL,NULL,NULL,NULL),(2364,NULL,2364,2362,NULL,NULL,NULL,NULL),(2365,NULL,2365,2363,NULL,NULL,NULL,NULL),(2366,NULL,2366,2364,NULL,NULL,NULL,NULL),(2367,NULL,2367,2365,NULL,NULL,NULL,NULL),(2368,NULL,2368,2366,NULL,NULL,NULL,NULL),(2369,NULL,2369,2367,NULL,NULL,NULL,NULL),(2370,NULL,2370,2368,NULL,NULL,NULL,NULL),(2371,NULL,2371,2369,NULL,NULL,NULL,NULL),(2372,NULL,2372,2370,NULL,NULL,NULL,NULL),(2373,NULL,2373,2371,NULL,NULL,NULL,NULL),(2374,NULL,2374,2372,NULL,NULL,NULL,NULL),(2375,NULL,2375,2373,NULL,NULL,NULL,NULL),(2376,NULL,2376,2374,NULL,NULL,NULL,NULL),(2377,NULL,2377,2375,NULL,NULL,NULL,NULL),(2378,NULL,2378,2376,NULL,NULL,NULL,NULL),(2379,NULL,2379,2377,NULL,NULL,NULL,NULL),(2380,NULL,2380,2378,NULL,NULL,NULL,NULL),(2381,NULL,2381,2379,NULL,NULL,NULL,NULL),(2382,NULL,2382,2380,NULL,NULL,NULL,NULL),(2383,NULL,2383,2381,NULL,NULL,NULL,NULL),(2384,NULL,2384,2382,NULL,NULL,NULL,NULL),(2385,NULL,2385,2383,NULL,NULL,NULL,NULL),(2386,NULL,2386,2384,NULL,NULL,NULL,NULL),(2387,NULL,2387,2385,NULL,NULL,NULL,NULL),(2388,NULL,2388,2386,NULL,NULL,NULL,NULL),(2389,NULL,2389,2387,NULL,NULL,NULL,NULL),(2390,NULL,2390,2388,NULL,NULL,NULL,NULL),(2391,NULL,2391,2389,NULL,NULL,NULL,NULL),(2392,NULL,2392,2390,NULL,NULL,NULL,NULL),(2393,NULL,2393,2391,NULL,NULL,NULL,NULL),(2394,NULL,2394,2392,NULL,NULL,NULL,NULL),(2395,NULL,2395,2393,NULL,NULL,NULL,NULL),(2396,NULL,2396,2394,NULL,NULL,NULL,NULL),(2397,NULL,2397,2395,NULL,NULL,NULL,NULL),(2398,NULL,2398,2396,NULL,NULL,NULL,NULL),(2399,NULL,2399,2397,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2400,NULL,2400,2398,NULL,NULL,NULL,NULL),(2401,NULL,2401,2399,NULL,NULL,NULL,NULL),(2402,NULL,2402,2400,NULL,NULL,NULL,NULL),(2403,NULL,2403,2401,NULL,NULL,NULL,NULL),(2404,NULL,2404,2402,NULL,NULL,NULL,NULL),(2405,NULL,2405,2403,NULL,NULL,NULL,NULL),(2406,NULL,2406,2404,NULL,NULL,NULL,NULL),(2407,NULL,2407,2405,NULL,NULL,NULL,NULL),(2408,NULL,2408,2406,NULL,NULL,NULL,NULL),(2409,NULL,2409,2407,NULL,NULL,NULL,NULL),(2410,NULL,2410,2408,NULL,NULL,NULL,NULL),(2411,NULL,2411,2409,NULL,NULL,NULL,NULL),(2412,NULL,2412,2410,NULL,NULL,NULL,NULL),(2413,NULL,2413,2411,NULL,NULL,NULL,NULL),(2414,NULL,2414,2412,NULL,NULL,NULL,NULL),(2415,NULL,2415,2413,NULL,NULL,NULL,NULL),(2416,NULL,2416,2414,NULL,NULL,NULL,NULL),(2417,NULL,2417,2415,NULL,NULL,NULL,NULL),(2418,NULL,2418,2416,NULL,NULL,NULL,NULL),(2419,NULL,2419,2417,NULL,NULL,NULL,NULL),(2420,NULL,2420,2418,NULL,NULL,NULL,NULL),(2421,NULL,2421,2419,NULL,NULL,NULL,NULL),(2422,NULL,2422,2420,NULL,NULL,NULL,NULL),(2423,NULL,2423,2421,NULL,NULL,NULL,NULL),(2424,NULL,2424,2422,NULL,NULL,NULL,NULL),(2425,NULL,2425,2423,NULL,NULL,NULL,NULL),(2426,NULL,2426,2424,NULL,NULL,NULL,NULL),(2427,NULL,2427,2425,NULL,NULL,NULL,NULL),(2428,NULL,2428,2426,NULL,NULL,NULL,NULL),(2429,NULL,2429,2427,NULL,NULL,NULL,NULL),(2430,NULL,2430,2428,NULL,NULL,NULL,NULL),(2431,NULL,2431,2429,NULL,NULL,NULL,NULL),(2432,NULL,2432,2430,NULL,NULL,NULL,NULL),(2433,NULL,2433,2431,NULL,NULL,NULL,NULL),(2434,NULL,2434,2432,NULL,NULL,NULL,NULL),(2435,NULL,2435,2433,NULL,NULL,NULL,NULL),(2436,NULL,2436,2434,NULL,NULL,NULL,NULL),(2437,NULL,2437,2435,NULL,NULL,NULL,NULL),(2438,NULL,2438,2436,NULL,NULL,NULL,NULL),(2439,NULL,2439,2437,NULL,NULL,NULL,NULL),(2440,NULL,2440,2438,NULL,NULL,NULL,NULL),(2441,NULL,2441,2439,NULL,NULL,NULL,NULL),(2442,NULL,2442,2440,NULL,NULL,NULL,NULL),(2443,NULL,2443,2441,NULL,NULL,NULL,NULL),(2444,NULL,2444,2442,NULL,NULL,NULL,NULL),(2445,NULL,2445,2443,NULL,NULL,NULL,NULL),(2446,NULL,2446,2444,NULL,NULL,NULL,NULL),(2447,NULL,2447,2445,NULL,NULL,NULL,NULL),(2448,NULL,2448,2446,NULL,NULL,NULL,NULL),(2449,NULL,2449,2447,NULL,NULL,NULL,NULL),(2450,NULL,2450,2448,NULL,NULL,NULL,NULL),(2451,NULL,2451,2449,NULL,NULL,NULL,NULL),(2452,NULL,2452,2450,NULL,NULL,NULL,NULL),(2453,NULL,2453,2451,NULL,NULL,NULL,NULL),(2454,NULL,2454,2452,NULL,NULL,NULL,NULL),(2455,NULL,2455,2453,NULL,NULL,NULL,NULL),(2460,NULL,2460,2458,NULL,NULL,NULL,NULL),(2461,NULL,2461,2459,NULL,NULL,NULL,NULL),(2462,NULL,2462,2460,NULL,NULL,NULL,NULL),(2463,NULL,2463,2461,NULL,NULL,NULL,NULL),(2464,NULL,2464,2462,NULL,NULL,NULL,NULL),(2465,NULL,2465,2463,NULL,NULL,NULL,NULL),(2466,NULL,2466,2464,NULL,NULL,NULL,NULL),(2467,NULL,2467,2465,NULL,NULL,NULL,NULL),(2468,NULL,2468,2466,NULL,NULL,NULL,NULL),(2469,NULL,2469,2467,NULL,NULL,NULL,NULL),(2470,NULL,2470,2468,NULL,NULL,NULL,NULL),(2471,NULL,2471,2469,NULL,NULL,NULL,NULL),(2472,NULL,2472,2470,NULL,NULL,NULL,NULL),(2473,NULL,2473,2471,NULL,NULL,NULL,NULL),(2474,NULL,2474,2472,NULL,NULL,NULL,NULL),(2475,NULL,2475,2473,NULL,NULL,NULL,NULL),(2476,NULL,2476,2474,NULL,NULL,NULL,NULL),(2477,NULL,2477,2475,NULL,NULL,NULL,NULL),(2478,NULL,2478,2476,NULL,NULL,NULL,NULL),(2479,NULL,2479,2477,NULL,NULL,NULL,NULL),(2480,NULL,2480,2478,NULL,NULL,NULL,NULL),(2481,NULL,2481,2479,NULL,NULL,NULL,NULL),(2482,NULL,2482,2479,NULL,NULL,NULL,NULL),(2483,NULL,2483,2480,NULL,NULL,NULL,NULL),(2484,NULL,2484,2481,NULL,NULL,NULL,NULL),(2485,NULL,2485,2482,NULL,NULL,NULL,NULL),(2486,NULL,2486,2483,NULL,NULL,NULL,NULL),(2487,NULL,2487,2484,NULL,NULL,NULL,NULL),(2488,NULL,2488,2485,NULL,NULL,NULL,NULL),(2489,NULL,2489,2486,NULL,NULL,NULL,NULL),(2490,NULL,2490,2487,NULL,NULL,NULL,NULL),(2491,NULL,2491,2488,NULL,NULL,NULL,NULL),(2492,NULL,2492,2489,NULL,NULL,NULL,NULL),(2493,NULL,2493,2490,NULL,NULL,NULL,NULL),(2494,NULL,2494,2491,NULL,NULL,NULL,NULL),(2495,NULL,2495,2492,NULL,NULL,NULL,NULL),(2496,NULL,2496,2493,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2497,NULL,2497,2494,NULL,NULL,NULL,NULL),(2498,NULL,2498,2495,NULL,NULL,NULL,NULL),(2499,NULL,2499,2496,NULL,NULL,NULL,NULL),(2500,NULL,2500,2497,NULL,NULL,NULL,NULL),(2501,NULL,2501,2498,NULL,NULL,NULL,NULL),(2502,NULL,2502,2499,NULL,NULL,NULL,NULL),(2503,NULL,2503,2500,NULL,NULL,NULL,NULL),(2504,NULL,2504,2501,NULL,NULL,NULL,NULL),(2505,NULL,2505,2502,NULL,NULL,NULL,NULL),(2506,NULL,2506,2503,NULL,NULL,NULL,NULL),(2507,NULL,2507,2504,NULL,NULL,NULL,NULL),(2508,NULL,2508,2505,NULL,NULL,NULL,NULL),(2509,NULL,2509,2506,NULL,NULL,NULL,NULL),(2510,NULL,2510,2507,NULL,NULL,NULL,NULL),(2511,NULL,2511,2508,NULL,NULL,NULL,NULL),(2512,NULL,2512,2509,NULL,NULL,NULL,NULL),(2513,NULL,2513,2510,NULL,NULL,NULL,NULL),(2514,NULL,2514,2511,NULL,NULL,NULL,NULL),(2515,NULL,2515,2512,NULL,NULL,NULL,NULL),(2516,NULL,2516,2513,NULL,NULL,NULL,NULL),(2517,NULL,2517,2514,NULL,NULL,NULL,NULL),(2518,NULL,2518,2515,NULL,NULL,NULL,NULL),(2519,NULL,2519,2516,NULL,NULL,NULL,NULL),(2520,NULL,2520,2517,NULL,NULL,NULL,NULL),(2521,NULL,2521,2518,NULL,NULL,NULL,NULL),(2522,NULL,2522,2519,NULL,NULL,NULL,NULL),(2523,NULL,2523,2520,NULL,NULL,NULL,NULL),(2524,NULL,2524,2521,NULL,NULL,NULL,NULL),(2525,NULL,2525,2522,NULL,NULL,NULL,NULL),(2526,NULL,2526,2523,NULL,NULL,NULL,NULL),(2527,NULL,2527,2524,NULL,NULL,NULL,NULL),(2528,NULL,2528,2525,NULL,NULL,NULL,NULL),(2529,NULL,2529,2526,NULL,NULL,NULL,NULL),(2530,NULL,2530,2527,NULL,NULL,NULL,NULL),(2531,NULL,2531,2528,NULL,NULL,NULL,NULL),(2532,NULL,2532,2529,NULL,NULL,NULL,NULL),(2533,NULL,2533,2530,NULL,NULL,NULL,NULL),(2534,NULL,2534,2531,NULL,NULL,NULL,NULL),(2535,NULL,2535,2532,NULL,NULL,NULL,NULL),(2536,NULL,2536,2533,NULL,NULL,NULL,NULL),(2537,NULL,2537,2534,NULL,NULL,NULL,NULL),(2538,NULL,2538,2535,NULL,NULL,NULL,NULL),(2539,NULL,2539,2536,NULL,NULL,NULL,NULL),(2540,NULL,2540,2537,NULL,NULL,NULL,NULL),(2541,NULL,2541,2538,NULL,NULL,NULL,NULL),(2542,NULL,2542,2539,NULL,NULL,NULL,NULL),(2543,NULL,2543,2540,NULL,NULL,NULL,NULL),(2544,NULL,2544,2541,NULL,NULL,NULL,NULL),(2545,NULL,2545,2542,NULL,NULL,NULL,NULL),(2546,NULL,2546,2543,NULL,NULL,NULL,NULL),(2547,NULL,2547,2544,NULL,NULL,NULL,NULL),(2548,NULL,2548,2545,NULL,NULL,NULL,NULL),(2549,NULL,2549,2546,NULL,NULL,NULL,NULL),(2550,NULL,2550,2547,NULL,NULL,NULL,NULL),(2551,NULL,2551,2548,NULL,NULL,NULL,NULL),(2552,NULL,2552,2549,NULL,NULL,NULL,NULL),(2553,NULL,2553,2550,NULL,NULL,NULL,NULL),(2554,NULL,2554,2551,NULL,NULL,NULL,NULL),(2555,NULL,2555,2552,NULL,NULL,NULL,NULL),(2556,NULL,2556,2553,NULL,NULL,NULL,NULL),(2557,NULL,2557,2554,NULL,NULL,NULL,NULL),(2558,NULL,2558,2555,NULL,NULL,NULL,NULL),(2559,NULL,2559,2556,NULL,NULL,NULL,NULL),(2560,NULL,2560,2557,NULL,NULL,NULL,NULL),(2561,NULL,2561,2558,NULL,NULL,NULL,NULL),(2562,NULL,2562,2559,NULL,NULL,NULL,NULL),(2563,NULL,2563,2560,NULL,NULL,NULL,NULL),(2564,NULL,2564,2561,NULL,NULL,NULL,NULL),(2565,NULL,2565,2562,NULL,NULL,NULL,NULL),(2566,NULL,2566,2563,NULL,NULL,NULL,NULL),(2567,NULL,2567,2564,NULL,NULL,NULL,NULL),(2568,NULL,2568,2565,NULL,NULL,NULL,NULL),(2569,NULL,2569,2566,NULL,NULL,NULL,NULL),(2570,NULL,2570,2567,NULL,NULL,NULL,NULL),(2571,NULL,2571,2568,NULL,NULL,NULL,NULL),(2572,NULL,2572,2569,NULL,NULL,NULL,NULL),(2573,NULL,2573,2570,NULL,NULL,NULL,NULL),(2574,NULL,2574,2571,NULL,NULL,NULL,NULL),(2575,NULL,2575,2572,NULL,NULL,NULL,NULL),(2576,NULL,2576,2573,NULL,NULL,NULL,NULL),(2577,NULL,2577,2574,NULL,NULL,NULL,NULL),(2578,NULL,2578,2575,NULL,NULL,NULL,NULL),(2579,NULL,2579,2576,NULL,NULL,NULL,NULL),(2580,NULL,2580,2577,NULL,NULL,NULL,NULL),(2581,NULL,2581,2578,NULL,NULL,NULL,NULL),(2582,NULL,2582,2579,NULL,NULL,NULL,NULL),(2583,NULL,2583,2580,NULL,NULL,NULL,NULL),(2584,NULL,2584,2581,NULL,NULL,NULL,NULL),(2585,NULL,2585,2582,NULL,NULL,NULL,NULL),(2586,NULL,2586,2583,NULL,NULL,NULL,NULL),(2587,NULL,2587,2584,NULL,NULL,NULL,NULL),(2588,NULL,2588,2585,NULL,NULL,NULL,NULL),(2589,NULL,2589,2586,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2590,NULL,2590,2587,NULL,NULL,NULL,NULL),(2591,NULL,2591,2588,NULL,NULL,NULL,NULL),(2592,NULL,2592,2589,NULL,NULL,NULL,NULL),(2593,NULL,2593,2590,NULL,NULL,NULL,NULL),(2594,NULL,2594,2591,NULL,NULL,NULL,NULL),(2595,NULL,2595,2592,NULL,NULL,NULL,NULL),(2596,NULL,2596,2593,NULL,NULL,NULL,NULL),(2597,NULL,2597,2594,NULL,NULL,NULL,NULL),(2598,NULL,2598,2595,NULL,NULL,NULL,NULL),(2599,NULL,2599,2596,NULL,NULL,NULL,NULL),(2600,NULL,2600,2597,NULL,NULL,NULL,NULL),(2601,NULL,2601,2598,NULL,NULL,NULL,NULL),(2602,NULL,2602,2599,NULL,NULL,NULL,NULL),(2603,NULL,2603,2600,NULL,NULL,NULL,NULL),(2604,NULL,2604,2601,NULL,NULL,NULL,NULL),(2605,NULL,2605,2602,NULL,NULL,NULL,NULL),(2606,NULL,2606,2603,NULL,NULL,NULL,NULL),(2607,NULL,2607,2604,NULL,NULL,NULL,NULL),(2608,NULL,2608,2605,NULL,NULL,NULL,NULL),(2609,NULL,2609,2606,NULL,NULL,NULL,NULL),(2610,NULL,2610,2607,NULL,NULL,NULL,NULL),(2611,NULL,2611,2608,NULL,NULL,NULL,NULL),(2612,NULL,2612,2609,NULL,NULL,NULL,NULL),(2613,NULL,2613,2610,NULL,NULL,NULL,NULL),(2614,NULL,2614,2611,NULL,NULL,NULL,NULL),(2615,NULL,2615,2612,NULL,NULL,NULL,NULL),(2616,NULL,2616,2613,NULL,NULL,NULL,NULL),(2617,NULL,2617,2614,NULL,NULL,NULL,NULL),(2618,NULL,2618,2615,NULL,NULL,NULL,NULL),(2619,NULL,2619,2616,NULL,NULL,NULL,NULL),(2620,NULL,2620,2617,NULL,NULL,NULL,NULL),(2621,NULL,2621,2618,NULL,NULL,NULL,NULL),(2622,NULL,2622,2619,NULL,NULL,NULL,NULL),(2623,NULL,2623,2620,NULL,NULL,NULL,NULL),(2624,NULL,2624,2621,NULL,NULL,NULL,NULL),(2625,NULL,2625,2622,NULL,NULL,NULL,NULL),(2626,NULL,2626,2623,NULL,NULL,NULL,NULL),(2627,NULL,2627,2624,NULL,NULL,NULL,NULL),(2628,NULL,2628,2625,NULL,NULL,NULL,NULL),(2629,NULL,2629,2626,NULL,NULL,NULL,NULL),(2630,NULL,2630,2627,NULL,NULL,NULL,NULL),(2631,NULL,2631,2628,NULL,NULL,NULL,NULL),(2632,NULL,2632,2629,NULL,NULL,NULL,NULL),(2633,NULL,2633,2630,NULL,NULL,NULL,NULL),(2634,NULL,2634,2631,NULL,NULL,NULL,NULL),(2635,NULL,2635,2632,NULL,NULL,NULL,NULL),(2636,NULL,2636,2633,NULL,NULL,NULL,NULL),(2637,NULL,2637,2634,NULL,NULL,NULL,NULL),(2638,NULL,2638,2635,NULL,NULL,NULL,NULL),(2639,NULL,2639,2636,NULL,NULL,NULL,NULL),(2640,NULL,2640,2637,NULL,NULL,NULL,NULL),(2641,NULL,2641,2638,NULL,NULL,NULL,NULL),(2642,NULL,2642,2639,NULL,NULL,NULL,NULL),(2643,NULL,2643,2640,NULL,NULL,NULL,NULL),(2644,NULL,2644,2641,NULL,NULL,NULL,NULL),(2645,NULL,2645,2642,NULL,NULL,NULL,NULL),(2646,NULL,2646,2643,NULL,NULL,NULL,NULL),(2647,NULL,2647,2644,NULL,NULL,NULL,NULL),(2648,NULL,2648,2645,NULL,NULL,NULL,NULL),(2649,NULL,2649,2646,NULL,NULL,NULL,NULL),(2650,NULL,2650,2647,NULL,NULL,NULL,NULL),(2651,NULL,2651,2648,NULL,NULL,NULL,NULL),(2652,NULL,2652,2649,NULL,NULL,NULL,NULL),(2653,NULL,2653,2650,NULL,NULL,NULL,NULL),(2654,NULL,2654,2651,NULL,NULL,NULL,NULL),(2655,NULL,2655,2652,NULL,NULL,NULL,NULL),(2656,NULL,2656,2653,NULL,NULL,NULL,NULL),(2657,NULL,2657,2654,NULL,NULL,NULL,NULL),(2658,NULL,2658,2655,NULL,NULL,NULL,NULL),(2659,NULL,2659,2656,NULL,NULL,NULL,NULL),(2660,NULL,2660,2657,NULL,NULL,NULL,NULL),(2661,NULL,2661,2658,NULL,NULL,NULL,NULL),(2662,NULL,2662,2659,NULL,NULL,NULL,NULL),(2663,NULL,2663,2660,NULL,NULL,NULL,NULL),(2664,NULL,2664,2661,NULL,NULL,NULL,NULL),(2665,NULL,2665,2662,NULL,NULL,NULL,NULL),(2666,NULL,2666,2663,NULL,NULL,NULL,NULL),(2667,NULL,2667,2664,NULL,NULL,NULL,NULL),(2668,NULL,2668,2665,NULL,NULL,NULL,NULL),(2669,NULL,2669,2666,NULL,NULL,NULL,NULL),(2670,NULL,2670,2667,NULL,NULL,NULL,NULL),(2671,NULL,2671,2668,NULL,NULL,NULL,NULL),(2672,NULL,2672,2669,NULL,NULL,NULL,NULL),(2673,NULL,2673,2670,NULL,NULL,NULL,NULL),(2674,NULL,2674,2671,NULL,NULL,NULL,NULL),(2675,NULL,2675,2672,NULL,NULL,NULL,NULL),(2676,NULL,2676,2673,NULL,NULL,NULL,NULL),(2677,NULL,2677,2674,NULL,NULL,NULL,NULL),(2678,NULL,2678,2675,NULL,NULL,NULL,NULL),(2679,NULL,2679,2676,NULL,NULL,NULL,NULL),(2680,NULL,2680,2677,NULL,NULL,NULL,NULL),(2681,NULL,2681,2678,NULL,NULL,NULL,NULL),(2682,NULL,2682,2679,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2683,NULL,2683,2680,NULL,NULL,NULL,NULL),(2684,NULL,2684,2681,NULL,NULL,NULL,NULL),(2685,NULL,2685,2682,NULL,NULL,NULL,NULL),(2686,NULL,2686,2683,NULL,NULL,NULL,NULL),(2687,NULL,2687,2684,NULL,NULL,NULL,NULL),(2688,NULL,2688,2685,NULL,NULL,NULL,NULL),(2689,NULL,2689,2686,NULL,NULL,NULL,NULL),(2690,NULL,2690,2687,NULL,NULL,NULL,NULL),(2691,NULL,2691,2688,NULL,NULL,NULL,NULL),(2692,NULL,2692,2689,NULL,NULL,NULL,NULL),(2693,NULL,2693,2690,NULL,NULL,NULL,NULL),(2694,NULL,2694,2691,NULL,NULL,NULL,NULL),(2695,NULL,2695,2692,NULL,NULL,NULL,NULL),(2696,NULL,2696,2693,NULL,NULL,NULL,NULL),(2697,NULL,2697,2694,NULL,NULL,NULL,NULL),(2698,NULL,2698,2695,NULL,NULL,NULL,NULL),(2699,NULL,2699,2696,NULL,NULL,NULL,NULL),(2700,NULL,2700,2697,NULL,NULL,NULL,NULL),(2701,NULL,2701,2698,NULL,NULL,NULL,NULL),(2702,NULL,2702,2699,NULL,NULL,NULL,NULL),(2703,NULL,2703,2700,NULL,NULL,NULL,NULL),(2704,NULL,2704,2701,NULL,NULL,NULL,NULL),(2705,NULL,2705,2702,NULL,NULL,NULL,NULL),(2706,NULL,2706,2703,NULL,NULL,NULL,NULL),(2707,NULL,2707,2704,NULL,NULL,NULL,NULL),(2708,NULL,2708,2705,NULL,NULL,NULL,NULL),(2709,NULL,2709,2706,NULL,NULL,NULL,NULL),(2710,NULL,2710,2707,NULL,NULL,NULL,NULL),(2711,NULL,2711,2708,NULL,NULL,NULL,NULL),(2712,NULL,2712,2709,NULL,NULL,NULL,NULL),(2713,NULL,2713,2710,NULL,NULL,NULL,NULL),(2714,NULL,2714,2711,NULL,NULL,NULL,NULL),(2715,NULL,2715,2712,NULL,NULL,NULL,NULL),(2716,NULL,2716,2713,NULL,NULL,NULL,NULL),(2717,NULL,2717,2714,NULL,NULL,NULL,NULL),(2718,NULL,2718,2715,NULL,NULL,NULL,NULL),(2719,NULL,2719,2716,NULL,NULL,NULL,NULL),(2720,NULL,2720,2717,NULL,NULL,NULL,NULL),(2721,NULL,2721,2718,NULL,NULL,NULL,NULL),(2722,NULL,2722,2719,NULL,NULL,NULL,NULL),(2723,NULL,2723,2720,NULL,NULL,NULL,NULL),(2724,NULL,2724,2721,NULL,NULL,NULL,NULL),(2725,NULL,2725,2722,NULL,NULL,NULL,NULL),(2726,NULL,2726,2723,NULL,NULL,NULL,NULL),(2727,NULL,2727,2724,NULL,NULL,NULL,NULL),(2728,NULL,2728,2725,NULL,NULL,NULL,NULL),(2729,NULL,2729,2726,NULL,NULL,NULL,NULL),(2730,NULL,2730,2727,NULL,NULL,NULL,NULL),(2731,NULL,2731,2728,NULL,NULL,NULL,NULL),(2732,NULL,2732,2729,NULL,NULL,NULL,NULL),(2733,NULL,2733,2730,NULL,NULL,NULL,NULL),(2734,NULL,2734,2731,NULL,NULL,NULL,NULL),(2735,NULL,2735,2732,NULL,NULL,NULL,NULL),(2736,NULL,2736,2733,NULL,NULL,NULL,NULL),(2737,NULL,2737,2734,NULL,NULL,NULL,NULL),(2738,NULL,2738,2735,NULL,NULL,NULL,NULL),(2739,NULL,2739,2736,NULL,NULL,NULL,NULL),(2740,NULL,2740,2737,NULL,NULL,NULL,NULL),(2741,NULL,2741,2738,NULL,NULL,NULL,NULL),(2742,NULL,2742,2739,NULL,NULL,NULL,NULL),(2743,NULL,2743,2740,NULL,NULL,NULL,NULL),(2744,NULL,2744,2741,NULL,NULL,NULL,NULL),(2745,NULL,2745,2742,NULL,NULL,NULL,NULL),(2746,NULL,2746,2743,NULL,NULL,NULL,NULL),(2747,NULL,2747,2744,NULL,NULL,NULL,NULL),(2748,NULL,2748,2745,NULL,NULL,NULL,NULL),(2749,NULL,2749,2746,NULL,NULL,NULL,NULL),(2750,NULL,2750,2747,NULL,NULL,NULL,NULL),(2751,NULL,2751,2748,NULL,NULL,NULL,NULL),(2752,NULL,2752,2749,NULL,NULL,NULL,NULL),(2753,NULL,2753,2750,NULL,NULL,NULL,NULL),(2754,NULL,2754,2751,NULL,NULL,NULL,NULL),(2755,NULL,2755,2752,NULL,NULL,NULL,NULL),(2756,NULL,2756,2753,NULL,NULL,NULL,NULL),(2757,NULL,2757,2754,NULL,NULL,NULL,NULL),(2758,NULL,2758,2755,NULL,NULL,NULL,NULL),(2759,NULL,2759,2756,NULL,NULL,NULL,NULL),(2760,NULL,2760,2757,NULL,NULL,NULL,NULL),(2761,NULL,2761,2758,NULL,NULL,NULL,NULL),(2762,NULL,2762,2759,NULL,NULL,NULL,NULL),(2763,NULL,2763,2760,NULL,NULL,NULL,NULL),(2764,NULL,2764,2761,NULL,NULL,NULL,NULL),(2765,NULL,2765,2762,NULL,NULL,NULL,NULL),(2766,NULL,2766,2763,NULL,NULL,NULL,NULL),(2767,NULL,2767,2764,NULL,NULL,NULL,NULL),(2768,NULL,2768,2765,NULL,NULL,NULL,NULL),(2769,NULL,2769,2766,NULL,NULL,NULL,NULL),(2770,NULL,2770,2767,NULL,NULL,NULL,NULL),(2771,NULL,2771,2768,NULL,NULL,NULL,NULL),(2772,NULL,2772,2769,NULL,NULL,NULL,NULL),(2773,NULL,2773,2770,NULL,NULL,NULL,NULL),(2774,NULL,2774,2771,NULL,NULL,NULL,NULL),(2775,NULL,2775,2772,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2776,NULL,2776,2773,NULL,NULL,NULL,NULL),(2777,NULL,2777,2774,NULL,NULL,NULL,NULL),(2778,NULL,2778,2775,NULL,NULL,NULL,NULL),(2779,NULL,2779,2776,NULL,NULL,NULL,NULL),(2780,NULL,2780,2777,NULL,NULL,NULL,NULL),(2781,NULL,2781,2778,NULL,NULL,NULL,NULL),(2782,NULL,2782,2779,NULL,NULL,NULL,NULL),(2783,NULL,2783,2780,NULL,NULL,NULL,NULL),(2784,NULL,2784,2781,NULL,NULL,NULL,NULL),(2785,NULL,2785,2782,NULL,NULL,NULL,NULL),(2786,NULL,2786,2783,NULL,NULL,NULL,NULL),(2787,NULL,2787,2784,NULL,NULL,NULL,NULL),(2788,NULL,2788,2785,NULL,NULL,NULL,NULL),(2789,NULL,2789,2786,NULL,NULL,NULL,NULL),(2790,NULL,2790,2787,NULL,NULL,NULL,NULL),(2791,NULL,2791,2788,NULL,NULL,NULL,NULL),(2792,NULL,2792,2789,NULL,NULL,NULL,NULL),(2793,NULL,2793,2790,NULL,NULL,NULL,NULL),(2794,NULL,2794,2791,NULL,NULL,NULL,NULL),(2795,NULL,2795,2792,NULL,NULL,NULL,NULL),(2796,NULL,2796,2793,NULL,NULL,NULL,NULL),(2797,NULL,2797,2794,NULL,NULL,NULL,NULL),(2798,NULL,2798,2795,NULL,NULL,NULL,NULL),(2799,NULL,2799,2796,NULL,NULL,NULL,NULL),(2800,NULL,2800,2797,NULL,NULL,NULL,NULL),(2801,NULL,2801,2798,NULL,NULL,NULL,NULL),(2802,NULL,2802,2799,NULL,NULL,NULL,NULL),(2803,NULL,2803,2800,NULL,NULL,NULL,NULL),(2804,NULL,2804,2801,NULL,NULL,NULL,NULL),(2805,NULL,2805,2802,NULL,NULL,NULL,NULL),(2806,NULL,2806,2803,NULL,NULL,NULL,NULL),(2807,NULL,2807,2804,NULL,NULL,NULL,NULL),(2808,NULL,2808,2805,NULL,NULL,NULL,NULL),(2809,NULL,2809,2806,NULL,NULL,NULL,NULL),(2810,NULL,2810,2807,NULL,NULL,NULL,NULL),(2811,NULL,2811,2808,NULL,NULL,NULL,NULL),(2812,NULL,2812,2809,NULL,NULL,NULL,NULL),(2813,NULL,2813,2810,NULL,NULL,NULL,NULL),(2814,NULL,2814,2811,NULL,NULL,NULL,NULL),(2815,NULL,2815,2812,NULL,NULL,NULL,NULL),(2816,NULL,2816,2813,NULL,NULL,NULL,NULL),(2817,NULL,2817,2814,NULL,NULL,NULL,NULL),(2818,NULL,2818,2815,NULL,NULL,NULL,NULL),(2819,NULL,2819,2816,NULL,NULL,NULL,NULL),(2820,NULL,2820,2817,NULL,NULL,NULL,NULL),(2821,NULL,2821,2818,NULL,NULL,NULL,NULL),(2822,NULL,2822,2819,NULL,NULL,NULL,NULL),(2823,NULL,2823,2820,NULL,NULL,NULL,NULL),(2824,NULL,2824,2821,NULL,NULL,NULL,NULL),(2825,NULL,2825,2822,NULL,NULL,NULL,NULL),(2826,NULL,2826,2823,NULL,NULL,NULL,NULL),(2827,NULL,2827,2824,NULL,NULL,NULL,NULL),(2828,NULL,2828,2825,NULL,NULL,NULL,NULL),(2829,NULL,2829,2826,NULL,NULL,NULL,NULL),(2830,NULL,2830,2827,NULL,NULL,NULL,NULL),(2831,NULL,2831,2828,NULL,NULL,NULL,NULL),(2832,NULL,2832,2829,NULL,NULL,NULL,NULL),(2833,NULL,2833,2830,NULL,NULL,NULL,NULL),(2834,NULL,2834,2831,NULL,NULL,NULL,NULL),(2835,NULL,2835,2832,NULL,NULL,NULL,NULL),(2836,NULL,2836,2833,NULL,NULL,NULL,NULL),(2837,NULL,2837,2834,NULL,NULL,NULL,NULL),(2838,NULL,2838,2835,NULL,NULL,NULL,NULL),(2839,NULL,2839,2836,NULL,NULL,NULL,NULL),(2840,NULL,2840,2837,NULL,NULL,NULL,NULL),(2841,NULL,2841,2838,NULL,NULL,NULL,NULL),(2842,NULL,2842,2839,NULL,NULL,NULL,NULL),(2843,NULL,2843,2840,NULL,NULL,NULL,NULL),(2844,NULL,2844,2841,NULL,NULL,NULL,NULL),(2845,NULL,2845,2842,NULL,NULL,NULL,NULL),(2846,NULL,2846,2843,NULL,NULL,NULL,NULL),(2847,NULL,2847,2844,NULL,NULL,NULL,NULL),(2848,NULL,2848,2845,NULL,NULL,NULL,NULL),(2849,NULL,2849,2846,NULL,NULL,NULL,NULL),(2850,NULL,2850,2847,NULL,NULL,NULL,NULL),(2851,NULL,2851,2848,NULL,NULL,NULL,NULL),(2852,NULL,2852,2849,NULL,NULL,NULL,NULL),(2853,NULL,2853,2850,NULL,NULL,NULL,NULL),(2854,NULL,2854,2851,NULL,NULL,NULL,NULL),(2855,NULL,2855,2852,NULL,NULL,NULL,NULL),(2856,NULL,2856,2853,NULL,NULL,NULL,NULL),(2857,NULL,2857,2854,NULL,NULL,NULL,NULL),(2858,NULL,2858,2855,NULL,NULL,NULL,NULL),(2859,NULL,2859,2856,NULL,NULL,NULL,NULL),(2860,NULL,2860,2857,NULL,NULL,NULL,NULL),(2861,NULL,2861,2858,NULL,NULL,NULL,NULL),(2862,NULL,2862,2859,NULL,NULL,NULL,NULL),(2863,NULL,2863,2860,NULL,NULL,NULL,NULL),(2864,NULL,2864,2861,NULL,NULL,NULL,NULL),(2865,NULL,2865,2862,NULL,NULL,NULL,NULL),(2866,NULL,2866,2863,NULL,NULL,NULL,NULL),(2867,NULL,2867,2864,NULL,NULL,NULL,NULL),(2868,NULL,2868,2865,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (2869,NULL,2869,2866,NULL,NULL,NULL,NULL),(2870,NULL,2870,2867,NULL,NULL,NULL,NULL),(2871,NULL,2871,2868,NULL,NULL,NULL,NULL),(2872,NULL,2872,2869,NULL,NULL,NULL,NULL),(2873,NULL,2873,2870,NULL,NULL,NULL,NULL),(2874,NULL,2874,2871,NULL,NULL,NULL,NULL),(2875,NULL,2875,2872,NULL,NULL,NULL,NULL),(2876,NULL,2876,2873,NULL,NULL,NULL,NULL),(2877,NULL,2877,2874,NULL,NULL,NULL,NULL),(2878,NULL,2878,2875,NULL,NULL,NULL,NULL),(2879,NULL,2879,2876,NULL,NULL,NULL,NULL),(2880,NULL,2880,2877,NULL,NULL,NULL,NULL),(2881,NULL,2881,2878,NULL,NULL,NULL,NULL),(2882,NULL,2882,2879,NULL,NULL,NULL,NULL),(2883,NULL,2883,2880,NULL,NULL,NULL,NULL),(2884,NULL,2884,2881,NULL,NULL,NULL,NULL),(2885,NULL,2885,2882,NULL,NULL,NULL,NULL),(2886,NULL,2886,2883,NULL,NULL,NULL,NULL),(2887,NULL,2887,2884,NULL,NULL,NULL,NULL),(2888,NULL,2888,2885,NULL,NULL,NULL,NULL),(2889,NULL,2889,2886,NULL,NULL,NULL,NULL),(2890,NULL,2890,2887,NULL,NULL,NULL,NULL),(2891,NULL,2891,2888,NULL,NULL,NULL,NULL),(2892,NULL,2892,2889,NULL,NULL,NULL,NULL),(2893,NULL,2893,2890,NULL,NULL,NULL,NULL),(2894,NULL,2894,2891,NULL,NULL,NULL,NULL),(2895,NULL,2895,2892,NULL,NULL,NULL,NULL),(2896,NULL,2896,2893,NULL,NULL,NULL,NULL),(2897,NULL,2897,2894,NULL,NULL,NULL,NULL),(2898,NULL,2898,2895,NULL,NULL,NULL,NULL),(2899,NULL,2899,2896,NULL,NULL,NULL,NULL),(2900,NULL,2900,2897,NULL,NULL,NULL,NULL),(2901,NULL,2901,2898,NULL,NULL,NULL,NULL),(2902,NULL,2902,2899,NULL,NULL,NULL,NULL),(2903,NULL,2903,2900,NULL,NULL,NULL,NULL),(2904,NULL,2904,2901,NULL,NULL,NULL,NULL),(2905,NULL,2905,2902,NULL,NULL,NULL,NULL),(2906,NULL,2906,2903,NULL,NULL,NULL,NULL),(2907,NULL,2907,2904,NULL,NULL,NULL,NULL),(2908,NULL,2908,2905,NULL,NULL,NULL,NULL),(2909,NULL,2909,2906,NULL,NULL,NULL,NULL),(2910,NULL,2910,2907,NULL,NULL,NULL,NULL),(2911,NULL,2911,2908,NULL,NULL,NULL,NULL),(2912,NULL,2912,2909,NULL,NULL,NULL,NULL),(2913,NULL,2913,2910,NULL,NULL,NULL,NULL),(2914,NULL,2914,2911,NULL,NULL,NULL,NULL),(2915,NULL,2915,2912,NULL,NULL,NULL,NULL),(2916,NULL,2916,2913,NULL,NULL,NULL,NULL),(2917,NULL,2917,2914,NULL,NULL,NULL,NULL),(2918,NULL,2918,2915,NULL,NULL,NULL,NULL),(2919,NULL,2919,2916,NULL,NULL,NULL,NULL),(2920,NULL,2920,2917,NULL,NULL,NULL,NULL),(2921,NULL,2921,2918,NULL,NULL,NULL,NULL),(2922,NULL,2922,2919,NULL,NULL,NULL,NULL),(2923,NULL,2923,2920,NULL,NULL,NULL,NULL),(2924,NULL,2924,2921,NULL,NULL,NULL,NULL),(2925,NULL,2925,2922,NULL,NULL,NULL,NULL),(2926,NULL,2926,2923,NULL,NULL,NULL,NULL),(2927,NULL,2927,2924,NULL,NULL,NULL,NULL),(2928,NULL,2928,2925,NULL,NULL,NULL,NULL),(2929,NULL,2929,2926,NULL,NULL,NULL,NULL),(2930,NULL,2930,2927,NULL,NULL,NULL,NULL),(2931,NULL,2931,2928,NULL,NULL,NULL,NULL),(2932,NULL,2932,2929,NULL,NULL,NULL,NULL),(2933,NULL,2933,2930,NULL,NULL,NULL,NULL),(2934,NULL,2934,2931,NULL,NULL,NULL,NULL),(2935,NULL,2935,2932,NULL,NULL,NULL,NULL),(2936,NULL,2936,2933,NULL,NULL,NULL,NULL),(2937,NULL,2937,2934,NULL,NULL,NULL,NULL),(2938,NULL,2938,2935,NULL,NULL,NULL,NULL),(3011,NULL,3011,3008,NULL,NULL,NULL,NULL),(3012,NULL,3012,3009,NULL,NULL,NULL,NULL),(3013,NULL,3013,3010,NULL,NULL,NULL,NULL),(3014,NULL,3014,3011,NULL,NULL,NULL,NULL),(3015,NULL,3015,3012,NULL,NULL,NULL,NULL),(3016,NULL,3016,3013,NULL,NULL,NULL,NULL),(3017,NULL,3017,3014,NULL,NULL,NULL,NULL),(3018,NULL,3018,3015,NULL,NULL,NULL,NULL),(3019,NULL,3019,3016,NULL,NULL,NULL,NULL),(3020,NULL,3020,3017,NULL,NULL,NULL,NULL),(3021,NULL,3021,3018,NULL,NULL,NULL,NULL),(3022,NULL,3022,3019,NULL,NULL,NULL,NULL),(3023,NULL,3023,3020,NULL,NULL,NULL,NULL),(3024,NULL,3024,3021,NULL,NULL,NULL,NULL),(3025,NULL,3025,3022,NULL,NULL,NULL,NULL),(3026,NULL,3026,3023,NULL,NULL,NULL,NULL),(3027,NULL,3027,3024,NULL,NULL,NULL,NULL),(3028,NULL,3028,3025,NULL,NULL,NULL,NULL),(3029,NULL,3029,3026,NULL,NULL,NULL,NULL),(3030,NULL,3030,3027,NULL,NULL,NULL,NULL),(3031,NULL,3031,3028,NULL,NULL,NULL,NULL),(3032,NULL,3032,3029,NULL,NULL,NULL,NULL),(3033,NULL,3033,3030,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3034,NULL,3034,3031,NULL,NULL,NULL,NULL),(3035,NULL,3035,3032,NULL,NULL,NULL,NULL),(3036,NULL,3036,3033,NULL,NULL,NULL,NULL),(3037,NULL,3037,3034,NULL,NULL,NULL,NULL),(3038,NULL,3038,3035,NULL,NULL,NULL,NULL),(3039,NULL,3039,3036,NULL,NULL,NULL,NULL),(3040,NULL,3040,3037,NULL,NULL,NULL,NULL),(3041,NULL,3041,3038,NULL,NULL,NULL,NULL),(3042,NULL,3042,3039,NULL,NULL,NULL,NULL),(3043,NULL,3043,3040,NULL,NULL,NULL,NULL),(3044,NULL,3044,3041,NULL,NULL,NULL,NULL),(3045,NULL,3045,3042,NULL,NULL,NULL,NULL),(3046,NULL,3046,3043,NULL,NULL,NULL,NULL),(3047,NULL,3047,3044,NULL,NULL,NULL,NULL),(3048,NULL,3048,3045,NULL,NULL,NULL,NULL),(3049,NULL,3049,3046,NULL,NULL,NULL,NULL),(3050,NULL,3050,3047,NULL,NULL,NULL,NULL),(3051,NULL,3051,3048,NULL,NULL,NULL,NULL),(3052,NULL,3052,3049,NULL,NULL,NULL,NULL),(3053,NULL,3053,3050,NULL,NULL,NULL,NULL),(3054,NULL,3054,3051,NULL,NULL,NULL,NULL),(3055,NULL,3055,3052,NULL,NULL,NULL,NULL),(3056,NULL,3056,3053,NULL,NULL,NULL,NULL),(3057,NULL,3057,3054,NULL,NULL,NULL,NULL),(3058,NULL,3058,3055,NULL,NULL,NULL,NULL),(3059,NULL,3059,3056,NULL,NULL,NULL,NULL),(3060,NULL,3060,3057,NULL,NULL,NULL,NULL),(3061,NULL,3061,3058,NULL,NULL,NULL,NULL),(3062,NULL,3062,3059,NULL,NULL,NULL,NULL),(3063,NULL,3063,3060,NULL,NULL,NULL,NULL),(3064,NULL,3064,3061,NULL,NULL,NULL,NULL),(3065,NULL,3065,3062,NULL,NULL,NULL,NULL),(3066,NULL,3066,3063,NULL,NULL,NULL,NULL),(3067,NULL,3067,3064,NULL,NULL,NULL,NULL),(3068,NULL,3068,3065,NULL,NULL,NULL,NULL),(3069,NULL,3069,3066,NULL,NULL,NULL,NULL),(3070,NULL,3070,3067,NULL,NULL,NULL,NULL),(3071,NULL,3071,3068,NULL,NULL,NULL,NULL),(3072,NULL,3072,3069,NULL,NULL,NULL,NULL),(3073,NULL,3073,3070,NULL,NULL,NULL,NULL),(3074,NULL,3074,3071,NULL,NULL,NULL,NULL),(3075,NULL,3075,3072,NULL,NULL,NULL,NULL),(3076,NULL,3076,3073,NULL,NULL,NULL,NULL),(3077,NULL,3077,3074,NULL,NULL,NULL,NULL),(3078,NULL,3078,3075,NULL,NULL,NULL,NULL),(3079,NULL,3079,3076,NULL,NULL,NULL,NULL),(3080,NULL,3080,3077,NULL,NULL,NULL,NULL),(3081,NULL,3081,3078,NULL,NULL,NULL,NULL),(3082,NULL,3082,3079,NULL,NULL,NULL,NULL),(3083,NULL,3083,3080,NULL,NULL,NULL,NULL),(3084,NULL,3084,3081,NULL,NULL,NULL,NULL),(3085,NULL,3085,3082,NULL,NULL,NULL,NULL),(3086,NULL,3086,3083,NULL,NULL,NULL,NULL),(3087,NULL,3087,3084,NULL,NULL,NULL,NULL),(3088,NULL,3088,3085,NULL,NULL,NULL,NULL),(3089,NULL,3089,3086,NULL,NULL,NULL,NULL),(3090,NULL,3090,3087,NULL,NULL,NULL,NULL),(3091,NULL,3091,3088,NULL,NULL,NULL,NULL),(3092,NULL,3092,3089,NULL,NULL,NULL,NULL),(3093,NULL,3093,3090,NULL,NULL,NULL,NULL),(3094,NULL,3094,3091,NULL,NULL,NULL,NULL),(3095,NULL,3095,3092,NULL,NULL,NULL,NULL),(3096,NULL,3096,3093,NULL,NULL,NULL,NULL),(3097,NULL,3097,3094,NULL,NULL,NULL,NULL),(3098,NULL,3098,3095,NULL,NULL,NULL,NULL),(3099,NULL,3099,3096,NULL,NULL,NULL,NULL),(3100,NULL,3100,3097,NULL,NULL,NULL,NULL),(3101,NULL,3101,3098,NULL,NULL,NULL,NULL),(3102,NULL,3102,3099,NULL,NULL,NULL,NULL),(3103,NULL,3103,3100,NULL,NULL,NULL,NULL),(3104,NULL,3104,3101,NULL,NULL,NULL,NULL),(3105,NULL,3105,3102,NULL,NULL,NULL,NULL),(3106,NULL,3106,3103,NULL,NULL,NULL,NULL),(3107,NULL,3107,3104,NULL,NULL,NULL,NULL),(3108,NULL,3108,3105,NULL,NULL,NULL,NULL),(3109,NULL,3109,3106,NULL,NULL,NULL,NULL),(3110,NULL,3110,3107,NULL,NULL,NULL,NULL),(3111,NULL,3111,3108,NULL,NULL,NULL,NULL),(3112,NULL,3112,3109,NULL,NULL,NULL,NULL),(3113,NULL,3113,3110,NULL,NULL,NULL,NULL),(3114,NULL,3114,3111,NULL,NULL,NULL,NULL),(3115,NULL,3115,3112,NULL,NULL,NULL,NULL),(3116,NULL,3116,3113,NULL,NULL,NULL,NULL),(3117,NULL,3117,3114,NULL,NULL,NULL,NULL),(3118,NULL,3118,3115,NULL,NULL,NULL,NULL),(3119,NULL,3119,3116,NULL,NULL,NULL,NULL),(3120,NULL,3120,3117,NULL,NULL,NULL,NULL),(3121,NULL,3121,3118,NULL,NULL,NULL,NULL),(3122,NULL,3122,3119,NULL,NULL,NULL,NULL),(3123,NULL,3123,3120,NULL,NULL,NULL,NULL),(3124,NULL,3124,3121,NULL,NULL,NULL,NULL),(3125,NULL,3125,3122,NULL,NULL,NULL,NULL),(3126,NULL,3126,3123,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3127,NULL,3127,3124,NULL,NULL,NULL,NULL),(3128,NULL,3128,3125,NULL,NULL,NULL,NULL),(3129,NULL,3129,3126,NULL,NULL,NULL,NULL),(3130,NULL,3130,3127,NULL,NULL,NULL,NULL),(3131,NULL,3131,3128,NULL,NULL,NULL,NULL),(3132,NULL,3132,3129,NULL,NULL,NULL,NULL),(3133,NULL,3133,3130,NULL,NULL,NULL,NULL),(3134,NULL,3134,3131,NULL,NULL,NULL,NULL),(3135,NULL,3135,3132,NULL,NULL,NULL,NULL),(3136,NULL,3136,3133,NULL,NULL,NULL,NULL),(3137,NULL,3137,3134,NULL,NULL,NULL,NULL),(3138,NULL,3138,3135,NULL,NULL,NULL,NULL),(3139,NULL,3139,3136,NULL,NULL,NULL,NULL),(3140,NULL,3140,3137,NULL,NULL,NULL,NULL),(3141,NULL,3141,3138,NULL,NULL,NULL,NULL),(3142,NULL,3142,3139,NULL,NULL,NULL,NULL),(3143,NULL,3143,3140,NULL,NULL,NULL,NULL),(3144,NULL,3144,3141,NULL,NULL,NULL,NULL),(3145,NULL,3145,3142,NULL,NULL,NULL,NULL),(3146,NULL,3146,3143,NULL,NULL,NULL,NULL),(3147,NULL,3147,3144,NULL,NULL,NULL,NULL),(3148,NULL,3148,3145,NULL,NULL,NULL,NULL),(3149,NULL,3149,3146,NULL,NULL,NULL,NULL),(3150,NULL,3150,3147,NULL,NULL,NULL,NULL),(3151,NULL,3151,3148,NULL,NULL,NULL,NULL),(3152,NULL,3152,3149,NULL,NULL,NULL,NULL),(3153,NULL,3153,3150,NULL,NULL,NULL,NULL),(3154,NULL,3154,3151,NULL,NULL,NULL,NULL),(3155,NULL,3155,3152,NULL,NULL,NULL,NULL),(3156,NULL,3156,3153,NULL,NULL,NULL,NULL),(3157,NULL,3157,3154,NULL,NULL,NULL,NULL),(3158,NULL,3158,3155,NULL,NULL,NULL,NULL),(3159,NULL,3159,3156,NULL,NULL,NULL,NULL),(3160,NULL,3160,3157,NULL,NULL,NULL,NULL),(3161,NULL,3161,3158,NULL,NULL,NULL,NULL),(3162,NULL,3162,3159,NULL,NULL,NULL,NULL),(3163,NULL,3163,3160,NULL,NULL,NULL,NULL),(3164,NULL,3164,3161,NULL,NULL,NULL,NULL),(3165,NULL,3165,3162,NULL,NULL,NULL,NULL),(3166,NULL,3166,3163,NULL,NULL,NULL,NULL),(3167,NULL,3167,3164,NULL,NULL,NULL,NULL),(3168,NULL,3168,3165,NULL,NULL,NULL,NULL),(3169,NULL,3169,3166,NULL,NULL,NULL,NULL),(3170,NULL,3170,3167,NULL,NULL,NULL,NULL),(3171,NULL,3171,3168,NULL,NULL,NULL,NULL),(3172,NULL,3172,3169,NULL,NULL,NULL,NULL),(3173,NULL,3173,3170,NULL,NULL,NULL,NULL),(3174,NULL,3174,3171,NULL,NULL,NULL,NULL),(3175,NULL,3175,3172,NULL,NULL,NULL,NULL),(3176,NULL,3176,3173,NULL,NULL,NULL,NULL),(3177,NULL,3177,3174,NULL,NULL,NULL,NULL),(3178,NULL,3178,3175,NULL,NULL,NULL,NULL),(3179,NULL,3179,3176,NULL,NULL,NULL,NULL),(3180,NULL,3180,3177,NULL,NULL,NULL,NULL),(3181,NULL,3181,3178,NULL,NULL,NULL,NULL),(3182,NULL,3182,3179,NULL,NULL,NULL,NULL),(3183,NULL,3183,3180,NULL,NULL,NULL,NULL),(3184,NULL,3184,3181,NULL,NULL,NULL,NULL),(3185,NULL,3185,3182,NULL,NULL,NULL,NULL),(3186,NULL,3186,3183,NULL,NULL,NULL,NULL),(3187,NULL,3187,3184,NULL,NULL,NULL,NULL),(3188,NULL,3188,3185,NULL,NULL,NULL,NULL),(3189,NULL,3189,3186,NULL,NULL,NULL,NULL),(3190,NULL,3190,3187,NULL,NULL,NULL,NULL),(3191,NULL,3191,3188,NULL,NULL,NULL,NULL),(3192,NULL,3192,3189,NULL,NULL,NULL,NULL),(3193,NULL,3193,3190,NULL,NULL,NULL,NULL),(3194,NULL,3194,3191,NULL,NULL,NULL,NULL),(3195,NULL,3195,3192,NULL,NULL,NULL,NULL),(3196,NULL,3196,3193,NULL,NULL,NULL,NULL),(3197,NULL,3197,3194,NULL,NULL,NULL,NULL),(3198,NULL,3198,3195,NULL,NULL,NULL,NULL),(3199,NULL,3199,3196,NULL,NULL,NULL,NULL),(3200,NULL,3200,3197,NULL,NULL,NULL,NULL),(3201,NULL,3201,3198,NULL,NULL,NULL,NULL),(3202,NULL,3202,3199,NULL,NULL,NULL,NULL),(3203,NULL,3203,3200,NULL,NULL,NULL,NULL),(3204,NULL,3204,3201,NULL,NULL,NULL,NULL),(3205,NULL,3205,3202,NULL,NULL,NULL,NULL),(3206,NULL,3206,3203,NULL,NULL,NULL,NULL),(3207,NULL,3207,3204,NULL,NULL,NULL,NULL),(3208,NULL,3208,3205,NULL,NULL,NULL,NULL),(3209,NULL,3209,3206,NULL,NULL,NULL,NULL),(3210,NULL,3210,3207,NULL,NULL,NULL,NULL),(3211,NULL,3211,3208,NULL,NULL,NULL,NULL),(3212,NULL,3212,3209,NULL,NULL,NULL,NULL),(3213,NULL,3213,3210,NULL,NULL,NULL,NULL),(3214,NULL,3214,3211,NULL,NULL,NULL,NULL),(3215,NULL,3215,3212,NULL,NULL,NULL,NULL),(3216,NULL,3216,3213,NULL,NULL,NULL,NULL),(3217,NULL,3217,3214,NULL,NULL,NULL,NULL),(3218,NULL,3218,3215,NULL,NULL,NULL,NULL),(3219,NULL,3219,3216,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3220,NULL,3220,3217,NULL,NULL,NULL,NULL),(3221,NULL,3221,3218,NULL,NULL,NULL,NULL),(3222,NULL,3222,3219,NULL,NULL,NULL,NULL),(3223,NULL,3223,3220,NULL,NULL,NULL,NULL),(3224,NULL,3224,3221,NULL,NULL,NULL,NULL),(3225,NULL,3225,3222,NULL,NULL,NULL,NULL),(3226,NULL,3226,3223,NULL,NULL,NULL,NULL),(3227,NULL,3227,3224,NULL,NULL,NULL,NULL),(3228,NULL,3228,3225,NULL,NULL,NULL,NULL),(3229,NULL,3229,3226,NULL,NULL,NULL,NULL),(3230,NULL,3230,3227,NULL,NULL,NULL,NULL),(3231,NULL,3231,3228,NULL,NULL,NULL,NULL),(3232,NULL,3232,3229,NULL,NULL,NULL,NULL),(3233,NULL,3233,3230,NULL,NULL,NULL,NULL),(3234,NULL,3234,3231,NULL,NULL,NULL,NULL),(3235,NULL,3235,3232,NULL,NULL,NULL,NULL),(3236,NULL,3236,3233,NULL,NULL,NULL,NULL),(3237,NULL,3237,3234,NULL,NULL,NULL,NULL),(3238,NULL,3238,3235,NULL,NULL,NULL,NULL),(3239,NULL,3239,3236,NULL,NULL,NULL,NULL),(3240,NULL,3240,3237,NULL,NULL,NULL,NULL),(3241,NULL,3241,3238,NULL,NULL,NULL,NULL),(3242,NULL,3242,3239,NULL,NULL,NULL,NULL),(3243,NULL,3243,3240,NULL,NULL,NULL,NULL),(3244,NULL,3244,3241,NULL,NULL,NULL,NULL),(3245,NULL,3245,3242,NULL,NULL,NULL,NULL),(3246,NULL,3246,3243,NULL,NULL,NULL,NULL),(3247,NULL,3247,3244,NULL,NULL,NULL,NULL),(3248,NULL,3248,3245,NULL,NULL,NULL,NULL),(3249,NULL,3249,3246,NULL,NULL,NULL,NULL),(3250,NULL,3250,3247,NULL,NULL,NULL,NULL),(3251,NULL,3251,3248,NULL,NULL,NULL,NULL),(3252,NULL,3252,3249,NULL,NULL,NULL,NULL),(3253,NULL,3253,3250,NULL,NULL,NULL,NULL),(3254,NULL,3254,3251,NULL,NULL,NULL,NULL),(3255,NULL,3255,3252,NULL,NULL,NULL,NULL),(3256,NULL,3256,3253,NULL,NULL,NULL,NULL),(3257,NULL,3257,3254,NULL,NULL,NULL,NULL),(3258,NULL,3258,3255,NULL,NULL,NULL,NULL),(3259,NULL,3259,3256,NULL,NULL,NULL,NULL),(3260,NULL,3260,3257,NULL,NULL,NULL,NULL),(3261,NULL,3261,3258,NULL,NULL,NULL,NULL),(3262,NULL,3262,3259,NULL,NULL,NULL,NULL),(3263,NULL,3263,3260,NULL,NULL,NULL,NULL),(3264,NULL,3264,3261,NULL,NULL,NULL,NULL),(3265,NULL,3265,3262,NULL,NULL,NULL,NULL),(3266,NULL,3266,3263,NULL,NULL,NULL,NULL),(3267,NULL,3267,3264,NULL,NULL,NULL,NULL),(3268,NULL,3268,3265,NULL,NULL,NULL,NULL),(3269,NULL,3269,3266,NULL,NULL,NULL,NULL),(3270,NULL,3270,3267,NULL,NULL,NULL,NULL),(3271,NULL,3271,3268,NULL,NULL,NULL,NULL),(3272,NULL,3272,3269,NULL,NULL,NULL,NULL),(3273,NULL,3273,3270,NULL,NULL,NULL,NULL),(3274,NULL,3274,3271,NULL,NULL,NULL,NULL),(3275,NULL,3275,3272,NULL,NULL,NULL,NULL),(3276,NULL,3276,3273,NULL,NULL,NULL,NULL),(3277,NULL,3277,3274,NULL,NULL,NULL,NULL),(3278,NULL,3278,3275,NULL,NULL,NULL,NULL),(3279,NULL,3279,3276,NULL,NULL,NULL,NULL),(3280,NULL,3280,3277,NULL,NULL,NULL,NULL),(3281,NULL,3281,3278,NULL,NULL,NULL,NULL),(3282,NULL,3282,3279,NULL,NULL,NULL,NULL),(3283,NULL,3283,3280,NULL,NULL,NULL,NULL),(3284,NULL,3284,3281,NULL,NULL,NULL,NULL),(3285,NULL,3285,3282,NULL,NULL,NULL,NULL),(3286,NULL,3286,3283,NULL,NULL,NULL,NULL),(3287,NULL,3287,3284,NULL,NULL,NULL,NULL),(3288,NULL,3288,3285,NULL,NULL,NULL,NULL),(3289,NULL,3289,3286,NULL,NULL,NULL,NULL),(3290,NULL,3290,3287,NULL,NULL,NULL,NULL),(3291,NULL,3291,3284,NULL,NULL,NULL,NULL),(3292,NULL,3292,3218,NULL,NULL,NULL,NULL),(3293,NULL,3293,3219,NULL,NULL,NULL,NULL),(3294,NULL,3294,3288,NULL,NULL,NULL,NULL),(3295,NULL,3295,3216,NULL,NULL,NULL,NULL),(3296,NULL,3296,3289,NULL,NULL,NULL,NULL),(3297,NULL,3297,3290,NULL,NULL,NULL,NULL),(3298,NULL,3298,3291,NULL,NULL,NULL,NULL),(3299,NULL,3299,3292,NULL,NULL,NULL,NULL),(3300,NULL,3300,3293,NULL,NULL,NULL,NULL),(3301,NULL,3301,3294,NULL,NULL,NULL,NULL),(3302,NULL,3302,3295,NULL,NULL,NULL,NULL),(3303,NULL,3303,3296,NULL,NULL,NULL,NULL),(3304,NULL,3304,3297,NULL,NULL,NULL,NULL),(3305,NULL,3305,3298,NULL,NULL,NULL,NULL),(3306,NULL,3306,3299,NULL,NULL,NULL,NULL),(3307,NULL,3307,3300,NULL,NULL,NULL,NULL),(3308,NULL,3308,3301,NULL,NULL,NULL,NULL),(3309,NULL,3309,3302,NULL,NULL,NULL,NULL),(3310,NULL,3310,3303,NULL,NULL,NULL,NULL),(3311,NULL,3311,3304,NULL,NULL,NULL,NULL),(3312,NULL,3312,3305,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3313,NULL,3313,3306,NULL,NULL,NULL,NULL),(3314,NULL,3314,3307,NULL,NULL,NULL,NULL),(3315,NULL,3315,3308,NULL,NULL,NULL,NULL),(3316,NULL,3316,3309,NULL,NULL,NULL,NULL),(3317,NULL,3317,3310,NULL,NULL,NULL,NULL),(3318,NULL,3318,3311,NULL,NULL,NULL,NULL),(3319,NULL,3319,3312,NULL,NULL,NULL,NULL),(3320,NULL,3320,3313,NULL,NULL,NULL,NULL),(3321,NULL,3321,3314,NULL,NULL,NULL,NULL),(3322,NULL,3322,3315,NULL,NULL,NULL,NULL),(3323,NULL,3323,3316,NULL,NULL,NULL,NULL),(3324,NULL,3324,3317,NULL,NULL,NULL,NULL),(3325,NULL,3325,3318,NULL,NULL,NULL,NULL),(3326,NULL,3326,3319,NULL,NULL,NULL,NULL),(3327,NULL,3327,3320,NULL,NULL,NULL,NULL),(3328,NULL,3328,3321,NULL,NULL,NULL,NULL),(3329,NULL,3329,3322,NULL,NULL,NULL,NULL),(3330,NULL,3330,3323,NULL,NULL,NULL,NULL),(3331,NULL,3331,3324,NULL,NULL,NULL,NULL),(3332,NULL,3332,3325,NULL,NULL,NULL,NULL),(3333,NULL,3333,3326,NULL,NULL,NULL,NULL),(3334,NULL,3334,3327,NULL,NULL,NULL,NULL),(3335,NULL,3335,3328,NULL,NULL,NULL,NULL),(3336,NULL,3336,3329,NULL,NULL,NULL,NULL),(3337,NULL,3337,3330,NULL,NULL,NULL,NULL),(3338,NULL,3338,3331,NULL,NULL,NULL,NULL),(3339,NULL,3339,3332,NULL,NULL,NULL,NULL),(3340,NULL,3340,3333,NULL,NULL,NULL,NULL),(3341,NULL,3341,3334,NULL,NULL,NULL,NULL),(3342,NULL,3342,3335,NULL,NULL,NULL,NULL),(3343,NULL,3343,3336,NULL,NULL,NULL,NULL),(3344,NULL,3344,3337,NULL,NULL,NULL,NULL),(3345,NULL,3345,3338,NULL,NULL,NULL,NULL),(3346,NULL,3346,3339,NULL,NULL,NULL,NULL),(3347,NULL,3347,3340,NULL,NULL,NULL,NULL),(3348,NULL,3348,3341,NULL,NULL,NULL,NULL),(3349,NULL,3349,3342,NULL,NULL,NULL,NULL),(3350,NULL,3350,3343,NULL,NULL,NULL,NULL),(3351,NULL,3351,3344,NULL,NULL,NULL,NULL),(3352,NULL,3352,3345,NULL,NULL,NULL,NULL),(3353,NULL,3353,3346,NULL,NULL,NULL,NULL),(3354,NULL,3354,3347,NULL,NULL,NULL,NULL),(3355,NULL,3355,3348,NULL,NULL,NULL,NULL),(3356,NULL,3356,3349,NULL,NULL,NULL,NULL),(3357,NULL,3357,3350,NULL,NULL,NULL,NULL),(3358,NULL,3358,3351,NULL,NULL,NULL,NULL),(3359,NULL,3359,3352,NULL,NULL,NULL,NULL),(3360,NULL,3360,3353,NULL,NULL,NULL,NULL),(3361,NULL,3361,3354,NULL,NULL,NULL,NULL),(3362,NULL,3362,3355,NULL,NULL,NULL,NULL),(3363,NULL,3363,3356,NULL,NULL,NULL,NULL),(3364,NULL,3364,3357,NULL,NULL,NULL,NULL),(3365,NULL,3365,3358,NULL,NULL,NULL,NULL),(3366,NULL,3366,3359,NULL,NULL,NULL,NULL),(3367,NULL,3367,3360,NULL,NULL,NULL,NULL),(3368,NULL,3368,3361,NULL,NULL,NULL,NULL),(3369,NULL,3369,3362,NULL,NULL,NULL,NULL),(3370,NULL,3370,3363,NULL,NULL,NULL,NULL),(3371,NULL,3371,3364,NULL,NULL,NULL,NULL),(3372,NULL,3372,3365,NULL,NULL,NULL,NULL),(3373,NULL,3373,3366,NULL,NULL,NULL,NULL),(3374,NULL,3374,3367,NULL,NULL,NULL,NULL),(3375,NULL,3375,3368,NULL,NULL,NULL,NULL),(3376,NULL,3376,3369,NULL,NULL,NULL,NULL),(3377,NULL,3377,3370,NULL,NULL,NULL,NULL),(3378,NULL,3378,3371,NULL,NULL,NULL,NULL),(3379,NULL,3379,3372,NULL,NULL,NULL,NULL),(3380,NULL,3380,3373,NULL,NULL,NULL,NULL),(3381,NULL,3381,3374,NULL,NULL,NULL,NULL),(3382,NULL,3382,3375,NULL,NULL,NULL,NULL),(3383,NULL,3383,3376,NULL,NULL,NULL,NULL),(3384,NULL,3384,3377,NULL,NULL,NULL,NULL),(3385,NULL,3385,3378,NULL,NULL,NULL,NULL),(3386,NULL,3386,3379,NULL,NULL,NULL,NULL),(3387,NULL,3387,3380,NULL,NULL,NULL,NULL),(3388,NULL,3388,3381,NULL,NULL,NULL,NULL),(3389,NULL,3389,3382,NULL,NULL,NULL,NULL),(3390,NULL,3390,3383,NULL,NULL,NULL,NULL),(3391,NULL,3391,3384,NULL,NULL,NULL,NULL),(3392,NULL,3392,3385,NULL,NULL,NULL,NULL),(3393,NULL,3393,3386,NULL,NULL,NULL,NULL),(3394,NULL,3394,3387,NULL,NULL,NULL,NULL),(3395,NULL,3395,3388,NULL,NULL,NULL,NULL),(3396,NULL,3396,3389,NULL,NULL,NULL,NULL),(3397,NULL,3397,3390,NULL,NULL,NULL,NULL),(3398,NULL,3398,3391,NULL,NULL,NULL,NULL),(3399,NULL,3399,3392,NULL,NULL,NULL,NULL),(3400,NULL,3400,3393,NULL,NULL,NULL,NULL),(3401,NULL,3401,3394,NULL,NULL,NULL,NULL),(3402,NULL,3402,3395,NULL,NULL,NULL,NULL),(3403,NULL,3403,3396,NULL,NULL,NULL,NULL),(3404,NULL,3404,3397,NULL,NULL,NULL,NULL),(3405,NULL,3405,3398,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3406,NULL,3406,3399,NULL,NULL,NULL,NULL),(3407,NULL,3407,3400,NULL,NULL,NULL,NULL),(3408,NULL,3408,3401,NULL,NULL,NULL,NULL),(3409,NULL,3409,3402,NULL,NULL,NULL,NULL),(3410,NULL,3410,3403,NULL,NULL,NULL,NULL),(3411,NULL,3411,3404,NULL,NULL,NULL,NULL),(3412,NULL,3412,3405,NULL,NULL,NULL,NULL),(3413,NULL,3413,3406,NULL,NULL,NULL,NULL),(3414,NULL,3414,3407,NULL,NULL,NULL,NULL),(3415,NULL,3415,3408,NULL,NULL,NULL,NULL),(3416,NULL,3416,3409,NULL,NULL,NULL,NULL),(3417,NULL,3417,3410,NULL,NULL,NULL,NULL),(3418,NULL,3418,3411,NULL,NULL,NULL,NULL),(3419,NULL,3419,3412,NULL,NULL,NULL,NULL),(3420,NULL,3420,3413,NULL,NULL,NULL,NULL),(3421,NULL,3421,3414,NULL,NULL,NULL,NULL),(3422,NULL,3422,3415,NULL,NULL,NULL,NULL),(3423,NULL,3423,3416,NULL,NULL,NULL,NULL),(3424,NULL,3424,3417,NULL,NULL,NULL,NULL),(3425,NULL,3425,3418,NULL,NULL,NULL,NULL),(3426,NULL,3426,3419,NULL,NULL,NULL,NULL),(3427,NULL,3427,3420,NULL,NULL,NULL,NULL),(3428,NULL,3428,3421,NULL,NULL,NULL,NULL),(3429,NULL,3429,3422,NULL,NULL,NULL,NULL),(3430,NULL,3430,3423,NULL,NULL,NULL,NULL),(3431,NULL,3431,3424,NULL,NULL,NULL,NULL),(3432,NULL,3432,3425,NULL,NULL,NULL,NULL),(3433,NULL,3433,3426,NULL,NULL,NULL,NULL),(3434,NULL,3434,3427,NULL,NULL,NULL,NULL),(3435,NULL,3435,3428,NULL,NULL,NULL,NULL),(3436,NULL,3436,3429,NULL,NULL,NULL,NULL),(3437,NULL,3437,3430,NULL,NULL,NULL,NULL),(3438,NULL,3438,3431,NULL,NULL,NULL,NULL),(3439,NULL,3439,3432,NULL,NULL,NULL,NULL),(3440,NULL,3440,3433,NULL,NULL,NULL,NULL),(3441,NULL,3441,3434,NULL,NULL,NULL,NULL),(3442,NULL,3442,3435,NULL,NULL,NULL,NULL),(3443,NULL,3443,3436,NULL,NULL,NULL,NULL),(3444,NULL,3444,3437,NULL,NULL,NULL,NULL),(3445,NULL,3445,3438,NULL,NULL,NULL,NULL),(3446,NULL,3446,3439,NULL,NULL,NULL,NULL),(3447,NULL,3447,3440,NULL,NULL,NULL,NULL),(3448,NULL,3448,3441,NULL,NULL,NULL,NULL),(3449,NULL,3449,3442,NULL,NULL,NULL,NULL),(3450,NULL,3450,3443,NULL,NULL,NULL,NULL),(3451,NULL,3451,3444,NULL,NULL,NULL,NULL),(3452,NULL,3452,3445,NULL,NULL,NULL,NULL),(3453,NULL,3453,3446,NULL,NULL,NULL,NULL),(3454,NULL,3454,3447,NULL,NULL,NULL,NULL),(3455,NULL,3455,3448,NULL,NULL,NULL,NULL),(3456,NULL,3456,3449,NULL,NULL,NULL,NULL),(3457,NULL,3457,3450,NULL,NULL,NULL,NULL),(3458,NULL,3458,3451,NULL,NULL,NULL,NULL),(3459,NULL,3459,3452,NULL,NULL,NULL,NULL),(3460,NULL,3460,3453,NULL,NULL,NULL,NULL),(3461,NULL,3461,3454,NULL,NULL,NULL,NULL),(3462,NULL,3462,3455,NULL,NULL,NULL,NULL),(3463,NULL,3463,3456,NULL,NULL,NULL,NULL),(3464,NULL,3464,3457,NULL,NULL,NULL,NULL),(3465,NULL,3465,3458,NULL,NULL,NULL,NULL),(3466,NULL,3466,3459,NULL,NULL,NULL,NULL),(3467,NULL,3467,3460,NULL,NULL,NULL,NULL),(3468,NULL,3468,3461,NULL,NULL,NULL,NULL),(3469,NULL,3469,3462,NULL,NULL,NULL,NULL),(3470,NULL,3470,3463,NULL,NULL,NULL,NULL),(3471,NULL,3471,3464,NULL,NULL,NULL,NULL),(3472,NULL,3472,3465,NULL,NULL,NULL,NULL),(3473,NULL,3473,3466,NULL,NULL,NULL,NULL),(3474,NULL,3474,3467,NULL,NULL,NULL,NULL),(3475,NULL,3475,3468,NULL,NULL,NULL,NULL),(3476,NULL,3476,3469,NULL,NULL,NULL,NULL),(3477,NULL,3477,3470,NULL,NULL,NULL,NULL),(3478,NULL,3478,3471,NULL,NULL,NULL,NULL),(3479,NULL,3479,3472,NULL,NULL,NULL,NULL),(3480,NULL,3480,3473,NULL,NULL,NULL,NULL),(3481,NULL,3481,3474,NULL,NULL,NULL,NULL),(3482,NULL,3482,3475,NULL,NULL,NULL,NULL),(3483,NULL,3483,3476,NULL,NULL,NULL,NULL),(3484,NULL,3484,3477,NULL,NULL,NULL,NULL),(3485,NULL,3485,3478,NULL,NULL,NULL,NULL),(3486,NULL,3486,3479,NULL,NULL,NULL,NULL),(3487,NULL,3487,3480,NULL,NULL,NULL,NULL),(3488,NULL,3488,3481,NULL,NULL,NULL,NULL),(3489,NULL,3489,3482,NULL,NULL,NULL,NULL),(3490,NULL,3490,3483,NULL,NULL,NULL,NULL),(3491,NULL,3491,3484,NULL,NULL,NULL,NULL),(3492,NULL,3492,3485,NULL,NULL,NULL,NULL),(3493,NULL,3493,3486,NULL,NULL,NULL,NULL),(3494,NULL,3494,3487,NULL,NULL,NULL,NULL),(3495,NULL,3495,3488,NULL,NULL,NULL,NULL),(3496,NULL,3496,3489,NULL,NULL,NULL,NULL),(3497,NULL,3497,3490,NULL,NULL,NULL,NULL),(3498,NULL,3498,3491,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3499,NULL,3499,3492,NULL,NULL,NULL,NULL),(3500,NULL,3500,3493,NULL,NULL,NULL,NULL),(3501,NULL,3501,3494,NULL,NULL,NULL,NULL),(3502,NULL,3502,3495,NULL,NULL,NULL,NULL),(3503,NULL,3503,3496,NULL,NULL,NULL,NULL),(3504,NULL,3504,3497,NULL,NULL,NULL,NULL),(3505,NULL,3505,3498,NULL,NULL,NULL,NULL),(3506,NULL,3506,3499,NULL,NULL,NULL,NULL),(3507,NULL,3507,3500,NULL,NULL,NULL,NULL),(3508,NULL,3508,3501,NULL,NULL,NULL,NULL),(3509,NULL,3509,3502,NULL,NULL,NULL,NULL),(3510,NULL,3510,3503,NULL,NULL,NULL,NULL),(3511,NULL,3511,3504,NULL,NULL,NULL,NULL),(3512,NULL,3512,3505,NULL,NULL,NULL,NULL),(3513,NULL,3513,3506,NULL,NULL,NULL,NULL),(3514,NULL,3514,3507,NULL,NULL,NULL,NULL),(3515,NULL,3515,3508,NULL,NULL,NULL,NULL),(3516,NULL,3516,3509,NULL,NULL,NULL,NULL),(3517,NULL,3517,3510,NULL,NULL,NULL,NULL),(3518,NULL,3518,3511,NULL,NULL,NULL,NULL),(3519,NULL,3519,3512,NULL,NULL,NULL,NULL),(3520,NULL,3520,3513,NULL,NULL,NULL,NULL),(3521,NULL,3521,3514,NULL,NULL,NULL,NULL),(3522,NULL,3522,3515,NULL,NULL,NULL,NULL),(3523,NULL,3523,3516,NULL,NULL,NULL,NULL),(3524,NULL,3524,3517,NULL,NULL,NULL,NULL),(3525,NULL,3525,3518,NULL,NULL,NULL,NULL),(3526,NULL,3526,3519,NULL,NULL,NULL,NULL),(3527,NULL,3527,3520,NULL,NULL,NULL,NULL),(3528,NULL,3528,3521,NULL,NULL,NULL,NULL),(3529,NULL,3529,3522,NULL,NULL,NULL,NULL),(3530,NULL,3530,3523,NULL,NULL,NULL,NULL),(3531,NULL,3531,3524,NULL,NULL,NULL,NULL),(3532,NULL,3532,3525,NULL,NULL,NULL,NULL),(3533,NULL,3533,3526,NULL,NULL,NULL,NULL),(3534,NULL,3534,3527,NULL,NULL,NULL,NULL),(3535,NULL,3535,3528,NULL,NULL,NULL,NULL),(3536,NULL,3536,3529,NULL,NULL,NULL,NULL),(3537,NULL,3537,3530,NULL,NULL,NULL,NULL),(3538,NULL,3538,3531,NULL,NULL,NULL,NULL),(3539,NULL,3539,3532,NULL,NULL,NULL,NULL),(3540,NULL,3540,3533,NULL,NULL,NULL,NULL),(3541,NULL,3541,3534,NULL,NULL,NULL,NULL),(3542,NULL,3542,3535,NULL,NULL,NULL,NULL),(3543,NULL,3543,3536,NULL,NULL,NULL,NULL),(3544,NULL,3544,3537,NULL,NULL,NULL,NULL),(3545,NULL,3545,3538,NULL,NULL,NULL,NULL),(3546,NULL,3546,3539,NULL,NULL,NULL,NULL),(3547,NULL,3547,3540,NULL,NULL,NULL,NULL),(3548,NULL,3548,3541,NULL,NULL,NULL,NULL),(3549,NULL,3549,3542,NULL,NULL,NULL,NULL),(3557,NULL,3557,3548,NULL,NULL,NULL,NULL),(3558,NULL,3558,3549,NULL,NULL,NULL,NULL),(3559,NULL,3559,3550,NULL,NULL,NULL,NULL),(3560,NULL,3560,3551,NULL,NULL,NULL,NULL),(3561,NULL,3561,3552,NULL,NULL,NULL,NULL),(3562,NULL,3562,3553,NULL,NULL,NULL,NULL),(3563,NULL,3563,3554,NULL,NULL,NULL,NULL),(3564,NULL,3564,3555,NULL,NULL,NULL,NULL),(3565,NULL,3565,3556,NULL,NULL,NULL,NULL),(3566,NULL,3566,3557,NULL,NULL,NULL,NULL),(3567,NULL,3567,3558,NULL,NULL,NULL,NULL),(3568,NULL,3568,3559,NULL,NULL,NULL,NULL),(3569,NULL,3569,3560,NULL,NULL,NULL,NULL),(3570,NULL,3570,3561,NULL,NULL,NULL,NULL),(3571,NULL,3571,3562,NULL,NULL,NULL,NULL),(3572,NULL,3572,3499,NULL,NULL,NULL,NULL),(3573,NULL,3573,3501,NULL,NULL,NULL,NULL),(3574,NULL,3574,3497,NULL,NULL,NULL,NULL),(3575,NULL,3575,3500,NULL,NULL,NULL,NULL),(3576,NULL,3576,3562,NULL,NULL,NULL,NULL),(3579,NULL,3579,3565,NULL,NULL,NULL,NULL),(3580,NULL,3580,3566,NULL,NULL,NULL,NULL),(3581,NULL,3581,3567,NULL,NULL,NULL,NULL),(3582,NULL,3582,3568,NULL,NULL,NULL,NULL),(3583,NULL,3583,3569,NULL,NULL,NULL,NULL),(3584,NULL,3584,3570,NULL,NULL,NULL,NULL),(3585,NULL,3585,3571,NULL,NULL,NULL,NULL),(3586,NULL,3586,3572,NULL,NULL,NULL,NULL),(3587,NULL,3587,3573,NULL,NULL,NULL,NULL),(3588,NULL,3588,3574,NULL,NULL,NULL,NULL),(3589,NULL,3589,3575,NULL,NULL,NULL,NULL),(3590,NULL,3590,3576,NULL,NULL,NULL,NULL),(3591,NULL,3591,3577,NULL,NULL,NULL,NULL),(3592,NULL,3592,3578,NULL,NULL,NULL,NULL),(3593,NULL,3593,3579,NULL,NULL,NULL,NULL),(3594,NULL,3594,3580,NULL,NULL,NULL,NULL),(3595,NULL,3595,3581,NULL,NULL,NULL,NULL),(3596,NULL,3596,3582,NULL,NULL,NULL,NULL),(3597,NULL,3597,3583,NULL,NULL,NULL,NULL),(3598,NULL,3598,3584,NULL,NULL,NULL,NULL),(3599,NULL,3599,3585,NULL,NULL,NULL,NULL),(3600,NULL,3600,3586,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3601,NULL,3601,3587,NULL,NULL,NULL,NULL),(3602,NULL,3602,3588,NULL,NULL,NULL,NULL),(3603,NULL,3603,3589,NULL,NULL,NULL,NULL),(3604,NULL,3604,3590,NULL,NULL,NULL,NULL),(3605,NULL,3605,3591,NULL,NULL,NULL,NULL),(3606,NULL,3606,3592,NULL,NULL,NULL,NULL),(3607,NULL,3607,3593,NULL,NULL,NULL,NULL),(3608,NULL,3608,3594,NULL,NULL,NULL,NULL),(3609,NULL,3609,3595,NULL,NULL,NULL,NULL),(3610,NULL,3610,3596,NULL,NULL,NULL,NULL),(3611,NULL,3611,3597,NULL,NULL,NULL,NULL),(3612,NULL,3612,3598,NULL,NULL,NULL,NULL),(3613,NULL,3613,3599,NULL,NULL,NULL,NULL),(3614,NULL,3614,3600,NULL,NULL,NULL,NULL),(3615,NULL,3615,3601,NULL,NULL,NULL,NULL),(3616,NULL,3616,3602,NULL,NULL,NULL,NULL),(3617,NULL,3617,3603,NULL,NULL,NULL,NULL),(3618,NULL,3618,3604,NULL,NULL,NULL,NULL),(3619,NULL,3619,3605,NULL,NULL,NULL,NULL),(3620,NULL,3620,3606,NULL,NULL,NULL,NULL),(3621,NULL,3621,3607,NULL,NULL,NULL,NULL),(3622,NULL,3622,3608,NULL,NULL,NULL,NULL),(3623,NULL,3623,3609,NULL,NULL,NULL,NULL),(3624,NULL,3624,3610,NULL,NULL,NULL,NULL),(3625,NULL,3625,3611,NULL,NULL,NULL,NULL),(3626,NULL,3626,3612,NULL,NULL,NULL,NULL),(3627,NULL,3627,3613,NULL,NULL,NULL,NULL),(3628,NULL,3628,3614,NULL,NULL,NULL,NULL),(3629,NULL,3629,3615,NULL,NULL,NULL,NULL),(3630,NULL,3630,3616,NULL,NULL,NULL,NULL),(3631,NULL,3631,3617,NULL,NULL,NULL,NULL),(3632,NULL,3632,3618,NULL,NULL,NULL,NULL),(3633,NULL,3633,3619,NULL,NULL,NULL,NULL),(3634,NULL,3634,3620,NULL,NULL,NULL,NULL),(3635,NULL,3635,3621,NULL,NULL,NULL,NULL),(3636,NULL,3636,3622,NULL,NULL,NULL,NULL),(3637,NULL,3637,3623,NULL,NULL,NULL,NULL),(3638,NULL,3638,3624,NULL,NULL,NULL,NULL),(3639,NULL,3639,3625,NULL,NULL,NULL,NULL),(3640,NULL,3640,3626,NULL,NULL,NULL,NULL),(3641,NULL,3641,3627,NULL,NULL,NULL,NULL),(3642,NULL,3642,3628,NULL,NULL,NULL,NULL),(3643,NULL,3643,3629,NULL,NULL,NULL,NULL),(3644,NULL,3644,3630,NULL,NULL,NULL,NULL),(3645,NULL,3645,3631,NULL,NULL,NULL,NULL),(3646,NULL,3646,3632,NULL,NULL,NULL,NULL),(3647,NULL,3647,3633,NULL,NULL,NULL,NULL),(3648,NULL,3648,3634,NULL,NULL,NULL,NULL),(3649,NULL,3649,3635,NULL,NULL,NULL,NULL),(3650,NULL,3650,3636,NULL,NULL,NULL,NULL),(3651,NULL,3651,3637,NULL,NULL,NULL,NULL),(3652,NULL,3652,3638,NULL,NULL,NULL,NULL),(3653,NULL,3653,3639,NULL,NULL,NULL,NULL),(3654,NULL,3654,3640,NULL,NULL,NULL,NULL),(3655,NULL,3655,3641,NULL,NULL,NULL,NULL),(3656,NULL,3656,3642,NULL,NULL,NULL,NULL),(3657,NULL,3657,3643,NULL,NULL,NULL,NULL),(3658,NULL,3658,3644,NULL,NULL,NULL,NULL),(3659,NULL,3659,3645,NULL,NULL,NULL,NULL),(3660,NULL,3660,3646,NULL,NULL,NULL,NULL),(3661,NULL,3661,3647,NULL,NULL,NULL,NULL),(3662,NULL,3662,3648,NULL,NULL,NULL,NULL),(3663,NULL,3663,3649,NULL,NULL,NULL,NULL),(3664,NULL,3664,3650,NULL,NULL,NULL,NULL),(3665,NULL,3665,3651,NULL,NULL,NULL,NULL),(3666,NULL,3666,3652,NULL,NULL,NULL,NULL),(3667,NULL,3667,3653,NULL,NULL,NULL,NULL),(3668,NULL,3668,3654,NULL,NULL,NULL,NULL),(3669,NULL,3669,3655,NULL,NULL,NULL,NULL),(3670,NULL,3670,3656,NULL,NULL,NULL,NULL),(3671,NULL,3671,3657,NULL,NULL,NULL,NULL),(3672,NULL,3672,3658,NULL,NULL,NULL,NULL),(3673,NULL,3673,3659,NULL,NULL,NULL,NULL),(3674,NULL,3674,3660,NULL,NULL,NULL,NULL),(3675,NULL,3675,3661,NULL,NULL,NULL,NULL),(3676,NULL,3676,3662,NULL,NULL,NULL,NULL),(3677,NULL,3677,3663,NULL,NULL,NULL,NULL),(3678,NULL,3678,3664,NULL,NULL,NULL,NULL),(3679,NULL,3679,3665,NULL,NULL,NULL,NULL),(3680,NULL,3680,3666,NULL,NULL,NULL,NULL),(3681,NULL,3681,3667,NULL,NULL,NULL,NULL),(3682,NULL,3682,3668,NULL,NULL,NULL,NULL),(3683,NULL,3683,3669,NULL,NULL,NULL,NULL),(3684,NULL,3684,3670,NULL,NULL,NULL,NULL),(3685,NULL,3685,3671,NULL,NULL,NULL,NULL),(3686,NULL,3686,3672,NULL,NULL,NULL,NULL),(3687,NULL,3687,3673,NULL,NULL,NULL,NULL),(3688,NULL,3688,3674,NULL,NULL,NULL,NULL),(3689,NULL,3689,3675,NULL,NULL,NULL,NULL),(3690,NULL,3690,3676,NULL,NULL,NULL,NULL),(3691,NULL,3691,3677,NULL,NULL,NULL,NULL),(3692,NULL,3692,3678,NULL,NULL,NULL,NULL),(3693,NULL,3693,3679,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3694,NULL,3694,3680,NULL,NULL,NULL,NULL),(3695,NULL,3695,3681,NULL,NULL,NULL,NULL),(3696,NULL,3696,3682,NULL,NULL,NULL,NULL),(3697,NULL,3697,3683,NULL,NULL,NULL,NULL),(3698,NULL,3698,3684,NULL,NULL,NULL,NULL),(3699,NULL,3699,3685,NULL,NULL,NULL,NULL),(3700,NULL,3700,3686,NULL,NULL,NULL,NULL),(3701,NULL,3701,3687,NULL,NULL,NULL,NULL),(3702,NULL,3702,3688,NULL,NULL,NULL,NULL),(3703,NULL,3703,3689,NULL,NULL,NULL,NULL),(3704,NULL,3704,3690,NULL,NULL,NULL,NULL),(3705,NULL,3705,3691,NULL,NULL,NULL,NULL),(3706,NULL,3706,3692,NULL,NULL,NULL,NULL),(3707,NULL,3707,3693,NULL,NULL,NULL,NULL),(3708,NULL,3708,3694,NULL,NULL,NULL,NULL),(3709,NULL,3709,3695,NULL,NULL,NULL,NULL),(3710,NULL,3710,3696,NULL,NULL,NULL,NULL),(3711,NULL,3711,3697,NULL,NULL,NULL,NULL),(3712,NULL,3712,3698,NULL,NULL,NULL,NULL),(3713,NULL,3713,3699,NULL,NULL,NULL,NULL),(3714,NULL,3714,3700,NULL,NULL,NULL,NULL),(3715,NULL,3715,3701,NULL,NULL,NULL,NULL),(3716,NULL,3716,3702,NULL,NULL,NULL,NULL),(3717,NULL,3717,3703,NULL,NULL,NULL,NULL),(3718,NULL,3718,3704,NULL,NULL,NULL,NULL),(3719,NULL,3719,3705,NULL,NULL,NULL,NULL),(3720,NULL,3720,3706,NULL,NULL,NULL,NULL),(3721,NULL,3721,3707,NULL,NULL,NULL,NULL),(3722,NULL,3722,3708,NULL,NULL,NULL,NULL),(3723,NULL,3723,3709,NULL,NULL,NULL,NULL),(3724,NULL,3724,3710,NULL,NULL,NULL,NULL),(3725,NULL,3725,3711,NULL,NULL,NULL,NULL),(3726,NULL,3726,3712,NULL,NULL,NULL,NULL),(3727,NULL,3727,3713,NULL,NULL,NULL,NULL),(3728,NULL,3728,3714,NULL,NULL,NULL,NULL),(3729,NULL,3729,3715,NULL,NULL,NULL,NULL),(3730,NULL,3730,3716,NULL,NULL,NULL,NULL),(3731,NULL,3731,3717,NULL,NULL,NULL,NULL),(3732,NULL,3732,3718,NULL,NULL,NULL,NULL),(3733,NULL,3733,3719,NULL,NULL,NULL,NULL),(3734,NULL,3734,3720,NULL,NULL,NULL,NULL),(3735,NULL,3735,3721,NULL,NULL,NULL,NULL),(3736,NULL,3736,3722,NULL,NULL,NULL,NULL),(3737,NULL,3737,3723,NULL,NULL,NULL,NULL),(3738,NULL,3738,3724,NULL,NULL,NULL,NULL),(3739,NULL,3739,3725,NULL,NULL,NULL,NULL),(3740,NULL,3740,3726,NULL,NULL,NULL,NULL),(3741,NULL,3741,3727,NULL,NULL,NULL,NULL),(3742,NULL,3742,3728,NULL,NULL,NULL,NULL),(3743,NULL,3743,3729,NULL,NULL,NULL,NULL),(3744,NULL,3744,3730,NULL,NULL,NULL,NULL),(3745,NULL,3745,3731,NULL,NULL,NULL,NULL),(3746,NULL,3746,3732,NULL,NULL,NULL,NULL),(3747,NULL,3747,3733,NULL,NULL,NULL,NULL),(3748,NULL,3748,3734,NULL,NULL,NULL,NULL),(3749,NULL,3749,3735,NULL,NULL,NULL,NULL),(3750,NULL,3750,3736,NULL,NULL,NULL,NULL),(3751,NULL,3751,3737,NULL,NULL,NULL,NULL),(3752,NULL,3752,3738,NULL,NULL,NULL,NULL),(3753,NULL,3753,3739,NULL,NULL,NULL,NULL),(3754,NULL,3754,3740,NULL,NULL,NULL,NULL),(3755,NULL,3755,3741,NULL,NULL,NULL,NULL),(3756,NULL,3756,3742,NULL,NULL,NULL,NULL),(3757,NULL,3757,3743,NULL,NULL,NULL,NULL),(3758,NULL,3758,3744,NULL,NULL,NULL,NULL),(3759,NULL,3759,3745,NULL,NULL,NULL,NULL),(3760,NULL,3760,3746,NULL,NULL,NULL,NULL),(3761,NULL,3761,3747,NULL,NULL,NULL,NULL),(3762,NULL,3762,3748,NULL,NULL,NULL,NULL),(3763,NULL,3763,3749,NULL,NULL,NULL,NULL),(3764,NULL,3764,3750,NULL,NULL,NULL,NULL),(3765,NULL,3765,3751,NULL,NULL,NULL,NULL),(3766,NULL,3766,3752,NULL,NULL,NULL,NULL),(3767,NULL,3767,3753,NULL,NULL,NULL,NULL),(3768,NULL,3768,3754,NULL,NULL,NULL,NULL),(3769,NULL,3769,3755,NULL,NULL,NULL,NULL),(3770,NULL,3770,3756,NULL,NULL,NULL,NULL),(3771,NULL,3771,3757,NULL,NULL,NULL,NULL),(3772,NULL,3772,3758,NULL,NULL,NULL,NULL),(3773,NULL,3773,3759,NULL,NULL,NULL,NULL),(3774,NULL,3774,3760,NULL,NULL,NULL,NULL),(3775,NULL,3775,3761,NULL,NULL,NULL,NULL),(3776,NULL,3776,3762,NULL,NULL,NULL,NULL),(3777,NULL,3777,3763,NULL,NULL,NULL,NULL),(3778,NULL,3778,3764,NULL,NULL,NULL,NULL),(3779,NULL,3779,3765,NULL,NULL,NULL,NULL),(3780,NULL,3780,3766,NULL,NULL,NULL,NULL),(3781,NULL,3781,3767,NULL,NULL,NULL,NULL),(3782,NULL,3782,3768,NULL,NULL,NULL,NULL),(3783,NULL,3783,3769,NULL,NULL,NULL,NULL),(3784,NULL,3784,3770,NULL,NULL,NULL,NULL),(3785,NULL,3785,3771,NULL,NULL,NULL,NULL),(3786,NULL,3786,3772,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3787,NULL,3787,3773,NULL,NULL,NULL,NULL),(3788,NULL,3788,3774,NULL,NULL,NULL,NULL),(3789,NULL,3789,3775,NULL,NULL,NULL,NULL),(3790,NULL,3790,3776,NULL,NULL,NULL,NULL),(3791,NULL,3791,3777,NULL,NULL,NULL,NULL),(3792,NULL,3792,3778,NULL,NULL,NULL,NULL),(3793,NULL,3793,3779,NULL,NULL,NULL,NULL),(3794,NULL,3794,3780,NULL,NULL,NULL,NULL),(3795,NULL,3795,3781,NULL,NULL,NULL,NULL),(3796,NULL,3796,3782,NULL,NULL,NULL,NULL),(3797,NULL,3797,3783,NULL,NULL,NULL,NULL),(3798,NULL,3798,3784,NULL,NULL,NULL,NULL),(3799,NULL,3799,3785,NULL,NULL,NULL,NULL),(3800,NULL,3800,3786,NULL,NULL,NULL,NULL),(3801,NULL,3801,3787,NULL,NULL,NULL,NULL),(3802,NULL,3802,3788,NULL,NULL,NULL,NULL),(3803,NULL,3803,3789,NULL,NULL,NULL,NULL),(3810,NULL,3810,3796,NULL,NULL,NULL,NULL),(3811,NULL,3811,3797,NULL,NULL,NULL,NULL),(3812,NULL,3812,3798,NULL,NULL,NULL,NULL),(3813,NULL,3813,3799,NULL,NULL,NULL,NULL),(3814,NULL,3827,3813,NULL,NULL,NULL,NULL),(3815,NULL,3828,3814,NULL,NULL,NULL,NULL),(3816,NULL,3829,3815,NULL,NULL,NULL,NULL),(3817,NULL,3830,3816,NULL,NULL,NULL,NULL),(3818,NULL,3831,3817,NULL,NULL,NULL,NULL),(3819,NULL,3832,3818,NULL,NULL,NULL,NULL),(3820,NULL,3833,3819,NULL,NULL,NULL,NULL),(3821,NULL,3834,3820,NULL,NULL,NULL,NULL),(3822,NULL,3835,3821,NULL,NULL,NULL,NULL),(3823,NULL,3836,3822,NULL,NULL,NULL,NULL),(3824,NULL,3837,3823,NULL,NULL,NULL,NULL),(3825,NULL,3838,3824,NULL,NULL,NULL,NULL),(3826,NULL,3839,3825,NULL,NULL,NULL,NULL),(3827,NULL,3840,3826,NULL,NULL,NULL,NULL),(3828,NULL,3841,3827,NULL,NULL,NULL,NULL),(3829,NULL,3842,3828,NULL,NULL,NULL,NULL),(3830,NULL,3843,3829,NULL,NULL,NULL,NULL),(3831,NULL,3844,3830,NULL,NULL,NULL,NULL),(3832,NULL,3845,3831,NULL,NULL,NULL,NULL),(3833,NULL,3846,3830,NULL,NULL,NULL,NULL),(3834,NULL,3847,3832,NULL,NULL,NULL,NULL),(3835,NULL,3848,3833,NULL,NULL,NULL,NULL),(3836,NULL,3849,3834,NULL,NULL,NULL,NULL),(3837,NULL,3850,3835,NULL,NULL,NULL,NULL),(3838,NULL,3851,3836,NULL,NULL,NULL,NULL),(3839,NULL,3852,3837,NULL,NULL,NULL,NULL),(3840,NULL,3853,3838,NULL,NULL,NULL,NULL),(3841,NULL,3854,3839,NULL,NULL,NULL,NULL),(3842,NULL,3855,3840,NULL,NULL,NULL,NULL),(3845,NULL,3858,3843,NULL,NULL,NULL,NULL),(3846,NULL,3859,3844,NULL,NULL,NULL,NULL),(3847,NULL,3860,3845,NULL,NULL,NULL,NULL),(3848,NULL,3861,3846,NULL,NULL,NULL,NULL),(3849,NULL,3862,3847,NULL,NULL,NULL,NULL),(3850,NULL,3863,3848,NULL,NULL,NULL,NULL),(3851,NULL,3864,3849,NULL,NULL,NULL,NULL),(3852,NULL,3865,3850,NULL,NULL,NULL,NULL),(3853,NULL,3866,3851,NULL,NULL,NULL,NULL),(3854,NULL,3867,3852,NULL,NULL,NULL,NULL),(3855,NULL,3868,3853,NULL,NULL,NULL,NULL),(3856,NULL,3869,3854,NULL,NULL,NULL,NULL),(3857,NULL,3870,3855,NULL,NULL,NULL,NULL),(3858,NULL,3871,3856,NULL,NULL,NULL,NULL),(3859,NULL,3872,3857,NULL,NULL,NULL,NULL),(3860,NULL,3873,3858,NULL,NULL,NULL,NULL),(3861,NULL,3874,3859,NULL,NULL,NULL,NULL),(3862,NULL,3875,3860,NULL,NULL,NULL,NULL),(3863,NULL,3876,3861,NULL,NULL,NULL,NULL),(3864,NULL,3877,3862,NULL,NULL,NULL,NULL),(3865,NULL,3878,3863,NULL,NULL,NULL,NULL),(3866,NULL,3879,3864,NULL,NULL,NULL,NULL),(3867,NULL,3880,3865,NULL,NULL,NULL,NULL),(3868,NULL,3881,3866,NULL,NULL,NULL,NULL),(3869,NULL,3882,3867,NULL,NULL,NULL,NULL),(3870,NULL,3883,3868,NULL,NULL,NULL,NULL),(3871,NULL,3884,3869,NULL,NULL,NULL,NULL),(3872,NULL,3885,3870,NULL,NULL,NULL,NULL),(3873,NULL,3886,3871,NULL,NULL,NULL,NULL),(3874,NULL,3887,3872,NULL,NULL,NULL,NULL),(3875,NULL,3888,3873,NULL,NULL,NULL,NULL),(3876,NULL,3889,3874,NULL,NULL,NULL,NULL),(3877,NULL,3890,3875,NULL,NULL,NULL,NULL),(3878,NULL,3891,3876,NULL,NULL,NULL,NULL),(3879,NULL,3892,3877,NULL,NULL,NULL,NULL),(3880,NULL,3893,3878,NULL,NULL,NULL,NULL),(3881,NULL,3894,3879,NULL,NULL,NULL,NULL),(3882,NULL,3895,3880,NULL,NULL,NULL,NULL),(3883,NULL,3896,3881,NULL,NULL,NULL,NULL),(3884,NULL,3897,3882,NULL,NULL,NULL,NULL),(3885,NULL,3898,3883,NULL,NULL,NULL,NULL),(3886,NULL,3899,3884,NULL,NULL,NULL,NULL),(3887,NULL,3900,3885,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3888,NULL,3901,3886,NULL,NULL,NULL,NULL),(3889,NULL,3902,3887,NULL,NULL,NULL,NULL),(3890,NULL,3903,3888,NULL,NULL,NULL,NULL),(3891,NULL,3904,3889,NULL,NULL,NULL,NULL),(3892,NULL,3905,3890,NULL,NULL,NULL,NULL),(3893,NULL,3906,3891,NULL,NULL,NULL,NULL),(3894,NULL,3907,3892,NULL,NULL,NULL,NULL),(3895,NULL,3908,3893,NULL,NULL,NULL,NULL),(3896,NULL,3909,3894,NULL,NULL,NULL,NULL),(3897,NULL,3910,3895,NULL,NULL,NULL,NULL),(3898,NULL,3911,3896,NULL,NULL,NULL,NULL),(3899,NULL,3912,3897,NULL,NULL,NULL,NULL),(3900,NULL,3913,3898,NULL,NULL,NULL,NULL),(3901,NULL,3914,3899,NULL,NULL,NULL,NULL),(3902,NULL,3915,3900,NULL,NULL,NULL,NULL),(3903,NULL,3916,3901,NULL,NULL,NULL,NULL),(3904,NULL,3917,3902,NULL,NULL,NULL,NULL),(3905,NULL,3918,3903,NULL,NULL,NULL,NULL),(3906,NULL,3919,3904,NULL,NULL,NULL,NULL),(3907,NULL,3920,3905,NULL,NULL,NULL,NULL),(3908,NULL,3921,3906,NULL,NULL,NULL,NULL),(3909,NULL,3922,3907,NULL,NULL,NULL,NULL),(3910,NULL,3923,3908,NULL,NULL,NULL,NULL),(3911,NULL,3924,3909,NULL,NULL,NULL,NULL),(3912,NULL,3925,3910,NULL,NULL,NULL,NULL),(3913,NULL,3926,3911,NULL,NULL,NULL,NULL),(3914,NULL,3927,3912,NULL,NULL,NULL,NULL),(3915,NULL,3928,3913,NULL,NULL,NULL,NULL),(3916,NULL,3929,3914,NULL,NULL,NULL,NULL),(3917,NULL,3930,3915,NULL,NULL,NULL,NULL),(3918,NULL,3931,3916,NULL,NULL,NULL,NULL),(3919,NULL,3932,3917,NULL,NULL,NULL,NULL),(3920,NULL,3933,3918,NULL,NULL,NULL,NULL),(3921,NULL,3934,3919,NULL,NULL,NULL,NULL),(3922,NULL,3935,3920,NULL,NULL,NULL,NULL),(3923,NULL,3936,3921,NULL,NULL,NULL,NULL),(3924,NULL,3937,3922,NULL,NULL,NULL,NULL),(3925,NULL,3938,3923,NULL,NULL,NULL,NULL),(3926,NULL,3939,3924,NULL,NULL,NULL,NULL),(3927,NULL,3940,3925,NULL,NULL,NULL,NULL),(3928,NULL,3941,3926,NULL,NULL,NULL,NULL),(3929,NULL,3942,3927,NULL,NULL,NULL,NULL),(3930,NULL,3943,3928,NULL,NULL,NULL,NULL),(3931,NULL,3944,3929,NULL,NULL,NULL,NULL),(3932,NULL,3945,3930,NULL,NULL,NULL,NULL),(3933,NULL,3946,3931,NULL,NULL,NULL,NULL),(3934,NULL,3947,3932,NULL,NULL,NULL,NULL),(3935,NULL,3948,3933,NULL,NULL,NULL,NULL),(3936,NULL,3949,3934,NULL,NULL,NULL,NULL),(3937,NULL,3950,3935,NULL,NULL,NULL,NULL),(3938,NULL,3951,3936,NULL,NULL,NULL,NULL),(3939,NULL,3952,3937,NULL,NULL,NULL,NULL),(3940,NULL,3953,3938,NULL,NULL,NULL,NULL),(3941,NULL,3954,3939,NULL,NULL,NULL,NULL),(3942,NULL,3955,3940,NULL,NULL,NULL,NULL),(3943,NULL,3956,3941,NULL,NULL,NULL,NULL),(3944,NULL,3957,3942,NULL,NULL,NULL,NULL),(3945,NULL,3958,3943,NULL,NULL,NULL,NULL),(3946,NULL,3959,3944,NULL,NULL,NULL,NULL),(3947,NULL,3960,3945,NULL,NULL,NULL,NULL),(3948,NULL,3961,3946,NULL,NULL,NULL,NULL),(3949,NULL,3962,3947,NULL,NULL,NULL,NULL),(3950,NULL,3963,3948,NULL,NULL,NULL,NULL),(3951,NULL,3964,3949,NULL,NULL,NULL,NULL),(3952,NULL,3965,3950,NULL,NULL,NULL,NULL),(3953,NULL,3966,3951,NULL,NULL,NULL,NULL),(3954,NULL,3967,3952,NULL,NULL,NULL,NULL),(3955,NULL,3968,3953,NULL,NULL,NULL,NULL),(3956,NULL,3969,3954,NULL,NULL,NULL,NULL),(3957,NULL,3970,3955,NULL,NULL,NULL,NULL),(3958,NULL,3971,3956,NULL,NULL,NULL,NULL),(3959,NULL,3972,3957,NULL,NULL,NULL,NULL),(3960,NULL,3973,3958,NULL,NULL,NULL,NULL),(3961,NULL,3974,3959,NULL,NULL,NULL,NULL),(3962,NULL,3975,3960,NULL,NULL,NULL,NULL),(3963,NULL,3976,3961,NULL,NULL,NULL,NULL),(3964,NULL,3977,3962,NULL,NULL,NULL,NULL),(3965,NULL,3978,3963,NULL,NULL,NULL,NULL),(3966,NULL,3979,3964,NULL,NULL,NULL,NULL),(3967,NULL,3980,3965,NULL,NULL,NULL,NULL),(3968,NULL,3981,3966,NULL,NULL,NULL,NULL),(3969,NULL,3982,3967,NULL,NULL,NULL,NULL),(3970,NULL,3983,3968,NULL,NULL,NULL,NULL),(3971,NULL,3984,3969,NULL,NULL,NULL,NULL),(3972,NULL,3985,3970,NULL,NULL,NULL,NULL),(3973,NULL,3986,3971,NULL,NULL,NULL,NULL),(3974,NULL,3987,3972,NULL,NULL,NULL,NULL),(3975,NULL,3988,3973,NULL,NULL,NULL,NULL),(3976,NULL,3989,3974,NULL,NULL,NULL,NULL),(3977,NULL,3990,3975,NULL,NULL,NULL,NULL),(3978,NULL,3991,3976,NULL,NULL,NULL,NULL),(3979,NULL,3992,3977,NULL,NULL,NULL,NULL),(3980,NULL,3993,3978,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (3981,NULL,3994,3979,NULL,NULL,NULL,NULL),(3982,NULL,3995,3980,NULL,NULL,NULL,NULL),(3983,NULL,3996,3981,NULL,NULL,NULL,NULL),(3984,NULL,3997,3982,NULL,NULL,NULL,NULL),(3985,NULL,3998,3983,NULL,NULL,NULL,NULL),(3986,NULL,3999,3984,NULL,NULL,NULL,NULL),(3987,NULL,4000,3985,NULL,NULL,NULL,NULL),(3988,NULL,4001,3986,NULL,NULL,NULL,NULL),(3989,NULL,4002,3987,NULL,NULL,NULL,NULL),(3990,NULL,4003,3988,NULL,NULL,NULL,NULL),(3991,NULL,4004,3989,NULL,NULL,NULL,NULL),(3992,NULL,4005,3990,NULL,NULL,NULL,NULL),(3993,NULL,4006,3991,NULL,NULL,NULL,NULL),(3994,NULL,4007,3992,NULL,NULL,NULL,NULL),(3995,NULL,4008,3993,NULL,NULL,NULL,NULL),(3996,NULL,4009,3994,NULL,NULL,NULL,NULL),(3997,NULL,4010,3995,NULL,NULL,NULL,NULL),(3998,NULL,4011,3996,NULL,NULL,NULL,NULL),(3999,NULL,4012,3997,NULL,NULL,NULL,NULL),(4000,NULL,4013,3998,NULL,NULL,NULL,NULL),(4001,NULL,4014,3999,NULL,NULL,NULL,NULL),(4002,NULL,4015,4000,NULL,NULL,NULL,NULL),(4003,NULL,4016,4001,NULL,NULL,NULL,NULL),(4004,NULL,4017,4002,NULL,NULL,NULL,NULL),(4005,NULL,4018,4003,NULL,NULL,NULL,NULL),(4006,NULL,4019,4004,NULL,NULL,NULL,NULL),(4007,NULL,4020,4005,NULL,NULL,NULL,NULL),(4008,NULL,4021,4006,NULL,NULL,NULL,NULL),(4009,NULL,4022,4007,NULL,NULL,NULL,NULL),(4010,NULL,4023,4008,NULL,NULL,NULL,NULL),(4011,NULL,4024,4009,NULL,NULL,NULL,NULL),(4012,NULL,4025,4010,NULL,NULL,NULL,NULL),(4013,NULL,4026,4011,NULL,NULL,NULL,NULL),(4014,NULL,4027,4012,NULL,NULL,NULL,NULL),(4015,NULL,4028,4013,NULL,NULL,NULL,NULL),(4016,NULL,4029,4014,NULL,NULL,NULL,NULL),(4017,NULL,4030,4015,NULL,NULL,NULL,NULL),(4018,NULL,4031,4016,NULL,NULL,NULL,NULL),(4019,NULL,4032,4017,NULL,NULL,NULL,NULL),(4020,NULL,4033,4018,NULL,NULL,NULL,NULL),(4021,NULL,4034,4019,NULL,NULL,NULL,NULL),(4022,NULL,4035,4020,NULL,NULL,NULL,NULL),(4023,NULL,4036,4021,NULL,NULL,NULL,NULL),(4024,NULL,4037,4022,NULL,NULL,NULL,NULL),(4025,NULL,4038,4023,NULL,NULL,NULL,NULL),(4026,NULL,4039,4024,NULL,NULL,NULL,NULL),(4027,NULL,4040,4025,NULL,NULL,NULL,NULL),(4028,NULL,4041,4026,NULL,NULL,NULL,NULL),(4029,NULL,4042,4027,NULL,NULL,NULL,NULL),(4030,NULL,4043,4028,NULL,NULL,NULL,NULL),(4031,NULL,4044,4029,NULL,NULL,NULL,NULL),(4032,NULL,4045,4030,NULL,NULL,NULL,NULL),(4033,NULL,4046,4031,NULL,NULL,NULL,NULL),(4034,NULL,4047,4032,NULL,NULL,NULL,NULL),(4035,NULL,4048,4033,NULL,NULL,NULL,NULL),(4036,NULL,4049,4034,NULL,NULL,NULL,NULL),(4037,NULL,4050,4035,NULL,NULL,NULL,NULL),(4038,NULL,4051,4036,NULL,NULL,NULL,NULL),(4039,NULL,4052,4037,NULL,NULL,NULL,NULL),(4040,NULL,4053,4038,NULL,NULL,NULL,NULL),(4041,NULL,4054,4039,NULL,NULL,NULL,NULL),(4042,NULL,4055,4040,NULL,NULL,NULL,NULL),(4043,NULL,4056,4041,NULL,NULL,NULL,NULL),(4044,NULL,4057,4042,NULL,NULL,NULL,NULL),(4045,NULL,4058,4043,NULL,NULL,NULL,NULL),(4046,NULL,4059,4044,NULL,NULL,NULL,NULL),(4047,NULL,4060,4045,NULL,NULL,NULL,NULL),(4048,NULL,4061,4046,NULL,NULL,NULL,NULL),(4049,NULL,4062,4047,NULL,NULL,NULL,NULL),(4050,NULL,4063,4048,NULL,NULL,NULL,NULL),(4051,NULL,4064,4049,NULL,NULL,NULL,NULL),(4052,NULL,4065,4050,NULL,NULL,NULL,NULL),(4053,NULL,4066,4051,NULL,NULL,NULL,NULL),(4054,NULL,4067,4052,NULL,NULL,NULL,NULL),(4055,NULL,4068,4053,NULL,NULL,NULL,NULL),(4056,NULL,4069,4054,NULL,NULL,NULL,NULL),(4057,NULL,4070,4055,NULL,NULL,NULL,NULL),(4058,NULL,4071,4056,NULL,NULL,NULL,NULL),(4059,NULL,4072,4057,NULL,NULL,NULL,NULL),(4060,NULL,4073,4058,NULL,NULL,NULL,NULL),(4061,NULL,4074,4059,NULL,NULL,NULL,NULL),(4062,NULL,4075,4060,NULL,NULL,NULL,NULL),(4063,NULL,4076,4061,NULL,NULL,NULL,NULL),(4064,NULL,4077,4062,NULL,NULL,NULL,NULL),(4065,NULL,4078,4063,NULL,NULL,NULL,NULL),(4066,NULL,4079,4064,NULL,NULL,NULL,NULL),(4067,NULL,4080,4065,NULL,NULL,NULL,NULL),(4068,NULL,4081,4066,NULL,NULL,NULL,NULL),(4069,NULL,4082,4067,NULL,NULL,NULL,NULL),(4070,NULL,4083,4068,NULL,NULL,NULL,NULL),(4071,NULL,4084,4069,NULL,NULL,NULL,NULL),(4072,NULL,4085,4070,NULL,NULL,NULL,NULL),(4073,NULL,4086,4071,NULL,NULL,NULL,NULL);
INSERT INTO `cta_cte_cliente_pivot_receipt` VALUES (4074,NULL,4087,4072,NULL,NULL,NULL,NULL),(4075,NULL,4088,4073,NULL,NULL,NULL,NULL);

--
-- Table structure for table `cta_cte_tesoreria`
--

CREATE TABLE `cta_cte_tesoreria` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `cta_cte_tesoreria_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria`
--

INSERT INTO `cta_cte_tesoreria` VALUES (1,906,40719,NULL,NULL,757,11,'2020-10-15',3250.00,'',NULL,'2020-12-11 00:19:16','2020-12-20 02:03:19','2020-12-20 02:03:19');

--
-- Table structure for table `cta_cte_tesoreria_cuentas`
--

CREATE TABLE `cta_cte_tesoreria_cuentas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cta_cte` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_origen` tinyint(1) NOT NULL DEFAULT '0',
  `tes_cuenta_destino` tinyint(1) NOT NULL DEFAULT '0',
  `conta_asientos` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_cuentas_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_cuentas_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=764 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_cuentas`
--

INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (13,NULL,13,NULL,'Clientes - Deudores',0,0,0,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(20,NULL,20,NULL,'Anticipos Impuesto a las Ganancias',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(23,NULL,23,NULL,'Retenciones Impuesto a las Ganancias',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(25,NULL,25,NULL,'Retenciones de IVA',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(57,NULL,57,NULL,'Proveedores en Cta. Cte. locales',0,0,0,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(60,NULL,60,NULL,'Cheques emitidos ',0,1,1,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(62,NULL,62,NULL,'Sueldos y Jornales a pagar',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(140,NULL,140,NULL,'Intereses y Gastos bancarios',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(162,NULL,162,NULL,'Retenciones SUSS',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(176,NULL,176,NULL,'Cheques en Cartera',1,0,1,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(201,NULL,201,NULL,'Monotributo',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(203,NULL,203,NULL,'Autonomos',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(219,NULL,219,NULL,'Pagos AFIP',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(251,NULL,251,NULL,'Retenciones de IIBB Buenos Aires',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(252,NULL,252,NULL,'Retenciones de IIBB Capital Federal',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(253,NULL,253,NULL,'Retenciones de IIBB Catamarca',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(254,NULL,254,NULL,'Retenciones de IIBB Chaco',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(255,NULL,255,NULL,'Retenciones de IIBB Chubut',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(256,NULL,256,NULL,'Retenciones de IIBB Córdoba',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(257,NULL,257,NULL,'Retenciones de IIBB Corrientes',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(258,NULL,258,NULL,'Retenciones de IIBB Entre Ríos',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(259,NULL,259,NULL,'Retenciones de IIBB Formosa',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(260,NULL,260,NULL,'Retenciones de IIBB Jujuy',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(261,NULL,261,NULL,'Retenciones de IIBB La Pampa',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(262,NULL,262,NULL,'Retenciones de IIBB La Rioja',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(263,NULL,263,NULL,'Retenciones de IIBB Mendoza',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(264,NULL,264,NULL,'Retenciones de IIBB Misiones',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(265,NULL,265,NULL,'Retenciones de IIBB Neuquén',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(266,NULL,266,NULL,'Retenciones de IIBB Pascua Lama',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(267,NULL,267,NULL,'Retenciones de IIBB Río Negro',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(268,NULL,268,NULL,'Retenciones de IIBB Salta',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(269,NULL,269,NULL,'Retenciones de IIBB San Juan',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(270,NULL,270,NULL,'Retenciones de IIBB San Luis',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(271,NULL,271,NULL,'Retenciones de IIBB Santa Cruz',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(272,NULL,272,NULL,'Retenciones de IIBB Santa Fe',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(273,NULL,273,NULL,'Retenciones de IIBB Santiago del Estero',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (274,NULL,274,NULL,'Retenciones de IIBB Tierra del Fuego',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(275,NULL,275,NULL,'Retenciones de IIBB Tucuman',0,0,1,0,0,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(351,NULL,351,NULL,'BANCO SIRCREB',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(359,NULL,359,NULL,'Caja en Pesos',0,0,1,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(360,NULL,360,NULL,'Retenciones Bancarias de Ganancias a Favor',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(364,NULL,364,NULL,'Anticipo de Clientes',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(384,NULL,384,NULL,'Caja en Dolares',0,0,1,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(409,NULL,409,NULL,'IVA Crédito Fiscal No computable',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(418,NULL,418,NULL,'Deudas Bancarias',0,0,0,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(433,NULL,433,NULL,'Préstamo',0,0,0,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(441,NULL,441,NULL,'Leasing',0,0,0,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(448,NULL,448,NULL,'Planes de Pagos AFIP',0,0,0,1,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(450,NULL,450,NULL,'Cheques Rechazados',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(467,NULL,467,NULL,'Interés',0,0,0,0,1,0,'2019-10-19 02:10:24','2019-10-19 02:10:24',NULL),(468,0,14,NULL,'Deudores por ventas comunes',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(469,0,15,NULL,'Deudores por ventas morosos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(470,0,16,NULL,'Deudores en gestión judicial',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(471,0,17,NULL,'Previsión deudores incobrables',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(472,0,22,NULL,'Anticipo Impto.Ganancia Mínima Presunta',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(473,0,24,NULL,'Impuesto a las Ganancias (Saldo a favor)',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(474,0,27,NULL,'Anticipos de proveedores',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(475,0,28,NULL,'Depósito en garantía alquileres',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(476,0,29,NULL,'Derechos adquiridos a devengar',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(477,0,30,NULL,'Intereses a devengar',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(478,0,31,NULL,'Cuentas a rendir - Directores',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(479,0,32,NULL,'Alquileres no devengados',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(480,0,38,NULL,'Equipos de computación valores históricos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(481,0,39,NULL,'Equipos de computación ajuste',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(482,0,40,NULL,'Amortización Acumulada Equipos de comput.',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(483,0,42,NULL,'Instalaciones valores históricos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(484,0,43,NULL,'Instalaciones ajuste',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(485,0,44,NULL,'Amortización Acumulada Instalaciones',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(486,0,46,NULL,'Muebles y utiles valores históricos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(487,0,47,NULL,'Muebles y utiles ajuste',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(488,0,48,NULL,'Amortización Acumulada Muebles y Útiles',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(489,0,50,NULL,'Gastos de organización valores historicos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (490,0,51,NULL,'Gastos de organización ajuste',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(491,0,52,NULL,'Amortización acumulada gs. de organización',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(492,0,58,NULL,'Proveedores en cta. cte. exterior',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(493,0,59,NULL,'Derechos de exhibición a devengar',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(494,0,63,NULL,'Cargas sociales a pagar',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(495,0,64,NULL,'Sindicatos a Pagar',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(496,0,67,NULL,'IVA Debito Fiscal',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(497,0,68,NULL,'IVA Credito Fiscal',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(498,0,69,NULL,'Impuestos Internos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(499,0,70,NULL,'Impuestos al Combustible',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(500,0,71,NULL,'IVA Retenciones de terceros',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(501,0,72,NULL,'IVA Percepciones realiz.por terceros',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(502,0,73,NULL,'IVA Saldo a favor',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(503,0,74,NULL,'IVA a pagar',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(504,0,75,NULL,'Percepciones Ingresos Brutos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(505,0,76,NULL,'Otros Pagos AFIP',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(506,0,78,NULL,'Impuesto a los Ingresos Brutos Pasivo',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(507,0,79,NULL,'Impuesto a las Ganancias',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(508,0,80,NULL,'Impuesto a la Ganancia Mínima Presunta',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(509,0,81,NULL,'AFIP - Retenciones Impuesto a las Ganancias',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(510,0,82,NULL,'AFIP - Plan de Facilidades Decreto 338/02',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(511,0,87,NULL,'Acciones en circulación',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(512,0,88,NULL,'Ajuste del Capital',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(513,0,89,NULL,'Aportes Irrevocables Futuras Suscripciones',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(514,0,91,NULL,'Resultado del ejercicio',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(515,0,92,NULL,'Resultado ejercicios anteriores',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(516,0,93,NULL,'A.R.E.A.',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(517,0,96,NULL,'VENTAS',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(518,0,97,NULL,'Honorarios',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(519,0,99,NULL,'Descuentos obtenidos',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(520,0,100,NULL,'Reintegros por exportaciones',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(521,0,102,NULL,'Intereses Cobrados',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(522,0,103,NULL,'Diferencias de cambio',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(523,0,104,NULL,'Descuentos obtenidos',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(524,0,110,NULL,'Sueldos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(525,0,111,NULL,'Contribuciones',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(526,0,112,NULL,'Sindicato',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(527,0,114,NULL,'ACA',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (528,0,115,NULL,'Aereos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(529,0,116,NULL,'Alquiler',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(530,0,117,NULL,'AGUA AYSA',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(531,0,118,NULL,'TV Cablevision',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(532,0,119,NULL,'Caja Jubilacion Consejo',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(533,0,120,NULL,'Celulares',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(534,0,121,NULL,'Cheques',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(535,0,123,NULL,'Comida',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(536,0,126,NULL,'Fletes y acarreos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(537,0,127,NULL,'Luz Edesur',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(538,0,128,NULL,'Movilidad y Viáticos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(539,0,129,NULL,'Mantenimiento',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(540,0,130,NULL,'IVA No Computable',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(541,0,131,NULL,'Entretenimiento',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(542,0,132,NULL,'Amortización Bienes de Uso',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(543,0,135,NULL,'Gastos varios',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(544,0,136,NULL,'Ajuste por redondeo',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(545,0,137,NULL,'Deudores Incobrables',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(546,0,141,NULL,'Intereses Proveedores',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(547,0,143,NULL,'Diferencias de cambio',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(548,0,144,NULL,'Diferencia de Cambio Bces. en M.Extranjera',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(549,0,145,NULL,'Diferencia tipo cambio Vendedor/Comprador',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(550,0,146,NULL,'Diferencia por conversion en Bce. en Mon. Extranj.',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(551,0,147,NULL,'Diferencia de cambio CMV',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(552,0,148,NULL,'Diferencia de cambio PT',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(553,0,149,NULL,'Resultado por Exposición a la Inflación',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(554,0,150,NULL,'Diferencia de cambio PE',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(555,0,151,NULL,'Diferencia de cambio Ds.Vtas.',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(556,0,152,NULL,'Diferencia de cambio ME',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(557,0,153,NULL,'Descuentos otorgados',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(558,0,155,NULL,'Impuesto a las Ganancias',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(559,0,156,NULL,'Impuesto a los Ingresos Brutos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(560,0,157,NULL,'Impuesto al Debito y Credito Bancario',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(561,0,159,NULL,'Pérdida por venta bienes de uso',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(562,0,160,NULL,'Inversiones',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(563,0,161,NULL,'Amortizaciones extraordinarias',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(564,0,178,NULL,'Google',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(565,0,188,NULL,'Publicidad',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(566,0,191,NULL,'Cargas Sociales',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (567,0,192,NULL,'Honorarios',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(568,0,193,NULL,'Telefono Fijo',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(569,0,198,NULL,'Seguros',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(570,0,199,NULL,'Internet',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(571,0,204,NULL,'Multas Impositivas',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(572,0,208,NULL,'Impuesto a los Ingresos Brutos - BS AS',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(573,0,209,NULL,'SIRCREB',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(574,0,212,NULL,'Tarjeta Visa',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(575,0,213,NULL,'Tarjeta American Express',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(576,0,214,NULL,'Tarjeta Mastercard',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(577,0,215,NULL,'Tarjeta Shopping',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(578,0,216,NULL,'Tarjeta Cencosud',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(579,0,217,NULL,'Compras',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(580,0,218,NULL,'Ventas No Gravadas',0,0,0,0,1,1,'2020-02-06 17:23:07','2020-09-08 13:04:10',NULL),(581,0,220,NULL,'Perc IVA -RG3337',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(582,0,221,NULL,'Imps. Internos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(583,0,222,NULL,'Imp. Gasoil',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(584,0,223,NULL,'Imp. Hídricos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(585,0,224,NULL,'ITC',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(586,0,225,NULL,'Perc IIBB  Buenos Aires',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(587,0,226,NULL,'Perc IIBB  Capital Federal',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(588,0,227,NULL,'Perc IIBB  Catamarca',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(589,0,228,NULL,'Perc IIBB  Chaco',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(590,0,229,NULL,'Perc IIBB  Chubut',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(591,0,230,NULL,'Perc IIBB  Córdoba',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(592,0,231,NULL,'Perc IIBB  Corrientes',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(593,0,232,NULL,'Perc IIBB  Entre Ríos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(594,0,233,NULL,'Perc IIBB  Formosa',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(595,0,234,NULL,'Perc IIBB  Jujuy',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(596,0,235,NULL,'Perc IIBB  La Pampa',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(597,0,236,NULL,'Perc IIBB  La Rioja',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(598,0,237,NULL,'Perc IIBB  Mendoza',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(599,0,238,NULL,'Perc IIBB  Misiones',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(600,0,239,NULL,'Perc IIBB  Neuquén',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(601,0,240,NULL,'Perc IIBB  Pascua Lama',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(602,0,241,NULL,'Perc IIBB  Río Negro',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(603,0,242,NULL,'Perc IIBB  Salta',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(604,0,243,NULL,'Perc IIBB  San Juan',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(605,0,244,NULL,'Perc IIBB  San Luis',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(606,0,245,NULL,'Perc IIBB  Santa Cruz',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (607,0,246,NULL,'Perc IIBB  Santa Fe',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(608,0,247,NULL,'Perc IIBB  Santiago del Estero',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(609,0,248,NULL,'Perc IIBB  Tierra del Fuego',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(610,0,249,NULL,'Perc IIBB  Tucuman',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(611,0,250,NULL,'Compras No Gravadas',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(612,0,276,NULL,'SIRCREB Buenos Aires',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(613,0,277,NULL,'SIRCREB Capital Federal',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(614,0,278,NULL,'SIRCREB Catamarca',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(615,0,279,NULL,'SIRCREB Chaco',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(616,0,280,NULL,'SIRCREB Chubut',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(617,0,281,NULL,'SIRCREB Córdoba',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(618,0,282,NULL,'SIRCREB Corrientes',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(619,0,283,NULL,'SIRCREB Entre Ríos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(620,0,284,NULL,'SIRCREB Formosa',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(621,0,285,NULL,'SIRCREB Jujuy',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(622,0,286,NULL,'SIRCREB La Pampa',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(623,0,287,NULL,'SIRCREB La Rioja',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(624,0,288,NULL,'SIRCREB Mendoza',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(625,0,289,NULL,'SIRCREB Misiones',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(626,0,290,NULL,'SIRCREB Neuquén',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(627,0,291,NULL,'SIRCREB Pascua Lama',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(628,0,292,NULL,'SIRCREB Río Negro',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(629,0,293,NULL,'SIRCREB Salta',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(630,0,294,NULL,'SIRCREB San Juan',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(631,0,295,NULL,'SIRCREB San Luis',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(632,0,296,NULL,'SIRCREB Santa Cruz',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(633,0,297,NULL,'SIRCREB Santa Fe',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(634,0,298,NULL,'SIRCREB Santiago del Estero',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(635,0,299,NULL,'SIRCREB Tierra del Fuego',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(636,0,300,NULL,'SIRCREB Tucuman',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(637,0,301,NULL,'IIBB a Favor Buenos Aires',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(638,0,302,NULL,'IIBB a Favor Capital Federal',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(639,0,303,NULL,'IIBB a Favor Catamarca',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(640,0,304,NULL,'IIBB a Favor Chaco',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(641,0,305,NULL,'IIBB a Favor Chubut',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(642,0,306,NULL,'IIBB a Favor Córdoba',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(643,0,307,NULL,'IIBB a Favor Corrientes',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(644,0,308,NULL,'IIBB a Favor Entre Ríos',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(645,0,309,NULL,'IIBB a Favor Formosa',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(646,0,310,NULL,'IIBB a Favor Jujuy',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (647,0,311,NULL,'IIBB a Favor La Pampa',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(648,0,312,NULL,'IIBB a Favor La Rioja',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(649,0,313,NULL,'IIBB a Favor Mendoza',0,0,0,0,0,1,'2020-02-06 17:23:07','2020-02-06 17:23:07',NULL),(650,0,314,NULL,'IIBB a Favor Misiones',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(651,0,315,NULL,'IIBB a Favor Neuquén',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(652,0,316,NULL,'IIBB a Favor Pascua Lama',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(653,0,317,NULL,'IIBB a Favor Río Negro',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(654,0,318,NULL,'IIBB a Favor Salta',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(655,0,319,NULL,'IIBB a Favor San Juan',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(656,0,320,NULL,'IIBB a Favor San Luis',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(657,0,321,NULL,'IIBB a Favor Santa Cruz',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(658,0,322,NULL,'IIBB a Favor Santa Fe',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(659,0,323,NULL,'IIBB a Favor Santiago del Estero',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(660,0,324,NULL,'IIBB a Favor Tierra del Fuego',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(661,0,325,NULL,'IIBB a Favor Tucuman',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(662,0,326,NULL,'IIBB a Pagar Buenos Aires',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(663,0,327,NULL,'IIBB a Pagar Capital Federal',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(664,0,328,NULL,'IIBB a Pagar Catamarca',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(665,0,329,NULL,'IIBB a Pagar Chaco',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(666,0,330,NULL,'IIBB a Pagar Chubut',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(667,0,331,NULL,'IIBB a Pagar Córdoba',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(668,0,332,NULL,'IIBB a Pagar Corrientes',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(669,0,333,NULL,'IIBB a Pagar Entre Ríos',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(670,0,334,NULL,'IIBB a Pagar Formosa',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(671,0,335,NULL,'IIBB a Pagar Jujuy',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(672,0,336,NULL,'IIBB a Pagar La Pampa',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(673,0,337,NULL,'IIBB a Pagar La Rioja',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(674,0,338,NULL,'IIBB a Pagar Mendoza',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(675,0,339,NULL,'IIBB a Pagar Misiones',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(676,0,340,NULL,'IIBB a Pagar Neuquén',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(677,0,341,NULL,'IIBB a Pagar Pascua Lama',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(678,0,342,NULL,'IIBB a Pagar Río Negro',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(679,0,343,NULL,'IIBB a Pagar Salta',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(680,0,344,NULL,'IIBB a Pagar San Juan',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(681,0,345,NULL,'IIBB a Pagar San Luis',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(682,0,346,NULL,'IIBB a Pagar Santa Cruz',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(683,0,347,NULL,'IIBB a Pagar Santa Fe',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(684,0,348,NULL,'IIBB a Pagar Santiago del Estero',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (685,0,349,NULL,'IIBB a Pagar Tierra del Fuego',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(686,0,350,NULL,'IIBB a Pagar Tucuman',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(687,0,352,NULL,'Compensacion',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(688,0,353,NULL,'IVA Saldo Tecnico',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(689,0,354,NULL,'IVA Saldo Libre Disponibilidad',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(690,0,361,NULL,'Equipos de Computación',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(691,0,362,NULL,'Computadoras',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(692,0,363,NULL,'Muebles y Utiles',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(693,0,365,NULL,'Provision Honorarios',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(694,0,366,NULL,'Cta. Cte Directores',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(695,0,367,NULL,'Provisión Honorarios Directores',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(696,0,368,NULL,'Cuenta Particular Socio 1',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(697,0,369,NULL,'Capital',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(698,0,380,NULL,'Instalaciones',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(699,0,381,NULL,'Reserva Legal',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(700,0,382,NULL,'Reserva Legal',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(701,0,383,NULL,'Resultado no asignado',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(702,0,386,NULL,'PLAZO FIJO',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(703,0,388,NULL,'ACCIONES',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(704,0,389,NULL,'Inmuebles',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(705,0,390,NULL,'Vehiculos',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(706,0,391,NULL,'Maquinarias',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(707,0,392,NULL,'MERCADERIAS',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(708,0,393,NULL,'OTROS',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(709,0,395,NULL,'Cuenta Particular Socio 2',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(710,0,396,NULL,'Comisiones Y gastos Bancarios',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(711,0,411,NULL,'Provisión Impuesto a las Ganancias',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(712,0,412,NULL,'Amortización Muebles y Útiles',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(713,0,413,NULL,'Amortización Equipos',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(714,0,414,NULL,'Amortizacion Acumulada Equipos',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(715,0,415,NULL,'Amortización Acumulada Maquinarias',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(716,0,416,NULL,'Materias Primas',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(717,0,419,NULL,'Rodados',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(718,0,420,NULL,'Amortización Acumulada Rodados',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(719,0,421,NULL,'Amortización Rodados',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(720,0,422,NULL,'Amortización Maquinarias',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(721,0,423,NULL,'Accesorios',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(722,0,424,NULL,'Amortización Acumulada Accesorios',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(723,0,426,NULL,'Reserva Facultativa',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (724,0,427,NULL,'Créditos por Impuestos Diferidos',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(725,0,428,NULL,'Fondo de Comercio',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(726,0,429,NULL,'Amortizacion Acumulada Fondo de Comercio',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(727,0,430,NULL,'Intereses a devengar AGIP',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(728,0,431,NULL,'PFP IIBB',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(729,0,434,NULL,'Productos',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(730,0,435,NULL,'Intereses a devengar PFP',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(731,0,437,NULL,'Imp. Ley 25413 Cred 0.6%',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(732,0,438,NULL,'Honorarios Directorio a Pagar',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(733,0,439,NULL,'Reserva para Futuras Inversiones',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(734,0,440,NULL,'TEAC - Trabajos Ejecutados a Certificar',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(735,0,444,NULL,'Banco Santander Rio Cta Cte',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(736,0,449,NULL,'Leasing',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(737,0,453,NULL,'Inversión Central Caribe',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(738,0,454,NULL,'Otras Inversiones',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(739,0,455,NULL,'Otros Créditos',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(740,0,456,NULL,'Provisión Honorarios Socio Gerente',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(741,0,459,NULL,'Moratoria SUSS a pagar',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(742,0,460,NULL,'Impuestos Municipales a Pagar',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(743,0,461,NULL,'Amortización Instalaciones',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(744,0,462,NULL,'Amortización Equipos de comput.',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(745,0,463,NULL,'Cuenta Particular Socio 3',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(746,0,464,NULL,'Cuenta Particular Socio 4',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(747,0,465,NULL,'Otras Reservas',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(748,0,466,NULL,'IGMP (Saldo a Favor)',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(749,0,468,NULL,'Productos en Proceso',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(750,0,469,NULL,'Depósitos en Garantía Socio Gerente',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(751,0,470,NULL,'Fondos Embargados',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(752,0,471,NULL,'Cuota Solid.',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(753,0,472,NULL,'Anticipo Honorarios Directores',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(754,0,473,NULL,'SICORE a Pagar',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(755,0,476,NULL,'RECPAM',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(756,0,478,NULL,'CO2 - Imp. Al Carbono',0,0,0,0,0,1,'2020-02-06 17:23:08','2020-02-06 17:23:08',NULL),(757,906,359,40719,'Mercadopago Alan',0,0,1,1,1,0,'2020-11-26 23:56:41','2020-11-27 01:50:13',NULL),(758,906,359,40719,'Efectivo Alan',0,0,1,1,1,0,'2020-11-27 01:51:18','2020-11-27 01:51:18',NULL),(759,906,10,40719,'Santander Río - Alan',0,0,1,1,1,0,'2020-12-10 00:02:56','2020-12-10 00:02:56',NULL),(760,906,10,40719,'Santander Río - Cristian',0,0,1,1,1,0,'2020-12-10 00:03:53','2020-12-10 00:03:53',NULL),(761,906,359,40719,'Efectivo Cristian',0,0,1,1,1,0,'2020-12-10 00:04:18','2020-12-10 00:04:18',NULL);
INSERT INTO `cta_cte_tesoreria_cuentas` VALUES (762,906,359,40719,'Mercadopago Cristian',0,0,1,1,1,0,'2020-12-10 00:04:44','2020-12-10 00:05:01',NULL),(763,906,359,41712,'Mercadopago Alan',0,0,1,1,1,0,'2020-12-20 02:35:10','2020-12-20 02:35:10',NULL);

--
-- Table structure for table `cta_cte_tesoreria_detail`
--

CREATE TABLE `cta_cte_tesoreria_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `fecha` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` (`cta_cte_tesoreria_id`),
  KEY `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `cta_cte_tesoreria_detail_person_id_foreign` (`person_id`),
  KEY `cta_cte_tesoreria_detail_period_id_foreign` (`period_id`),
  KEY `cta_cte_tesoreria_detail_saldo_id_foreign` (`saldo_id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_cta_cte_tesoreria_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `cta_cte_tesoreria_detail_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cta_cte_tesoreria_detail`
--


--
-- Table structure for table `ctacte_bancos`
--

CREATE TABLE `ctacte_bancos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigoBCRA` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos`
--

INSERT INTO `ctacte_bancos` VALUES (1,NULL,'BANCO DE GALICIA Y BUENOS AIRES S.A.',7,NULL,NULL,NULL),(2,NULL,'BANCO DE LA NACION ARGENTINA',11,NULL,NULL,NULL),(3,NULL,'BANCO DE LA PROVINCIA DE BUENOS AIRES',14,NULL,NULL,NULL),(4,NULL,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA',15,NULL,NULL,NULL),(5,NULL,'CITIBANK N.A.',16,NULL,NULL,NULL),(6,NULL,'BBVA BANCO FRANCES S.A.',17,NULL,NULL,NULL),(7,NULL,'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD.',18,NULL,NULL,NULL),(8,NULL,'BANCO DE LA PROVINCIA DE CORDOBA S.A.',20,NULL,NULL,NULL),(9,NULL,'BANCO SUPERVIELLE S.A.',27,NULL,NULL,NULL),(10,NULL,'BANCO DE LA CIUDAD DE BUENOS AIRES',29,NULL,NULL,NULL),(11,NULL,'BANCO PATAGONIA S.A.',34,NULL,NULL,NULL),(12,NULL,'BANCO HIPOTECARIO S.A.',44,NULL,NULL,NULL),(13,NULL,'BANCO DE SAN JUAN S.A.',45,NULL,NULL,NULL),(14,NULL,'BANCO DEL TUCUMAN S.A.',60,NULL,NULL,NULL),(15,NULL,'BANCO MUNICIPAL DE ROSARIO',65,NULL,NULL,NULL),(16,NULL,'BANCO SANTANDER RIO S.A.',72,NULL,NULL,NULL),(17,NULL,'BANCO DEL CHUBUT S.A.',83,NULL,NULL,NULL),(18,NULL,'BANCO DE SANTA CRUZ S.A.',86,NULL,NULL,NULL),(19,NULL,'BANCO DE LA PAMPA SOCIEDAD DE ECONOMÍA M',93,NULL,NULL,NULL),(20,NULL,'BANCO DE CORRIENTES S.A.',94,NULL,NULL,NULL),(21,NULL,'BANCO PROVINCIA DEL NEUQUÉN SOCIEDAD ANÓ',97,NULL,NULL,NULL),(22,NULL,'BANCO INTERFINANZAS S.A.',147,NULL,NULL,NULL),(23,NULL,'HSBC BANK ARGENTINA S.A.',150,NULL,NULL,NULL),(24,NULL,'JPMORGAN CHASE BANK, NATIONAL ASSOCIATIO',165,NULL,NULL,NULL),(25,NULL,'BANCO CREDICOOP COOPERATIVO LIMITADO',191,NULL,NULL,NULL),(26,NULL,'BANCO DE VALORES S.A.',198,NULL,NULL,NULL),(27,NULL,'BANCO ROELA S.A.',247,NULL,NULL,NULL),(28,NULL,'BANCO MARIVA S.A.',254,NULL,NULL,NULL),(29,NULL,'BANCO ITAU ARGENTINA S.A.',259,NULL,NULL,NULL),(30,NULL,'BANK OF AMERICA, NATIONAL ASSOCIATION',262,NULL,NULL,NULL),(31,NULL,'BNP PARIBAS',266,NULL,NULL,NULL),(32,NULL,'BANCO PROVINCIA DE TIERRA DEL FUEGO',268,NULL,NULL,NULL),(33,NULL,'BANCO DE LA REPUBLICA ORIENTAL DEL URUGU',269,NULL,NULL,NULL),(34,NULL,'BANCO SAENZ S.A.',277,NULL,NULL,NULL),(35,NULL,'BANCO MERIDIAN S.A.',281,NULL,NULL,NULL),(36,NULL,'BANCO MACRO S.A.',285,NULL,NULL,NULL),(37,NULL,'BANCO COMAFI SOCIEDAD ANONIMA',299,NULL,NULL,NULL),(38,NULL,'BANCO DE INVERSION Y COMERCIO EXTERIOR S',300,NULL,NULL,NULL),(39,NULL,'BANCO PIANO S.A.',301,NULL,NULL,NULL),(40,NULL,'BANCO JULIO SOCIEDAD ANONIMA',305,NULL,NULL,NULL),(41,NULL,'BANCO RIOJA SOCIEDAD ANONIMA UNIPERSONAL',309,NULL,NULL,NULL),(42,NULL,'BANCO DEL SOL S.A.',310,NULL,NULL,NULL),(43,NULL,'NUEVO BANCO DEL CHACO S. A.',311,NULL,NULL,NULL),(44,NULL,'BANCO VOII S.A.',312,NULL,NULL,NULL),(45,NULL,'BANCO DE FORMOSA S.A.',315,NULL,NULL,NULL),(46,NULL,'BANCO CMF S.A.',319,NULL,NULL,NULL),(47,NULL,'BANCO DE SANTIAGO DEL ESTERO S.A.',321,NULL,NULL,NULL),(48,NULL,'BANCO INDUSTRIAL S.A.',322,NULL,NULL,NULL),(49,NULL,'NUEVO BANCO DE SANTA FE SOCIEDAD ANONIMA',330,NULL,NULL,NULL),(50,NULL,'BANCO CETELEM ARGENTINA S.A.',331,NULL,NULL,NULL),(51,NULL,'BANCO DE SERVICIOS FINANCIEROS S.A.',332,NULL,NULL,NULL),(52,NULL,'BANCO BRADESCO ARGENTINA S.A.U.',336,NULL,NULL,NULL),(53,NULL,'BANCO DE SERVICIOS Y TRANSACCIONES S.A.',338,NULL,NULL,NULL),(54,NULL,'RCI BANQUE S.A.',339,NULL,NULL,NULL),(55,NULL,'BACS BANCO DE CREDITO Y SECURITIZACION S',340,NULL,NULL,NULL),(56,NULL,'BANCO MASVENTAS S.A.',341,NULL,NULL,NULL),(57,NULL,'BANCO WANAP S.A.',384,NULL,NULL,NULL),(58,NULL,'NUEVO BANCO DE ENTRE RÍOS S.A.',386,NULL,NULL,NULL),(59,NULL,'BANCO COLUMBIA S.A.',389,NULL,NULL,NULL),(60,NULL,'BANCO BICA S.A.',426,NULL,NULL,NULL),(61,NULL,'BANCO COINAG S.A.',431,NULL,NULL,NULL),(62,NULL,'BANCO DE COMERCIO S.A.',432,NULL,NULL,NULL),(63,NULL,'FORD CREDIT COMPAÑIA FINANCIERA S.A.',44059,NULL,NULL,NULL),(64,NULL,'COMPAÑIA FINANCIERA ARGENTINA S.A.',44077,NULL,NULL,NULL),(65,NULL,'VOLKWAGEN FINANCIAL SERVICES CIA.FIN.S.A',44088,NULL,NULL,NULL),(66,NULL,'CORDIAL COMPAÑÍA FINANCIERA S.A.',44090,NULL,NULL,NULL),(67,NULL,'FCA COMPAÑIA FINANCIERA S.A.',44092,NULL,NULL,NULL);
INSERT INTO `ctacte_bancos` VALUES (68,NULL,'GPAT COMPAÑIA FINANCIERA S.A.',44093,NULL,NULL,NULL),(69,NULL,'MERCEDES-BENZ COMPAÑÍA FINANCIERA ARGENT',44094,NULL,NULL,NULL),(70,NULL,'ROMBO COMPAÑÍA FINANCIERA S.A.',44095,NULL,NULL,NULL),(71,NULL,'JOHN DEERE CREDIT COMPAÑÍA FINANCIERA S.',44096,NULL,NULL,NULL),(72,NULL,'PSA FINANCE ARGENTINA COMPAÑÍA FINANCIER',44098,NULL,NULL,NULL),(73,NULL,'TOYOTA COMPAÑÍA FINANCIERA DE ARGENTINA',44099,NULL,NULL,NULL),(74,NULL,'FINANDINO COMPAÑIA FINANCIERA S.A.',44100,NULL,NULL,NULL),(75,NULL,'MONTEMAR COMPAÑIA FINANCIERA S.A.',45056,NULL,NULL,NULL),(76,NULL,'MULTIFINANZAS COMPAÑIA FINANCIERA S.A.',45072,NULL,NULL,NULL),(77,NULL,'CAJA DE CREDITO \"CUENCA\" COOPERATIVA LIM',65203,NULL,NULL,NULL);

--
-- Table structure for table `ctacte_bancos_datos`
--

CREATE TABLE `ctacte_bancos_datos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuit` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `num_cuenta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cbu` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `alias` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctacte_bancos_datos_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  CONSTRAINT `ctacte_bancos_datos_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_bancos_datos`
--


--
-- Table structure for table `ctacte_cheques`
--

CREATE TABLE `ctacte_cheques` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `asiento_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cuenta_conta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_id2` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id2` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned DEFAULT NULL,
  `monto` decimal(16,2) DEFAULT NULL,
  `cheque3ros` tinyint(1) NOT NULL DEFAULT '0',
  `cheque_emitidos` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `fecha_cobro` date DEFAULT NULL,
  `banco_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `titular` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `abierto_cruzado` int(11) NOT NULL DEFAULT '1',
  `numero` int(10) unsigned DEFAULT NULL,
  `foto` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctacte_cheques_asiento_id_foreign` (`asiento_id`),
  KEY `ctacte_cheques_cuenta_conta_id_foreign` (`cuenta_conta_id`),
  KEY `ctacte_cheques_banco_id_foreign` (`banco_id`),
  KEY `ctacte_cheques_person_id_foreign` (`person_id`),
  KEY `ctacte_cheques_cta_cte_cliente_id2_foreign` (`cta_cte_cliente_id2`),
  KEY `ctacte_cheques_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `cta_cte_tesorer_id` (`cta_cte_tesoreria_id`),
  KEY `ctacte_cheques_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `ctacte_cheques_nf_cta_cte_id2_foreign` (`nf_cta_cte_id2`),
  KEY `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `cta_cte_tesorer_id` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `ctacte_cheques_banco_id_foreign` FOREIGN KEY (`banco_id`) REFERENCES `ctacte_bancos` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id2_foreign` FOREIGN KEY (`cta_cte_cliente_id2`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `ctacte_cheques_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctacte_cheques_cuenta_conta_id_foreign` FOREIGN KEY (`cuenta_conta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id2_foreign` FOREIGN KEY (`nf_cta_cte_id2`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `ctacte_cheques_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctacte_cheques`
--


--
-- Table structure for table `ctactegastos_centrocosto`
--

CREATE TABLE `ctactegastos_centrocosto` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_centrocosto`
--

INSERT INTO `ctactegastos_centrocosto` VALUES (1,NULL,'OFICINA',NULL,NULL,NULL),(2,NULL,'FIJO',NULL,NULL,NULL),(3,NULL,'VARIABLE',NULL,NULL,NULL),(4,NULL,'GISELA',NULL,NULL,NULL),(5,NULL,'LIA',NULL,NULL,NULL),(6,NULL,'PADRES',NULL,NULL,NULL),(7,NULL,'CASA',NULL,NULL,NULL),(8,NULL,'VANESA',NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_cuenta_tipo`
--

CREATE TABLE `ctactegastos_cuenta_tipo` (
  `idCuentaTipo` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `idTipo` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`idCuentaTipo`),
  KEY `ctactegastos_cuenta_tipo_idtipo_foreign` (`idTipo`),
  KEY `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_cuenta_tipo_idtipo_foreign` FOREIGN KEY (`idTipo`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_cuenta_tipo`
--

INSERT INTO `ctactegastos_cuenta_tipo` VALUES (1,NULL,NULL,3,NULL,NULL,NULL),(2,NULL,NULL,6,NULL,NULL,NULL),(3,NULL,NULL,3,NULL,NULL,NULL),(4,NULL,NULL,4,NULL,NULL,NULL),(5,NULL,NULL,5,NULL,NULL,NULL),(6,NULL,NULL,3,NULL,NULL,NULL),(7,NULL,NULL,4,NULL,NULL,NULL),(8,NULL,NULL,3,NULL,NULL,NULL),(9,NULL,NULL,4,NULL,NULL,NULL),(10,NULL,NULL,7,NULL,NULL,NULL),(11,NULL,NULL,8,NULL,NULL,NULL),(12,NULL,NULL,3,NULL,NULL,NULL),(13,NULL,NULL,3,NULL,NULL,NULL),(14,NULL,NULL,4,NULL,NULL,NULL),(15,NULL,NULL,1,NULL,NULL,NULL),(16,NULL,NULL,2,NULL,NULL,NULL),(17,NULL,NULL,5,NULL,NULL,NULL);

--
-- Table structure for table `ctactegastos_mensuales`
--

CREATE TABLE `ctactegastos_mensuales` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `CuentaTipo_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `TipoDeGasto_id` int(10) unsigned NOT NULL,
  `CentroCosto_id` int(10) unsigned NOT NULL,
  `gasto_cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL DEFAULT '13',
  `monto` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ctactegastos_mensuales_cuentatipo_id_foreign` (`CuentaTipo_id`),
  KEY `ctactegastos_mensuales_tipodegasto_id_foreign` (`TipoDeGasto_id`),
  KEY `ctactegastos_mensuales_centrocosto_id_foreign` (`CentroCosto_id`),
  KEY `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` (`gasto_cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `ctactegastos_mensuales_centrocosto_id_foreign` FOREIGN KEY (`CentroCosto_id`) REFERENCES `ctactegastos_centrocosto` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_cuentatipo_id_foreign` FOREIGN KEY (`CuentaTipo_id`) REFERENCES `ctactegastos_cuenta_tipo` (`idCuentaTipo`),
  CONSTRAINT `ctactegastos_mensuales_gasto_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`gasto_cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `ctactegastos_mensuales_tipodegasto_id_foreign` FOREIGN KEY (`TipoDeGasto_id`) REFERENCES `ctactegastos_tiposdegastos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_mensuales`
--


--
-- Table structure for table `ctactegastos_tiposdegastos`
--

CREATE TABLE `ctactegastos_tiposdegastos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ctactegastos_tiposdegastos`
--

INSERT INTO `ctactegastos_tiposdegastos` VALUES (1,NULL,'Oficina',NULL,NULL,NULL),(2,NULL,'Personales',NULL,NULL,NULL),(3,NULL,'Tarjeta VISA',NULL,NULL,NULL),(4,NULL,'Tarjeta Mastercard',NULL,NULL,NULL),(5,NULL,'Debito Automatico',NULL,NULL,NULL),(6,NULL,'American Express',NULL,NULL,NULL),(7,NULL,'Tarjeta Shopping',NULL,NULL,NULL),(8,NULL,'Tarjeta Cencosud',NULL,NULL,NULL),(9,NULL,'Tarjeta Coto',NULL,NULL,NULL),(10,NULL,'Tarjeta Nativa',NULL,NULL,NULL);

--
-- Table structure for table `cursos`
--

CREATE TABLE `cursos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `fecha` date DEFAULT NULL,
  `hora` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `profesor` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cant_clases` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `duracion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `adjuntos` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_zoom` longtext COLLATE utf8mb4_unicode_ci,
  `cod_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contraseña_zoom` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link_youtube` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `materiales` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos`
--


--
-- Table structure for table `cursos_detail`
--

CREATE TABLE `cursos_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `curso_id` int(10) unsigned NOT NULL,
  `field_name1` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `celular` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cursos_detail_curso_id_foreign` (`curso_id`),
  CONSTRAINT `cursos_detail_curso_id_foreign` FOREIGN KEY (`curso_id`) REFERENCES `cursos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cursos_detail`
--


--
-- Table structure for table `data_types`
--

CREATE TABLE `data_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` int(10) unsigned NOT NULL,
  `class_description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `data_types_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `data_types`
--

INSERT INTO `data_types` VALUES (1,'Comprobantes XLS',1,'Importación','XLS','data/imports/receipts/xls',NULL,NULL),(2,'CITI-Ventas',1,'Importación','TXT','data/imports/receipts/CitiVentas',NULL,NULL),(3,'CITI Compras',2,'Exportación','TXT','data/exports/receipts/citi',NULL,NULL),(4,'CITI Ventas',2,'Exportación','TXT','data/exports/receipts/CitiVentasExport',NULL,NULL),(5,'Convenio Multilateral',2,'Exportación','TXT','data/exports/receipts/convenio',NULL,NULL),(6,'Libro IVA Digital',2,'Exportación','TXT','data/exports/receipts/libro_iva_digital',NULL,'2019-11-20 21:43:44'),(7,'Mis Comprobantes',1,'Importacion','','data/imports/receipts/mis_comprobantes',NULL,NULL),(8,'Consulta AFIP',3,'AFIP','','data/afip/index','2019-12-06 14:49:55','2019-12-06 14:49:55');

--
-- Table structure for table `dc_estados`
--

CREATE TABLE `dc_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_estados`
--

INSERT INTO `dc_estados` VALUES (1,NULL,'PEDIDO',1,NULL,NULL,NULL),(2,NULL,'ACEPTADO',1,NULL,NULL,NULL),(3,NULL,'RECHAZADO',1,NULL,NULL,NULL),(4,NULL,'PAGADO',1,NULL,NULL,NULL),(5,NULL,'CONCILIADO',1,NULL,NULL,NULL);

--
-- Table structure for table `dc_ordenes`
--

CREATE TABLE `dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_tipo_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `numero` int(11) NOT NULL,
  `sector` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `solicitante` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fecha` date NOT NULL,
  `fecha_entrega` date DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `neto` decimal(16,2) NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `conta_cc_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_dc_orden_tipo_id_foreign` (`dc_orden_tipo_id`),
  KEY `dc_ordenes_person_id_foreign` (`person_id`),
  KEY `dc_ordenes_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `dc_ordenes_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `dc_ordenes_conta_cc_id_foreign` (`conta_cc_id`),
  CONSTRAINT `dc_ordenes_conta_cc_id_foreign` FOREIGN KEY (`conta_cc_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `dc_ordenes_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `dc_ordenes_dc_orden_tipo_id_foreign` FOREIGN KEY (`dc_orden_tipo_id`) REFERENCES `dc_ordenes_tipos` (`id`),
  CONSTRAINT `dc_ordenes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `dc_ordenes_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes`
--


--
-- Table structure for table `dc_ordenes_details`
--

CREATE TABLE `dc_ordenes_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL,
  `desc_porc` decimal(16,2) DEFAULT NULL,
  `descuento` decimal(16,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL,
  `iva` decimal(16,2) NOT NULL,
  `subtotal` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dc_ordenes_details_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `dc_ordenes_details_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `dc_ordenes_details_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `dc_ordenes_details_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `dc_ordenes_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `dc_ordenes_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_details`
--


--
-- Table structure for table `dc_ordenes_tipos`
--

CREATE TABLE `dc_ordenes_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `dc_ordenes_tipos`
--

INSERT INTO `dc_ordenes_tipos` VALUES (1,NULL,'COMPRAS',1,NULL,NULL,NULL),(2,NULL,'VENTAS',1,NULL,NULL,NULL);

--
-- Table structure for table `deudas_impositivas`
--

CREATE TABLE `deudas_impositivas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `vto_impuesto_id` int(10) unsigned NOT NULL,
  `periodo_deuda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `concepto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `deudas_impositivas_vto_impuesto_id_foreign` (`vto_impuesto_id`),
  KEY `deudas_impositivas_person_id_foreign` (`person_id`),
  CONSTRAINT `deudas_impositivas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `deudas_impositivas_vto_impuesto_id_foreign` FOREIGN KEY (`vto_impuesto_id`) REFERENCES `vto_impuestos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `deudas_impositivas`
--


--
-- Table structure for table `ejer_anteriores`
--

CREATE TABLE `ejer_anteriores` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `anio` int(11) NOT NULL,
  `ventas` decimal(16,2) DEFAULT NULL,
  `compras` decimal(16,2) DEFAULT NULL,
  `sueldos` decimal(16,2) DEFAULT NULL,
  `impuesto` decimal(16,2) DEFAULT NULL,
  `apagar` decimal(16,2) DEFAULT NULL,
  `afavor` decimal(16,2) DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ejer_anteriores_person_id_foreign` (`person_id`),
  CONSTRAINT `ejer_anteriores_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ejer_anteriores`
--


--
-- Table structure for table `estado_civil`
--

CREATE TABLE `estado_civil` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `estado_civil_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `estado_civil`
--

INSERT INTO `estado_civil` VALUES (1,NULL,'Separado Legal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Separado de Hecho',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(3,NULL,'Divorciado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(4,NULL,'Convivencia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(5,NULL,'Soltero',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(6,NULL,'Casado',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(7,NULL,'Viudo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `fa_masiva`
--

CREATE TABLE `fa_masiva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva`
--


--
-- Table structure for table `fa_masiva_detalle`
--

CREATE TABLE `fa_masiva_detalle` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fa_masiva_id` int(11) NOT NULL,
  `cliente_id` int(11) NOT NULL,
  `tipo_comprobante_id` int(10) unsigned NOT NULL DEFAULT '1',
  `zone_id` int(10) unsigned NOT NULL DEFAULT '22',
  `activity_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `concepto_id` int(10) unsigned NOT NULL DEFAULT '1',
  `taxable_iibb` int(10) unsigned NOT NULL DEFAULT '2',
  `renglon1` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe1` decimal(20,2) DEFAULT NULL,
  `renglon2` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe2` decimal(20,2) DEFAULT NULL,
  `renglon3` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe3` decimal(20,2) DEFAULT NULL,
  `punto_venta_id` int(11) DEFAULT NULL,
  `fecha_comprobante` date DEFAULT NULL,
  `fecha_facturado_desde` date DEFAULT NULL,
  `fecha_facturado_hasta` date DEFAULT NULL,
  `fecha_vencimiento_pago` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fa_masiva_detalle_concepto_id_foreign` (`concepto_id`),
  KEY `fa_masiva_detalle_system_tax_id_foreign` (`system_tax_id`),
  KEY `fa_masiva_detalle_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  KEY `fa_masiva_detalle_zone_id_foreign` (`zone_id`),
  KEY `fa_masiva_detalle_tipo_comprobante_id_foreign` (`tipo_comprobante_id`),
  KEY `fa_masiva_detalle_activity_id_foreign` (`activity_id`),
  CONSTRAINT `fa_masiva_detalle_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `fa_masiva_detalle_concepto_id_foreign` FOREIGN KEY (`concepto_id`) REFERENCES `fact_elec_conceptos_afip` (`id`),
  CONSTRAINT `fa_masiva_detalle_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `fa_masiva_detalle_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`),
  CONSTRAINT `fa_masiva_detalle_tipo_comprobante_id_foreign` FOREIGN KEY (`tipo_comprobante_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `fa_masiva_detalle_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva_detalle`
--


--
-- Table structure for table `fa_masiva_stock`
--

CREATE TABLE `fa_masiva_stock` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `data` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fa_masiva_stock_person_id_foreign` (`person_id`),
  KEY `fa_masiva_stock_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `fa_masiva_stock_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fa_masiva_stock_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fa_masiva_stock`
--


--
-- Table structure for table `fac_elec_cond_frente_iva`
--

CREATE TABLE `fac_elec_cond_frente_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `fac_elec_cond_frente_iva_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_cond_frente_iva`
--

INSERT INTO `fac_elec_cond_frente_iva` VALUES (1,'IVA Responsable Inscripto','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'IVA Sujeto Exento','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Consumidor Final','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Responsable Monotributo','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Proveedor del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Cliente del Exterior','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'IVA Liberado - Ley Nº 19.640','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'IVA Responsable Inscripto - Agente de Percepción','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Monotributista Social','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'IVA No Alcanzado','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
-- Table structure for table `fac_elec_unidad_medidas`
--

CREATE TABLE `fac_elec_unidad_medidas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `fac_elec_unidad_medidas_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fac_elec_unidad_medidas`
--

INSERT INTO `fac_elec_unidad_medidas` VALUES (1,'Grs','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(2,'Kg','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(3,'Mts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(4,'Mts2','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(5,'Mts3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(6,'Lts','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(7,'1000 Kwh','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(8,'Unidades','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(9,'Pares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(10,'Doc','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(11,'Quilates','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(12,'Millares','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(13,'Milimetros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(14,'Mm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(15,'Km','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(16,'Hectolitros','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(17,'Cm','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL),(18,'Cm 3','2019-07-15 18:37:39','2019-07-15 18:37:39',NULL);

--
-- Table structure for table `fact_elec_conceptos_afip`
--

CREATE TABLE `fact_elec_conceptos_afip` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `afip_comprobante_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_conceptos_afip`
--

INSERT INTO `fact_elec_conceptos_afip` VALUES (1,1,'Producto','2019-03-13 13:29:34','2019-03-13 13:29:34'),(2,2,'Servicios','2019-03-13 13:29:34','2019-03-13 13:29:34'),(3,3,'Productos y Servicios','2019-03-13 13:29:34','2019-03-13 13:29:34');

--
-- Table structure for table `fact_elec_puntos_venta`
--

CREATE TABLE `fact_elec_puntos_venta` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `direccion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `codigo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '0000',
  `codigo_postal` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(11) DEFAULT NULL,
  `logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_puntos_venta_person_id_foreign` (`person_id`),
  CONSTRAINT `fact_elec_puntos_venta_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_puntos_venta`
--


--
-- Table structure for table `fact_elec_receipt_details`
--

CREATE TABLE `fact_elec_receipt_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `cantidad` decimal(20,2) NOT NULL,
  `unidad_medida` text COLLATE utf8mb4_unicode_ci,
  `precio_unitario` decimal(20,2) NOT NULL,
  `neto_gravado` decimal(20,2) NOT NULL,
  `bonificacion_porcentaje` decimal(20,2) DEFAULT NULL,
  `bonificacion_monto` decimal(20,2) DEFAULT NULL,
  `bonificacion_subtotal` decimal(20,2) DEFAULT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '1',
  `iva_monto` decimal(20,2) DEFAULT NULL,
  `iva_subtotal` decimal(20,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `codigo` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_receipt_details_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `fact_elec_receipt_details_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `fact_elec_receipt_details_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `fact_elec_receipt_details_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_receipt_details`
--


--
-- Table structure for table `fact_elec_receipts`
--

CREATE TABLE `fact_elec_receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `fecha_comprobante` date NOT NULL,
  `fecha_facturado_desde` date DEFAULT NULL,
  `fecha_facturado_hasta` date DEFAULT NULL,
  `fecha_vencimiento_pago` date DEFAULT NULL,
  `concepto_id` int(10) unsigned NOT NULL,
  `punto_venta_id` int(10) unsigned NOT NULL,
  `tipo_comprobante_id` int(10) unsigned NOT NULL,
  `condiciones_venta` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comprobante_asoc` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `cae` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cae_vencimiento` date DEFAULT NULL,
  `nro_comprobante_afip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fecha_proceso_afip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL,
  `condicion_venta_id` int(11) DEFAULT NULL,
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cbu` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `opcion_transferencia` longtext COLLATE utf8mb4_unicode_ci,
  `alias_cbu` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fact_elec_receipts_user_id_foreign` (`user_id`),
  KEY `fact_elec_receipts_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `fact_elec_receipts_tipo_comprobante_id_foreign` (`tipo_comprobante_id`),
  KEY `fact_elec_receipts_person_id_foreign` (`person_id`),
  KEY `fact_elec_receipts_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `fact_elec_receipts_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `fact_elec_receipts_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `fact_elec_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `fact_elec_receipts_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `fact_elec_receipts_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `fact_elec_receipts_tipo_comprobante_id_foreign` FOREIGN KEY (`tipo_comprobante_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_receipts`
--


--
-- Table structure for table `fact_elec_tipos_docs_afip`
--

CREATE TABLE `fact_elec_tipos_docs_afip` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `afip_tipo_doc_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fact_elec_tipos_docs_afip`
--

INSERT INTO `fact_elec_tipos_docs_afip` VALUES (1,1,'CI Buenos Aires','2019-03-13 13:29:34','2019-03-13 13:29:34'),(2,2,'CI Catamarca','2019-03-13 13:29:34','2019-03-13 13:29:34'),(3,3,'CI Córdoba','2019-03-13 13:29:34','2019-03-13 13:29:34'),(4,4,'CI Corrientes','2019-03-13 13:29:34','2019-03-13 13:29:34'),(5,5,'CI Entre Ríos','2019-03-13 13:29:34','2019-03-13 13:29:34'),(6,6,'CI Jujuy','2019-03-13 13:29:34','2019-03-13 13:29:34'),(7,7,'CI Mendoza','2019-03-13 13:29:34','2019-03-13 13:29:34'),(8,8,'CI La Rioja','2019-03-13 13:29:34','2019-03-13 13:29:34'),(9,9,'CI Salta','2019-03-13 13:29:34','2019-03-13 13:29:34'),(10,10,'CI San Juan','2019-03-13 13:29:34','2019-03-13 13:29:34'),(11,11,'CI San Luis','2019-03-13 13:29:34','2019-03-13 13:29:34'),(12,12,'CI Santa Fe','2019-03-13 13:29:34','2019-03-13 13:29:34'),(13,13,'CI Santiago del Estero','2019-03-13 13:29:34','2019-03-13 13:29:34'),(14,14,'CI Tucumán','2019-03-13 13:29:34','2019-03-13 13:29:34'),(16,16,'CI Chaco','2019-03-13 13:29:34','2019-03-13 13:29:34'),(17,17,'CI Chubut','2019-03-13 13:29:34','2019-03-13 13:29:34'),(18,18,'CI Formosa','2019-03-13 13:29:34','2019-03-13 13:29:34'),(19,19,'CI Misiones','2019-03-13 13:29:34','2019-03-13 13:29:34'),(20,20,'CI Neuquén','2019-03-13 13:29:34','2019-03-13 13:29:34'),(21,21,'CI La Pampa','2019-03-13 13:29:34','2019-03-13 13:29:34'),(22,22,'CI Río Negro','2019-03-13 13:29:34','2019-03-13 13:29:34'),(23,23,'CI Santa Cruz','2019-03-13 13:29:34','2019-03-13 13:29:34'),(24,24,'CI Tierra del Fuego','2019-03-13 13:29:34','2019-03-13 13:29:34'),(80,80,'CUIT','2019-03-13 13:29:34','2019-03-13 13:29:34'),(86,86,'CUIL','2019-03-13 13:29:34','2019-03-13 13:29:34'),(87,87,'CDI','2019-03-13 13:29:34','2019-03-13 13:29:34'),(89,89,'LE','2019-03-13 13:29:34','2019-03-13 13:29:34'),(90,90,'LC','2019-03-13 13:29:34','2019-03-13 13:29:34'),(91,91,'CI Extranjera','2019-03-13 13:29:34','2019-03-13 13:29:34'),(92,92,'en trámite','2019-03-13 13:29:34','2019-03-13 13:29:34'),(93,93,'Acta Nacimiento','2019-03-13 13:29:34','2019-03-13 13:29:34'),(94,94,'Pasaporte','2019-03-13 13:29:34','2019-03-13 13:29:34'),(95,95,'CI Bs. As. RNP','2019-03-13 13:29:34','2019-03-13 13:29:34'),(96,96,'DNI','2019-03-13 13:29:34','2019-03-13 13:29:34'),(97,0,'CI Policía Federal','2019-03-13 13:29:34','2019-03-13 13:29:34'),(99,99,'Doc. (Otro)','2019-03-13 13:29:34','2019-03-13 13:29:34');

--
