From 798cc2c7a2c0d3751a07733a4c6674ef1959d636 Mon Sep 17 00:00:00 2001 From: thiago Date: Mon, 17 Apr 2017 20:47:55 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#8746=20-=20Cria=C3=A7=C3=A3o=20d?= =?UTF-8?q?e=20funcionalidade=20para=20gerar=20o=20fechamento=20da=20data?= =?UTF-8?q?=20atual=20para=20contas=20correntes=20espec=C3=ADficas.?= 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@68107 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170417_1553__mantis8746.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/db/migration/V20170417_1553__mantis8746.sql diff --git a/src/db/migration/V20170417_1553__mantis8746.sql b/src/db/migration/V20170417_1553__mantis8746.sql new file mode 100644 index 000000000..6530055a8 --- /dev/null +++ b/src/db/migration/V20170417_1553__mantis8746.sql @@ -0,0 +1,11 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID) +values (funcion_sistema_seq.nextval,1,''CONTA CORRENTE AGENCIA > FECHAMENTO CONTA CORRENTE'',''COM.RJCONSULTORES.VENTABOLETOS.CONTACORRENTEAGENCIA.FECHAMENTOCONTACORRENTE'',1,SYSDATE,1)'; + exception when dup_val_on_index then null; +end; + + +