My Oracle Support Banner

Unable To View Work Order Cost Details Due to Exception Details: oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122 (Doc ID 2809619.1)

Last updated on OCTOBER 04, 2021

Applies to:

Oracle Enterprise Asset Management - Version 12.2.7 and later
Information in this document applies to any platform.

Symptoms

When attempting to view the cost details of work orders belonging to one asset, the following error occurs.

ERROR

Exception Details.
  oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during
  statement preparation. Statement: SELECT we.wip_entity_id,
  ...
  ## Detail 0 ##
  java.sql.SQLException: ORA-01427: single-row subquery returns more than one row


STEPS

The issue can be reproduced at will with the following steps:
1. Responsibility: Maintenance Super User.
2. Click on Work Orders tab.
3. Under Simple Search, find work orders attached to the asset number.
4. In the Asset Details page, select View = Costs.
5. Select Work Order Cost Details from drop down LOV of 'Actual Costs'.
6. Receive the above error.

Changes

 

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
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.