Search Results create_qualifier




Overview

APPS.JTF_QUALIFIER_PUB is the public API package body for the Joint Task Force (JTF) core territory manager, delivered as part of the Oracle E-Business Suite CRM foundation layer. Its stated purpose, per the package header, is to provide a publicly available interface for inserting, updating, and deleting qualifier-related information in the JTF tables. Qualifiers are the reusable criteria — such as customer attributes, industry classifications, geography, or account characteristics — against which territory definitions are evaluated during territory assignment and sales resource matching. By exposing this logic as a documented PL/SQL API, Oracle allows customers, integrators, and internal concurrent programs to manipulate qualifier data without writing directly to the underlying base tables, thereby preserving data integrity, validation rules, and the internal sequencing required by the territory manager data model.

Key Procedures and Functions

The package exposes three documented public procedures:

  • CREATE_QUALIFIER — Creates a new qualifier together with its associated usage definitions. The metadata identifies the principal input structures as the seed qualifier record type (P_Seed_Qual_Rec) and the qualifier usage record type (P_Qual_Usgs_Rec), which together allow the caller to define both the qualifier itself and how it is applied. Standard API framework parameters — API version, initialization of the message list, and a commit flag — govern execution behavior, while the output parameters return the standard API status, message count, and message data plus the newly generated seeded qualifier identifier and qualifier usage identifier. This is the procedure most commonly invoked by callers searching under the term "create_qualifier."
  • UPDATE_QUALIFIER — Modifies existing qualifier and qualifier usage records. As is typical of this API family, it follows the same standardized parameter conventions as CREATE_QUALIFIER, with the input record types carrying the changed values and the output parameters conveying success or failure through the API message stack.
  • DELETE_QUALIFIER — Removes qualifier information from the JTF tables. Because qualifiers may be referenced by territory definitions and assignment rules, this procedure is expected to perform the appropriate validation before allowing physical or logical removal of the record.

All three procedures adhere to the Oracle Application Object Library PL/SQL API standards, returning a status indicator and populating the FND message list, so that callers can present user-friendly error messages rather than raw database errors.

Tables Accessed

The package operates against the JTF qualifier tables accessed through APPS synonyms, principally JTF_QUALIFIERS and its related usage table (referenced in the record types as the "qualifier usages" record), together with the seed qualifier structures implied by Seed_Qual_Rec_Type. The qualifier table holds the definition of each criterion, while the usage table associates qualifiers with the objects or contexts in which they apply. Direct access is confined to these JTF objects; business validation may additionally consult reference data maintained by the territory manager and CRM foundation modules.

Usage Notes

APPS.JTF_QUALIFIER_PUB is classified as a PUBLIC API and is documented as referenced by one other package, indicating that it serves as a building block for higher-level territory management APIs rather than an end-user interface. The API version literal embedded in the header (120.0, dated 2005) reflects a stable, long-lived interface that behaves consistently across Oracle EBS 12.1.1 and 12.2.2. It is typically invoked from:

  • Territory manager setup forms that create or maintain qualifier definitions;
  • Other JTF or territory-related PL/SQL packages that need to programmatically register qualifiers during territory or resource assignment;
  • Custom extensions that require a supported, upgrade-safe mechanism to manipulate qualifier data.

Callers should always pass the current API version, supply a valid seed qualifier record and qualifier usage record, and inspect the returned status and message list before proceeding. Setting the commit flag to FALSE allows the qualifier operation to participate in a larger transaction, which is the recommended practice when the call is embedded within a broader territory maintenance routine.