fixed bug #9107 - Alteração que permite bloquear boleto de impressão posterior para impressão/troca/cancelamento/transferencia.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@71451 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago 2017-07-17 20:20:18 +00:00
parent f21338f394
commit 75ce73973f
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE BOLETO ADD (INDBLOQUEIOPTA NUMBER(1,0))';
exception when column_exists then null;
end;

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 FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID) values (FUNCION_SISTEMA_SEQ.nextval,''1'',''VDA > VENDA >> ENTREGA PASSAGEM >>> BLOQUEIO PTA'',''COM.RJCONSULTORES.VENTABOLETOS.ENTREGABOLETOS.BLOQUEIOPTA'',''1'',sysdate,''1'')';
exception when dup_val_on_index then null;
end;