Search Results jtf_ec_util




Overview

JTF_EC_UTIL is a utility package in the APPS schema that supports the Oracle E-Business Suite Escalation and Contact Center framework, commonly associated with CRM and TeleSales/Service functionality. Its primary business function is to provide centralized validation, message-generation, and data-conversion routines used by the escalation engine and its related APIs. Rather than implementing business transactions directly, JTF_EC_UTIL supplies reusable helper logic that enforces data-integrity rules and produces standardized error messaging for callers. In the 12.1.1 and 12.2.2 releases, its status is VALID, and it is classified as a utility (UTIL) API. The package depends only on the SYS STANDARD package, confirming it is a foundational, low-level library, and it is referenced by several escalation views and public/private APIs, including JTF_EC_PUB, JTF_EC_CONTACTS_PVT, JTF_ESC_UWQ_V, and IEU_UWQ_ESC_MYOWN_V.

Key Procedures and Functions

The documented interface exposes twenty-three procedures and functions organized around validation and messaging. The validation routines include VALIDATE_OWNER and VALIDATE_REQUESTER, which verify the identity and eligibility of escalation owners and requesters; VALIDATE_ESC_STATUS, which confirms that an escalation status value is permissible; VALIDATE_LOOKUP, which checks values against reference lookups; VALIDATE_DESC_FLEX, which validates descriptive flexfield content; VALIDATE_ESC_DOCUMENT, which validates the escalation document context; and CHECK_IF_ESCALATED, CHECK_COMPLETED_STATUS, and REFERENCE_DUPLICATED, which test escalation state, completion status, and duplicate references respectively. Contact and task validation is handled by VALIDATE_CONTACT_ID, VALIDATE_TASK_CONTACT_ID, VALIDATE_TASK_PHONE_ID, VALIDATE_TASK_REFERENCE_ID, and CONTACT_DUPLICATED. Message-generation helpers ADD_INVALID_ARGUMENT_MSG, ADD_PARAM_IGNORED_MSG, and ADD_MISSING_PARAM_MSG append standardized diagnostic text to a caller-supplied message stack. Conversion utilities CONV_MISS_NUM, CONV_MISS_DATE, and CONV_MISS_CHAR convert missing or null values into typed defaults. Parameter details are not published in the metadata; callers should consult the package specification for exact signatures.

Tables Accessed

Through APPS synonyms, JTF_EC_UTIL reads and validates against several core tables. FND_USER and FND_LOGINS support user identity and session validation for owner and requester checks. PER_ALL_PEOPLE_F supplies person records for contact and resource validation. The escalation and task tables JTF_TASKS_B, JTF_TASK_CONTACTS, JTF_TASK_PHONES, and JTF_TASK_REFERENCES_B provide the transactional context for the task and contact validation routines and for duplicate detection. JTF_NOTES_B, JTF_OBJECTS_B, and JTF_OBJECT_USAGES underpin note, object, and usage lookups used when validating escalation documents and references.

Usage Notes

JTF_EC_UTIL is normally invoked indirectly rather than directly by end users. The escalation engine, the public API JTF_EC_PUB, the private contact API JTF_EC_CONTACTS_PVT, and reporting views such as JTF_ESC_UWQ_V and IEU_UWQ_ESC_MYOWN_V call its routines to validate input and build error messages. Typical invocation surfaces include CRM escalation forms, related concurrent programs, and custom PL/SQL that must conform to the same validation rules as seeded escalation processing. Because it is a dependency of published APIs and views, it should be treated as a stable internal utility; customizations should prefer calling the documented public entry points rather than modifying the package. Its validation and message helpers are particularly useful in custom escalation extensions that must produce errors consistent with standard EBS behavior.