Search Results jtf_plsql_api
Overview
The APPS.JTF_PLSQL_API package body is a foundational utility package in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It resides in the APPS schema and is classified in the E-Business Technical Reference Manual (ETRM) as an API. Its primary business function is to provide a standardized, reusable set of PL/SQL plumbing routines that other application modules invoke to manage the lifecycle of an API call. Rather than each module implementing its own error handling, message retrieval, debugging, and dynamic SQL logic, JTF_PLSQL_API centralizes these common services. This includes initializing the API environment, finalizing transactions, translating sort criteria, resolving flexfield predicates, and interacting with the Oracle message stack and debugging facilities. The package has a status of VALID and is a critically referenced component: ETRM documents that it is referenced by 293 other packages, confirming its role as shared infrastructure across the EBS codebase. Conversely, it is not referenced by any database object, indicating it is a top-level utility consumed by other PL/SQL programs rather than an object dependent on further intermediate layers.
Key Procedures and Functions
The ETRM documents twelve total procedures and functions. The principal ones include:
- START_API — Initializes the API environment, establishing the savepoint and context required before an API performs its work.
- END_API — Concludes an API call, finalizing the transaction state and determining whether work should be committed or rolled back based on prior success or failure.
- HANDLE_EXCEPTIONS — Provides centralized exception processing so that errors raised within an API are consistently captured and reported.
- TRANSLATE_ORDERBY — Converts an abstract or user-facing sort specification into a valid SQL ORDER BY clause, enabling flexible query sorting.
- GET_MESSAGES — Retrieves messages from the Oracle message stack for display or logging.
- DEBUG_MESSAGE — Emits diagnostic messages, supporting controlled debugging output during development or troubleshooting.
- SET_MESSAGE — Places a message onto the message stack, typically to signal a warning or error to the calling layer.
- GEN_FLEXFIELD_WHERE — Generates a dynamic WHERE clause predicate for a key flexfield, translating flexfield segment criteria into SQL.
- BIND_FLEXFIELD_WHERE — Binds the flexfield WHERE clause generated above, supporting safe, bind-variable-based dynamic SQL execution.
Tables Accessed
The package's metadata lists several referenced objects, which function as base or synonym-level dependencies. FND_NEW_MESSAGES supports message creation and retrieval, underpinning GET_MESSAGES and SET_MESSAGE. DBMS_SQL and DBMS_TRANSACTION are Oracle-supplied packages used for dynamic SQL execution and transaction control (savepoint, rollback, and commit handling) essential to START_API and END_API. PLITBLM provides the PL/SQL table and buffer management primitives that support internal data structures. Additional referenced dependencies include FND_API, FND_GLOBAL, FND_MESSAGE, FND_MSG_PUB, and the FND_APPLICATION_VL and FND_LANGUAGES_VL views, which supply globalization, application, and messaging context.
Usage Notes
JTF_PLSQL_API is invoked programmatically by other EBS APIs rather than directly by end users. It is most commonly called at the opening and closing of a custom or delivered API so that the caller inherits consistent savepoint handling, error trapping, and message management. Oracle Forms, concurrent programs, and custom PL/SQL integrations that build dynamic queries frequently rely on GEN_FLEXFIELD_WHERE and BIND_FLEXFIELD_WHERE to construct flexfield-based predicates, and on TRANSLATE_ORDERBY to convert user sort selections into SQL. Given its 293 dependent packages, modifications to this body should be approached with caution, as changes propagate widely across the application stack. It is a read-oriented utility package, and any customization should be validated against the documented dependencies and testing requirements of the affected modules. Because it is not referenced by any database object besides dependent code, it is generally treated as a stable utility that forms part of the shared technology foundation of Oracle EBS.
-
PACKAGE BODY: APPS.JTF_PLSQL_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_PLSQL_API, status:VALID,
-
PACKAGE BODY: APPS.JTF_PLSQL_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_PLSQL_API, status:VALID,
-
PACKAGE: APPS.CSP_PICKLIST_LINES_PVT
12.2.2
-
PACKAGE: APPS.CSP_PICKLIST_LINES_PVT
12.1.1
-
PACKAGE: APPS.JTF_LOC_HIERARCHIES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTF_LOC_HIERARCHIES_PVT, status:VALID,
-
PACKAGE: APPS.JTF_LOC_HIERARCHIES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_LOC_HIERARCHIES_PVT, status:VALID,
-
PACKAGE: APPS.CSP_PICKLIST_HEADER_PVT
12.2.2
-
PACKAGE: APPS.AMS_COMPETITOR_PRODUCT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_COMPETITOR_PRODUCT_PVT, status:VALID,
-
PACKAGE: APPS.AMS_MESSAGES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_MESSAGES_PVT, status:VALID,
-
PACKAGE: APPS.OZF_SYS_PARAMETERS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_SYS_PARAMETERS_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTF_PLSQL_API
12.2.2
-
PACKAGE: APPS.JTF_LOC_AREAS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTF_LOC_AREAS_PVT, status:VALID,
-
PACKAGE: APPS.AMS_FORMULA_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_FORMULA_PVT, status:VALID,
-
PACKAGE: APPS.AMS_CHANNEL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_CHANNEL_PVT, status:VALID,
-
PACKAGE: APPS.AMS_SETUP_ATTR_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_SETUP_ATTR_PVT, status:VALID,
-
PACKAGE: APPS.AMS_FORMULA_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_FORMULA_PVT, status:VALID,
-
PACKAGE: APPS.JTF_LOC_AREAS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_LOC_AREAS_PVT, status:VALID,
-
PACKAGE: APPS.AMS_PARTYIMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_PARTYIMPORT_PVT, status:VALID,
-
PACKAGE: APPS.AMS_LISTSOURCETYPE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_LISTSOURCETYPE_PVT, status:VALID,
-
PACKAGE: APPS.AMS_LISTFIELD_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_LISTFIELD_PVT, status:VALID,
-
PACKAGE: APPS.AMS_LIST_WORD_REPLACES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_LIST_WORD_REPLACES_PVT, status:VALID,
-
PACKAGE: APPS.OZF_SYS_PARAMETERS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OZF_SYS_PARAMETERS_PVT, status:VALID,
-
PACKAGE: APPS.PVX_MDF_OWNERS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PVX_MDF_OWNERS_PVT, status:VALID,
-
PACKAGE: APPS.AMS_APPROVERS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_APPROVERS_PVT, status:VALID,
-
PACKAGE: APPS.PVX_TIMEOUT_SETUP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PVX_TIMEOUT_SETUP_PVT, status:VALID,
-
PACKAGE: APPS.AMS_USER_STATUSES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_USER_STATUSES_PVT, status:VALID,
-
PACKAGE: APPS.AMS_ACTMETRICFACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_ACTMETRICFACT_PVT, status:VALID,
-
PACKAGE: APPS.AMS_LISTFIELD_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_LISTFIELD_PVT, status:VALID,
-
PACKAGE: APPS.PVX_MDF_OWNERS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PVX_MDF_OWNERS_PVT, status:VALID,
-
PACKAGE: APPS.AMS_LIST_RULE_FIELDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_LIST_RULE_FIELDS_PVT, status:VALID,
-
PACKAGE: APPS.AMS_APPROVERS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_APPROVERS_PVT, status:VALID,
-
PACKAGE: APPS.AMS_COMPETITOR_PRODUCT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_COMPETITOR_PRODUCT_PVT, status:VALID,
-
PACKAGE: APPS.AMS_MESSAGES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_MESSAGES_PVT, status:VALID,
-
PACKAGE: APPS.AMS_CHANNEL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_CHANNEL_PVT, status:VALID,
-
PACKAGE: APPS.AMS_SETUP_ATTR_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_SETUP_ATTR_PVT, status:VALID,
-
PACKAGE: APPS.AMS_LIST_RULES_ALL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_LIST_RULES_ALL_PVT, status:VALID,
-
PACKAGE: APPS.OZF_CLAIM_TYPE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OZF_CLAIM_TYPE_PVT, status:VALID,
-
PACKAGE: APPS.AMS_LIST_RULE_FIELDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_LIST_RULE_FIELDS_PVT, status:VALID,
-
PACKAGE: APPS.AMW_PROC_ORG_HIERARCHY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_PROC_ORG_HIERARCHY_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTF_PLSQL_API
12.1.1
-
PACKAGE: APPS.AMS_AGENDAS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_AGENDAS_PVT, status:VALID,
-
PACKAGE: APPS.PV_ATTRIBUTE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PV_ATTRIBUTE_PVT, status:VALID,
-
PACKAGE: APPS.AMS_APPROVAL_DETAILS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_APPROVAL_DETAILS_PVT, status:VALID,
-
PACKAGE: APPS.OZF_RELATED_LINES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_RELATED_LINES_PVT, status:VALID,
-
PACKAGE: APPS.AMS_AGENDAS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_AGENDAS_PVT, status:VALID,
-
PACKAGE: APPS.OZF_TASK_TEMPLATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OZF_TASK_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.AMS_ACTCATEGORY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_ACTCATEGORY_PVT, status:VALID,
-
PACKAGE: APPS.AMS_ACTDELVMETHOD_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_ACTDELVMETHOD_PVT, status:VALID,
-
PACKAGE: APPS.PV_ATTR_PRINCIPAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PV_ATTR_PRINCIPAL_PVT, status:VALID,
-
PACKAGE: APPS.AMS_ACTRESOURCE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_ACTRESOURCE_PVT, status:VALID,