8 lines
362 B
SQL
8 lines
362 B
SQL
DO $$
|
|
BEGIN
|
|
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
|
|
(nextval('funcion_sistema_seq'),1,'ADM > RELATORIO > MOVIMENTACAO ESTOQUE','COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOMOVIMENTACAOESTOQUE',1,now(),1);
|
|
|
|
EXCEPTION WHEN unique_violation THEN NULL;
|
|
END
|
|
$$; |