Search Results ota_booking_status_histories
Overview
The OTA_BOOKING_STATUS_HISTORIES table is a core transactional entity within the Oracle E-Business Suite Learning Management (OTA) module, specifically in versions 12.1.1 and 12.2.2. It functions as a historical audit trail, systematically recording every status change for a student's enrollment (or booking) in a training event. This object is critical for maintaining a complete, time-sequenced log of a delegate's enrollment lifecycle, from initial application through confirmation, attendance, cancellation, or transfer. Its role is to provide an immutable record for compliance, reporting, and process analysis, enabling administrators to reconstruct the exact status history of any enrollment.
Key Information Stored
The table's structure is designed to capture the essential elements of a status transition. Its primary key is a composite of BOOKING_ID, BOOKING_STATUS_TYPE_ID, and START_DATE, ensuring a unique record for each status applied to a specific booking at a precise moment. The BOOKING_ID column links the history record to the specific enrollment in the OTA_DELEGATE_BOOKINGS table. The BOOKING_STATUS_TYPE_ID column stores a foreign key reference to the OTA_BOOKING_STATUS_TYPES table, which defines the meaning of the status (e.g., 'CONFIRMED', 'WAITLISTED', 'CANCELLED'). The START_DATE column is pivotal, marking the effective date and time when that particular status became active for the enrollment. While not detailed in the provided metadata, related columns typically include CREATED_BY and CREATION_DATE for audit purposes.
Common Use Cases and Queries
This table is central to enrollment auditing and trend reporting. A primary use case is generating a complete history for a specific student or booking to resolve disputes or understand progression. Another is analyzing the volume and flow of enrollments through different statuses over time for operational reporting. Common SQL patterns include retrieving the chronological history for a booking or finding all enrollments that reached a specific status within a date range.
- Status History for a Booking:
SELECT * FROM ota.ota_booking_status_histories WHERE booking_id = <id> ORDER BY start_date; - Current Status Lookup:
SELECT * FROM ota.ota_booking_status_histories h WHERE booking_id = <id> AND start_date = (SELECT MAX(start_date) FROM ota.ota_booking_status_histories WHERE booking_id = h.booking_id); - Enrollments Cancelled in a Period:
SELECT DISTINCT booking_id FROM ota.ota_booking_status_histories WHERE booking_status_type_id = (SELECT booking_status_type_id FROM ota.ota_booking_status_types WHERE name = 'CANCELLED') AND TRUNC(start_date) BETWEEN :p_start_date AND :p_end_date;
Related Objects
The OTA_BOOKING_STATUS_HISTORIES table has defined dependencies within the OTA schema, as per the provided metadata. It is a child table to OTA_DELEGATE_BOOKINGS via the BOOKING_ID foreign key, which is the master record of the enrollment itself. It also references the OTA_BOOKING_STATUS_TYPES table via the BOOKING_STATUS_TYPE_ID foreign key to obtain the human-readable name and system meaning of each status code. While not listed, this table is likely referenced by various OTA forms, concurrent programs, and standard API packages (e.g., OTA_BOOKING_API) that manage the enrollment lifecycle and maintain this historical log.
-
Table: OTA_BOOKING_STATUS_HISTORIES
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES, object_name:OTA_BOOKING_STATUS_HISTORIES, status:VALID, product: OTA - Learning Management , description: A booking status history records status of changes to a student enrollment. , implementation_dba_data: OTA.OTA_BOOKING_STATUS_HISTORIES ,
-
Table: OTA_BOOKING_STATUS_HISTORIES
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES, object_name:OTA_BOOKING_STATUS_HISTORIES, status:VALID, product: OTA - Learning Management , description: A booking status history records status of changes to a student enrollment. , implementation_dba_data: OTA.OTA_BOOKING_STATUS_HISTORIES ,
-
APPS.OTA_CANCEL_TRAINING_SS dependencies on OTA_BOOKING_STATUS_HISTORIES
12.2.2
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on OTA_BOOKING_STATUS_HISTORIES
12.2.2
-
APPS.OTA_DELEGATE_BOOKING_API dependencies on OTA_BOOKING_STATUS_HISTORIES
12.2.2
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on OTA_BOOKING_STATUS_HISTORIES
12.1.1
-
APPS.OTA_TDB_DEL dependencies on OTA_BOOKING_STATUS_HISTORIES
12.2.2
-
APPS.OTA_BST_API dependencies on OTA_BOOKING_STATUS_HISTORIES
12.2.2
-
APPS.OTA_UTILITY dependencies on OTA_BOOKING_STATUS_HISTORIES
12.1.1
-
APPS.OTA_TDB_BUS dependencies on OTA_BOOKING_STATUS_HISTORIES
12.1.1
-
APPS.OTA_UTILITY dependencies on OTA_BOOKING_STATUS_HISTORIES
12.2.2
-
APPS.OTA_TDB_BUS dependencies on OTA_BOOKING_STATUS_HISTORIES
12.2.2
-
APPS.OTA_DELEGATE_BOOKING_API dependencies on OTA_BOOKING_STATUS_HISTORIES
12.1.1
-
APPS.OTA_TDB_DEL dependencies on OTA_BOOKING_STATUS_HISTORIES
12.1.1
-
APPS.OTA_CANCEL_TRAINING_SS dependencies on OTA_BOOKING_STATUS_HISTORIES
12.1.1
-
APPS.OTA_BST_API dependencies on OTA_BOOKING_STATUS_HISTORIES
12.1.1
-
TABLE: OTA.OTA_BOOKING_STATUS_HISTORIES
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES, object_name:OTA_BOOKING_STATUS_HISTORIES, status:VALID,
-
VIEW: OTA.OTA_BOOKING_STATUS_HISTORIES#
12.2.2
owner:OTA, object_type:VIEW, object_name:OTA_BOOKING_STATUS_HISTORIES#, status:VALID,
-
TABLE: OTA.OTA_BOOKING_STATUS_HISTORIES
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES, object_name:OTA_BOOKING_STATUS_HISTORIES, status:VALID,
-
SYNONYM: APPS.OTA_BOOKING_STATUS_HISTORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_BOOKING_STATUS_HISTORIES, status:VALID,
-
VIEW: APPS.OTA_BOOKING_STATUS_HISTORIES_V
12.2.2
-
VIEW: OTA.OTA_BOOKING_STATUS_HISTORIES#
12.2.2
-
VIEW: APPS.OTA_BOOKING_STATUS_HISTORIES_V
12.1.1
-
SYNONYM: APPS.OTA_BOOKING_STATUS_HISTORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_BOOKING_STATUS_HISTORIES, status:VALID,
-
Table: OTA_BOOKING_STATUS_TYPES
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_BOOKING_STATUS_TYPES, object_name:OTA_BOOKING_STATUS_TYPES, status:VALID, product: OTA - Learning Management , description: Booking status types contain a list of user-defined enrollment statuses, along with their corresponding system statuses. , implementation_dba_data: OTA.OTA_BOOKING_STATUS_TYPES ,
-
APPS.HR_MEE_VIEWS_GEN dependencies on OTA_BOOKING_STATUS_TYPES
12.2.2
-
APPS.HR_MEE_VIEWS_GEN dependencies on OTA_BOOKING_STATUS_TYPES
12.1.1
-
Table: OTA_DELEGATE_BOOKINGS
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_DELEGATE_BOOKINGS, object_name:OTA_DELEGATE_BOOKINGS, status:VALID, product: OTA - Learning Management , description: An student booking (delegate booking) records an enrollment onto a scheduled, program or one time event. , implementation_dba_data: OTA.OTA_DELEGATE_BOOKINGS ,
-
TRIGGER: APPS.OTA_BOOKING_STATUS_HISTORI_WHO
12.1.1
owner:APPS, object_type:TRIGGER, object_name:OTA_BOOKING_STATUS_HISTORI_WHO, status:VALID,
-
TRIGGER: APPS.OTA_BOOKING_STATUS_HISTORI_WHO
12.2.2
owner:APPS, object_type:TRIGGER, object_name:OTA_BOOKING_STATUS_HISTORI_WHO, status:VALID,
-
View: OTA_BOOKING_STATUS_HISTORIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES_V, object_name:OTA_BOOKING_STATUS_HISTORIES_V, status:VALID, product: OTA - Learning Management , description: View to list all information about a Students Booking Status History. , implementation_dba_data: APPS.OTA_BOOKING_STATUS_HISTORIES_V ,
-
TRIGGER: APPS.OTA_BOOKING_STATUS_HISTORI_WHO
12.2.2
-
PACKAGE BODY: APPS.OTA_BST_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_BST_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_TDB_DEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TDB_DEL, status:VALID,
-
PACKAGE BODY: APPS.OTA_BST_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_BST_API, status:VALID,
-
View: OTFV_ENROLLMENT_STATUS_HISTORY
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_ENROLLMENT_STATUS_HISTORY, object_name:OTFV_ENROLLMENT_STATUS_HISTORY, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_ENROLLMENT_STATUS_HISTORY ,
-
TRIGGER: APPS.OTA_BOOKING_STATUS_HISTORI_WHO
12.1.1
-
PACKAGE BODY: APPS.OTA_TDB_DEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TDB_DEL, status:VALID,
-
Table: OTA_BOOKING_STATUS_TYPES
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_BOOKING_STATUS_TYPES, object_name:OTA_BOOKING_STATUS_TYPES, status:VALID, product: OTA - Learning Management , description: Booking status types contain a list of user-defined enrollment statuses, along with their corresponding system statuses. , implementation_dba_data: OTA.OTA_BOOKING_STATUS_TYPES ,
-
View: OTA_BOOKING_STATUS_HISTORIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES_V, object_name:OTA_BOOKING_STATUS_HISTORIES_V, status:VALID, product: OTA - Learning Management , description: View to list all information about a Students Booking Status History. , implementation_dba_data: APPS.OTA_BOOKING_STATUS_HISTORIES_V ,
-
Table: OTA_DELEGATE_BOOKINGS
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_DELEGATE_BOOKINGS, object_name:OTA_DELEGATE_BOOKINGS, status:VALID, product: OTA - Learning Management , description: An student booking (delegate booking) records an enrollment onto a scheduled, program or one time event. , implementation_dba_data: OTA.OTA_DELEGATE_BOOKINGS ,
-
VIEW: APPS.OTA_BOOKING_STATUS_HISTORIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES_V, object_name:OTA_BOOKING_STATUS_HISTORIES_V, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OTA_LEARNER_ENROLL_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LEARNER_ENROLL_SS, status:VALID,
-
VIEW: APPS.OTA_BOOKING_STATUS_HISTORIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTA_BOOKING_STATUS_HISTORIES_V, object_name:OTA_BOOKING_STATUS_HISTORIES_V, status:VALID,
-
View: OTFV_ENROLLMENT_STATUS_HISTORY
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_ENROLLMENT_STATUS_HISTORY, object_name:OTFV_ENROLLMENT_STATUS_HISTORY, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_ENROLLMENT_STATUS_HISTORY ,
-
PACKAGE BODY: APPS.OTA_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_UTILITY, status:VALID,
-
PACKAGE BODY: APPS.OTA_TDB_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TDB_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TDB_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TDB_BUS, status:VALID,