Search Results chk_enrollment_exist
Overview
OTA_TRNG_PLAN_UTIL_SS is a server-side PL/SQL utility package body owned by APPS within the Oracle E-Business Suite Oracle Training Administration (OTA) module, part of the Enterprise Training Management (ETRM) application. The package provides reusable validation, status-checking, and enrollment utility logic that supports the training plan and training plan member (TPC) business flows. It is classified as an "OTHER" API, meaning it is not a published open interface but an internal helper package invoked by forms, other packages, and concurrent logic within OTA. Consistent with Oracle's naming conventions of the 11i/12.x era (the $Header comment references revision 115.15 dated 2004), the package isolates discrete checks — such as determining whether a training plan may be cancelled or completed, whether an enrollment already exists, and whether a logged-in user is a valid owner — into individually callable functions. This promotes reuse and consistent enforcement of training plan rules across the application. The body references seven base tables and is referenced by eight other packages.
Key Procedures and Functions
The documented interface exposes fifteen procedures and functions. The user search term "chk_enrollment_exist" corresponds to the documented function CHK_ENROLLMENT_EXIST, which validates whether a training enrollment record already exists, typically used to prevent duplicate enrollments before a booking or delegate-booking is created.
- CHK_ENROLLMENT_EXIST — Determines whether an enrollment already exists for the given training context; used as a duplicate-enrollment guard.
- CHK_CANCEL_PLAN_OK — Returns a status flag indicating whether the training plan may be cancelled, based on the state of its members.
- CHK_COMPLETE_PLAN_OK — Determines whether the training plan is eligible for completion given its member statuses.
- IS_PERSONAL_TRNG_PLAN — Identifies whether a training plan is of the personal (individual) type.
- GET_ENROLL_STATUS — Retrieves the enrollment status for a given learner or booking context.
- GET_VALID_ENROLL — Returns a valid enrollment reference for downstream processing.
- GET_PERSON_ID — Resolves the person identifier associated with the current context.
- CHK_LOGIN_PERSON — Validates the identity of the logged-in person against the training plan or record being processed.
- CHK_SRC_FUNC_TLNTMGT — Confirms that the source function is Talent Management, gating behavior accordingly.
- CHK_VALID_ACT_VERSION_DATES — Validates that activity version start and end dates are consistent.
- MODIFY_TPC_STATUS_ON_CREATE — Sets the training plan member status when a TPC record is created.
- MODIFY_TPC_STATUS_ON_UPDATE — Adjusts the TPC status when an existing record is updated.
- COMPLETE_PLAN — Drives the completion of a training plan, coordinating member status changes.
Tables Accessed
- OTA_TRAINING_PLANS — Primary training plan definition; read for plan status and type checks.
- OTA_TRAINING_PLAN_MEMBERS — Plan member rows queried to evaluate cancellation, completion, and TPC status.
- OTA_ACTIVITY_VERSIONS — Activity version records checked for valid date ranges.
- OTA_BOOKING_STATUS_TYPES — Lookup of booking status values used in enrollment validation.
- OTA_DELEGATE_BOOKINGS — Delegate booking rows examined during enrollment-existence checks.
- OTA_EVENTS — Event definitions referenced when resolving enrollment context.
- FND_USER — Application user records, used by CHK_LOGIN_PERSON to validate the logged-in person.
Usage Notes
The package is invoked internally by OTA forms (such as the training plan and enrollment forms), by other PL/SQL packages that manage training plans and TPC processing, and by custom extensions that need to enforce the same enrollment and plan-completion rules. Because it is an "OTHER" classification API, it is not a supported integration point; customizations should call it cautiously and expect behavior to track the underlying OTA forms logic. Developers searching for "chk_enrollment_exist" typically encounter it when troubleshooting duplicate-enrollment errors or when validating records programmatically. Standard Oracle support policy applies: reference these functions for diagnostics and understanding, but avoid altering the package or overriding its logic in production.
-
PACKAGE BODY: APPS.OTA_TRNG_PLAN_UTIL_SS
12.2.2
-
PACKAGE: APPS.OTA_TRNG_PLAN_UTIL_SS
12.1.1
-
PACKAGE BODY: APPS.OTA_TRNG_PLAN_UTIL_SS
12.1.1
-
PACKAGE: APPS.OTA_LRNG_PATH_MEMBER_UTIL
12.1.1
-
PACKAGE: APPS.OTA_TRNG_PLAN_UTIL_SS
12.2.2
-
PACKAGE: APPS.OTA_LRNG_PATH_MEMBER_UTIL
12.2.2
-
PACKAGE BODY: APPS.OTA_LRNG_PATH_MEMBER_UTIL
12.1.1
-
PACKAGE BODY: APPS.OTA_LRNG_PATH_MEMBER_UTIL
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_DELEGATE_BOOKINGS
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATHS
12.1.1
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_ACTIVITY_VERSIONS
12.1.1
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATHS
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATHS
12.1.1
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_DELEGATE_BOOKINGS
12.1.1
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_BOOKING_STATUS_TYPES
12.1.1
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATHS
12.2.2
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_ACTIVITY_VERSIONS
12.2.2
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLANS
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATH_MEMBERS
12.1.1
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLANS
12.1.1
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLANS
12.1.1
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATH_MEMBERS
12.1.1
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLANS
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATH_MEMBERS
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on OTA_LEARNING_PATH_MEMBERS
12.2.2
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLAN_MEMBERS
12.1.1
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLAN_MEMBERS
12.2.2
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLAN_MEMBERS
12.1.1
-
APPS.OTA_TRNG_PLAN_UTIL_SS dependencies on OTA_TRAINING_PLAN_MEMBERS
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_LRNG_PATH_MEMBER_UTIL dependencies on HR_UTILITY
12.1.1