Search Results secure_event_flag




Overview

OTFV_SCHEDULED_TRAINING_EVENTS is an APPS-owned business view template in the Oracle E-Business Suite Learning Management module (OTA). It supplies the flexfield-driven reporting layer through which scheduled training events, their offerings, activity definitions, and enrolment attributes are exposed to Oracle Business Intelligence, Oracle HRMS Extracts, and custom reporting solutions. The view is documented in ETRM 12.2.2 as VALID and is referenced as the source from which the flexfield view is generated, meaning it acts as the semantic foundation rather than an end-user query object.

The user search term secure_event_flag maps directly to a column of that name in the view. The view decodes the underlying OTA_EVENTS.SECURE_EVENT_FLAG through HR_BIS.BIS_DECODE_LOOKUP, presenting the boolean as a YES_NO translated value. Notably, the DECODE logic inverts the stored flag (Y becomes N, N becomes Y) before lookup translation. This inversion is important: consultants investigating access restrictions must verify the raw OTA_EVENTS value alongside the view's derived SECURE_EVENT_FLAG and the companion RESTRICTIONS_APPLY column, which is derived from PUBLIC_EVENT_FLAG using the same inversion pattern.

Underlying Base Objects

The view is defined over a set of OTA synonyms and shared reference objects. Core event data originates from OTA_EVENTS and OTA_EVENTS_TL. Activity structure derives from OTA_ACTIVITY_DEFINITIONS, OTA_ACTIVITY_DEFINITIONS_TL, OTA_ACTIVITY_VERSIONS, and OTA_ACTIVITY_VERSIONS_TL, with category context supplied by OTA_CATEGORY_USAGES and OTA_CATEGORY_USAGES_TL. Financial and offering detail draws on OTA_OFFERINGS, while enrolment and booking context uses OTA_DELEGATE_BOOKINGS and OTA_BOOKING_STATUS_TYPES. Organizational and vendor references include HR_ALL_ORGANIZATION_UNITS_TL for the training center, PO_VENDORS, and FND_CURRENCIES_VL for currency codes.

Significant logic is delegated to PL/SQL packages: OTA_VIEWS_PKG supplies OTA_GET_PLACES_AVAILABLE for seat availability, OTA_GENERAL and OTA_UTILITY provide supporting functions, and HR_BIS supplies BIS_DECODE_LOOKUP for translating codes such as FREQUENCY, SCHEDULED_EVENT_STATUS, EVENT_USER_STATUS, ACTIVITY_CATEGORY, and YES_NO. Because these packages and base tables are synonymous and reference shared HR and Financials objects, the view is tightly coupled to the standard OTA data model and requires that Learning Management be installed and licensed.

Key Columns

Common Use Cases and Queries

Typical scenarios include auditing which scheduled events carry security restrictions, reporting on available capacity, and exporting event catalogs for analytics. Investigators specifically reviewing secure_event_flag should join the view back to OTA_EVENTS to reconcile the inverted translation.

Sample queries:

  • List secured events: SELECT event_name, secure_event_flag, restrictions_apply FROM otfv_scheduled_training_events WHERE secure_event_flag = 'Y';
  • Capacity and enrolment window: SELECT event_name, available_places, minimum_attendees, enrolment_start_date, enrolment_end_date FROM otfv_scheduled_training_events WHERE event_status = 'Scheduled';
  • Reconcile raw flag: SELECT v.event_name, v.secure_event_flag view_flag, e.secure_event_flag base_flag FROM otfv_scheduled_training_events v, ota_events e WHERE v.event_name = e.title AND e.secure_event_flag IS NOT NULL;
  • Audit restrictions by training center: SELECT training_center, secure_event_flag, COUNT(*) FROM otfv_scheduled_training_events GROUP BY training_center, secure_event_flag;

Because availability and decoding rely on package logic, queries should be executed as APPS or a user with appropriate OTA grants, and results should be validated against the underlying base tables when the secure event flag is material to a compliance or access decision.