The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE UPDATE_US_ORG_INFO
(P_ORG_INFORMATION_ID IN NUMBER
,p_org_info_type_code IN VARCHAR2
,p_org_information1 IN VARCHAR2
,p_org_information2 IN VARCHAR2
)
IS
--
CURSOR csr_tax_rules
(p_organization_id IN NUMBER
,p_org_info_type_code IN VARCHAR2
,p_org_information1 IN VARCHAR2
)
IS
select 'Y'
from hr_organization_information
where ORG_INFORMATION_CONTEXT like p_org_info_type_code
and ORG_INFORMATION_CONTEXT in
( 'State Tax Rules', 'State Tax Rules 2', 'Local Tax Rules') --RLN 7421633
and org_information1 = p_org_information1
and organization_id = p_organization_id
and org_information_id <> P_ORG_INFORMATION_ID
;
select hoi.organization_id
into l_org_id
from hr_organization_information hoi
where P_ORG_INFORMATION_ID = hoi.org_information_id
-- and ORG_INFORMATION_CONTEXT = p_org_info_type_code
and rownum = 1;
END UPDATE_US_ORG_INFO;
PROCEDURE INSERT_US_ORG_INFO
(p_organization_id IN NUMBER
,p_org_info_type_code IN VARCHAR2
,p_org_information1 IN VARCHAR2
,p_org_information2 IN VARCHAR2
)
IS
--
CURSOR csr_tax_rules
(p_organization_id IN NUMBER
,p_org_info_type_code IN VARCHAR2
,p_org_information1 IN VARCHAR2
)
IS
select 'Y'
from hr_organization_information
where ORG_INFORMATION_CONTEXT like p_org_info_type_code
and org_information1 = p_org_information1
and organization_id = p_organization_id
;
END INSERT_US_ORG_INFO;
select 'Y'
from hr_organization_information
where ORG_INFORMATION_CONTEXT like p_org_information_context
and org_information1 = p_org_information1
and organization_id = p_organization_id
;