Na princesa do inhamuns estava dando erro.

Vimos que não tinha esse motivo de reimpresion.

FIXES BUG#1

dev:gleimar
qua:marcelo

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@91135 d1611594-4594-4d17-8e1d-87c2c4800839
master
gleimar 2019-03-23 13:00:01 +00:00
parent e06960391c
commit d3061aa0c4
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
declare
dup_val_on_index exception;
pragma exception_init (dup_val_on_index , -00001);
begin
execute immediate 'Insert into MOTIVO_REIMPRESION (MOTIVOREIMPRESION_ID,DESCMOTIVO,ACTIVO,FECMODIF,USUARIO_ID) values (''99'',''EMISSAO SEGUNDA VIA '',''1'',SYSDATE,''1'')';
exception when dup_val_on_index then null;
end;