Search Results get_name
Overview
The APPS.HXC_GET_NAME package body is a small, single-purpose PL/SQL utility within the Oracle E-Business Suite time and labor (HXC) schema. Its sole documented function, GET_NAME, provides a lightweight lookup that returns the formatted full name of a person given that person's identifier. The package resides in the APPS schema and is classified in the ETRM metadata under the API classification "OTHER," indicating that it is an internal helper utility rather than a formally published, supported public API. It is not referenced by any other documented packages, so it functions as a self-contained convenience routine.
The package dates back to at least the 11i era, as evidenced by the $Header tag showing version 120.2 last modified in October 2005. Because the source is largely unchanged across the 12.1.1 and 12.2.2 releases, its behavior is consistent on both platforms.
Key Procedures and Functions
The package exposes a single documented function:
- GET_NAME — Accepts a person identifier and returns that person's full name as a
VARCHAR2value. Internally the function declares a cursor over thePER_PEOPLE_Xview, guards against an already-open cursor by closing it if necessary, opens and fetches a single row, returns the full name, and then closes the cursor. The value is held in a local variable typed againstPER_PEOPLE_X.FULL_NAME, ensuring it inherits the correct length and data type from the underlying view. No other parameters, overloads, or helper routines are documented.
Tables Accessed
The function reads from a single source, the PER_PEOPLE_X view, accessed through the APPS synonym convention. PER_PEOPLE_X is a denormalized HRMS view that exposes person attributes including the composed FULL_NAME column. The query filters on PERSON_ID, so the function resolves a person's display name directly from the HR person model rather than reconstructing it from name components. No tables are written; the package performs read-only operations.
Usage Notes
Because HXC_GET_NAME is a compact, side-effect-free lookup, it is typically called from custom PL/SQL, concurrent program logic, or time-and-labor forms code that needs to display or store a person's name and does not already hold a joined person record. The function is also convenient in ad-hoc SQL and reports, where it can be invoked as APPS.HXC_GET_NAME.GET_NAME(:person_id).
Two behavioral caveats are worth noting. First, the fetch assigns whatever the cursor retrieves; if no row matches the supplied PERSON_ID, the local variable retains its prior (null) value and the function returns null rather than raising NO_DATA_FOUND. Second, if multiple rows were ever returned the cursor would simply use the first fetched row. Callers requiring robust error handling should validate the returned value or query PER_PEOPLE_X directly. For high-volume processing, an inline join to PER_PEOPLE_X is generally preferable to a per-row function call.
-
PACKAGE BODY: APPS.HXC_GET_NAME
12.2.2
-
PACKAGE BODY: APPS.HXC_GET_NAME
12.1.1
-
PACKAGE BODY: APPS.GMF_GL_GET_CURRENCIES
12.1.1
-
PACKAGE BODY: APPS.GMF_RA_GET_FOB_CODES
12.2.2
-
PACKAGE BODY: APPS.GMF_GL_GET_CURRENCIES
12.2.2
-
PACKAGE BODY: APPS.GMF_RA_GET_FOB_CODES
12.1.1
-
PACKAGE BODY: APPS.FTE_FREIGHT_PRICING_UTIL
12.1.1
-
PACKAGE BODY: APPS.FTE_FREIGHT_PRICING_UTIL
12.2.2
-
PACKAGE: APPS.HXC_GET_NAME
12.1.1
-
PACKAGE: APPS.HXC_GET_NAME
12.2.2
-
PACKAGE: APPS.PER_PARENT_SPINES_PKG
12.2.2
-
PACKAGE: APPS.PER_PARENT_SPINES_PKG
12.1.1
-
APPS.GMF_GL_GET_CURRENCIES SQL Statements
12.2.2
-
PACKAGE: APPS.GMF_GL_GET_CURRENCIES
12.1.1
-
PACKAGE BODY: APPS.PER_CAREER_PATH_ELEMENTS_PKG
12.2.2
-
PACKAGE BODY: APPS.PER_CAREER_PATH_ELEMENTS_PKG
12.1.1
-
PACKAGE BODY: APPS.QP_MGD_EURO_UTILS
12.1.1
-
PACKAGE: APPS.PER_CAREER_PATH_ELEMENTS_PKG
12.1.1
-
PACKAGE BODY: APPS.QP_MGD_EURO_UTILS
12.2.2
-
PACKAGE: APPS.GMF_RA_GET_FOB_CODES
12.2.2
-
APPS.GMF_GL_GET_CURRENCIES SQL Statements
12.1.1
-
PACKAGE: APPS.PER_CAREER_PATH_ELEMENTS_PKG
12.2.2
-
PACKAGE: APPS.PAY_INS_CUSTOM_TEMPLATE
12.2.2
-
PACKAGE: APPS.PAY_INS_CUSTOM_TEMPLATE
12.1.1
-
PACKAGE: APPS.GMF_GL_GET_CURRENCIES
12.2.2
-
PACKAGE BODY: APPS.BEN_CWB_APPROVALS
12.2.2
-
PACKAGE: APPS.GMF_RA_GET_FOB_CODES
12.1.1
-
TYPE: SYS.XS$NS_ATTRIBUTE
12.2.2
owner:SYS, object_type:TYPE, object_name:XS$NS_ATTRIBUTE, status:VALID,
-
TYPE: SYS.XS$NS_ATTRIBUTE
12.1.1
owner:SYS, object_type:TYPE, object_name:XS$NS_ATTRIBUTE, status:VALID,
-
PACKAGE BODY: APPS.BEN_CWB_APPROVALS
12.1.1
-
PACKAGE BODY: APPS.PER_PARENT_SPINES_PKG
12.2.2
-
TYPE: SYS.XS$PRIVILEGE
12.2.2
owner:SYS, object_type:TYPE, object_name:XS$PRIVILEGE, status:VALID,
-
TYPE: SYS.XS$PRIVILEGE
12.1.1
owner:SYS, object_type:TYPE, object_name:XS$PRIVILEGE, status:VALID,
-
PACKAGE: APPS.FND_TIMEZONES
12.2.2
-
PACKAGE: APPS.FND_TIMEZONES
12.1.1
-
PACKAGE: APPS.QP_MGD_EURO_UTILS
12.1.1
-
PACKAGE BODY: APPS.PER_PARENT_SPINES_PKG
12.1.1
-
APPS.BEN_EXT_FMT SQL Statements
12.2.2
-
APPS.BEN_EXT_FMT SQL Statements
12.1.1
-
PACKAGE: APPS.QP_MGD_EURO_UTILS
12.2.2
-
PACKAGE: APPS.PER_ABS_ATTENDANCE_REASONS_PKG
12.2.2
-
PACKAGE: APPS.PER_ABS_ATTENDANCE_REASONS_PKG
12.1.1
-
TYPE: MDSYS.SDO_PATH_I
12.1.1
owner:MDSYS, object_type:TYPE, object_name:SDO_PATH_I, status:VALID,
-
TYPE: MDSYS.SDO_PATH_I
12.2.2
owner:MDSYS, object_type:TYPE, object_name:SDO_PATH_I, status:VALID,
-
PACKAGE: APPS.PAY_GB_P6EDI_PKG
12.2.2
-
PACKAGE: APPS.PAY_GB_P6EDI_PKG
12.1.1
-
PACKAGE BODY: APPS.QP_DEFAULT_QUALIFIER_RULES
12.1.1
-
PACKAGE BODY: APPS.QP_DEFAULT_QUALIFIER_RULES
12.2.2
-
PACKAGE BODY: APPS.PAY_INS_CUSTOM_TEMPLATE
12.2.2
-
TYPE: MDSYS.SDO_PATH_T
12.1.1
owner:MDSYS, object_type:TYPE, object_name:SDO_PATH_T, status:VALID,