Search Results chk_event
Overview
APPS.OTA_TPC_BUS1 is a server-side PL/SQL package within the Oracle E-Business Suite (EBS) Training Administration (OTA) module, part of the Oracle Time and Labor / Learning Management product family. Despite its classification as an "OTHER" API rather than a formal public interface, the package functions as an internal business-rule validation layer for the OTA Training Plan Costs entity. Its procedures enforce referential integrity and business constraints before row-level DML operations are allowed to proceed against training plan cost records.
The package header carries the identifier ottpcrhi.pkh, where the "rh" suffix indicates that this is a row handler package generated or maintained for the OTA Training Plan Costs table. Its role is to centralize validation logic so that any insert, update, or delete against training plan data adheres to consistent rules regarding valid training plans, bookings, events, currencies, measurement types, and time periods. The documented access status explicitly restricts its use to "Internal Row Handler Use Only," confirming that it is not intended as a public extension point.
Key Procedures and Functions
The package exposes seven documented procedures, each dedicated to validating a specific foreign key or uniqueness constraint:
- CHK_TP_MEASUREMENT_TYPE_ID — Confirms that a supplied training plan measurement type identifier exists in the measurement types table and belongs to the same business group, and that the measurement's cost level is not set to 'NONE'.
- CHK_TRAINING_PLAN_ID — Verifies that the training plan identifier exists in the training plans table and is valid for the associated business group.
- CHK_BOOKING_ID — Validates that a booking identifier references a legitimate delegate booking record.
- CHK_BOOKING_EVENT — Checks the relationship between a booking and an event, ensuring the booking is associated with a valid event context.
- CHK_EVENT_ID — Confirms that an event identifier exists in the OTA events table. This is the procedure most closely associated with the search term "chk_event," which corresponds to the CHK_BOOKING_EVENT and CHK_EVENT_ID validation routines for event data.
- CHK_CURRENCY_VALUE — Validates that a supplied currency code exists in the FND_CURRENCIES table and that the associated monetary value is legitimate.
- CHK_UNIQUE — Enforces uniqueness constraints on the training plan cost record to prevent duplicate entries.
Each procedure is documented as raising an error message upon failure, allowing the calling row handler to abort the DML operation safely.
Tables Accessed
The package reads from seven documented tables through APPS synonyms. OTA_TRAINING_PLAN_COSTS is the primary entity, supplying business group and measurement context. OTA_TRAINING_PLANS anchors the plan identifier validation. OTA_TP_MEASUREMENT_TYPES supports measurement type and cost-level checks, while PER_TIME_PERIODS provides date and period validation. Booking-related validation draws on OTA_DELEGATE_BOOKINGS and OTA_EVENTS, the latter being central to the event checks referenced in the user search. FND_CURRENCIES supplies currency validation for monetary amounts assigned to training plan costs.
Usage Notes
OTA_TPC_BUS1 is invoked internally by the Training Administration row handler layer, typically triggered from the Training Plan Costs form or from concurrent programs that process training plan and cost data. Because the package is referenced by one other package and is marked for internal use only, customizations should not call these procedures directly. Developers extending training cost functionality should instead invoke the supported OTA public APIs or the associated table handler, allowing this package to enforce validation transparently. Direct modification is discouraged, as its logic is bound to the standard row handler generation cycle.
-
PACKAGE: APPS.OTA_TPC_BUS1
12.1.1
-
PACKAGE: APPS.OTA_TPC_BUS1
12.2.2
-
PACKAGE: APPS.OKS_AUTH_UTIL_PUB
12.1.1
-
PACKAGE: APPS.OKS_AUTH_UTIL_PUB
12.2.2
-
PACKAGE BODY: APPS.OKS_AUTH_UTIL_PUB
12.1.1
-
PACKAGE BODY: APPS.OKS_AUTH_UTIL_PUB
12.2.2