Search Results get_object_name
Overview
APPS.CAC_SR_UTIL_PVT is a private (PVT) utility package body within the Oracle E-Business Suite 12.1.1 / 12.2.2 codebase. The "$Header" comment referencing cacsrutilvb.pls 120.2 dated 2005 indicates the package originated in the early 11i development stream and has been carried forward into later releases essentially unchanged. Its name follows the CAC module prefix convention (a component of the CRM Foundation / Interaction Center stack) and the _PVT suffix that Oracle reserves for internal helper packages not intended for direct customer invocation.
The package encapsulates a single, narrowly scoped capability: the dynamic resolution of a human-readable object name given a generic object type code and an object identifier. This "display name lookup" pattern is common in Oracle CRM applications, where a flexible reference model (such as JTF_OBJECTS_B) maps abstract interaction context objects—leads, opportunities, service requests, tasks, notes—to their physical source tables and key columns. Rather than hard-coding table and column names for every object type, the package reads the mapping metadata and builds the query at runtime.
Key Procedures and Functions
- GET_OBJECT_NAME — The sole documented program unit. It accepts an object type code and an object identifier and returns the display name of the referenced entity as a VARCHAR2. Internally it opens a cursor over the mapping table filtered by object type, retrieves the id column, name column, source table, and optional where clause, then assembles and executes a dynamic SQL statement. An optional
rownum = 1predicate guarantees at most one row is returned. The function returns NULL when no mapping exists, when the dynamic query finds no data (NO_DATA_FOUND), or on any other exception, making it fail-safe rather than raising errors to the caller. This defensive design means the caller must handle NULL as a legitimate "name unavailable" outcome rather than treating it as an error condition.
Tables Accessed
- JTF_OBJECTS_B — Accessed through the APPS synonym. The package reads four columns:
select_id(the key column of the target entity),select_name(the display-name column),from_table(the source table), andwhere_clause(an optional filter fragment). The lookup is driven byobject_code. A notable code comment states that a reference toJTF_OBJECTS_VLwas removed and replaced with a direct reference toJTF_OBJECTS_B, a common 11i-to-R12 remediation for language-view synonym issues.
Because the source table and columns are themselves data-driven, the package may at runtime read from virtually any registered CRM entity table, depending on the object type passed in.
Usage Notes
GET_OBJECT_NAME is a utility called by other CAC packages and, potentially, by OAF-based Interaction Center pages that need to render a link or label for a referenced object when the underlying entity table is unknown to the UI layer. It is not exposed as a concurrent program and carries the PVT classification, so it should not be invoked directly from customer extensions without accepting the risk that Oracle may change its signature. Because the package builds SQL by string concatenation from metadata values, the from_table and where_clause columns in JTF_OBJECTS_B must be treated as trusted configuration data; malformed mappings can cause runtime failures that the WHEN OTHERS handler silently swallows, returning NULL. SQL trace remains the most reliable diagnostic when name lookups unexpectedly return empty.
-
'||get_object_name(n_object_id)||' SQL Statements
12.2.2
-
'||get_object_name(n_object_id)||' SQL Statements
12.1.1
-
'||get_object_name(n_object_id)||' SQL Statements
12.2.2
-
'||get_object_name(n_object_id)||' SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CAC_SR_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.CAC_SR_UTIL_PVT
12.2.2
-
PACKAGE: APPS.CAC_SR_UTIL_PVT
12.2.2
-
PACKAGE: APPS.CAC_SR_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.PRP_IBC_INT_PVT
12.2.2
-
PACKAGE BODY: APPS.PRP_IBC_INT_PVT
12.1.1
-
PACKAGE: APPS.PRP_IBC_INT_PVT
12.1.1
-
PACKAGE: APPS.PRP_IBC_INT_PVT
12.2.2
-
PACKAGE: APPS.ETRM_RPT
12.1.1
-
PACKAGE: APPS.ETRM_RPT
12.2.2
-
PACKAGE: APPS.FTE_COMP_CONSTRAINT_UTIL
12.1.1
-
PACKAGE: APPS.FTE_COMP_CONSTRAINT_UTIL
12.2.2
-
PACKAGE: CTXSYS.DRVXTAB
12.1.1
-
PACKAGE: CTXSYS.DRVXTAB
12.2.2
-
PACKAGE BODY: APPS.IEX_CALL_HISTORY
12.2.2
-
PACKAGE: APPS.ETRM_PNAV
12.1.1
-
PACKAGE BODY: APPS.IEX_CALL_HISTORY
12.1.1
-
eTRM - '||FND_CSS_PKG.Encode(c_product) || ' External Dependencies
12.1.1
-
eTRM - '||FND_CSS_PKG.Encode(c_product) || ' External Dependencies
12.2.2
-
PACKAGE: APPS.ETRM_PNAV
12.2.2
-
PACKAGE: APPS.EGO_SCTX
12.2.2
-
PACKAGE: APPS.EGO_SCTX
12.1.1
-
PACKAGE: APPS.JTF_TASK_SECURITY_PVT
12.2.2
-
PACKAGE: APPS.JTF_TASK_SECURITY_PVT
12.1.1
-
PACKAGE: APPS.GL_DEFAS_ACCESS_DETAILS_PKG
12.2.2
-
PACKAGE: APPS.GL_DEFAS_ACCESS_DETAILS_PKG
12.1.1
-
TYPE: SYS.LCR$_DDL_RECORD
12.2.2
owner:SYS, object_type:TYPE, object_name:LCR$_DDL_RECORD, status:VALID,
-
TYPE: SYS.LCR$_DDL_RECORD
12.1.1
owner:SYS, object_type:TYPE, object_name:LCR$_DDL_RECORD, status:VALID,
-
PACKAGE: APPS.IBE_M_IBC_INT_PVT
12.2.2
-
PACKAGE BODY: APPS.EGO_SCTX
12.1.1
-
PACKAGE BODY: APPS.EGO_SCTX
12.2.2
-
PACKAGE: APPS.IBE_M_IBC_INT_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_LEASE_QUOTE_WORKFLOW_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_LEASE_QUOTE_WORKFLOW_PVT
12.2.2
-
TYPE: SYS.LCR$_ROW_RECORD
12.2.2
owner:SYS, object_type:TYPE, object_name:LCR$_ROW_RECORD, status:VALID,
-
TYPE: SYS.LCR$_ROW_RECORD
12.1.1
owner:SYS, object_type:TYPE, object_name:LCR$_ROW_RECORD, status:VALID,
-
PACKAGE: APPS.OTA_BULK_ENROLL_UTIL
12.1.1
-
PACKAGE BODY: APPS.CN_TABLE_MAPS_PVT
12.1.1
-
PACKAGE BODY: APPS.CN_TABLE_MAPS_PVT
12.2.2
-
PACKAGE: APPS.AMS_UTILITY_PVT
12.1.1
-
PACKAGE: APPS.AMS_UTILITY_PVT
12.2.2
-
PACKAGE BODY: APPS.FTE_COMP_CONSTRAINT_UTIL
12.2.2
-
PACKAGE BODY: APPS.FTE_COMP_CONSTRAINT_UTIL
12.1.1
-
PACKAGE BODY: APPS.ETRM_RPT
12.1.1
-
PACKAGE BODY: APPS.ETRM_RPT
12.2.2
-
PACKAGE: APPS.OTA_BULK_ENROLL_UTIL
12.2.2