Search Results chk_enroll_status_arr
Overview
OTA_WF is a PL/SQL package owned by the APPS schema in Oracle E-Business Oracle Applications. It resides within the Oracle Training Administration (OTA) product family, which manages training events, enrollments, delegate bookings, and related learning administration activities. The package serves as the workflow-enablement and outbound-integration layer for the OTA module, bridging Oracle Learning Management with the Oracle Workflow engine and the Oracle Order Management schema. Its principal business function is to orchestrate the document and fulfillment side of training delivery: creating return material authorizations (RMAs), cancelling orders and enrollments, updating fulfillment dates, generating workflow notification messages, and retrieving supporting documentation for downstream processing. The package is classified as OTHER in the ETRM 12.2.2 object registry and is marked VALID. It is registered in the ETRM with only a single external dependency on the SYS schema (STANDARD), and is referenced by no other packages, indicating that it is consumed through workflow or form infrastructure rather than through the PL/SQL call stack of other application modules.
Key Procedures and Functions
The documented API surface comprises fifteen procedures and functions. Several perform order and reverse-logistics processing: CANCEL_ORDER reverses an Oracle Order Management sales order associated with a training booking, and CREATE_RMA builds a return material authorization to support refunds or cancellations requiring goods return. UPDATE_FULFILL_DATE adjusts the fulfillment date on an order line or header, and UPDATE_OWNER_EMAIL refreshes the owning user contact address. Enrollment lifecycle routines include CANCEL_ENROLLMENT, which terminates an existing training enrollment, and the paired status-checking functions CHK_ENROLL_STATUS_ADV and CHK_ENROLL_STATUS_ARR, which validate enrollment state transitions for advanced and arranged (or attended) enrollment scenarios respectively. CHK_EVENT_ENROLL_STATUS verifies the enrollment status at the event level. Governance and validation routines include CHECK_CREATION, which confirms whether a booking may be created, CHECK_UOM for unit-of-measure consistency, CHECK_INVOICE_RULE to enforce invoicing business rules, and CHK_INVOICE_EXISTS to detect prior invoicing for a booking. Notification and document handling are provided by SEND_NOTIFICATION, which raises Oracle Workflow notification messages, and GET_DOC, which retrieves document content for inclusion in workflow payloads. Together these routines support the cancellation, refund, and communication workflows that surround training order fulfillment.
Tables Accessed
OTA_WF reads and writes several documented tables, generally through APPS synonyms. Order data is held in OE_ORDER_HEADERS, OE_ORDER_HEADERS_ALL, OE_ORDER_LINES, and OE_ORDER_LINES_ALL, which the package uses for order and line lookup as well as cancel, RMA, and fulfillment-date updates. OTA-specific data resides in OTA_BOOKING_STATUS_TYPES, which provides the permissible booking statuses checked during validation; OTA_DELEGATE_BOOKINGS, which holds delegate-level booking records acted upon by enrollment and cancellation routines; and OTA_EVENTS, the primary training event definition table. Workflow message content is persisted in WF_MESSAGES, and the FND_USER table supplies user identity and email information used by UPDATE_OWNER_EMAIL and SEND_NOTIFICATION. These relationships explain the package's integration role: it links learning-administration records to sales-order records and to the workflow notification store.
Usage Notes
Because OTA_WF exposes no parameter documentation in the ETRM registry and is referenced by no other packages, it should be treated as an internal utility invoked by Oracle's seeded OTA forms, workflow activity definitions, and possibly concurrent programs rather than as a public API for third-party callers. Custom code that invokes these routines directly should do so with caution, since the absence of an explicit public-API classification means argument signatures and behavior are not guaranteed across patch levels or between 12.1.1 and 12.2.2. Developers integrating with training-order cancellation or refund processes are advised to call the supported Oracle Order Management and OTA public APIs instead, or to invoke the corresponding workflow processes, which will in turn execute the appropriate internal routines. Where the package must be referenced, its order-related procedures require that the underlying OE_ORDER_HEADERS and OE_ORDER_LINES records exist and that booking status values conform to OTA_BOOKING_STATUS_TYPES, and notification procedures require valid FND_USER and WF_MESSAGES setup in the target environment.
-
PACKAGE: APPS.OTA_WF
12.1.1
-
PACKAGE: APPS.OTA_WF
12.2.2
-
PACKAGE BODY: APPS.OTA_WF
12.1.1
-
PACKAGE BODY: APPS.OTA_WF
12.2.2
-
APPS.OTA_WF dependencies on WF_CORE
12.1.1
-
APPS.OTA_WF dependencies on OTA_WF
12.1.1
-
APPS.OTA_WF dependencies on OTA_WF
12.2.2
-
APPS.OTA_WF dependencies on WF_CORE
12.2.2
-
APPS.OTA_WF dependencies on HR_UTILITY
12.1.1
-
APPS.OTA_WF dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_WF dependencies on OTA_BOOKING_STATUS_TYPES
12.1.1
-
APPS.OTA_WF dependencies on OTA_BOOKING_STATUS_TYPES
12.2.2