Search Results delete_lp_member_enrollment
Overview
The APPS.OTA_LP_MEMBER_ENROLLMENT_API package body encapsulates the business logic required to manage the enrollment of members within Oracle E-Business Suite Learning Management (part of Oracle iLearning / OTA schema). Its central responsibility is to maintain the relationship between learners and the learning paths to which they are assigned, recording enrollment state, progress, completion targets, and other descriptive attributes. The package forms part of the public API layer that shields callers from the underlying data model and enforces validation, defaulting, and business rules during data manipulation.
The header comment ($Header: otlmeapi.pkb 120.0.12010000.2 2009/05/14) confirms the object is part of the standard 12.x code line (120.0.12010000), consistent with both EBS 12.1.1 and 12.2.2. The package is classified as an API in the ETRM metadata, indicating it is an officially supported programmatic interface rather than an internal utility.
Key Procedures and Functions
The package exposes three documented procedures, each aligned to a standard CRUD operation on learning path member enrollment records:
- CREATE_LP_MEMBER_ENROLLMENT — Inserts a new member enrollment into a learning path. It accepts an effective date and validation flag, the parent enrollment and learning path section or member identifiers, a member status code, optional completion target and completion dates, the business group, and a full set of descriptive flexfield attribute columns (attribute_category plus attribute1 through attribute23). This breadth of parameters allows the procedure to populate both the core enrollment record and its corresponding DFF segments in a single call.
- UPDATE_LP_MEMBER_ENROLLMENT — Modifies an existing member enrollment record, typically to change status, dates, or descriptive attributes as the learner progresses through the path.
- DELETE_LP_MEMBER_ENROLLMENT — Removes a member enrollment record. Because the package is transaction-aware and validation-driven, callers can invoke this procedure in a
p_validate-style mode (where supported by the underlying signature) to test the deletion before committing.
Each procedure follows the EBS API conventions: an effective date, a validation flag defaulting to false, mandatory surrogate keys, and optional descriptive flexfield attributes. This uniformity lets callers handle all three operations with consistent error handling and rollback strategies.
Tables Accessed
The package operates against four tables via APPS synonyms:
- OTA_LP_MEMBER_ENROLLMENTS — The primary target of the API; holds the enrollment row for each learning path member, including status, completion dates, and DFF attributes.
- OTA_LP_ENROLLMENTS — The parent learning path enrollment that the member enrollment belongs to; supplies context and validation for the parent-child relationship.
- OTA_LEARNING_PATH_MEMBERS — Defines the membership structure of a learning path, used to validate that the member being enrolled exists within the specified path.
- OTA_ACTIVITY_VERSIONS — Supplies version and activity configuration data used to derive completion rules and target dates.
Usage Notes
This API is typically invoked from Oracle Learning Management forms during the manual enrollment of learners into learning paths, and from concurrent programs or batch loaders used to assign enrollments in bulk. It is also referenced by four other packages in the OTA schema, indicating use as a building block for higher-level enrollment or completion processes. Custom integrations should call these procedures rather than performing direct DML on OTA_LP_MEMBER_ENROLLMENTS, ensuring that validation, defaulting, and descriptive flexfield handling remain intact. The DELETE_LP_MEMBER_ENROLLMENT procedure is the supported mechanism when a learner’s path enrollment must be withdrawn or corrected, and it should be invoked within a transaction that follows Oracle’s API commit/rollback conventions.
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API SQL Statements
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API SQL Statements
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI SQL Statements
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OTA_LP_MEMBER_ENROLLMENT_API
12.2.2
-
PACKAGE BODY: APPS.OTA_LP_MEMBER_ENROLLMENT_API
12.1.1
-
PACKAGE BODY: APPS.OTA_LP_MEMBER_ENROLLMENT_SWI
12.1.1
-
PACKAGE BODY: APPS.OTA_LP_MEMBER_ENROLLMENT_SWI
12.2.2
-
PACKAGE: APPS.OTA_LP_MEMBER_ENROLLMENT_SWI
12.2.2
-
PACKAGE: APPS.OTA_LP_MEMBER_ENROLLMENT_SWI
12.1.1
-
PACKAGE: APPS.OTA_LP_MEMBER_ENROLLMENT_API
12.2.2
-
PACKAGE: APPS.OTA_LP_MEMBER_ENROLLMENT_API
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on OTA_LP_MEMBER_ENROLLMENT_SWI
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API dependencies on OTA_LP_MEMBER_ENROLLMENT_API
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API dependencies on OTA_LP_MEMBER_ENROLLMENT_API
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on OTA_LP_MEMBER_ENROLLMENT_SWI
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_MULTI_MESSAGE
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_MULTI_MESSAGE
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API dependencies on HR_API
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API dependencies on HR_API
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_API
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_API
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_API
12.1.1
-
APPS.OTA_LP_MEMBER_ENROLLMENT_API dependencies on HR_API
12.2.2
-
APPS.OTA_LP_MEMBER_ENROLLMENT_SWI dependencies on HR_API
12.2.2