tag:blogger.com,1999:blog-48071044005941788472024-03-13T22:32:04.976+01:00¿Temblamos al decidirnos por el OPENSOURCE?socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.comBlogger206125tag:blogger.com,1999:blog-4807104400594178847.post-73172142666326922232021-08-11T19:46:00.002+02:002021-08-11T19:46:27.904+02:00<p>PHP para ver valores de variables sin usar el debug</p><p>var_dump($adevolver); --- devuelve en el navegador los datos del objeto/variable</p><p><br /></p><p>$this->toolBox()->log()-> info(print_r($adevolver, true)); // devuelve en el log de FS lo que necesito</p><p> //printf($adevolver);</p><div><br /></div>socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-14083785916126967442020-08-13T12:54:00.007+02:002020-08-13T13:05:16.777+02:00ARDUINO - C - ¿Encender led's de un circuito al pulsar teclas?<p style="text-align: left;"> En el código que detallo a continuación se encienden ciertos led's al pulsar la tecla que corresponde al puerto digital al que hemos conectado cada uno de los led. Por ejemplo si pulsamos el 0, se encenderá o se apagará el led conectado al puerto 10 digital de nuestro arduino. Y si pulsamos el 3, pues el led conectado al puerto 13.</p><p style="text-align: left;"><br /></p><p style="text-align: left;"> Este es nuestro código en C ...</p><h2><span style="font-size: small;"></span></h2><blockquote><h2><span style="font-family: arial;"><span style="font-size: small;"> <span style="color: red;">// Array del 0 al 3 para usar los puertos digitales del 10 al 13</span><br /></span><span style="font-size: small;">bool puerto[4];</span></span></h2><h2><span style="font-family: arial;"><span style="font-size: small;"><br /></span><span style="font-size: small;"><span style="color: red;">// Variable que usaremos para capturar el teclado</span> <br /></span><span style="font-size: small;">char Captura;</span></span></h2><h2><span style="font-family: arial;"><span style="font-size: small;"><br /></span><span style="font-size: small;"><span style="color: red;">// Para convertir el Char en String</span><br /></span><span style="font-size: small;">String capturaS;</span></span></h2><h2><span style="font-family: arial;"><span style="font-size: small;"><br /></span><span style="font-size: small;">void setup()<br /></span><span style="font-size: small;">{<br /></span><span style="font-size: small;"> <span style="color: red;"> // Preparamos los puertos digitales del 10 al 13 para ser de salida</span><br /></span><span style="font-size: small;"> for (int i = 10; i <= 13; i++)<br /></span><span style="font-size: small;"> {<br /></span><span style="font-size: small;"> pinMode(i, OUTPUT);<br /></span><span style="font-size: small;"> }<br /></span><span style="font-size: small;"> <br /></span><span style="font-size: small;"> <span style="color: red;">// Se abre la comunicación tipo Puerto Serie a 9600 baudios</span><br /></span><span style="font-size: small;"> Serial.begin(9600);<br /></span><span style="font-size: small;">}</span></span></h2><h2><span style="font-family: arial;"><span style="font-size: small;"><br /></span><span style="font-size: small;">void loop()<br /></span><span style="font-size: small;">{<br /></span><span style="font-size: small;"> <span style="color: red;">// Vaciamos la tecla capturada</span><br /></span><span style="font-size: small;"> Captura = ' ';<br /></span><span style="font-size: small;"> capturaS = "";<br /></span><span style="font-size: small;"> <br /></span><span style="font-size: small;"> if (Serial.available() > 0) <br /></span><span style="font-size: small;"> { <br /></span><span style="font-size: small;"> <span style="color: red;"> // Si la librería Serial mediante available es mayor que 0, entonces es que está funcionando el puerto serie<br /></span></span><span style="font-size: small;"><span style="color: red;"> // Leemos el puerto Serie para ver si han pulsado algo</span><br /></span><span style="font-size: small;"> Captura = Serial.read();<br /></span><span style="font-size: small;"> <br /></span><span style="font-size: small;"> <span style="color: red;"> // Convierto el char en String para luego poderlo convertir en entero</span><br /></span><span style="font-size: small;"> capturaS = Captura; </span></span></h2><h2><span style="font-family: arial;"><span style="font-size: small;"><br /></span><span style="font-size: small;"> <span style="color: red;">// Avisamos si no ha pulsado la tecla correcta</span><br /></span><span style="font-size: small;"> if ( (Captura != '0')<br /></span><span style="font-size: small;"> && (Captura != '1')<br /></span><span style="font-size: small;"> && (Captura != '2')<br /></span><span style="font-size: small;"> && (Captura != '3') )<br /></span><span style="font-size: small;"> {<br /></span><span style="font-size: small;"> <span style="color: red;">// Como tenemos la comunicación serial abierta con la terminal<br /></span></span><span style="font-size: small;"><span style="color: red;"> // presentamos mensaje de elección incorrecta</span><br /></span><span style="font-size: small;"> Serial.println("No es correcto, elija entre 0-3");<br /></span><span style="font-size: small;"> }<br /></span><span style="font-size: small;"> }</span></span></h2><h2><span style="font-family: arial;"><span style="font-size: small;"><br /></span><span style="font-size: small;"> for (long i = 10; i <= 13; i++) // Recorro los puertos digitales del 10 al 13<br /></span><span style="font-size: small;"> {<br /></span><span style="font-size: small;"> if (<br /></span><span style="font-size: small;"> <span style="color: red;"> // Convierto el valor de la tecla pulsada en entero<br /></span></span><span style="font-size: small;"><span style="color: red;"> // y le sumo 10 para ver a que puerto digital relaciono</span><br /></span><span style="font-size: small;"> ((capturaS.toInt() + 10) == i) && </span></span></h2><h2><span style="font-family: arial;"><span style="font-size: small;"><br /></span><span style="font-size: small;"> <span style="color: red;">// El puerto serie nos puede devolver algo sin pulsa</span>r<br /></span><span style="font-size: small;"> ((capturaS) != "" )<br /></span><span style="font-size: small;"> )<br /></span><span style="font-size: small;"> {<br /></span><span style="font-size: small;"> <span style="color: red;">// Guardamos el On/Off del puerto</span><br /></span><span style="font-size: small;"> puerto[(i - 10)] = not puerto[(i - 10)];</span><span style="font-size: small;"><br /></span><span style="font-size: small;"> <span style="color: red;">// Le decimos al puerto que se ponga en On o en Off</span><br /></span><span style="font-size: small;"> digitalWrite(i, puerto[(i - 10)]);<br /></span><span style="font-size: small;"> }<br /></span><span style="font-size: small;"> } <br /></span><span style="font-size: small;"> <br /></span><span style="font-size: small;">}</span></span></h2><p></p></blockquote><p> Este sería el esquema del circuito que deberíamos de crear para que este código funcionara ...</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfrv86YhknpFYEgkod36gfgGz3s7Zs75JZe6I8VHNzx9auMO5eOH-4-2ZNVFAMeHySighiwn0b1barnKcD44arlIMIXPmyqbQjkgvBKYil69qb0MUCtYRpkXwIgbTF1lPHjAE7YwmKAiM/s1120/Anotaci%25C3%25B3n+2020-08-13+130216.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="594" data-original-width="1120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfrv86YhknpFYEgkod36gfgGz3s7Zs75JZe6I8VHNzx9auMO5eOH-4-2ZNVFAMeHySighiwn0b1barnKcD44arlIMIXPmyqbQjkgvBKYil69qb0MUCtYRpkXwIgbTF1lPHjAE7YwmKAiM/s640/Anotaci%25C3%25B3n+2020-08-13+130216.jpg" width="640" /></a></div><p><br /></p><p><br /></p>socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-74786461951171379952020-08-13T12:12:00.002+02:002020-08-13T12:18:13.060+02:00ARDUINO - C - ¿Cómo convertir un Char a un String?<p> Imaginemos que capturamos por el puerto serie del arduino algo pulsado desde la terminal o enviado al puerto serie. Lo que recibimos lo podemos capturar como si fuera un Char, pero luego necesitaríamos convertirlo a String para trabajarlo. ¿Cómo lo haríamos? ...</p><p> Pues tan sencillo como este código que a continuación os presento ...</p><h2><span style="font-size: small;"></span></h2><blockquote><h2><span style="font-size: small;">char Captura; <br /></span><span style="font-size: small;">String capturaS;</span></h2><h2><span style="font-size: small;"><br /></span><span style="font-size: small;">void setup()<br /></span><span style="color: red; font-size: small;"> // Se abre la comunicación tipo Puerto Serie<br /></span><span style="font-size: small;"><span style="color: red;"> // Estamos usando una librería de Arduino que abre su puerto serie a 9600 baudios</span><br /></span><span style="font-size: small;"> Serial.begin(9600);<br /></span><span style="font-size: small;">}</span></h2><h2><span style="font-size: small;"><br /></span><span style="font-size: small;">void loop()<br /></span><span style="font-size: small;">{<br /></span><span style="font-size: small;"> Captura = ' ';<br /></span><span style="font-size: small;"> <br /></span><span style="font-size: small;"> if (Serial.available() > 0) <br /></span><span style="font-size: small;"> { <br /></span><span style="font-size: small;"> <span style="color: red;"> // Si la librería Serial mediante available es mayor que 0, entonces es que está funcionando el puerto serie</span></span><span style="color: red; font-size: small;"><br /></span><span style="font-size: small;"><span style="color: red;"> // Leemos el puerto Serie para ver si han pulsado algo</span><br /></span><span style="font-size: small;"> Captura = Serial.read();</span></h2><h2><span style="font-size: small;"><br /></span><span style="font-size: small;"> <span style="color: red;">// Convierto el char en String, así podría convertir el string a entero con toInt()</span><br /></span><span style="font-size: small;"> capturaS = Captura;<br /></span><span style="font-size: small;">}</span></h2><div style="text-align: left;"></div></blockquote><div style="text-align: left;"><br /></div>socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-89811916194058135412020-08-13T11:54:00.007+02:002020-08-13T11:58:29.672+02:00ARDUINO - C - ¿Cómo convertir un String a un entero ó a un Float?<p> La clase string dispone de las funciones toInt() y toFloat() que convierten, respectivamente, la cadena de texto a un número entero o flotante.</p><p> Así, el código siguiente muestra la conversión de String a Int ...</p><h3 style="text-align: left;"><span style="font-size: small;"></span></h3><blockquote><h3 style="text-align: left;"><span style="font-size: small;">#define DEBUG(a) Serial.println(a);<br /></span><span style="font-size: small;">String var_Text = "-98765";</span></h3><h3 style="text-align: left;"><span style="font-size: small;"><br /></span><span style="font-size: small;">void setup() <br /></span><span style="font-size: small;">{<br /></span><span style="font-size: small;"> Serial.begin(9600);<br /></span><span style="font-size: small;"> <span style="color: red;">long </span>valor;<br /></span><span style="font-size: small;"> valor = var_Text.<span style="color: red;">toInt</span>();<br /></span><span style="font-size: small;"> DEBUG(valor);<br /></span><span style="font-size: small;">}<br /></span><span style="font-size: small;"> <br /></span><span style="font-size: small;">void loop()<br /></span><span style="font-size: small;">{<br /></span><span style="font-size: small;">}</span></h3></blockquote><h3 style="text-align: left;"><span style="font-size: small;"></span></h3><p style="text-align: left;"> Pero la conversión de String a Float sería la siguiente ...</p><h2 style="text-align: left;"><span style="font-size: small;"></span></h2><h2 style="text-align: left;"><span style="font-size: small;"></span><blockquote><span style="font-size: small;">#define DEBUG(a) Serial.println(a);<br /></span><span style="font-size: small;">String var_Text = "-987.65";</span><span style="font-size: small;"> </span></blockquote><blockquote><span style="font-size: small;"></span><span style="font-size: small;">void setup() <br /></span><span style="font-size: small;">{<br /></span><span style="font-size: small;"> Serial.begin(9600);<br /></span><span style="font-size: small;"> <span style="color: red;">float </span>valor;<br /></span><span style="font-size: small;"> valor = var_Text.<span style="color: red;">toFloat</span>();<br /></span><span style="font-size: small;"> DEBUG(valor);<br /></span><span style="font-size: small;">}<br /></span><span style="font-size: small;"> <br /></span><span style="font-size: small;">void loop()<br /></span><span style="font-size: small;">{<br /></span><span style="font-size: small;">}</span></blockquote><span style="font-size: small;"></span></h2><span style="font-size: small;"></span><p> La conversión a través de la clase String es una clase muy ligera para que no nos penalice su uso. Pero debemos de controlar que no existan caracteres no numéricos a la hora de convertir a entero o float para que no tengamos procesos no controlados.</p><p> Existen otros métodos, pero de momento este es el que más uso.</p><h3><span style="font-family: arial; font-size: small;"></span></h3>socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-68048154145964932952020-05-08T17:49:00.004+02:002020-05-08T18:10:48.432+02:00<div style="text-align: center;">
<span style="font-size: large;"><b><u>Como obtener la hora ó fecha actual en Firebird</u></b></span></div>
<span style="font-size: large;"><b><u><br /></u></b></span><span style="background-color: white;">De primeras he de deciros que una de las fuentes de donde he sacado esta documentación ha sido de este <a href="https://firebird21.wordpress.com/tag/hora/" rel="" target="_blank">link</a>.</span><br />
<span style="background-color: white;"><br />
</span><br />
<div style="font-family: arial, helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white;">En Firebird tenemos varias formas de obtener las fechas y las horas actuales, ellas son:</span></div>
<ul>
<li><span style="background-color: white; font-family: "arial" , "helvetica" , sans-serif; font-size: 12.96px;">CURRENT_TIMESTAMP</span></li>
<li><span style="background-color: white; font-family: "arial" , "helvetica" , sans-serif; font-size: 12.96px;">CURRENT_DATE</span></li>
<li><span style="background-color: white; font-family: "arial" , "helvetica" , sans-serif; font-size: 12.96px;">CURRENT_TIME</span></li>
<li><span style="background-color: white; font-family: "arial" , "helvetica" , sans-serif; font-size: 12.96px;">‘NOW’</span></li>
</ul>
<div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white;"><br /></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white;">Con CURRENT_TIMESTAMP se obtienen la fecha y la hora. Por ejemplo:</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<span style="background-color: white;"><a href="https://firebird21.files.wordpress.com/2015/02/fechahora011.png" style="margin: 0px; outline: none; padding: 0px;"><img alt="FECHAHORA01" class="aligncenter size-full wp-image-6121" data-attachment-id="6121" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA01" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora011.png?w=453" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora011.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora011.png" data-orig-size="453,116" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora01-2/" sizes="(max-width: 453px) 100vw, 453px" src="https://firebird21.files.wordpress.com/2015/02/fechahora011.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora011.png 453w, https://firebird21.files.wordpress.com/2015/02/fechahora011.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora011.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px;" /></a><em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">Captura 1.</strong> </em></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><br /></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white;">Con CURRENT_DATE obtenemos la fecha actual, por ejemplo:</span></div>
<pre style="padding: 0px;"><a href="https://firebird21.files.wordpress.com/2015/02/fechahora021.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA02" class="aligncenter size-full wp-image-6122" data-attachment-id="6122" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA02" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora021.png?w=455" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora021.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora021.png" data-orig-size="455,113" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora02-2/" sizes="(max-width: 455px) 100vw, 455px" src="https://firebird21.files.wordpress.com/2015/02/fechahora021.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora021.png 455w, https://firebird21.files.wordpress.com/2015/02/fechahora021.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora021.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px; text-align: center;" /></span></a></pre>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">Captura 2.</strong> </em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><br /></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white;">Con CURRENT_TIME obtenemos la hora actual, por ejemplo:</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<span style="background-color: white;"><a href="https://firebird21.files.wordpress.com/2015/02/fechahora031.png" style="margin: 0px; outline: none; padding: 0px;"><img alt="FECHAHORA03" class="aligncenter size-full wp-image-6123" data-attachment-id="6123" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA03" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora031.png?w=457" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora031.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora031.png" data-orig-size="457,118" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora03-2/" sizes="(max-width: 457px) 100vw, 457px" src="https://firebird21.files.wordpress.com/2015/02/fechahora031.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora031.png 457w, https://firebird21.files.wordpress.com/2015/02/fechahora031.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora031.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px;" /></a><em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">Captura 3.</strong></em></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="background-color: white; margin: 0px; padding: 0px;"><br /></strong></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white;">Fíjate que la precisión es de segundos, de la forma anterior podemos obtener la hora, los minutos, y los segundos, ¿pero y si necesitamos mayor precisión? Para eso a la variable de contexto CURRENT_TIME le podemos enviar entre paréntesis un número entre 0 y 3, significando la cantidad de decimales que queremos obtener. Por ejemplo:</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<a href="https://firebird21.files.wordpress.com/2015/02/fechahora04.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA04" class="aligncenter size-full wp-image-6124" data-attachment-id="6124" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA04" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora04.png?w=455" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora04.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora04.png" data-orig-size="455,117" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora04/" sizes="(max-width: 455px) 100vw, 455px" src="https://firebird21.files.wordpress.com/2015/02/fechahora04.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora04.png 455w, https://firebird21.files.wordpress.com/2015/02/fechahora04.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora04.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px; text-align: center;" /></span></a></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">Captura 4.</strong> </em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><br /></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<a href="https://firebird21.files.wordpress.com/2015/02/fechahora05.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA05" class="aligncenter size-full wp-image-6125" data-attachment-id="6125" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA05" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora05.png?w=453" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora05.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora05.png" data-orig-size="453,116" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora05/" sizes="(max-width: 453px) 100vw, 453px" src="https://firebird21.files.wordpress.com/2015/02/fechahora05.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora05.png 453w, https://firebird21.files.wordpress.com/2015/02/fechahora05.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora05.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px; text-align: center;" /></span></a></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="background-color: white; margin: 0px; padding: 0px;">Captura 5.</strong></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="background-color: white; margin: 0px; padding: 0px;"><br /></strong></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<a href="https://firebird21.files.wordpress.com/2015/02/fechahora06.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA06" class="aligncenter size-full wp-image-6126" data-attachment-id="6126" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA06" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora06.png?w=454" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora06.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora06.png" data-orig-size="454,118" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora06/" sizes="(max-width: 454px) 100vw, 454px" src="https://firebird21.files.wordpress.com/2015/02/fechahora06.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora06.png 454w, https://firebird21.files.wordpress.com/2015/02/fechahora06.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora06.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px;" /></span></a></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">Captura 6.</strong> </em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><br /></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">Si observas las capturas 4, 5, y 6 notarás que la cantidad de decimales significativos va aumentando, de acuerdo al parámetro que se le envió a la variable de contexto CURRENT_TIME.</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">1 = 1 decimal (o sea, una precisión de décimas de segundo)</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">2= 2 decimales (o sea, una precisión de centésimas de segundo)</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">3 = 3 decimales (o sea, una precisión de milésimas de segundo)</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;"><br /></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<span style="background-color: white;">Con ‘NOW’ podemos obtener la fecha, la hora, o la fecha y hora, actuales. Por ejemplo:</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<a href="https://firebird21.files.wordpress.com/2015/02/fechahora07.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA07" class="aligncenter size-full wp-image-6128" data-attachment-id="6128" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA07" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora07.png?w=454" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora07.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora07.png" data-orig-size="454,129" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora07/" sizes="(max-width: 454px) 100vw, 454px" src="https://firebird21.files.wordpress.com/2015/02/fechahora07.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora07.png 454w, https://firebird21.files.wordpress.com/2015/02/fechahora07.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora07.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px; text-align: center;" /></span></a></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">Captura 7.</strong> </em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><br /></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<a href="https://firebird21.files.wordpress.com/2015/02/fechahora08.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA08" class="aligncenter size-full wp-image-6129" data-attachment-id="6129" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA08" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora08.png?w=453" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora08.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora08.png" data-orig-size="453,118" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora08/" sizes="(max-width: 453px) 100vw, 453px" src="https://firebird21.files.wordpress.com/2015/02/fechahora08.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora08.png 453w, https://firebird21.files.wordpress.com/2015/02/fechahora08.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora08.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px; text-align: center;" /></span></a></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="background-color: white; margin: 0px; padding: 0px;">Captura 8.</strong></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="background-color: white; margin: 0px; padding: 0px;"><br /></strong></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px;">
<a href="https://firebird21.files.wordpress.com/2015/02/fechahora09.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA09" class="aligncenter size-full wp-image-6130" data-attachment-id="6130" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA09" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora09.png?w=453" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora09.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora09.png" data-orig-size="453,115" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora09/" sizes="(max-width: 453px) 100vw, 453px" src="https://firebird21.files.wordpress.com/2015/02/fechahora09.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora09.png 453w, https://firebird21.files.wordpress.com/2015/02/fechahora09.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora09.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px; text-align: center;" /></span></a></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="background-color: white; margin: 0px; padding: 0px;">Captura 9.</strong></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="background-color: white; margin: 0px; padding: 0px;"><br /></strong></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">Como puedes ver, la precisión de la hora con ‘NOW’ siempre es de milisegundos.</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<strong style="font-size: 12.96px; margin: 0px; padding: 0px;"><span style="background-color: white; font-size: large;"><br /></span></strong></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px; text-align: center;">
<strong style="font-size: 12.96px; margin: 0px; padding: 0px;"><span style="font-size: large;"><u style="background-color: white;">Usando las fechas y horas dentro de un <em style="font-family: Georgia, "Times New Roman", Times, serif; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">stored procedure</em>, <em style="font-family: Georgia, "Times New Roman", Times, serif; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">trigger</em> o <em style="font-family: Georgia, "Times New Roman", Times, serif; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">execute block</em></u></span></strong></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px; text-align: center;">
<span style="background-color: white;">Si necesitamos utilizar los valores de las fechas u horas actuales dentro del código fuente, entonces podemos obtener sus valores de la misma manera a como lo haríamos con las columnas de las tablas, algo como:</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<a href="https://firebird21.files.wordpress.com/2015/02/fechahora10.png" style="margin: 0px; outline: none; padding: 0px;"><span style="background-color: white; color: black;"><img alt="FECHAHORA10" class="aligncenter size-full wp-image-6136" data-attachment-id="6136" data-comments-opened="1" data-image-description="" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="FECHAHORA10" data-large-file="https://firebird21.files.wordpress.com/2015/02/fechahora10.png?w=497" data-medium-file="https://firebird21.files.wordpress.com/2015/02/fechahora10.png?w=300" data-orig-file="https://firebird21.files.wordpress.com/2015/02/fechahora10.png" data-orig-size="497,202" data-permalink="https://firebird21.wordpress.com/2015/02/22/obteniendo-la-fecha-y-la-hora-actuales/fechahora10/" sizes="(max-width: 497px) 100vw, 497px" src="https://firebird21.files.wordpress.com/2015/02/fechahora10.png?w=500" srcset="https://firebird21.files.wordpress.com/2015/02/fechahora10.png 497w, https://firebird21.files.wordpress.com/2015/02/fechahora10.png?w=150 150w, https://firebird21.files.wordpress.com/2015/02/fechahora10.png?w=300 300w" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 4px; border: 1px solid rgb(214, 209, 199); clear: both; display: block; margin: 0px auto; max-width: 500px; padding: 5px; text-align: center;" /></span></a></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><strong style="margin: 0px; padding: 0px;">Captura 10.</strong> </em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px; text-align: center;">
<em style="background-color: white; font-family: georgia, "times new roman", times, serif; font-size: 12.96px; font-stretch: normal; line-height: normal; margin: 0px; padding: 0px;"><br /></em></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">Desde luego que también podríamos obtener el valor de ‘NOW’ de la forma anterior.</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;"><br /></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;"><br /></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; margin-bottom: 1em; padding: 0px; text-align: center;">
<span style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px;"><b><u><span style="background-color: white; font-size: large;">Diferencias entre CURRENT_TIMESTAMP, CURRENT_DATE, CURRENT_TIME y ‘NOW’</span></u></b></span></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">Quizás te hayas preguntado ¿para qué existe la palabra ‘NOW’ siendo que las fechas y las horas podemos obtenerlas con las variables de contexto?</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">Bien, la diferencia es que dentro de un <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">stored procedure</em>, <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">trigger</em> o <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">execute block</em> las variables de contexto siempre devolverán el mismo valor. Por ejemplo, si en la primera línea de un <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">stored procedure</em> la variable de contexto CURRENT_TIME devolvía ’14:24:57′ y ese stored procedure demoró en finalizar 40 segundos, en la última línea de ese <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">stored procedure</em> la variable de contexto CURRENT_TIME seguirá devolviendo ’14:24:57′</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">No cambió su valor. Dentro de un <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">stored procedure</em>, <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">trigger</em>, o <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">execute block</em>, las variables de contexto siempre tienen exactamente el mismo valor.</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12.96px; margin-bottom: 1em; padding: 0px 0px 0px 30px;">
<span style="background-color: white;">Pero ‘NOW’ sí cambia su valor dentro de un <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">stored procedure</em>, <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">trigger</em> o <em style="font-family: Georgia, "Times New Roman", Times, serif; font-size: 12.96px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; padding: 0px;">execute block</em>. Y con ‘NOW’ siempre tenemos una precisión de milisegundos.</span></div>
</div>
<ul style="color: #6f5e4e; font-family: arial, helvetica, sans-serif; font-size: 12.96px; list-style: none; margin: 1.2em 0px 1.8em 10px; padding: 0px;">
</ul>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-80011859581699597202020-05-01T17:18:00.002+02:002020-05-01T17:33:26.736+02:00<div style="text-align: center;">
<span style="font-size: large;"><b><u>Crear un bat para windows de copias de seguridad automáticas usando mysql y 7z</u></b></span></div>
<span style="font-size: large;"><b><u><br /></u></b></span>
La idea es usar un fichero <b>.bat</b> (BATCH ó CMD) para hacer todo el proceso automáticamente.<br />
<br />
Para hacer las cosas más fáciles, es mejor que creemos una carpeta en un directorio sin restricciones, como MIS DOCUMENTOS o en el ESCRITORIO. Allí colocaremos/crearemos nuestro fichero de copias de seguridad, en mi caso lo he llamado <b>copias_seguridad.bat</b><br />
<br />
De primeras tenemos que tener instalado en el equipo la base de datos de donde haremos la copia de seguridad y el programa de compresión <b>7z</b>. En mi caso tengo instalado <b>mysql </b>y por eso parte de las líneas de comando del fichero <b>.bat</b> son específicas para esta <b>BD</b>. El usuario que tenga otro tipo de <b>BD </b>tendrá que cambiarlas.<br />
<br />
Las líneas específicas para <b>mysql </b>son las que empiezan por <b>mysqldump</b>. Y son algo así ...<br />
<blockquote class="tr_bq">
<span style="font-size: x-small;">mysqldump --opt --password=1234 --user=root --port=3306 nombreBD1 > nombreBD1.sql</span></blockquote>
<div>
Donde <b>mysqldump </b>es el comando de copias de seguridad de <b>mySql </b>o <b>mariaDB </b>y el <b>path </b>o ruta donde esté este comando debe de estar puesto dentro del contenido de la variable de entorno del sistema <b>PATH </b>de windows. </div>
<div>
<br /></div>
<div>
La parte que pone <b>password</b>, <b>user </b>o <b>port, </b>son evidentes, son los datos necesarios para conectarse con la <b>BD</b>. </div>
<div>
<br /></div>
<div>
Lo que hay después del puerto es el nombre de la <b>BD</b> y lo que hay después del signo<b> ></b> es el nombre del fichero que generará <b>mysqldump </b>con la copia de seguridad.</div>
<div>
<br /></div>
<div>
Para poder hacer uso del compresor <b>7z</b>, deberíamos de tener en cuanta los siguientes pasos a realizar:</div>
<div>
<br /></div>
<div>
Lo primero es descargar la aplicación, bien en su versión <b>x86</b> o en su versión <b>x64</b>. Puedes descargar la versión estable más reciente ... <span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;"><span style="box-sizing: border-box; color: green;"><a href="http://7-zip.org/" rel="nofollow" style="background-color: transparent; box-sizing: border-box; color: #660099; text-decoration-line: none;" target="_blank">Haciendo clic aquí</a></span></strong></div>
<div>
<br /></div>
<div>
No es necesario que <b>7z</b> esté instalado, solamente necesitas los archivos <b>7z.exe</b> y <b>7z.dll</b>. Estos ficheros varían en su tamaño según la versión descargada y deben de estar en el mismo directorio donde pongamos nuestro fichero <b>.bat</b> de copias de seguridad. Si no sabemos como extraer los archivos del instalador que descarguemos para 7z, instálalo y podrás obtenerlos en el directorio en el que hayamos instalado esta aplicación.</div>
<div>
<br /></div>
<div>
Otra solución sería, ya que hemos instalado bajo windows el programa <b>7z</b> y sabemos el path/ruta de su instalación, pues incluirlo en la variable de entorno del sistema de windows llamada <b>PATH</b>. Así podríamos usar el comando <b>7z.exe</b> desde cualquier parte</div>
<div>
<b><br /></b></div>
<div>
No debemos de olvidar, algo que ya hemos dicho anteriormente, cuando vayamos a utilizar el comando <b>7z.exe</b>, como compresor o descompresor, es necesario que el ejecutable <b>7z.exe</b> esté junto al archivo <b>7z.dll</b>.</div>
<div>
<br /></div>
<div>
Bien, es el momento de que conozcamos los comandos que utiliza <b>7z.exe. </b></div>
<div>
<b><br /></b></div>
<div>
<b>Y para ello es justo decir que el material que adjunto a continuación lo he copiado del siguiente blog ... </b><a href="https://www.taringa.net/+hazlo_tu_mismo/usando-7z-exe-en-comandos-de-un-bat-cmd_12oejh">https://www.taringa.net/+hazlo_tu_mismo/usando-7z-exe-en-comandos-de-un-bat-cmd_12oejh</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 18pt; line-height: 18pt;"><strong style="box-sizing: border-box;"><u>Sintaxis utilizada por el 7z.exe</u></strong></span></div>
<div>
<span style="font-size: 24px;"><b><u><br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif;" /></u></b></span><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">En primer lugar, tenemos que familiarizarnos con la sintaxis necesaria por el <b>7z</b>. </span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"><br /></span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Comienza tu línea indicando el sitio en donde se encuentra el <b>7z</b>; si lo tienes junto al <b>BATCH (</b>o puesto en la variable de sistema<b> PATH</b>),<b> </b>inicia la línea con <b>7z.exe</b>.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Comenzada la línea, quedará así:</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">7z.exe ComandoAUtilizar -FunciónParaElComando NombreDelArchivoDeSalida</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"></span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">El </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">ComandoAUtilizar</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> está entre:</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">a</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Agregar archivos. Si usamos el Switch </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-ai</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">, podremos incluir una lista de archivos incluida en un .txt.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">b</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Benchmark (Es algo como referencias)</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">d</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Borrar archivos</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">e</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Extraer archivos</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">l</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Lista</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">t</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Probar</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">u</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Actualizar</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">x</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Extraer archivos con las rutas completas</span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">La </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-FunciónParaElComando (También llamado Switch)</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> sirve para especificar lo que hará el comando; de esta forma podemos agregar archivos específicos a un comprimido, o extraer alguno en específico. Siempre debe comenzar con un </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">- (Guíon)</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">. </span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"><br /></span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Entre ellos están:</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-ao</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Modo de autorenombramiento.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-i</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Incluir archivos específicos.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-mx</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Nivel de compresión.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-o</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Establecer directorio de salida.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-p</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Establecer contraseña.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-sfx</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Crear un archivo SFX.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-t</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Tipo de compresión a utilizar.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-v</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Partir en tamaños de Kb, Mb y Gb.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-w</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Indicar el directorio dónde se trabajará.</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-x</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Excluir archivos. Para excluir varios archivos desde otro archivo </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-ax</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"></span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-y</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Responder que sí a cualquier evento.</span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">El </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">NombreDelArchivoDeSalida</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> puede tener la terminación en la que queremos que quede el archivo, o si bien la dejamos en blanco, el archivo que resulte de la operación será .7z a menos que usemos el switch -t cambiando el formato del archivo; pero aun cambiando el método de compresión, podemos indicar la terminación del archivo si la especificamos. </span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">De esta forma si en NombreDelArchivoDeSalida escribimos: "Tuto7z.taringa" la terminación de nuestro archivo será ".taringa" y el lenguaje de compresión será el especificado (o no) si usamos el switch -t.</span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Estas son las funciones más importantes; pueden ver la lista de los comandos completos (En inglés) si ejecutan el 7z.exe desde el <b>CMD</b>. </span><br />
<img border="0" class="imagen" src="https://o1.t26.net/images/space.gif" style="background-color: white; border: 0px; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px; max-width: 100%; vertical-align: middle;" /><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"></span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 18pt; line-height: 18pt;"><strong style="box-sizing: border-box;"><u>Comandos más utilizados y algunos ejemplos con Switches</u></strong></span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"></span><span style="font-size: 24px;"><b><u><br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif;" /></u></b></span><span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 12pt; line-height: 12pt;"><strong style="box-sizing: border-box;">-Añadir archivos a un comprimido:</strong></span><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Supongamos que queremos añadir a un comprimido todos los archivos existentes en el directorio donde está el 7z.exe, el comando que usariamos en el BATCH quedaría así: </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;"><em style="box-sizing: border-box;">7z.exe A MiArchivo.taringa</em></strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Si queremos crear un archivo excluyendo algun archivo presente usamos el switch -x, luego un ! y finalmente el nombre del archivo. Ej: </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;"><em style="box-sizing: border-box;">7z.exe A -x!7z.exe MiArchivo.taringa</em></strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Podemos concatenar varias exclusiones, así como excluir toda una serie de archivos indicando *.TerminaciónDeLosArchivos (Ej .JPG); así no se añadiría a nuestro comprimido ninguna fotografía formato en .jpg.</span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 12pt; line-height: 12pt;"><strong style="box-sizing: border-box;">-Extraer archivos de un comprimido:</strong></span><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Para extraer todos archivos usamos los comandos </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">E y X</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">. </span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Si queremos extraer sólo unos cuantos, los especificamos al final del comando. </span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"><br /></span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Algunos ejemplos:</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;"><em style="box-sizing: border-box;">7z.exe E MiArchivo.taringa</em></strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">. Este comando extraería todos los archivos contenidos en MiArchivo.taringa </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">EXCLUYENDO LOS DIRECTORIOS INCLUÍDOS EN EL COMPRIMIDO</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">, es decir, si el comprimido contiene las carpetas "Tuto1tuto1.htm | Tuto2tuto2.htm" y usamos el comando </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">E</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">, las carpetas "Tuto1" y "Tuto2" no se crearán y su contenido (El de dichas carpetas) se extraerá en el mismo directorio que los demás archivos.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Veamos otro ejemplo:</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;"><em style="box-sizing: border-box;">7z.exe X MiArchivo.taringa</em></strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">. Es igual que el anterior, con la diferencia de que este sí creará las carpetas contenidas en MiArchivo.taringa.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;"><em style="box-sizing: border-box;">7z.exe X -y MiArchivo.taringa Tuto1tuto1.htm</em></strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">. Extraerá solamente el archivo tuto1.htm, creando la carpeta que lo contiene. Si queremos que extraiga solamente algún archivo debemos especificarlo al final del comando tal como se hizo con "tuto1.htm".</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 18pt; line-height: 18pt;"><strong style="box-sizing: border-box;"><u>Combinando los Switches</u></strong></span></div>
<div>
<span style="font-size: 24px;"><b><u><br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif;" /></u></b></span><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">En definitiva los comandos más utilizados son los de Extraer y Añadir a un comprimido, y para automatizar nuestro BATCH tendremos que indicar todas las funciones que necesita el comando según nuestros requerimientos.</span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 12pt; line-height: 12pt;"><strong style="box-sizing: border-box;">-Extraer rutas completas en una carpeta:</strong></span><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Cuando necesitamos actualizar una serie de archivos sea cual sea el motivo (Actualizar, arreglar un bug, etc), podemos agregar el SWITCH -y a la línea de comandos, de manera que el 7z.exe diga que sí a cualquier advertencia que nos intente dar el programa.</span><br />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Si solamente queremos reemplazar archivos existentes, agregamos "-aoa", donde "-ao" se refiere a las opciones de sobreescritura, y la "a" final es para que reescriba todos los archivos que ya existen sin necesidad de preguntar.</span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 12pt; line-height: 12pt;"><strong style="box-sizing: border-box;">-Métodos de compresión:</strong></span><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Como se ha dicho, si no especificamos el tipo de compresión que queremos utilizar, 7z.exe usará el diccionario de compresión del archivo que estemos utilizando, y el formato o terminación dependerá del que nosotros le indiquemos en NombreDelArchivo. </span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"><br /></span></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Para </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">especificar el diccionario de compresión añadiremos el SWITCH -t</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> seguido del formato que queremos. Podemos usar entre: .zip, .rar, .tar, split, gzip, bzip2, etc. Si queremos saber cuáles formatos soporta la versión del 7z que estamos usando, te recomiendo que visites la página oficial de 7z: </span><a href="http://7-zip.org/" rel="nofollow" style="background-color: white; box-sizing: border-box; color: #660099; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px; text-decoration-line: none;" target="_blank">7-Zip.Org</a></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"></span><br style="background-color: white; box-sizing: border-box;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">En cuanto al nivel de la compresión, usaremos el SWITCH </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-mx</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> seguido de un número entre 1/3/5/7/9; donde obviamente mientras más cerca del 1 estemos menos será la compresión y viceversa.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Ejemplo:</span><br />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;"><em style="box-sizing: border-box;">7z.exe A -TZip -mx9 MiArchivo.taringa</em></strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">. Con este comando estaríamos creando un archivo con terminacion .taringa pero comprimido con el diccionario de archivos .ZIP con el máximo algoritmo de compresión; esto nos da mucha utilidad por la amplia compatibilidad de los archivos .ZIP.</span><br />
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 12pt; line-height: 12pt;"><strong style="box-sizing: border-box;">-Creando un archivo autoextraible (SFX):</strong></span><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> Para crear un archivo autoextraible necesitamos usar el SWITCH </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-sfx</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"> seguido del nombre final del archivo, y luego los archivos a añadir.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">Para extraer archivos de un sfx creado en 7z, comenzamos la línea de nuestro BATCH invocando al autoextraible y él hara su trabajo. Si no queremos que nos pregunte la ruta de extraccion, agregamos el SWITCH </span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">-y</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">, lo que extraerá los archivos en el directorio en el que esté el archivo SFX.</span></div>
<div>
<br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" />
<strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">[NOTA: Para hacer un SFX tenemos que añadir los archivos 7zCon.sfx y 7z.sfx junto al 7z.dll y 7z.exe</strong><span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;">; luego de crear tu SFX no son necesarios para extraer algún SFX existente.</span><strong style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;">]</strong></div>
<div>
<span style="background-color: white; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 14px;"></span><b><br style="background-color: white; box-sizing: border-box; color: #575757; font-family: Lato, Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif; font-size: 14px;" /></b>
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 18pt; line-height: 18pt;"><strong style="box-sizing: border-box;"><u>Creando un ejemplo de fichero de copias de seguridad</u></strong></span></div>
<div>
<span style="background-color: white; box-sizing: border-box; color: #575757; font-family: "lato" , "roboto" , "helvetica" , "helvetica neue" , "arial" , sans-serif; font-size: 18pt; line-height: 18pt;"><strong style="box-sizing: border-box;"><u><br /></u></strong></span></div>
Bien, esta parte ya vuelve a ser de propiedad del que redacta este artículo. Pero debo de dejar en constancia que el fichero <b>.bat</b> que usaremos para copias de seguridad, se ha creado usando un <b>script </b>para <b>windows 7</b>, por lo que es posible que algún comando sea algo diferente en otras versiones de windows.<br />
<br />
Este es el contenido que tiene el fichero <b>copias_seguridad.bat</b> que hemos creado de muestra para realizar las copias de seguridad. En cada setencia que empieza por <b>rem</b> describimos brévemente lo que hacen las líneas que van a continuación. Su contenido lo podeis copiar porque ha sido creado para su libre divulgación y en breve lo subiré a gitHub por si se hiciera alguna modificación/mejora posterior.<br />
<blockquote class="tr_bq">
<span style="font-size: x-small;">@echo off<br /><b>rem ** nos ponemos en el directorio donde está el fichero .bat **</b>cd C:\socger\COPIAS<br /><b>rem ** nos quedamos con la fecha del sistema **</b>SET fecha="%date:~6,4%%date:~3,2%%date:~0,2%"<br /><b>rem ** nos quedamos con la hora del sistema **</b>set hora=%TIME:~,2%<br />set min=%TIME:~3,2%<br />set seg=%TIME:~6%<br /><b>rem ** creo todos los ficheros de copia de las diferentes Bd de MySQL **</b>echo Se crean las copias de mySQL<br />mysqldump --opt --password=1234 --user=root --port=3306 nombreBD1 > nombreBD1.sql<br />mysqldump --opt --password=1234 --user=root --port=3306 nombreBD2 > nombreBD2.sql<br /><b>rem ** renombramos los ficheros .sql creados para ponerles la fecha y hora del sistema **</b>ren "nombreBD1.sql" "%fecha%_%hora%%min%_nombreBD1.sql"<br />ren "nombreBD2.sql" "%fecha%_%hora%%min%_nombreBD2.sql"<br /><br /><b>rem ** Comprimimos los ficheros sql con el compresor 7z **</b>7z.exe a -x!7z.exe -x!7z.dll %fecha%_%hora%%min%_copia.7z *.sql<br /><b>rem ** se borra la siguiente linea porque ocupa mucho espacio en formato zip **</b><b>rem </b>7z.exe a -x!7z.exe -x!7z.dll -tZip -mx9 %fecha%_%hora%%min%_copia.zip *.sql<br /><b>rem ** copiamos la copia de seguridad en dos respaldos o rutas diferentes **</b><b>rem ** una de ellas es una carpeta preparada para ser llevada a la nube de DropBox **</b>xcopy C:\socger\COPIAS\*.7z C:\Users\Federico\Dropbox\copias /h /c<br />xcopy C:\socger\COPIAS\*.7z C:\socger\COPIAS\yaenInternet /h /c<br /><b>rem ** borro todos los ficheros de copia de seguridad de MySQL **</b>del "C:\socger\COPIAS\*.sql"<br />del "C:\socger\COPIAS\*.7z"</span></blockquote>
Sería interesante, como lo muestran las líneas comentadas, tener instalado algún sistema de copias de contenido en la nube. En mi caso he usado <b>dropBox</b>, pero podemos usar también <b>OneDrive</b>, <b>Drive </b>o algún sistema de <b>ftp</b>. La idea es tener algún otro respaldo de copias de seguridad aparte de cualquier formato físico.<br />
<br />
Por supuesto también podemos modificar el<b> .bat</b> anterior para que creara copias de seguridad en varios sistemas físicos a la vez. De hecho podríamos realizar las copias en un NAS conectado en la red, en varios pendrive conectados al equipo, en carpetas compartidas en otros ordenadores de nuestra red interna, etc.<br />
<br />
Ya el paso siguiente sería crear una tarea, en herramientas del sistema de windows, para que llamara automáticamente a nuestro fichero <b>.bat</b> todos los días a cierta hora y se ejecutara nuestra copia de seguridad. Llegado a este punto no olvidemos que cuando estemos creando la tarea nos preguntará por un usuario/contraseña que tenga permisos suficientes para realizarla, como podría ser una administrador del sistema.<br />
<br />
Para su mayor difusión hemos creado en LinkedIn la siguiente publicación ...<br />
<a href="https://www.linkedin.com/pulse/crear-un-bat-para-windows-de-copoias-seguridad-usando-s%25C3%25A1nchez">https://www.linkedin.com/pulse/crear-un-bat-para-windows-de-copoias-seguridad-usando-s%25C3%25A1nchez</a><br />
<br />
<br />
<br />
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-49965258038199979542016-11-28T23:07:00.005+01:002016-11-28T23:27:01.332+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; color: #222222; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; position: relative; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: medium;">Mejoras en general.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; color: #222222; font-family: "helvetica neue", helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; position: relative; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; color: #222222; font-family: Georgia, Utopia, "Palatino Linotype", Palatino, serif; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; position: relative; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: "times new roman"; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; color: #222222; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; position: relative; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: medium;"></span></h1>
<h1 class="entry-title" style="background-color: #fff9ee; border: 0px; clear: both; color: #222222; font-family: Georgia, Utopia, "Palatino Linotype", Palatino, serif; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; position: relative; text-align: center; vertical-align: baseline;">
<div style="font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-family: "times new roman";">
<ul style="line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;">
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: x-small;">Ahora en el fichero .ini de configuración del programa se contemplan dos variables nuevas (Impresora_Descripcion_Elegida y Impresora_Ctdada_Copias). Estas son variables que sólo servirán para la terminal en la que se configuren y por lo tanto si se cumplimentan, no cargarán la impresora predeterminada del menú auxiliares\impresoras.</span></li>
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: x-small;">Se ha corregido el fallo que existía cuando se configuraba como predeterminada una impresora que no existía. Ahora si la impresora no existe o todavía no se ha configurado, pues se elegirá una de las impresoras que están creadas en la terminal (sistema operativo).</span></li>
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: x-small;">También se corrigió el error que ocurría al intentar pasar la cantidad de copias que se había elegido para la impresora predeterminada. Ahora configura el dialogo de impresión automáticamente con esta cantidad de copias.</span></li>
</ul>
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; color: #222222; font-family: "helvetica neue", helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; position: relative; text-align: center; vertical-align: baseline;">
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-81146439531004728812016-10-15T09:28:00.001+02:002016-10-15T09:28:11.615+02:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en general.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-size: medium; font-weight: normal;">
<ul>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se han modificado los mantenimientos de presupuestos, pedidos, albaranes y facturas. Ahora tenemos a la izquierda de las fechas elegidas para filtrar los registros, un botón que nos permite ir al módulo donde elegimos el trimestre con el que vamos a trabajar. Después de elegirlo, sólo tendremos que darle al botón de filtrar de cada mantenimiento.</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-69166149484429300092016-10-02T11:02:00.001+02:002016-10-15T09:26:12.816+02:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en general.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-size: medium; font-weight: normal;">
<ul>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se han modificado los mantenimientos de presupuestos, pedidos, albaranes y facturas para que antes de filtrar los registros (al entrar traía todo del año anterior y del presente) pues nos pregunte cual es el periodo/trimestre del año actual que queremos sólo filtrar. Si pulsamos cancelar pues nos traerá el filtro anterior (año anterior y actual), y si pulsamos aceptar sólo el trimestre/año elegido. Así se consigue que no se tarde tanto en traer todos los registros que de momento no se quieren consultar. Si se necesitaran fechas anteriores, pues se puede seguir ampliando el filtro de fechas seleccionadas, junto con el resto de filtros que ya existían.</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-54788629781855748662016-10-02T10:58:00.002+02:002016-10-02T10:58:47.155+02:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en general.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-size: medium; font-weight: normal;">
<ul>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se ha creado un mantenimiento para asignar a cada módulo que tenga informes cuales serán los informes (.lrf) que le pertenecen. De tal manera que cuando un módulo llame al form de informes, pues presente ya todas las plantillas que ha creado el usuario para cada módulo de la aplicación (de esta manera nace la posibilidad de crear/modificar nuevos informes por parte del usuario).</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se modifica form_informes para que presente la descripción de cada informe creado para este módulo que lo llama.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se modifican todas las llamadas donde se pasa el fichero .lrf para que ahora se llae a la función que devuelve los ficheros desde la tabla informes.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Cuando le decimos de diseño, vista previa o imprimir de un .lrf que no existe nos devolvía un error que no se controlaba (solucionado).</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-83350755890016475272016-05-27T18:14:00.003+02:002016-05-27T18:14:35.890+02:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en general.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-size: medium; font-weight: normal;">
<ul>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se ha creado en los detalles de la cabecera de la factura(de compras o de ventas) una nueva lengüeta que nos servirá para saber la cantidad de recibos de cartera generados para la factura que se esté editando. Los recibos se pueden introducir manualmente o simplemente conociendo la forma de pago del cliente, la aplicación los va generando según se vayan añadiendo/modificando las líneas de detalle con sus importes. De tal manera que cuando el total de la factura cambie, sus recibos se generan automáticamente. Si se borrara/cambiara la forma de pago del cliente, tendríamos que generar los recibos manuálmente, pero la aplicación nos ayuda a crear tantos como fueran necesarios según la forma de pago usada para esta factura. es decir, que si se eligió pago a 30/60 días, tendríamos que pulsar dos veces a generar recibos, pero la aplicación nos sugerirá automáticamente el importe de cada uno de ellos y sus posibles vencimientos. </span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">El que se generen automáticamente los recibos de cobro/pago (cartera) es debido a un trigger y un procedimiento almacenado existentes en la BD.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">En albaranes, pedidos y presupuestos se ha diferenciado en los datos de su cabecera otra lengüeta para la gestión de cobro o de pago (según sean de ventas o de compras).</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Cuando desde las líneas de detalle de un presupuesto, nos íbamos a ver el pedido que fue generado desde este presupuesto, cometía el fallo de no permitir ver el botón de imprimir (Solucionado).</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Lo mismo ocurría desde pedidos hacia albaranes.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Solucionado problema que se producía al borrar manuálmente los recibos de una factura. Si después le decías de cambiar/modificar las líneas de detalle, no te lo permitía porque decía que todavía tenía recibos (cuando habíamos borrado todos en realidad).</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Cuando le decíamos de imprimir alguno de los informes y le poníamos varias copias, nos triplicaba la cantidad de copias elegida.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se modificó en las facturas para que apareciera junto al grid que nos presenta los recibos, el total de recibos creados (suma total).</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">En presupuestos, cuando entrabamos en uno en concreto, no nos aparecía el total del presupuesto elegido(compras y ventas).</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Cuando convertíamos el presupuesto de ventas/compras en un pedido, no calculaba bien los totales del pedido</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Lo mismo ocurría al convertir un pedido en un albarán (compras/ventas)</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">La hoja de medidas/parte, que teníamos en pedidos (informe), ahora también la podríamos elegir desde presupuestos. Esto es debido a que cierto tipo de empresas necesitan esta hoja incluso antes de dar el presupuesto (pues tienen que desplazarse al local/comercio donde tienen que tomar medidas). Pero si fuera un parte por ejemplo para talleres, lo imprimirían desde la aceptación del presupuesto, que en realidad es pedido (presupuesto traspasado a pedido ... aceptado)</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: arial, helvetica, sans-serif;">Cuando entrabamos en un presupuesto, pedido, albarán o factura y eran negativos sus totales (resúmenes) no ponía bien formateadas las cantidades</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: arial, helvetica, sans-serif;">Ahora cuando editamos cualquier línea de detalle (ftras, albaranes, pedidos o presupuestos) ya no nos molestan las cantidades que eran por ejemplo con 99,999.00 (cuando las editamos no aparecen las comas, sólo el punto de los decimales)</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: arial, helvetica, sans-serif;">En el grid que nos presenta todas las facturas filtradas, que nos diga cuales son las ftras que todavía no están con sus recibos creados. Así desde otras terminales sabrán cuales son las ftras que están en proceso de creación/modificación (incluso se podrá saber si estas ftras no han sido terminadas por cuelgue de terminal)</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-26418067500250420202016-05-16T09:22:00.001+02:002016-05-27T17:56:40.199+02:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en general.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-size: medium; font-weight: normal;">
<ul>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se ha creado un módulo para que se pueda ver el histórico de un artículo, o símplemente hacer búsquedas por el campo de descripción tanto en ventas como en compras. Por supuesto se podrá hacer filtros por proveedor, cliente, cantidad de registros a devolver, por vehículo (por si se tratara de una reparación realizada), por almacén, etc. Este módulo es accesible tanto desde el menú de ventas/compras principal, como también desde las líneas de detalle de cualquier presupuesto, pedido, albarán o ftra/abono. Por supuesto si es llamado desde las líneas de detalle, ya nos prepara el terreno filtrando por el cliente/proveedor, etc con el que estemos trabajando.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;">Se modificó en la aplicación el modo de conectar con la Base de Datos, ahora podemos añadir también el puerto, si el protocolo cliente/servidor es comprimido, usar SSL, o un script de arranque, etc.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Cuando nos equivocábamos y en vez de crear una factura, le decíamos que era un abono ... o viceversa ... no podíamos cambiarle la serie/número a ella. Pues ahora tenemos un proceso para cambiarla, incluso eligiendo o no la numeración de una factura/abono ya borrada. También desde este apartado nuevo se ha creado un acceso rápido a la ficha de la empresa para poder cambiar la numeración de la próxima factura por si hiciera falta.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Ahora en las líneas de detalle de ftras, pedidos, albaranes, etc, si se está creandl y la descripción es superior a 50 caracteres obligará a introducir la descripción para el TPV. Pero si esta descripción es igual o inferior a 50, pondrá la misma descripción para la descripción del TPV.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">El cierre de ejercicios de facturas, sólo lo podrá hacer el superusuario o el usuario que tenga todos los privilegios.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Se ha solucionado un error de duplicación de índices cuando decimos de cerrar ejercicios de la misma empresa.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">En la ficha de la empresa se ha modificado la comprobación de la numeración para albaranes, facturas, pedidos o albaranes de compras.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Ahora en cualquier mantenimiento con tablas ligadas (hijas) si se está introduciendo la cabecera (tabla principal) sus grids de las tablas hijas apareceran de color gris (no se puede introducir nada) mientras se esté creando la cabecera.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Tanto en facturas de compras como de ventas, si la factura está cerrada, no se permite su modificación ni su control de recibos de cartera. </span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Pero si no está cerrad la factura y tiene recibos de compras/pagos, no se permitirá modificar nada de ella, pero si sus recibos o forma de pago. Esta medida se opta por si se ha gestionado una forma de pago nueva. Por supuesto si se borran todos sus recibos, la factura o sus líneas podrán volver a ser modificados.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Cuando en albaranes, pedidos, presupuestos, facturas o movimiento entre albaranes borramos la cabecera (borrado de toda la factura, albaran, etc) se borrarán automáticamente las líneas de detalle, pero sólo las líneas de detalle que no estuvieran borradas ya manualmente (una a una). Por lo que si volvemos a dar de alta la cabecera, se dan de alta también las líneas de detalle (las que NO fueron dadas de baja antes de dar de baja la cabecera). Este proceso se hace para que los trigger que controlan el stock del artículo actualicen de cada línea de detalle al artículo su stock (evidéntemente si resulta que la línea era un artículo y este está preparado para controlar su stock)</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Se ha cambiado el proceso de actualizar los totales de albaranes, presupuestos, pedidos y facturas/abonos. Ahora lo hacemos desde los trigger de sus tablas de detalle.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Ahora desde cualquier proceso de ventas (facturas, abonos, albaranes, pedidos y presupuestos) y desde el mantenimiento de sus líneas de detalle, podemos imprimir también la factura, o el listado de ftras realizadas y filtradas desde el módulo anterior. </span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Solucionado fallo a la hora de crear una línea de detalle (en albaranes, facturas, pedidos, etc) que ponía automáticamente el impuesto ( si solo existía uno), pero no sabía la aplicación de que tipo de impuesto era, es decir, si era un impuesto compuesto o no por otros impuestos.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Arreglado el fallo de calcular la base de la línea de detalle si se le decía el importe con impuestos incluidos. Se arregló en facturas/abonos, albaranes, pedidos y presupuestos.</span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif;">Se quitó de la aplicación el proceso que actualizaba automáticamente todos los totales (de ftras, pedidos, etc) antes de hacer cualquier tipo de listado. De hecho la actualización de los totales ahora se hace desde un trigger de cualquier tabla de detalle que a su vez este llama a un procedimiento almacenado.</span></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-74572566722812115912016-04-23T12:20:00.003+02:002016-05-16T09:01:53.182+02:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en general.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Debido al tiempo que llevo sin publicar y habiéndose hecho tantos cambios, paso a detallar todos aunque sean de diferentes módulos:</span></div>
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="font-family: 'times new roman';">
<br /></div>
<ul>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Arreglado fallo en la explotación de visitas por representante. No se recogían los últimos cambios realizados en la ficha del representante.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Creada nueva opción para cierre de ejercicios de compras o ventas. Así una vez cerradas esas facturas no podrán ser modificadas, puesto que ya han sido presentados los libros de facturas de ellas.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Dos nuevas opciones en menus para ver las últimas compras oventas realizadas. Pudiéndose filtrar por proveedor, cliente, artículo o en el mismo concepto. Están limitadas a las últimas diez compras o ventas, pero se puede aumentar el margen de filtro. Por supuesto están ordenadas de última a más antigua entrada.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Los listados de facturas, albaranes, pedidos y presupuestos si están filtrados por un proveedor o el cliente que lo ponga en la cabecera del listado. Y si pertenecen a compras pues que se puedan filtrar por su numeración y por su margen de fechas, es decir el del proveedor/acreedor.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Cuando estás introduciendo líneas en presupuestos, pedidos, albaranes o facturas poder hacer un histórico de las ventas, presupuestos, pedidos o albaranes realizados anteriormente a ese cliente/proveedor pero del artículo que estamos trabajando.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Cuando en la descripción de la línea de detalle de facturas, albaranes, pedidos o presupuestos ponemos dos espacios en blanco después de la última línea y luego se los quitamos, el proceso de editar se cree que no se ha modificado. Este error es debido a que paso una función Trim sobre estos campos. Solucionado.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Ahora en las líneas de detalle de facturas, albaranes, pedidos o presupuestos no podemos usar un impuesto NO COMPUESTO si ya fué usado como compuesto. También se controla que de un impuesto COMPUESTO alguna de sus partes fuera usada en otro impuesto COMPUESTO.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">En todas las cantidades que son puestas por pantalla tanto en cabeceras como en detalles de facturas, pedidos, albaranes o presupuestos se controla que estén bien formateadas para presentar bien los decimales. También se controla bien su formateo si se trata de cantidades negativas.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">En todos los mantenimientos de compras (facturas, albaranes, pedidos o presupuestos) ahora se pueden ordenar sus registros por proveedor + su fecha de emisión + su numero de documento.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Ahora se presentan en los mantenimientos principales de facturas, albaranes, pedidos o presupuestos los totales por cada uno de los impuestos usados. También se hace lo mismo cuando entramos en concreto en un albarán, una ftra., etc. pero presentando solo los impuestos que fueron usados en concreto para esa factura, albarán, etc.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">De las cabeceras de las facturas/albaranes/pedidos/impuestos se han quitado los campos total_base_imponible, total_impuestos y total_dtos. Puesto que ahora se detallan mejor.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">A las líneas de detalle de las facturas/albaranes/pedidos/impuestos ahora se las obliga a poner el impuesto. Si se usara un impuesto que no está sujeto pues se crea tal con su % a 0</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Se ha quitado sobre cualquier Grid de la aplicación la posibilidad de pulsar sobre la cabecera y ordenar los registros por esta columna. Se quitó por ser una función de los Grids de Lazarus que en la versión actual falla. Y posiblemente en las versiones futuras tardarán en corregirlo</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Cuando, en un mantenimiento que tiene tablas ligadas, filtro por algo la tabla principal pero no aparece ningún registro ... las tablas ligadas quedaban abiertas con los datos anteriormente filtrados. Por lo que se corrigió en toda la aplicación este tipo de mantenimientos para que si no devolviese ningún registro la tabla principal pues las tablas ligadas se cierran.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Se solucionó el problema del mantenimiento de impresoras que no nos dejaba insertar nuevos registros.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Solucionado el problema de que en el mantenimiento de artículos no nos permitía crear más referencias/códigos de barras por artículo.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Solucionado el problema de que hay veces que no se refresca la cabecera de facturas, pedidos, presupuestos o albaranes y no sabemos si están cerrados. Se ha generado una SQl que nos devuelve en tiempo real este asunto.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Ahora en la ficha del artículo, se se está creando y la descripción es superior a 50 caracteres, obligará a introducir la descripción para el TPV. Pero si es igual o inferior a 50, pondrá la misma descripción para la descripción del TPV.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Ahora desde pedidos se puede facturar diréctamente. Es decir un pedido podemos no solo convertirlo en albarán integramente, sino que también podemos convertirlo en factura. En realidad lo que hace es convertirlo en albarán primero y luego llama a albaranes y llama al proceso de facturar albaranes, habiéndolo elegido automáticamente al recién creado. Así nos permite comprobar si hay más albaranes sin facturar del mismo cliente, por si queremos incluirlos en esta factura que vamos a crear.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Ahora desde las líneas de detalle de facturas/albaranes/pedidos/presupuestos, sean de ventas o de compras, podemos filtrar por la referencia del proveedor.</span></span></li>
<li style="font-family: 'times new roman';"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><span style="font-weight: normal;">Se ha modificado en las líneas de detalle de </span></span><span style="font-family: "arial" , "helvetica" , sans-serif;">facturas/albaranes/pedidos/presupuestos, sean de ventas o de compras, para que podamos introducir la referencia del artículo. Esto ha provocado una mejora sustancial en el diseño de la introducción de estos datos. Por supuesto si una referencia pertenece a varios artículos, nos presenta una pantalla para elegir a cual de ellos queremos usar. Si solo existe una vez la referencia pues elegirá automáticamente el artículo. Pero si ya anteriormente existían datos de detalle o del artículo, nos preguntará antes si queremos quitarlos/cambiarlos.</span></li>
<li><span style="font-family: "arial" , "helvetica" , sans-serif;">En las líneas de detalle </span><span style="font-family: "arial" , "helvetica" , sans-serif;">de facturas/albaranes/pedidos/presupuestos, sean de ventas o de compras, si sólo hay un tipo de impuesto nos lo pone automáticamente.</span></li>
<li><span style="font-family: "arial" , "helvetica" , sans-serif;">En la cabecera </span><span style="font-family: "arial" , "helvetica" , sans-serif;">de facturas/albaranes/pedidos/presupuestos, sean de ventas o de compras, si sólo hay una empresa nos la pone automáticamente. Lo mismo ocurre con el almacén/tienda/sucursal</span></li>
<li>En el mantenimiento de proveedores, si elegimos una población que tiene código postal y la ficha del proveedor no lo tiene todavía pues nos lo pone automáticamente.</li>
<li>Cuando estamos introduciendo la cabecera de una factura/albaran/pedido/presupuesto no se ven las líneas de detalle (no se han creado todavía). En ese caso el grid de las líneas de detalle aparece de color gris y así da a entender que está desactivado.</li>
<li>En el mantenimiento de <span style="font-family: "arial" , "helvetica" , sans-serif;">facturas/albaranes/pedidos/presupuestos de compras, si ya se ha creado anteriormente una cabecera y estamos creando otra que ponga automáticamente la fecha de entrada que anteriormente se usó. Esto nos permitirá introducir los datos de la cabecera más rápidamente puesto que todos normalmente se introducirán con fecha de entrada del día que se crean. Es menester recordar que esta fecha de entrada es la que regirá para el cierre de ejercicios por facturas de compras.</span></li>
<li><span style="font-family: "arial" , "helvetica" , sans-serif;">Ahora los super ususarios y los usuarios con todos los permisos pueden desbloquear bloqueos de registros.</span></li>
</ul>
<div style="font-family: 'times new roman';">
<br /></div>
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
</div>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-86794974077588007542016-03-21T21:40:00.003+01:002016-04-23T12:19:14.230+02:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en presupuestos de compras.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de presupuestos sin desglosar cada línea de detalle del presupuesto. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span><span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de presupuestos y otro listado de presupuestos más detallado desglosando los impuestos de cada presupuesto (puede ocurrir que un mismo presupuesto tenga diferentes impuestos).</span><br />
<div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-6938360868981851622016-03-21T21:39:00.009+01:002016-03-21T21:39:55.076+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en presupuestos de ventas.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de presupuestos sin desglosar cada línea de detalle del presupuesto. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span><span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de presupuestos y otro listado de presupuestos más detallado desglosando los impuestos de cada presupuesto (puede ocurrir que un mismo presupuesto tenga diferentes impuestos).</span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span><span style="font-family: "arial" , "helvetica" , sans-serif;"> También se ha corregido el informe genérico del presupuesto para que imprima correctamente las cantidades negativas. Se ha añadido también otro nuevo formato de diseño de presupuesto por si se desea cambiar/rectificar. Y se ha creado un primer formato de diseño de presupuestos para Francia.</span><br />
<div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-45469969157394325502016-03-21T21:37:00.003+01:002016-03-21T21:37:27.508+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en pedidos de compras.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de pedidos sin desglosar cada línea de detalle del pedido. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de pedidos y otro listado de pedidos más detallado desglosando los impuestos de cada pedido (puede ocurrir que un mismo pedido tenga diferentes impuestos).</span><br />
<br /></div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-33292497540080109902016-03-21T21:36:00.004+01:002016-03-21T21:38:49.958+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en pedidos de ventas.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de pedidos sin desglosar cada línea de detalle del pedido. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de pedidos y otro listado de pedidos más detallado desglosando los impuestos de cada pedido (puede ocurrir que un mismo pedido tenga diferentes impuestos).</span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> También se ha corregido el informe genérico del pedido para que imprima correctamente las cantidades negativas. Se ha añadido también otro nuevo formato de diseño de pedido por si se desea cambiar/rectificar. Y se ha creado un primer formato de diseño de pedido para Francia.</span></div>
</div>
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-34978100454541914892016-03-21T21:34:00.004+01:002016-03-21T21:38:34.749+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en albaranes de compras.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de albaranes sin desglosar cada línea de detalle del albarán. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de albaranes y otro listado de albaranes más detallado desglosando los impuestos de cada albarán (puede ocurrir que un mismo albarán tenga diferentes impuestos).</span></div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-68608894360379659932016-03-21T21:33:00.006+01:002016-03-21T21:38:07.723+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en albaranes de ventas.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de albaranes sin desglosar cada línea de detalle del albarán. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de albaranes y otro listado de albaranes más detallado desglosando los impuestos de cada albarán (puede ocurrir que un mismo albarán tenga diferentes impuestos).</span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> También se ha corregido el informe genérico del albarán para que imprima correctamente las cantidades negativas. Se ha añadido también otro nuevo formato de diseño de albarán por si se desea cambiar/rectificar. Y se ha creado un primer formato de diseño de albarán para Francia.</span><br />
<div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
</div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-12140037610511789162016-03-21T21:32:00.001+01:002016-03-21T21:32:19.809+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en facturas de compras.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de facturas sin desglosar cada línea de detalle de la factura. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de facturas y otro listado de facturas más detallado desglosando los impuestos de cada factura (puede ocurrir que una misma factura tenga diferentes impuestos).</span></div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-44651692340879162282016-03-21T21:31:00.001+01:002016-03-21T21:31:20.440+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en facturas de ventas.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Ahora desde las líneas de detalle podemos dejar sin descripción cualquier línea. Esto era necesario para aquellos usuarios que quieran dejar líneas vacías y para aquellos usuarios que sólo quieran introducir los totales de facturas sin desglosar cada línea de detalle de la factura. </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Se han creado nuevos informes de listados. Un listado de facturas y otro listado de facturas más detallado desglosando los impuestos de cada factura (puede ocurrir que una misma factura tenga diferentes impuestos).</span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"> También se ha corregido el informe genérico de la factura para que imprima correctamente las cantidades negativas. Se ha añadido también otro nuevo formato de diseño de factura por si se desea cambiar/rectificar. Y se ha creado un primer formato de diseño de factura para Francia.</span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-53602255964486410622016-03-21T21:26:00.001+01:002016-03-21T21:26:25.181+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Mejoras en empresas.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
<div style="font-size: medium; font-weight: normal;">
<div style="font-family: 'times new roman';">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Se ha mejorado la ficha de la empresa para recoger los contadores propios de compras. Es decir contador para próxima factura de compras, abono de compras, albarán de compras, pedido de compras y presupuesto de compras.</span></div>
</div>
</div>
</div>
</div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-74551855569330558632016-03-21T21:24:00.002+01:002016-03-21T21:24:11.740+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Nuevo módulo - Utilidades.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal; line-height: normal; text-align: start;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><b> </b> Se ha creado un nuevo módulo de utilidades para vaciar/reparar las tablas de la aplicación. </span></div>
<div style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal; line-height: normal; text-align: start;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="font-family: 'Times New Roman'; font-size: medium; font-weight: normal; line-height: normal; text-align: start;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"> Esta opción es sólo para el superusuario de la aplicación.</span></div>
</h1>
socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-75226229797777751402016-03-21T21:21:00.006+01:002016-03-21T21:22:41.268+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Nuevo módulo - Facturas para compras/gastos.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><b> </b> Se ha creado un nuevo módulo para el control de las facturas recibidas de acreedores/proveedores. Su dinámica es muy parecida a la gestión de facturas de ventas, solo que llevamos el registro de dos numeraciones. La numeración interna (nuestro número y serie interno) y la numeración propia del proveedor/acreedor.</span>socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0tag:blogger.com,1999:blog-4807104400594178847.post-62584936755813323482016-03-21T21:21:00.002+01:002016-03-21T21:21:16.206+01:00<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; font-size: 36px; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: large;">Nuevo módulo - Albaranes para compras/gastos.</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; font-family: 'helvetica neue', helvetica, arial, sans-serif; line-height: 48px; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<span style="color: #ea9999; font-size: 36px;">Open-ERP SOCGER</span></h1>
<h1 class="entry-title" style="background-color: white; border: 0px; clear: both; margin: 0px; outline: 0px; padding: 15px 0px 0.3em; text-align: center; vertical-align: baseline;">
<div class="MsoNormal">
<div style="font-family: 'times new roman'; font-size: medium; font-weight: normal;">
<div style="text-align: left;">
</div>
</div>
</div>
</h1>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><b> </b> Se ha creado un nuevo módulo para el control de los albaranes recibidos de acreedores/proveedores. Su dinámica es muy parecida a la gestión de albaranes de ventas, solo que llevamos el registro de dos numeraciones. La numeración interna (nuestro número y serie interno) y la numeración propia del proveedor/acreedor.</span>socgerhttp://www.blogger.com/profile/06543862563942702065noreply@blogger.com0