DBA Data[Home] [Help]

APPS.PA_CONTROL_ITEMS_PUB dependencies on PA_CI_SECURITY_PKG

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

516: fetch c_curr_owner into l_curr_owner_id;
517: close c_curr_owner;
518:
519: if (l_owner_id <> l_curr_owner_id) then
520: l_chgowner_allowed := pa_ci_security_pkg.check_change_owner_access(p_ci_id);
521: if (l_chgowner_allowed <> 'T') then
522: PA_UTILS.Add_Message( p_app_short_name => 'PA'
523: ,p_msg_name => 'PA_CI_OWNER_CHG_NOT_ALLOWED');
524: x_return_status := 'E';

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

523: ,p_msg_name => 'PA_CI_OWNER_CHG_NOT_ALLOWED');
524: x_return_status := 'E';
525: /* Code added for Bug#4050242, starts here */
526: else
527: l_to_owner_allowed := pa_ci_security_pkg.is_to_owner_allowed(p_ci_id, l_owner_id);
528: if (l_to_owner_allowed <> 'T') then
529: PA_UTILS.Add_Message( p_app_short_name => 'PA'
530: ,p_msg_name => 'PA_CI_TO_OWNER_NOT_ALLOWED');
531: x_return_status := 'E';