
/*------ ATD 314319 ------*/
-- Adicionando registro na tabela CONTROLEDEOBJETOS
DECLARE V_NUM NUMBER;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE Upper(table_name) = 'CONTROLEDEOBJETOS' AND Upper(column_name) = 'CHAVE'; 
IF SQL%FOUND THEN
EXECUTE IMMEDIATE 'INSERT INTO CONTROLEDEOBJETOS (CHAVE,TEXTO) VALUES ('SiswRMARemessaRMA','THISFORM.ckoPermiteEnviarReservado.Visible = .T.') '; 
END IF;
END;
