update fixtures and dumpedFixtures with tarifaComponent and tarifaTypeCompoennt

This commit is contained in:
Bernat 2018-04-13 12:59:05 +02:00
parent d05dfc5da8
commit d663013f60
3 changed files with 56 additions and 4 deletions

View File

@ -55,7 +55,7 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-04-13 12:29:15
-- Dump completed on 2018-04-13 12:57:05
USE `salix`;
-- MySQL dump 10.13 Distrib 5.7.21, for osx10.13 (x86_64)
--
@ -93,7 +93,7 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-04-13 12:29:15
-- Dump completed on 2018-04-13 12:57:05
USE `vn`;
-- MySQL dump 10.13 Distrib 5.7.21, for osx10.13 (x86_64)
--
@ -171,7 +171,7 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-04-13 12:29:15
-- Dump completed on 2018-04-13 12:57:06
USE `vn2008`;
-- MySQL dump 10.13 Distrib 5.7.21, for osx10.13 (x86_64)
--
@ -229,4 +229,52 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-04-13 12:29:16
-- Dump completed on 2018-04-13 12:57:06
USE `bi`;
-- MySQL dump 10.13 Distrib 5.7.21, for osx10.13 (x86_64)
--
-- Host: db.verdnatura.es Database: bi
-- ------------------------------------------------------
-- Server version 5.6.25-4-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Dumping data for table `tarifa_componentes`
--
LOCK TABLES `tarifa_componentes` WRITE;
/*!40000 ALTER TABLE `tarifa_componentes` DISABLE KEYS */;
INSERT INTO `tarifa_componentes` VALUES (10,'Precios Especiales',4,NULL,NULL,1),(14,'porte extra por dia semana',6,NULL,NULL,1),(15,'reparto',6,NULL,NULL,1),(17,'recobro',5,NULL,NULL,1),(21,'ajuste',12,NULL,NULL,1),(22,'venta por paquete',9,1,NULL,0),(23,'venta por caja',9,2,NULL,0),(28,'valor de compra',1,NULL,NULL,1),(29,'margen',4,NULL,NULL,1),(32,'descuento ultimas unidades',9,3,-0.05,0),(33,'venta por caja',9,1,NULL,0),(34,'rebaja manual',4,NULL,NULL,1),(35,'cartera comprador',10,NULL,NULL,1),(36,'descuadre',11,NULL,NULL,1),(37,'maná',7,4,NULL,0),(38,'embolsado',9,NULL,NULL,1),(39,'maná auto',7,NULL,NULL,1),(40,'cambios Santos 2016',4,NULL,NULL,1),(41,'bonificacion porte',4,NULL,NULL,1);
/*!40000 ALTER TABLE `tarifa_componentes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Dumping data for table `tarifa_componentes_series`
--
LOCK TABLES `tarifa_componentes_series` WRITE;
/*!40000 ALTER TABLE `tarifa_componentes_series` DISABLE KEYS */;
INSERT INTO `tarifa_componentes_series` VALUES (1,'coste',1,0),(2,'com ventas',1,1),(3,'com compras',1,1),(4,'empresa',1,1),(5,'cliente',0,0),(6,'agencia',0,0),(7,'cartera_comercial',0,1),(8,'cartera_producto',0,1),(9,'maniobra',1,1),(10,'cartera_comprador',0,1),(11,'errores',0,0),(12,'otros',0,0);
/*!40000 ALTER TABLE `tarifa_componentes_series` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-04-13 12:57:06

View File

@ -7,6 +7,8 @@ echo USE `vn`; >> 02-dumpedFixtures.sql
mysqldump --defaults-file=connect.ini --no-create-info vn cplusInvoiceType477 cplusSubjectOp cplusTaxBreak bookingPlanner pgc >> 02-dumpedFixtures.sql
echo USE `vn2008`; >> 02-dumpedFixtures.sql
mysqldump --defaults-file=connect.ini --no-create-info vn2008 accion_dits Gastos Tintas tarifa_componentes tarifa_componentes_series >> 02-dumpedFixtures.sql
echo "USE \`bi\`;" >> 02-dumpedFixtures.sql
mysqldump --defaults-file=connect.ini --no-create-info bi tarifa_componentes tarifa_componentes_series >> 02-dumpedFixtures.sql

View File

@ -8,6 +8,8 @@ echo "USE \`vn\`;" >> 02-dumpedFixtures.sql
mysqldump --defaults-file=connect.ini --no-create-info vn cplusInvoiceType477 cplusSubjectOp cplusTaxBreak bookingPlanner pgc >> 02-dumpedFixtures.sql
echo "USE \`vn2008\`;" >> 02-dumpedFixtures.sql
mysqldump --defaults-file=connect.ini --no-create-info vn2008 accion_dits Gastos Tintas tarifa_componentes tarifa_componentes_series >> 02-dumpedFixtures.sql
echo "USE \`bi\`;" >> 02-dumpedFixtures.sql
mysqldump --defaults-file=connect.ini --no-create-info bi tarifa_componentes tarifa_componentes_series >> 02-dumpedFixtures.sql