ERROR WHEN CREATING VIEW ON THE FAILURE ANALYSIS (Doc ID 1926468.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

On : 12.1.3 version, EAM Safety Management

When attempting to create view on the Failure History page (under Failure Analysis tab), the following error occurs.


ERROR
-----------------------
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT TEMP.MAINTAINED_NUMBER,
TEMP.MAINTENANCE_OBJECT_ID,
TEMP.MAINTAINED_GROUP,
TEMP.MAINTAINED_GROUP_ID,
ASSET_CATEGORY_ID,
TEMP.DESCRIPTIVE_TEXT,
TEMP.OWNING_DEPARTMENT,
TEMP.ORGANIZATION_CODE,
TEMP.ASSET_LOCATION,
TEMP.FAILURE_CODE,
TEMP.CAUSE_CODE,
TEMP.RESOLUTION_CODE,
NVL(EFC.DESCRIPTION, EFC.FAILURE_CODE) FAILURE_DESCRIPTION,
NVL(ECC.DESCRIPTION, ECC.CAUSE_CODE) CAUSE_DESCRIPTION,
NVL(ERC.DESCRIPTION, ERC.RESOLUTION_CODE) RESOLUTION_DESCRIPTION,
TEMP.FAILURE_DATE,
TEMP.COMMENTS,
ROUND(TEMP.DAYS_BETWEEN_FAILURES,1) DAYS_BETWEEN_FAILURES,
TEMP.WIP_ENTITY_NAME,
TEMP.WIP_ENTITY_ID,
ROUND(TEMP.TIME_TO_REPAIR,1) TIME_TO_REPAIR,
TEMP.METER_NAME,
TEMP.METER_UOM,
TEMP.READING_BETWEEN_FAILURES,
TEMP.COST_TO_REPAIR,
'N' SHOW_DETAILS
FROM EAM_FAILURE_CODES EFC,
EAM_CAUSE_CODES ECC,
EAM_RESOLUTION_CODES ERC,
(SELECT MAINTAINED_NUMBER,
MAINTENANCE_OBJECT_ID,
MAINTAINED_GROUP,
MAINTAINED_GROUP_ID,
ASSET_CATEGORY_ID,
DESCRIPTIVE_TEXT,
OWNING_DEPARTMENT,
ORGANIZATION_CODE,
ASSET_LOCATION,
FAILURE_CODE,
CAUSE_CODE,
RESOLUTION_CODE,
FAILURE_DATE,
COMMENTS,
DAYS_BETWEEN_FAILURES,
WIP_ENTITY_NAME,
WIP_ENTITY_ID,
TIME_TO_REPAIR,
METER_NAME,
METER_UOM,
READING_BETWEEN_FAILURES,
nvl(COST_TO_REPAIR,0) COST_TO_REPAIR
FROM EAM_FAILURE_HISTORY_TEMP
WHERE GROUP_ID = :1) TEMP
WHERE TEMP.FAILURE_CODE = EFC.FAILURE_CODE
AND TEMP.CAUSE_CODE = ECC.CAUSE_CODE
... etc


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Responsibility: Maintenance Super User
2. Click on Failure Analysis tab
3. Under Failure History page, retrieve data.
4. Click on Save Search
5. Select Apply
6. Search View and receive the aforementioned error

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms