Search Results lock_references




Overview

JTF_TASK_REFERENCES_PUB is the public application programming interface for task reference information within the Oracle E-Business Suite Task Manager (JTF) module. The package body implements the PL/SQL logic declared in the corresponding package specification and exposes a controlled, API-compliant entry point for creating, modifying, locking, and removing references attached to tasks. In Oracle EBS, a "task" is a generic work item maintained in the JTF_TASKS_B table, and a "reference" associates that task with an external or related business object — for example a customer, an opportunity, a service request, or another application entity. The JTF_TASK_REFERENCES_PUB layer therefore exists to preserve data integrity and business consistency whenever such cross-object associations are established or dissolved, insulating callers from the underlying private implementation in JTF_TASK_REFERENCES_PVT and the entity-handling routines in JTF_TASK_REFERENCES_PKG.

The package is classified as a PUB (public) API, meaning it is the sanctioned interface for external callers. It is owned by the APPS schema and reports a VALID status in both Oracle EBS 12.1.1 and 12.2.2. Internally it relies on the Oracle Application Object Library (FND_API, FND_MSG_PUB, FND_MESSAGE, FND_LOOKUPS) to enforce the standard EBS API programming model, including the use of standardized return statuses and the message stack.

Key Procedures and Functions

The ETRM metadata documents four public procedures:

  • CREATE_REFERENCES — Creates one or more task reference records, establishing the association between a task and the referenced object. It derives and validates the necessary identifiers before inserting into the base reference table.
  • LOCK_REFERENCES — Acquires a lock on existing reference rows so that subsequent update or delete operations proceed safely and consistently within a transaction.
  • UPDATE_REFERENCES — Modifies the attributes of an existing task reference, allowing a task's association to be revised while retaining referential integrity.
  • DELETE_REFERENCES — Removes a task reference, disassociating the referenced object from the task and cleaning up the related base and translation rows.

All four procedures follow the EBS API convention of returning a status indicator and populating the FND message stack rather than raising unhandled exceptions to the caller. Parameter lists are not reproduced here; callers should obtain the exact signatures from the package specification.

Tables Accessed

Through APPS synonyms, the package body reads and writes the following documented tables:

  • JTF_TASK_REFERENCES_B — the base table that stores the task-to-object reference relationship; this is the principal table manipulated by the create, update, and delete logic.
  • JTF_TASK_REFERENCES_TL — the translation table holding language-specific descriptive text for references, supporting multi-language deployments.
  • JTF_TASKS_B — the base task table, consulted to validate the existence and state of the task to which a reference is being attached.
  • JTF_OBJECTS_B — the base object-definition table, used to resolve and validate the referenced object type.

The dependency listing additionally shows references to the views JTF_TASK_REFERENCES_VL and JTF_OBJECTS_VL, which join the base and translation tables to present complete, language-aware records during validation and retrieval.

Usage Notes

JTF_TASK_REFERENCES_PUB is not referenced by any other database object, confirming its role as a top-level public API rather than an internal utility. It is typically invoked from Task Manager forms, from concurrent programs that bulk-associate tasks with business objects, and from custom extensions or integrations that must attach references to tasks without directly manipulating the underlying tables. The package is itself dependent on JTF_TASK_REFERENCES_PVT and JTF_TASK_REFERENCES_PKG, which concentrate the row-level DML and private validation logic. Developers should always call the PUB procedures instead of writing direct DML against JTF_TASK_REFERENCES_B, because only the API path guarantees that the standard FND validation, message handling, and locking conventions are enforced. Because the ETRM documentation lists it as referenced by nine other packages, integrators should treat its behavior as a shared contract across the EBS environment and avoid modifying it outside Oracle-supplied patches.