Search Results get_person_name_no_date




Overview

APPS.PA_RESOURCE_UTILS is a foundational Oracle E-Business Suite PL/SQL utility package used by the Projects (PA) module to resolve, validate, and manage project resource information. Its primary business function is to provide a centralized mechanism for converting resource names to identifiers and vice versa, validating that a given resource belongs to the correct operating organization, and exposing a range of global variables that carry context between related API calls within a session. The package is classified as OTHER in the ETRM metadata, meaning it is not a formal public API but an internal utility library consumed extensively across the Projects application. Its header revision (120.5, dated 2007) indicates it is a mature, long-standing component that has been patched across multiple release cycles, including fixes for functional bugs such as resource assignment, FTE calculation, and organization context.

The specific helper get_res_name_from_type aligns with the package's core responsibility of translating between resource types, names, and IDs. While the ETRM excerpt does not expose this exact function signature, the documented global variables G_RESOURCE_ID and G_PRIMARY_CONTACT_NAME and the procedure CHECK_RESOURCENAME_OR_ID confirm the package's role in name/ID resolution logic.

Key Procedures and Functions

The package exposes 77 documented procedures and functions. The most prominent include:

Tables Accessed

The package primarily reads and writes against project and HR resource tables via APPS synonyms. PA_PROJECTS_ALL supplies project context; PA_RESOURCES and PA_RESOURCES_DENORM provide the core resource master and denormalized lookup data used for name/ID resolution and organization validation. PER_ORG_STRUCTURE_ELEMENTS, PER_JOBS, and PER_VALID_GRADES supply HR organization hierarchy, job, and grade information essential to CHECK_RES_BELONGS_EXPORG, GETVALJOBGRADEID, GETTOJOBID, and GETTOJOBNAME. FF_FORMULAS_F supports formula-driven attribute lookups. The FND_* tables — FND_GRANTS, FND_MENUS, FND_FORM_FUNCTIONS, FND_OBJECTS, FND_OBJECT_INSTANCE_SETS, FND_NEW_MESSAGES, FND_RESPONSIBILITY, and FND_USER — back the grant management procedures and access-control checks.

Usage Notes

PA_RESOURCE_UTILS is invoked most heavily from Projects forms (resource assignment, organization setup, and project staffing windows) as well as from custom PL/SQL extensions and concurrent programs that must resolve or validate a resource. Because it is referenced by 69 other packages, changes to its signatures or global variable semantics carry broad ripple effects across the Projects module; custom code should treat it as a read-mostly utility and rely on its public procedures rather than mutating the G_* globals directly. The name/ID conversion behavior in CHECK_RESOURCENAME_OR_ID — and by extension helper routines like get_res_name_from_type — should always be called with an explicit date context, since resource validity is date-effective. In release 12.1.1 and 12.2.2 the package is shipped as part of the standard APPS schema, so no separate installation is required.