Search Results eam_process_clearance_pvt
Overview
The APPS.EAM_PROCESS_CLEARANCE_PVT package is a private (PVT) PL/SQL API within the Oracle Enterprise Asset Management (EAM) module. Its central business function is to manage and process work clearances — the safety and permit-to-work controls that govern when maintenance work may begin, be suspended, or be completed on an asset. In the EAM safety model, a work order cannot proceed until all required clearances (lockout/tagout, isolation, permits) are established and released. This package implements the transactional logic behind those lifecycle transitions, orchestrating validation, workflow event propagation, and the copying of clearance definitions onto new work orders.
Because it is classified as a PVT package rather than a PUB (public) API, it is intended for internal consumption by other EAM components. The Oracle ETRM metadata lists it as VALID in release 12.2.2 and records that it is referenced by two other packages, confirming its role as a supporting engine rather than a directly called interface.
Key Procedures and Functions
The documented package exposes five procedures/functions:
- PROCESS_WORK_CLEARANCE — The primary driver that processes a work clearance record, applying business rules and routing the clearance through its lifecycle states.
- WORK_CLEARANCE — Encapsulates the core handling logic for an individual work clearance, including its state-dependent processing.
- RAISE_WORKFLOW_EVENTS — Raises the Oracle Workflow business events associated with clearance activity, allowing downstream workflow processes and notifications to be triggered.
- VALIDATE_TRANSACTION_TYPE — Validates the transaction type supplied to a clearance operation, ensuring only supported transaction categories are processed.
- COPY_WORK_CLEARANCE — Copies clearance data from an existing source record to a new work clearance, supporting the template/reuse pattern common in work order creation.
Parameter signatures are not published in the documented metadata and should be obtained from the package specification in the APPS schema.
Tables Accessed
The package reads and writes several EAM and Workflow tables through APPS synonyms:
- EAM_CLEARANCE_NAME_S — The clearance name/definition records used to establish which clearances apply.
- EAM_WORK_PERMIT_S — Work permit records governing authorization to perform work.
- EAM_ESTABLISHMENT_DETAILS — Establishment-level configuration that governs safety processing.
- EAM_SAFETY_WORKFLOWS and EAM_SAFETYWORKFLOW_EVENT_S — Workflow definitions and event records used when raising workflow events.
- WIP_EAM_PARAMETERS — EAM system parameters controlling processing behavior.
- WF_PARAMETER_LIST_T — Workflow parameter list passed to event-raising calls.
- DUAL and PLITBLM — Utility objects used for single-row queries and PL/SQL table handling.
Usage Notes
EAM_PROCESS_CLEARANCE_PVT is invoked indirectly. Its documented callers are EAM_CLEARANCE_WORKFLOW_PVT and EAM_PROCESS_SAFETY_PUB (a public API), and it in turn references EAM_PROCESS_SAFETY_PUB and EAM_ERROR_MESSAGE_PVT. This dependency pattern indicates it sits beneath the public safety API and the workflow layer, responding to clearance actions initiated from the EAM work order forms or workflow activity nodes.
Typical invocation occurs when a user creates, updates, or releases a work clearance from the maintenance work order UI, or when a workflow process advances a clearance to the next state. Customizations should not call the PVT package directly; instead, developers should use the public EAM_PROCESS_SAFETY_PUB API, which mediates access to this private logic and preserves upgrade safety.
-
PACKAGE: APPS.EAM_PROCESS_CLEARANCE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_PROCESS_CLEARANCE_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_PROCESS_CLEARANCE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_PROCESS_CLEARANCE_PVT, status:VALID,
-
PACKAGE: APPS.EAM_PROCESS_CLEARANCE_PVT
12.2.2
-
PACKAGE: APPS.EAM_PROCESS_SAFETY_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_PROCESS_SAFETY_PUB, status:VALID,
-
PACKAGE: APPS.EAM_CLEARANCE_DEFAULT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_CLEARANCE_DEFAULT_PVT, status:VALID,
-
SYNONYM: APPS.EAM_ESTABLISHMENT_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_ESTABLISHMENT_DETAILS, status:VALID,
-
PACKAGE: APPS.EAM_CLEARANCE_UTILITY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_CLEARANCE_UTILITY_PVT, status:VALID,
-
PACKAGE: APPS.EAM_CLEARANCE_WORKFLOW_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_CLEARANCE_WORKFLOW_PVT, status:VALID,
-
SYNONYM: APPS.EAM_CLEARANCE_NAME_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_CLEARANCE_NAME_S, status:VALID,
-
PACKAGE: APPS.EAM_SAFETY_ASSOCIATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_SAFETY_ASSOCIATION_PVT, status:VALID,
-
SYNONYM: APPS.EAM_WORK_PERMIT_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_WORK_PERMIT_S, status:VALID,
-
SYNONYM: APPS.EAM_SAFETYWORKFLOW_EVENT_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_SAFETYWORKFLOW_EVENT_S, status:VALID,
-
SYNONYM: APPS.EAM_SAFETY_WORKFLOWS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_SAFETY_WORKFLOWS, status:VALID,
-
PACKAGE: APPS.EAM_CLEARANCE_VALIDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_CLEARANCE_VALIDATE_PVT, status:VALID,
-
PACKAGE: APPS.EAM_PROCESS_ISOLATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_PROCESS_ISOLATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_PROCESS_SAFETY_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_PROCESS_SAFETY_PUB, status:VALID,
-
PACKAGE BODY: APPS.EAM_CLEARANCE_WORKFLOW_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_CLEARANCE_WORKFLOW_PVT, status:VALID,
-
SYNONYM: APPS.WIP_EAM_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_EAM_PARAMETERS, status:VALID,
-
PACKAGE: APPS.EAM_ERROR_MESSAGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_ERROR_MESSAGE_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.EAM_PROCESS_WO_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_PROCESS_WO_PVT, status:VALID,
-
PACKAGE BODY: APPS.EAM_PROCESS_CLEARANCE_PVT
12.2.2
-
PACKAGE: APPS.WIP_CONSTANTS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WIP_CONSTANTS, status:VALID,
-
APPS.EAM_PROCESS_SAFETY_PUB dependencies on EAM_PROCESS_CLEARANCE_PVT
12.2.2
-
APPS.EAM_PROCESS_CLEARANCE_PVT dependencies on EAM_PROCESS_CLEARANCE_PVT
12.2.2
-
APPS.EAM_CLEARANCE_WORKFLOW_PVT dependencies on EAM_PROCESS_CLEARANCE_PVT
12.2.2
-
SYNONYM: APPS.WF_PARAMETER_LIST_T
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_PARAMETER_LIST_T, status:VALID,
-
PACKAGE: APPS.WF_EVENT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_EVENT, status:VALID,
-
PACKAGE: APPS.WF_CORE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_CORE, status:VALID,
-
TABLE: SYS.DUAL
12.2.2
owner:SYS, object_type:TABLE, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,