Search Results check_active_periods
Overview
OTA_CPE_UTIL is a utility package in the Oracle E-Business Suite Applications (APPS) schema that supports the Competency and Certification management functionality of Oracle Training Administration (OTA), part of Oracle iLearning / OTA (Oracle Training Administration) module. The suffix "CPE" denotes Certification Period and Enrollment processing — the package provides the low-level business logic for creating, maintaining, and evaluating certification period enrollments and their associated completion status. Rather than exposing a public API for external callers, OTA_CPE_UTIL functions as an internal service layer called by the higher-level certification APIs (OTA_CERT_ENROLLMENT_API, OTA_CERT_PRD_ENROLLMENT_API) and by other utility packages such as OTA_CME_UTIL and OTA_DELEGATE_BOOKING_API.
The object is reported as VALID and is classified as a UTIL (utility) type package. Its primary responsibility is to encapsulate the rules governing certification periods: determining whether a period is renewable, computing certification creation and expiration dates, deriving member status, and synchronizing certification status across related enrollment records.
Key Procedures and Functions
The package exposes 21 documented procedures and functions that fall into several functional groupings:
- Period validation and status: CHK_CERT_PRD_COMPL, CHK_PRD_END_DATE, CHECK_ACTIVE_PERIODS, IS_PERIOD_RENEWABLE, GET_CRE_STATUS — evaluate whether certification periods are complete, active, or renewable, and return the current certification status.
- Certification creation and maintenance: CREATE_CPE_REC, CRT_COMP_UPD_SUCC_ATT, CALC_CRE_DATES, GET_NEXT_PRD_DUR_DAYS, GET_ELAPSED_DUE_DATE — construct certification period enrollment records, calculate creation/expiration dates, and determine the next period duration in days.
- Member and enrollment detail: GET_CERT_MBR_STATUS, GET_CERT_MBR_NAME, GET_LATEST_CPE_COL — retrieve certification member attributes and the most recent certification period enrollment column value.
- Status update and synchronization: UPDATE_CPE_STATUS, UPDATE_CERT_STATUS_TO_EXPIRED, UPDATE_ADMIN_CHANGES, SYNC_CERT_STATUS_TO_CLASS_ENRL, IS_CERT_SUCCESS_COMPLETE — persist status changes and reconcile certification status with class enrollment records.
- Deletion and configuration: DELETE_PRD_CASCADE, GET_CPE_EDIT_ENABLED — handle cascade deletion of period records and expose whether editing is currently permitted.
These routines are collectively invoked by the certification APIs to enforce certification lifecycle rules without requiring each caller to re-implement the underlying logic.
Tables Accessed
Through APPS synonyms, OTA_CPE_UTIL reads and writes a defined set of OTA tables:
- Certification core: OTA_CERTIFICATIONS_B (certification definitions), OTA_CERTIFICATION_MEMBERS (member records), OTA_CERT_MBR_ENROLLMENTS (member enrollment detail).
- Enrollment and performance: OTA_CERT_ENROLLMENTS, OTA_CERT_PRD_ENROLLMENTS (period enrollments maintained by this package), OTA_ATTEMPTS, OTA_SCORM_OBJ_ATTEMPTS, OTA_SCORM_OBJ_PERFS, and OTA_ACTIVITY_VERSIONS for evaluating completion.
- Scheduling and logistics: OTA_EVENTS, OTA_OFFERINGS, OTA_PERFORMANCES, OTA_BOOKING_STATUS_TYPES, OTA_DELEGATE_BOOKINGS, and OTA_CATEGORY_USAGES — referenced to associate certification periods with scheduled training events and delegate bookings.
Usage Notes
OTA_CPE_UTIL is not intended for direct invocation by end users or custom applications. It is called internally by OTA_CERT_ENROLLMENT_API, OTA_CERT_PRD_ENROLLMENT_API, OTA_CME_UTIL, OTA_DELEGATE_BOOKING_API, and OTA_TRAINING_RECORD, and it recursively references itself for internal helper calls. In Oracle EBS 12.1.1 and 12.2.2, the package is typically executed in the context of certification-related forms (such as the Certification Maintenance and Enrollment forms) and concurrent programs that process certification renewals and expirations. Customizations should consume the documented public APIs rather than calling OTA_CPE_UTIL directly, since its procedures are subject to change across patch levels and are governed by Oracle proprietary and confidential terms.
-
PACKAGE: APPS.OTA_CPE_UTIL
12.2.2
-
PACKAGE: APPS.OTA_CPE_UTIL
12.1.1
-
APPS.OTA_CPE_UTIL dependencies on OTA_EVENTS
12.2.2
-
APPS.OTA_CPE_UTIL dependencies on OTA_EVENTS
12.1.1
-
APPS.OTA_CPE_UTIL dependencies on OTA_EVENTS
12.1.1
-
PACKAGE BODY: APPS.OTA_CPE_UTIL
12.2.2
-
APPS.OTA_CPE_UTIL dependencies on OTA_EVENTS
12.2.2
-
APPS.OTA_CPE_UTIL dependencies on OTA_CERTIFICATIONS_B
12.1.1
-
APPS.OTA_CPE_UTIL dependencies on OTA_CERTIFICATIONS_B
12.2.2
-
PACKAGE BODY: APPS.OTA_CPE_UTIL
12.1.1
-
APPS.OTA_CPE_UTIL dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_CPE_UTIL dependencies on HR_UTILITY
12.2.2