The following lines contain the word 'select', 'insert', 'update' or 'delete':
select ffunc.function_name
into l_application_short_name
from fnd_form_functions_vl ffunc,
icx_sessions icx
where icx.session_id = l_session_id
and icx.function_id = ffunc.function_id;
select application_short_name
into l_application_short_name
from fnd_application
where application_id = p_application_id;
select ffunc.function_name
into l_application_short_name
from fnd_form_functions_vl ffunc,
icx_sessions icx
where icx.session_id = l_session_id
and icx.function_id = ffunc.function_id;
update icx_sessions
set disabled_flag = 'Y'
where session_id = l_session_id;
select HOME_URL, MODE_CODE, Login_id
into l_url, l_mode_code, l_login_id
from ICX_SESSIONS
where SESSION_ID = l_session_id; -- mputman added (l_)login_id for call to fnd_signon.
select HOME_URL
into l_url1
from ICX_PARAMETERS;
select HOME_URL
into l_url
from ICX_PARAMETERS;