Search Results validate_task_phone_id
Overview
APPS.JTF_EC_UTIL is a utility package body within the Oracle E-Business Suite CRM foundation layer, associated with the JTF (Common Foundation) schema and the "EC" (Escalation/Event Coordinator) functional area. Its purpose is to centralize validation, message-handling, and data-conversion logic shared across the escalation and task-management APIs of the JTF product family. Rather than duplicating argument checks in each calling package, developers route validation through JTF_EC_UTIL so that error-message formatting and the standard FND_API return-status protocol remain consistent.
The package follows the classic EBS PL/SQL API conventions: procedure names such as Validate_Owner and Validate_Request, OUT status parameters typed as VARCHAR2, and standardized use of FND_API constants (G_RET_STS_SUCCESS, G_RET_STS_ERROR, G_RET_STS_UNEXP_ERROR) together with FND_MESSAGE and FND_MSG_PUB for message stack population. The header comment ($Header: jtfvecub.pls 115.8 2003/01/13) confirms the package has been stable since the 11.5.x era and carries forward unchanged into EBS 12.1.1 and 12.2.2.
Because the user searched for VALIDATE_TASK_PHONE_ID, that procedure should be read as one of the package-specific validators that guard phone-number relationships on JTF task records before the calling API persists them.
Key Procedures and Functions
The documented package exposes 23 procedures and functions. They fall into four logical groups.
- Argument validators: VALIDATE_OWNER (confirms owner id/type against JTF_OBJECTS_B and JTF_OBJECT_USAGES for RESOURCES usage), VALIDATE_REQUESTER, VALIDATE_CONTACT_ID, VALIDATE_TASK_PHONE_ID, VALIDATE_TASK_CONTACT_ID, and VALIDATE_TASK_REFERENCE_ID. These verify that identifiers supplied to a task API are non-null, not FND_API.G_MISS_NUM, and exist in the appropriate transactional table.
- Business-rule validators: VALIDATE_ESC_STATUS, VALIDATE_LOOKUP, VALIDATE_ESC_DOCUMENT, VALIDATE_DESC_FLEX, CHECK_IF_ESCALATED, and CHECK_COMPLETED_STATUS. These evaluate lookup codes, flexfield descriptions, escalation state, and completion state.
- Duplication checks: REFERENCE_DUPLICATED and CONTACT_DUPLICATED, which prevent the same reference or contact from being attached twice to a task.
- Message and conversion helpers: ADD_INVALID_ARGUMENT_MSG, ADD_PARAM_IGNORED_MSG, ADD_MISSING_PARAM_MSG, CONV_MISS_NUM, CONV_MISS_DATE, and CONV_MISS_CHAR. The first three push formatted messages onto the FND message stack; the CONV_* trio coalesces FND_API missing-value sentinels into NULL for numbers, dates, and character values.
Tables Accessed
The package selects and validates against JTF_OBJECTS_B (owner type codes), JTF_OBJECT_USAGES (RESOURCES usage filter), JTF_TASKS_B (task existence and status), JTF_TASK_CONTACTS and JTF_TASK_PHONES (task-contact and task-phone associations), JTF_TASK_REFERENCES_B (task references), JTF_NOTES_B (notes and escalation documents), PER_ALL_PEOPLE_F (HR person identity for requester/contact validation), and FND_USER / FND_LOGINS (user and login context). All accesses are through APPS synonyms.
Usage Notes
JTF_EC_UTIL is not a user-facing program; it is invoked internally. ETRM records that it is referenced by four other packages, indicating it is consumed by the higher-level escalation and task public APIs rather than called directly from Oracle Forms. Customizations should prefer calling those public APIs instead of JTF_EC_UTIL procedures directly, because the utility layer makes no commitments about parameter stability. Where a custom integration must validate a task phone or task contact identifier, calling VALIDATE_TASK_PHONE_ID after initializing FND_MSG_PUB via FND_MSG_PUB.INITIALIZE, and then reading the returned x_return_status, is the correct sequence. Error text is retrieved with FND_MSG_PUB.GET or surfaced automatically by the calling form's error handler.
-
PACKAGE BODY: APPS.JTF_EC_UTIL
12.2.2
-
PACKAGE BODY: APPS.JTF_EC_UTIL
12.1.1
-
PACKAGE: APPS.JTF_EC_UTIL
12.1.1
-
PACKAGE: APPS.JTF_EC_UTIL
12.2.2
-
APPS.JTF_EC_UTIL dependencies on FND_MESSAGE
12.2.2
-
APPS.JTF_EC_UTIL dependencies on FND_MESSAGE
12.1.1
-
APPS.JTF_EC_UTIL dependencies on FND_MSG_PUB
12.2.2
-
APPS.JTF_EC_UTIL dependencies on FND_MSG_PUB
12.1.1