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-87c2c4800839master
parent
f21338f394
commit
75ce73973f
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
Loading…
Reference in New Issue