Search Results ota_tdb_bus




Overview

OTA_TDB_SHD is a shared utility package within the Oracle E-Business Suite Applications (APPS) schema, associated with the Oracle Training Administration (OTA) module's Training Delivery and Booking (TDB) subsystem. Its suffix, "_SHD," follows the convention used across Oracle EBS for "shadow" packages — internal helper packages that consolidate common DML operations, locking logic, and API housekeeping routines on behalf of a family of related public APIs. In EBS 12.1.1 and 12.2.2, OTA_TDB_SHD underpins delegate booking maintenance by providing low-level services consumed by the delegate booking APIs and their bus interfaces, including OTA_TDB_BUS, OTA_TDB_BUS2, OTA_DELEGATE_BOOKING_API, and OTA_OM_TDB_WAITLIST_API. Rather than exposing end-user functionality directly, it centralizes the plumbing required to keep booking records consistent, enforce the delegate booking data model, and manage API execution state.

Key Procedures and Functions

The ETRM metadata documents five procedures and functions in this package:

  • RETURN_API_DML_STATUS — Returns the DML status of the calling API, allowing a calling program to determine whether inserts, updates, or deletes executed during an API invocation succeeded, failed, or were skipped. This supports the standard EBS API return-status convention.
  • CONSTRAINT_ERROR — Handles or signals constraint-related error conditions encountered during delegate booking processing, typically invoked when DML violates database integrity rules.
  • API_UPDATING — Indicates or governs whether an API update operation is in progress, allowing the shadow layer to distinguish API-driven changes from other modifications.
  • LCK — Provides locking logic for delegate booking records, ensuring serialized access to booking rows so concurrent training administration transactions do not corrupt booking state.
  • CONVERT_ARGS — Converts or normalizes arguments passed between the public APIs and the underlying data layer, a common pattern in Oracle's API architecture for handling parameter transformations.

No parameter lists are reproduced here; the procedure names and purposes above reflect the documented metadata only.

Tables Accessed

The only documented table referenced by OTA_TDB_SHD via APPS synonyms is OTA_DELEGATE_BOOKINGS. This is the core delegate booking entity in Oracle Training Administration, storing delegate-level booking records that link learners to training events. The package reads and writes this table in support of its locking, DML status, and API update-tracking routines, ensuring that delegate booking records remain accurate and protected during concurrent API operations.

Usage Notes

OTA_TDB_SHD is not intended for direct invocation by end users or custom developers. It is a repository-level shared component, and the documented dependency list confirms it is referenced by twelve other packages, including OTA_TDB_BUS, OTA_TDB_BUS2, OTA_TDB_INS, OTA_TDB_UPD, OTA_TDB_DEL, OTA_TDB_API_UPD2, OTA_DELEGATE_BOOKING_API, OTA_CANCEL_API, OTA_OM_TDB_WAITLIST_API, OTA_EVT_BUS2, OTA_ILEARNING2, and OTA_TEA_SHD. These callers invoke the shadow routines during booking creation, modification, cancellation, waitlist processing, and bulk bus integration. Typical invocation therefore occurs through delegate booking forms, the OTA booking APIs, event and iLearning bus interfaces, and related concurrent or batch processes. Because the package is marked VALID with API classification OTHER, it should be treated as internal Oracle Application Object Library infrastructure; any extension or customization should go through the supported public APIs rather than calling OTA_TDB_SHD directly.