From 4f6faf2d3a2afe1d0e2a1faf4af5ce5acc6f3c98 Mon Sep 17 00:00:00 2001 From: valdir Date: Wed, 19 Feb 2020 12:47:07 +0000 Subject: [PATCH] =?UTF-8?q?0018330:=20Impress=C3=A3o=20de=20taxa=20de=20em?= =?UTF-8?q?barque=20W2I=20=3D=20null=20-=20AD-70=20bug#18330=20dev:thiago?= =?UTF-8?q?=20qua:junia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@100292 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200218_0930__mantis18330.sql | 6 ++++++ src/db/postgresql/migration/V20200218_0930__mantis18330.sql | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 src/db/migration/V20200218_0930__mantis18330.sql create mode 100644 src/db/postgresql/migration/V20200218_0930__mantis18330.sql diff --git a/src/db/migration/V20200218_0930__mantis18330.sql b/src/db/migration/V20200218_0930__mantis18330.sql new file mode 100644 index 000000000..71cd0e005 --- /dev/null +++ b/src/db/migration/V20200218_0930__mantis18330.sql @@ -0,0 +1,6 @@ +declare +begin + execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values + (FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > CALCULO DE PRECO > ESTOQUE TAXA DE EMBARQUE W2I'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.ESTOQUEW2I'',1,SYSDATE,-1)'; + exception when others then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20200218_0930__mantis18330.sql b/src/db/postgresql/migration/V20200218_0930__mantis18330.sql new file mode 100644 index 000000000..fbef44d2c --- /dev/null +++ b/src/db/postgresql/migration/V20200218_0930__mantis18330.sql @@ -0,0 +1,6 @@ +DO $$ +BEGIN + insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values + (FUNCION_SISTEMA_SEQ.NEXTVAL,1,'ADM > CALCULO DE PRECO > ESTOQUE TAXA DE EMBARQUE W2I', 'COM.RJCONSULTORES.ADMINISTRACION.GUI.ESQUEMAOPERACIONAL.ESTOQUEW2I',1,SYSDATE,-1) + END +$$; \ No newline at end of file