foi criado uma função que possa ser atribuída a um perfil permitindo a CONFIRMAÇÃO DE ABERTO para serviços que já partiram.
fixes bug#10972 dev:william qua:marcelo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@81457 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
4f32ba0aed
commit
529cc16f19
|
@ -0,0 +1,15 @@
|
|||
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,2,''VDA > AUTORIZACAO > CONSULTAM CORRIDAS ANTERIORES ABERTO'',''COM.RJCONSULTORES.SCO.CONSULTACORRIDASANTERIORES.ABERTO'',1,sysdate,1)';
|
||||
end;
|
||||
/
|
||||
declare
|
||||
begin
|
||||
execute immediate 'Insert into constante (CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''HABILITA_BUSCA_CORRIDA_ABIERTO_ANTERIOR'',''HABILITA_BUSCA_CORRIDA_ABIERTO_ANTERIOR'',null,''0'',''1'',''1'',to_date(''27/04/18'',''DD/MM/RR''),''1'')';
|
||||
|
||||
exception when dup_val_on_index then null;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue