DBA Data[Home] [Help]

APPS.PA_SECURITY_PVT dependencies on PA_RESOURCE_UTILS

Line 615: pa_resource_utils.Check_ResourceName_Or_Id(

611:
612:
613: v_resource_id:=p_resource_id;
614: If p_resource_id is null then
615: pa_resource_utils.Check_ResourceName_Or_Id(
616: P_RESOURCE_ID=>p_resource_id ,
617: P_RESOURCE_NAME=>p_resource_name ,
618: P_CHECK_ID_FLAG=>'Y' ,
619: X_RESOURCE_ID=>v_resource_id ,

Line 629: (p_pkg_name =>'pa_resource_utils',

625: x_msg_data := v_error_message_code;
626: x_return_status := fnd_api.g_ret_sts_error;
627: x_ret_code:=fnd_api.g_false;
628: FND_MSG_PUB.add_exc_msg
629: (p_pkg_name =>'pa_resource_utils',
630: p_procedure_name => 'Check_ResourceName_Or_Id',
631: p_error_text => v_error_message_code);
632: RETURN;
633: end IF;

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

684:
685: -- Bug 2991490 Added the following condition.
686: -- If the logged in user is the resource on which the action is being performed, then grant privilege to the user.
687:
688: IF (p_resource_id = pa_resource_utils.get_resource_id(G_source_id) and l_fnd_function_test = true) THEN
689: x_ret_code:=fnd_api.g_true;
690: x_return_status:=fnd_api.g_ret_sts_success;
691: return;
692: END IF;