Search Results eam_workflow_event_s




Overview

APPS.EAM_OP_COMP is a valid PL/SQL package body in the Oracle E-Business Suite Enterprise Asset Management (EAM) module. Its business function centers on recording and validating the completion of operations within EAM work orders, which represent maintenance and repair activities performed against assets. The package bridges the EAM work order execution model with the underlying Oracle Work in Process (WIP) structures that store discrete jobs, operations, and operation networks, since EAM leverages WIP entities as its execution engine for asset maintenance work.

A significant portion of the package's dependency footprint relates to EAM workflow integration. The presence of EAM_ENABLE_WORKFLOW, EAM_WORKFLOW_EVENT_S, WF_CORE, WF_EVENT, and WF_PARAMETER_LIST_T indicates that EAM_OP_COMP raises and propagates business events when operations reach completion, delegating event delivery to the Oracle Workflow event system. This allows downstream subscribers, notifications, and approval flows to react to shop-floor completion activity. This dependency on EAM_WORKFLOW_EVENT_S is directly relevant to users searching for that object.

Key Procedures and Functions

ETRM documents two program units within the package body:

  • OP_COMP — The principal routine for processing an operation completion. It drives the update of EAM completion transaction records and the corresponding WIP operation and entity status, and it is responsible for the workflow event signaling associated with the completion action. It also interacts with asset status history, implying that completion can trigger an asset status transition recorded for audit and reporting.
  • GET_OP_DEFAULTS — A retrieval routine that returns default attribute values for an operation, supporting data entry and validation paths used by the completion flow and by callers that need WIP/EAM operation defaults before initiating a transaction.

Parameter lists are not reproduced here; only the documented program names and their functional intent are asserted.

Tables Accessed

The package reads and writes the following documented objects through APPS synonyms:

Usage Notes

EAM_OP_COMP is not referenced by any database object, so it is invoked directly rather than through a wrapping database trigger or view. Typical invocation occurs from EAM work order execution forms and from concurrent or background processes that post operation completions, and from custom extensions that must drive the same completion logic programmatically. Callers should expect the package to update EAM completion transaction and asset status history tables while propagating changes into WIP, and to conditionally publish Oracle Workflow events. The package relies on FND_API, FND_GLOBAL, FND_MESSAGE, EAM_DEBUG, APP_EXCEPTION, and WF_EVENT/WF_CORE for error handling, message resolution, debugging, and workflow dispatch, consistent with Oracle's standard API conventions.