Search Results jtf_hooks_data_pk
Overview
The JTF_HOOKS_DATA table is a core repository within the Oracle E-Business Suite (EBS) CRM Foundation (JTF) module. Its primary function is to store metadata that defines "internal hooks call out" mechanisms. In software architecture, a hook is a point in the application code where custom logic can be inserted to extend or modify standard behavior without altering the base product code. This table acts as a centralized registry, enabling the EBS framework to identify and invoke custom packages and procedures at predefined execution points within the standard application flow. Its role is critical for implementing customizations and integrations in a supported, upgrade-safe manner, as it decouples custom code from Oracle's delivered code.
Key Information Stored
The table's structure is designed to uniquely identify a hook and its associated executable code. The documented columns, which also form the primary key (JTF_HOOKS_DATA_PK), are essential for this purpose. The HOOK_TYPE column categorizes the hook, likely defining the business event or module it relates to. The HOOK_PACKAGE and HOOK_API columns store the name of the custom PL/SQL package and the specific procedure or function within it that should be executed. The PRODUCT_CODE, PACKAGE_NAME, and API_NAME columns appear to provide additional context, potentially specifying the Oracle product, the standard package being extended, and the standard API that triggers the hook, respectively. This multi-column key ensures that custom logic is invoked at the correct, granular point in the application.
Common Use Cases and Queries
The primary use case is to register custom business logic that must fire automatically during standard EBS operations, such as validating data before saving a transaction, enriching data before a report runs, or posting data to an external system after a commit. Administrators and developers query this table to audit existing customizations or to troubleshoot hook execution. A fundamental query retrieves all registered hooks for a specific area:
SELECT hook_type, hook_package, hook_api, product_code FROM jtf.jtf_hooks_data WHERE product_code = 'ONT' ORDER BY hook_type;
Another critical query verifies the existence of a hook before attempting to enable custom code, checking for conflicts or specific implementations:
SELECT * FROM jtf.jtf_hooks_data WHERE hook_type = 'ORDER_HEADER' AND package_name = 'OE_HEADERS_IFACE_ALL' AND api_name = 'PROCESS_HEADER';
Related Objects
As a metadata table, JTF_HOOKS_DATA is referenced by the EBS framework's core engine, which reads its entries at runtime to invoke the registered hooks. While the provided metadata does not list explicit foreign key relationships, the table is intrinsically linked to the custom PL/SQL packages and procedures named in the HOOK_PACKAGE and HOOK_API columns. These are user-defined objects stored in the database. The table's primary key, JTF_HOOKS_DATA_PK, ensures the uniqueness of each hook definition. It is also closely related to the underlying standard APIs and packages (referenced in PACKAGE_NAME and API_NAME) whose execution triggers the hook lookup process.
-
Table: JTF_HOOKS_DATA
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_HOOKS_DATA, object_name:JTF_HOOKS_DATA, status:VALID, product: JTF - CRM Foundation , description: Table the stores all the internal hooks call out. , implementation_dba_data: JTF.JTF_HOOKS_DATA ,
-
Table: JTF_HOOKS_DATA
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_HOOKS_DATA, object_name:JTF_HOOKS_DATA, status:VALID, product: JTF - CRM Foundation , description: Table the stores all the internal hooks call out. , implementation_dba_data: JTF.JTF_HOOKS_DATA ,
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.1.1
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.1.1
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,