Search Results check_cost_center
Overview
OTA_EL_ENROLL_SS is an Oracle E-Business Suite PL/SQL package owned by the APPS schema and classified under the OTA (Oracle Training Administration / Learning Management) module family. It is declared AUTHID CURRENT_USER, meaning that its unqualified database references resolve against the privileges of the invoking session rather than the package owner, which allows it to be invoked safely from multiple application contexts. The package provides the server-side enrollment engine for Oracle Learning Management, encapsulating the validation, booking, cancellation, approval, and workflow logic that governs how learners are enrolled into events and activities. It operates against the OTA_* training tables alongside HR and FND foundation tables, and it is referenced by at least one other package, indicating that it forms part of an internal API layer consumed by peer LMS components rather than being a standalone utility.
Key Procedures and Functions
The documented interface exposes 21 procedures and functions that together cover the enrollment lifecycle.
- PROCESSSAVEENROLLMENT — the principal driver that persists a new or modified enrollment, coordinating validation, booking creation, and downstream processing.
- VALIDATE_ENROLLMENT, CHECK_ENROLLMENT_CREATION, and CHECK_COST_CENTER — precondition checks that confirm an enrollment may legitimately be created, including cost center derivation for financial charge-back.
- CHK_VALID_ACTIVITY, CHK_VALID_EVENT, CHK_FOR_SECURE_EVT, and CHK_FOR_RESTRICTED_EVT — object-level guards that verify the referenced activity or event exists, is active, and that the learner is permitted to access it.
- CHK_EVENT_CANCELLED_FOR_PERSON, CHK_BOOKING_CLASH, CHK_DELEGATE_OK_FOR_EVENT, and CANCEL_FINANCE — conflict and cancellation handling, detecting schedule clashes, validating delegate bookings, and reversing associated financial entries.
- GET_BOOKING_STATUS_FOR_WEB, GET_PERSON_TO_ENROLL_DETAILS, and GET_CURRENT_PERSON_ID — retrieval helpers that resolve booking status types, learner details, and the effective person identifier.
- CREATE_ENROLL_WF_PROCESS, CHECK_WF_STATUS, APPROVED, and CROSS_CHARGES_NOTIFICATIONS — workflow integration for approval routing, status polling, and cross-charge notification.
- CHK_FOR_SECURE_EVT and CHK_UNIQUE_FUNC — security and uniqueness verification for restricted offerings and responsibility/function availability.
Tables Accessed
The package reads and writes the core LMS tables OTA_EVENTS, OTA_ACTIVITY_VERSIONS, OTA_ACTIVITY_DEFINITIONS, OTA_DELEGATE_BOOKINGS, OTA_BOOKING_STATUS_TYPES, and OTA_BOOKING_STATUS_TYPES_TL. The booking status lookup, visible in the package source, joins the base and translation tables to resolve a booking status type using a priority of seeded web status names, default flag, then first matching row. HR tables PER_ALL_PEOPLE_F, PER_ALL_ASSIGNMENTS_F, and HR_ALL_ORGANIZATION_UNITS supply person, assignment, and business group context. Workflow tables WF_ITEMS, WF_PROCESS_ACTIVITIES, and HR_WORKFLOW_ITEM_KEY_S support the approval process. Security and identity checks draw on FND_USER, FND_RESPONSIBILITY, and FND_FORM_FUNCTIONS.
Usage Notes
OTA_EL_ENROLL_SS is invoked indirectly from the Oracle Learning Management self-service and administrative forms, from enrollment-related concurrent programs, and from custom extensions that need to create or validate enrollments programmatically rather than through the UI. Because it is an internal (SS) package rather than a published public API, direct calls should be treated as unsupported and version-sensitive; implementers should prefer the documented OTA public APIs where available. The AUTHID CURRENT_USER clause means callers must hold the necessary object privileges themselves. Behavior and signatures differ little between 12.1.1 and 12.2.2, though the package header carries a legacy 2005 revision stamp.
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on WF_ITEMS
12.1.1
-
PACKAGE: APPS.OTA_EL_ENROLL_SS
12.2.2
-
PACKAGE: APPS.OTA_TRNG_ENROLL_SS
12.2.2
-
PACKAGE: APPS.OTA_TRNG_ENROLL_SS
12.1.1
-
PACKAGE: APPS.OTA_ENROLL_IN_TRAINING_SS
12.2.2
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on WF_ITEMS
12.2.2
-
PACKAGE: APPS.OTA_EL_ENROLL_SS
12.1.1
-
PACKAGE: APPS.OTA_ENROLL_IN_TRAINING_SS
12.1.1
-
PACKAGE: APPS.OTA_LEARNER_ENROLL_SS
12.2.2
-
PACKAGE: APPS.OTA_LEARNER_ENROLL_SS
12.1.1
-
PACKAGE BODY: APPS.OTA_TRNG_ENROLL_SS
12.2.2
-
PACKAGE BODY: APPS.OTA_TRNG_ENROLL_SS
12.1.1
-
PACKAGE BODY: APPS.OTA_ENROLL_IN_TRAINING_SS
12.2.2
-
PACKAGE BODY: APPS.OTA_ENROLL_IN_TRAINING_SS
12.1.1
-
APPS.OTA_TRNG_ENROLL_SS dependencies on HR_UTILITY
12.2.2
-
PACKAGE BODY: APPS.OTA_EL_ENROLL_SS
12.1.1
-
PACKAGE BODY: APPS.OTA_EL_ENROLL_SS
12.2.2
-
APPS.OTA_TRNG_ENROLL_SS dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_EL_ENROLL_SS dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_EL_ENROLL_SS dependencies on HR_UTILITY
12.1.1
-
PACKAGE BODY: APPS.OTA_LEARNER_ENROLL_SS
12.1.1
-
APPS.OTA_ENROLL_IN_TRAINING_SS dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_ENROLL_IN_TRAINING_SS dependencies on HR_UTILITY
12.1.1
-
PACKAGE BODY: APPS.OTA_LEARNER_ENROLL_SS
12.2.2
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_LEARNER_ENROLL_SS dependencies on HR_UTILITY
12.2.2