DBA Data[Home] [Help]

APPS.PA_SECURITY_PVT dependencies on PA_RESOURCE_UTILS

Line 604: pa_resource_utils.Check_ResourceName_Or_Id(

600:
601:
602: v_resource_id:=p_resource_id;
603: If p_resource_id is null then
604: pa_resource_utils.Check_ResourceName_Or_Id(
605: P_RESOURCE_ID=>p_resource_id ,
606: P_RESOURCE_NAME=>p_resource_name ,
607: P_CHECK_ID_FLAG=>'Y' ,
608: X_RESOURCE_ID=>v_resource_id ,

Line 618: (p_pkg_name =>'pa_resource_utils',

614: x_msg_data := v_error_message_code;
615: x_return_status := fnd_api.g_ret_sts_error;
616: x_ret_code:=fnd_api.g_false;
617: FND_MSG_PUB.add_exc_msg
618: (p_pkg_name =>'pa_resource_utils',
619: p_procedure_name => 'Check_ResourceName_Or_Id',
620: p_error_text => v_error_message_code);
621: RETURN;
622: end IF;

Line 677: IF (p_resource_id = pa_resource_utils.get_resource_id(G_source_id) and l_fnd_function_test = true) THEN

673:
674: -- Bug 2991490 Added the following condition.
675: -- If the logged in user is the resource on which the action is being performed, then grant privilege to the user.
676:
677: IF (p_resource_id = pa_resource_utils.get_resource_id(G_source_id) and l_fnd_function_test = true) THEN
678: x_ret_code:=fnd_api.g_true;
679: x_return_status:=fnd_api.g_ret_sts_success;
680: return;
681: END IF;