My Oracle Support Banner

Maintenance Super User: Unable To Open EAM Work Order. JBO-27122: .... SELECT DISTINCT witt.display_name,..... (Doc ID 1676924.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Enterprise Asset Management - Version 12.1.1 to 12.2.4 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Work Execution

When attempting to open a Work Order (WO) in self-service apps, the following error occurs.

Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT DISTINCT witt.display_name,
  eww.wf_item_type
 FROM wf_item_types_tl witt, eam_wo_workflows eww
WHERE eww.wf_item_type = witt.name
  AND language = userenv('LANG')
 AND eww.wip_entity_id =:1
.............
## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 1
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1752)

The issue can be reproduced at will with the following steps:
1. Responsibility = Maintenance Super User
2. Work Orders: Query Work Order: Click on Hyperlink
3. Error

The issue has the following business impact:
Due to this issue, users cannot use Maintenance Super User

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.