DBA Data[Home] [Help]

APPS.PA_CONTROL_ITEMS_PUB dependencies on PA_CI_SECURITY_PKG

Line 476: l_chgowner_allowed := pa_ci_security_pkg.check_change_owner_access(p_ci_id);

472: fetch c_curr_owner into l_curr_owner_id;
473: close c_curr_owner;
474:
475: if (l_owner_id <> l_curr_owner_id) then
476: l_chgowner_allowed := pa_ci_security_pkg.check_change_owner_access(p_ci_id);
477: if (l_chgowner_allowed <> 'T') then
478: PA_UTILS.Add_Message( p_app_short_name => 'PA'
479: ,p_msg_name => 'PA_CI_OWNER_CHG_NOT_ALLOWED');
480: x_return_status := 'E';

Line 483: l_to_owner_allowed := pa_ci_security_pkg.is_to_owner_allowed(p_ci_id, l_owner_id);

479: ,p_msg_name => 'PA_CI_OWNER_CHG_NOT_ALLOWED');
480: x_return_status := 'E';
481: /* Code added for Bug#4050242, starts here */
482: else
483: l_to_owner_allowed := pa_ci_security_pkg.is_to_owner_allowed(p_ci_id, l_owner_id);
484: if (l_to_owner_allowed <> 'T') then
485: PA_UTILS.Add_Message( p_app_short_name => 'PA'
486: ,p_msg_name => 'PA_CI_TO_OWNER_NOT_ALLOWED');
487: x_return_status := 'E';