Search Results convert_employee_to_id
Overview
APPS.CS_CORE_UTIL is a foundational PL/SQL utility package within the Oracle E-Business Suite Service (CS) module. As its API classification of UTIL indicates, it does not implement a discrete business transaction but instead supplies reusable helper routines consumed by higher-level Service packages and concurrent programs. Its central purpose is twofold: to standardize validation and message-handling behavior across the Service application, and to convert commonly encountered display values — contact names, customer names, employee identifiers, organization identifiers, and lookup meanings — into their underlying internal primary keys. By centralizing this logic, CS_CORE_UTIL ensures consistent error reporting and referential integrity handling across Service Request, Interaction, and task-automation flows. The package is marked VALID in the APPS schema and carries the Oracle Proprietary, Confidential Information designation. It depends on FND_API for the standard EBS API error and message stack, and on the SYS.STANDARD package.
Key Procedures and Functions
Thirty-seven documented subprograms fall into three functional groups.
- Message helpers: ADD_DUPLICATE_VALUE_MSG, ADD_INVALID_ARGUMENT_MSG, ADD_MISSING_PARAM_MSG, ADD_NULL_PARAMETER_MSG, ADD_PARAM_IGNORED_MSG, and ADD_SAME_VAL_UPDATE_MSG. Each records a standardized diagnostic on the FND_API message stack, allowing calling packages to raise consistent, localized errors rather than ad hoc exceptions.
- Value conversion: CONVERT_CONTACT_TO_ID, CONVERT_CUSTOMER_TO_ID, CONVERT_CUSTOMER_TO_NAME, CONVERT_EMPLOYEE_TO_ID, CONVERT_LOOKUP_TO_CODE, and CONVERT_ORG_TO_ID. These resolve human-readable identifiers into their internal key or code representations, a prerequisite for writing valid foreign keys into Service tables.
- Validation and utility: VALIDATE_BILL_TO_SITE, VALIDATE_COMMENT, VALIDATE_CUSTOMER, VALIDATE_CUSTOMER_CONTACT, VALIDATE_DESC_FLEX, DEFAULT_COMMON_ATTRIBUTES, IS_MULTIORG_ENABLED, and TRUNC_STRING_LENGTH. These enforce business rules, populate the DFF attribute columns common to Service entities, detect multi-org configuration, and guard against string-length overflows.
Tables Accessed
The package references several APPS synonyms. CS_INCIDENTS_ALL and CS_INTERACTIONS provide the Service Request and Interaction context used during validation. HZ_PARTIES and its related customer data support customer and contact resolution and the CONVERT_CUSTOMER and CONVERT_CONTACT routines. FND_USER and FND_LOGINS supply user identity information for employee and resource resolution. FND_PRODUCT_GROUPS is consulted by IS_MULTIORG_ENABLED to determine whether Multi-Org is installed. DUAL serves scalar validation queries. Access is primarily read-oriented, reflecting the package's role as a utility rather than a transactional owner.
Usage Notes
CS_CORE_UTIL is typically invoked indirectly rather than called directly by end users. Forms-based Service flows, such as Service Request entry and Interaction logging, trigger it through CS_SR_UTIL_PKG, CS_INTERACTION_PVT, and CS_INTERACTION_UTL. Workflow and task automation paths reach it via CS_EA_AUTOGEN_TASKS_PVT and CUG_GENERIC_WF_PKG. Universal Work Queue integration (SR_UWQ_INTEG) and HTML-based interaction handling (JTF_IH_CORE_UTIL_PVT) also depend on it. Custom code extending the Service module should call the same validation and conversion routines to preserve error-stack consistency and referential integrity. All invocations should observe the standard FND_API error-handling convention of checking the return status before committing.
-
PACKAGE: APPS.CS_CORE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CS_CORE_UTIL, status:VALID,
-
PACKAGE: APPS.CS_CORE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CS_CORE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CS_SERVICEREQUEST_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SERVICEREQUEST_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CS_CORE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CORE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CS_CORE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CORE_UTIL, status:VALID,
-
PACKAGE: APPS.CS_SERVICEREQUEST_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CS_SERVICEREQUEST_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CS_SERVICEREQUEST_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SERVICEREQUEST_UTIL, status:VALID,
-
PACKAGE: APPS.CS_SERVICEREQUEST_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CS_SERVICEREQUEST_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CS_CORE_UTIL
12.1.1
-
PACKAGE BODY: APPS.CS_CORE_UTIL
12.2.2
-
PACKAGE: APPS.CS_CORE_UTIL
12.2.2
-
PACKAGE: APPS.CS_CORE_UTIL
12.1.1
-
PACKAGE: APPS.CS_SERVICEREQUEST_UTIL
12.1.1
-
PACKAGE: APPS.CS_SERVICEREQUEST_UTIL
12.2.2
-
APPS.CS_CORE_UTIL dependencies on CS_CORE_UTIL
12.2.2
-
APPS.CS_CORE_UTIL dependencies on CS_CORE_UTIL
12.1.1
-
PACKAGE BODY: APPS.CS_SERVICEREQUEST_UTIL
12.1.1
-
PACKAGE BODY: APPS.CS_SERVICEREQUEST_UTIL
12.2.2
-
APPS.CS_SERVICEREQUEST_UTIL dependencies on FND_API
12.2.2
-
APPS.CS_CORE_UTIL dependencies on FND_API
12.1.1
-
APPS.CS_CORE_UTIL dependencies on FND_API
12.2.2
-
APPS.CS_SERVICEREQUEST_UTIL dependencies on FND_API
12.1.1
-
APPS.CS_CORE_UTIL dependencies on FND_API
12.1.1
-
APPS.CS_CORE_UTIL dependencies on FND_API
12.2.2
-
APPS.CS_SERVICEREQUEST_UTIL dependencies on FND_API
12.2.2
-
APPS.CS_SERVICEREQUEST_UTIL dependencies on FND_API
12.1.1