Search Results tpl_unit




Overview

OTA_BOOKING_DEALS_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, defined within the OTA (Oracle Training Administration / Learning Management) product family. As documented in the ETRM metadata, the view is described as a "View to list all information about an Enrollment Agreement." In OTA terminology, an enrollment agreement is represented internally as a booking deal — a contractual arrangement between a customer and the training organization that governs pricing, place allocations, and discounts across one or more events. The view consolidates this booking deal data into a single, denormalized read interface suitable for reporting, Oracle Discoverer workbooks, BI Publisher data templates, and custom concurrent programs.

The view is marked VALID in the ETRM registry, with APPS as the owner. Its purpose is to expose the booking deal header attributes alongside decoded lookup meanings and denormalized customer, price list, event, and version descriptions, so that downstream consumers do not have to perform those joins or decode lookups independently. This makes it a primary extraction point for enrollment agreement reporting in both 12.1.1 and 12.2.2 environments.

Underlying Base Objects

The view draws from the following documented base objects, most of which are accessed through APPS synonyms:

Because several of the decoded and computed columns are derived through function calls and PL/SQL packages, the view is not purely a join product; portions of the output are evaluated per row at runtime.

Key Columns

Common Use Cases and Queries

Typical uses include auditing enrollment agreements, reporting training fund balances per customer, and feeding outbound interfaces with agreement terms. A representative query lists active agreements with customer and price list context:

  • SELECT booking_deal_id, name, cus_name, tbd_type_meaning, tpl_name, start_date, end_date FROM ota_booking_deals_v WHERE business_group_id = :bg_id;
  • SELECT name, cus_name, tfl_purchased, tfl_balance, tfl_flag FROM ota_booking_deals_v WHERE type = 'P';
  • SELECT name, evt_title, tav_name, number_of_places, discount_percentage FROM ota_booking_deals_v WHERE event_id = :event_id;

Because function-based columns invoke OTA_TBD_API, queries returning TFL_* values should be used judiciously in high-volume extracts. Restricting by BUSINESS_GROUP_ID, TYPE, or date range is recommended to limit the per-row package invocation overhead.