From e7f7e6eb7296a98d1c1cc26f47d6e4923b522416 Mon Sep 17 00:00:00 2001 From: alberto Date: Wed, 6 Sep 2017 19:51:17 +0000 Subject: [PATCH] =?UTF-8?q?Erro=20Fiscal=20(cancelamento=20autom=C3=A1tico?= =?UTF-8?q?=20no=20caja/boleto)=20(issue=209716)=20/=20Cancelamento=20auto?= =?UTF-8?q?m=C3=A1tico=20para=20vendas=20n=C3=A3o=20impressas=20na=20ECF?= =?UTF-8?q?=20(issue=209522)?= 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@73571 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170906_1140__mantis9716.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20170906_1140__mantis9716.sql diff --git a/src/db/migration/V20170906_1140__mantis9716.sql b/src/db/migration/V20170906_1140__mantis9716.sql new file mode 100644 index 000000000..e6c382fbe --- /dev/null +++ b/src/db/migration/V20170906_1140__mantis9716.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into MOTIVO_CANCELACION (MOTIVOCANCELACION_ID,DESCMOTIVO,TIPOMOTIVO,EQUIVALENCIAELEKTRA_ID,EQUIVALENCIA_ID,ACTIVO,FECMODIF,USUARIO_ID,TXTRELATORIO) values (90,''BOLETO CANC. AUTOMATICAMENTE'',''B'',null,null,''1'',sysdate,''1'',null)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file