fixed bug #8340 - Alteração em sistema que permite registrar no relatório de caja as ações de reserva, ocupação e liberação.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@64857 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago 2017-01-12 12:11:58 +00:00
parent f4fbcf46f0
commit 9603beec90
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
select * from boleto where NUMFOLIOSISTEMA = 170687;
select * from SEGPOLV where BOLETO_ID in( 10000003617007,
10000003617008,
10000003617009);
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 (95,''POLTRONA_EXCLUSIVA'',''B'',null,null,''1'',sysdate,''-3'',''POLTRONA_EXCLUSIVA'')';
exception when dup_val_on_index then null;
end;