Search Results ota_tdb_waitlist_api




Overview

OTA_TDB_WAITLIST_API is an Oracle EBS Applications (APPS) schema package body that forms part of the Oracle Training Administration (OTA) module, commonly surfaced through Oracle Learning Management (OLM). The package encapsulates the business logic required to manage learner waitlists for scheduled training offerings and events. Its central responsibility is the transition of a learner from a waitlisted state into an enrolled (booked) state, a process known as automatic enrollment from a waitlist.

In a training environment, popular offerings frequently reach capacity before all interested learners can be booked. The waitlist mechanism allows learners to register interest; when a seat becomes available through cancellation or an increase in capacity, the system must promote eligible waitlisted candidates. OTA_TDB_WAITLIST_API provides the programmatic interface that governs this promotion, ensuring that enrollment records, booking statuses, delegate details, and financial lines remain consistent. The "TDB" prefix reflects the Training DataBase internal naming convention used throughout the OTA schema, distinguishing this API as a transactional data-layer component. The package is documented as VALID and classified as an API, indicating it is intended for controlled reuse rather than as an internal-only helper.

Key Procedures and Functions

The documented interface exposes a single entry point:

  • AUTO_ENROLL_FROM_WAITLIST — The core procedure that performs the automatic enrollment of a learner from a waitlist. Its purpose is to evaluate a waitlisted booking, verify that capacity or eligibility conditions permit enrollment, and then convert the waitlist record into a confirmed booking. During this transition the procedure updates the associated booking status, delegate booking information, and any related financial lines so that the enrollment is fully costed and consistent with standard booking rules. The procedure relies on the OTA_TDB_API_UPD2 package body for supporting update logic, reflecting a layered design in which waitlist promotion reuses the broader booking update API.

No parameter list is documented in the ETRM metadata, and none is asserted here; the procedure name and its business purpose are the authoritative facts.

Tables Accessed

The package body references the following application tables (through APPS synonyms), each serving a defined role:

  • OTA_BOOKING_STATUS_TYPES — Provides the valid booking status codes (for example, waitlisted versus confirmed) used to govern the state change applied during promotion.
  • OTA_DELEGATE_BOOKINGS — Holds the booking and delegate records that represent the learner's enrollment; the procedure updates these to reflect the new enrolled status.
  • OTA_FINANCE_LINES — Stores the financial lines associated with a booking. These are read or written so that pricing and cost allocation remain accurate after enrollment.
  • PLITBLM — A standard Oracle-supplied PL/SQL table package used as a general-purpose collection/scratch structure within the procedural logic.

Supporting dependencies include OTA_TDB_WAITLIST_BK1 (waitlist booking logic), OTA_TDB_BUS2 and OTA_EVT_BUS2 (business-layer packages), HR_API and HR_UTILITY (for person and HR lookups), and FND_PROFILE, which supplies the concurrent/profile context used to derive session and responsibility settings.

Usage Notes

OTA_TDB_WAITLIST_API is typically invoked indirectly rather than called by end users directly. The most common invocations are:

  • Concurrent programs and request sets that process waitlists for training offerings, promoting learners as seats become available.
  • OLM/OTA forms and their underlying business logic, where seat availability or cancellation triggers promotion logic.
  • Custom extensions and interfaces built by implementers who need to automate waitlist processing, calling AUTO_ENROLL_FROM_WAITLIST within their own PL/SQL routines while supplying the correct FND_PROFILE context.

Because this is an API-classified package, custom code should invoke the documented procedure rather than manipulating the underlying tables directly; doing so ensures that status validation, booking updates, and financial lines are handled consistently. Developers should note the dependency on OTA_TDB_API_UPD2 and the waitlist booking package, as these encapsulate the write logic that preserves data integrity across the enrollment transaction. Implementers should also confirm that the calling session establishes a valid profile context, since FND_PROFILE is a direct dependency of the package body.