fixes bug#12491

dev:Valdevir
qua:Valdevir

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@87343 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2018-11-26 12:59:37 +00:00
parent b348fde818
commit e63112f0c4
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 funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(FUNCION_SISTEMA_SEQ.NEXTVAL,1,''VDA > VENDA EMBARCADA >> BAIXA GERA VENDA FISCAL'', ''COM.RJCONSULTORES.VENTABOLETOS.GUI.VENTA.MENU.ITENS.ITEMMENUEMBARCADABAIXAGERAVENDAFISCAL'',1,SYSDATE,-1)';
exception when dup_val_on_index then null;
end;