The following lines contain the word 'select', 'insert', 'update' or 'delete':
UPDATE pa_implementations
SET ENABLE_MRC_FOR_FUND_FLAG = 'U';
SELECT include_gains_losses_flag
FROM pa_projects_all
WHERE org_id = p_org_id -- 5078716 , Removed nvl condition
AND project_type = p_project_type
AND include_gains_losses_flag = 'Y';
FUNCTION option_updateable(
p_project_id IN NUMBER
,p_option_code VARCHAR2
) RETURN VARCHAR2 IS
l_return_code VARCHAR2(30) := 'Y';
END option_updateable;
procedure Update_Access_level
( errbuf out NOCOPY varchar2, --File.Sql.39 bug 4440895
retcode out NOCOPY varchar2, --File.Sql.39 bug 4440895
p_from_project_number in varchar2 default null,
p_to_project_number in varchar2 default null,
p_project_status in varchar2 default null,
p_project_type in varchar2 default null,
p_project_organization in number default null,
p_access_level in varchar2 default '1'
) is
cursor c_projects is
select project_id
from pa_projects_all
where segment1 >= nvl(p_from_project_number, segment1)
and segment1 <= nvl(p_to_project_number, segment1)
and project_status_code = nvl(p_project_status, project_status_code)
and project_type = nvl(p_project_type, project_type)
and carrying_out_organization_id = nvl(p_project_organization,carrying_out_organization_id);
l_last_update_date date;
l_last_updated_by number;
l_last_update_login number;
l_last_update_date := sysdate;
l_last_updated_by := fnd_global.user_id;
l_last_update_login := fnd_global.user_id;
update pa_projects_all
set security_level = to_number( p_access_level),
last_update_date = l_last_update_date,
last_updated_by = l_last_updated_by,
last_update_login = l_last_update_login
where project_id = rec.project_id;
end Update_Access_Level;
SELECT 'x'
FROM pa_lookups
WHERE lookup_type = 'ASSET_ALLOCATION_METHOD'
AND lookup_code = p_asset_allocation_method;
SELECT 'x'
FROM pa_lookups
WHERE lookup_type = 'CAPITAL_EVENT_PROCESSING'
AND lookup_code = p_capital_event_processing;
SELECT 'X'
FROM pa_ind_rate_schedules_all_bg
WHERE IND_RATE_SCH_USAGE = 'CAPITALIZED_INTEREST'
AND trunc(sysdate) between START_DATE_ACTIVE
AND nvl(trunc(END_DATE_ACTIVE),trunc(sysdate))
AND IND_RATE_SCH_ID = p_cint_rate_sch_id ;