Not Able To View Work Order Cost Details From Asset Cost Page

(Doc ID 2327471.1)

Last updated on NOVEMBER 13, 2017

Applies to:

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

Symptoms


When attempting to view Work Order Cost Details from Asset Cost Page,
the following error occurs.

ERROR

Error Page
Exception Details.
 oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT we.wip_entity_id,
  we.wip_entity_name,
  wdj.asset_number,
  wdj.serial_number,
  msik.concatenated_segments asset_group,
  ml.meaning asset_type,
decode(wdj.asset_number, (Select cii.instance_number from csi_item_instances cii where cii.serial_number = wdj.serial_number and cii.instance_number = wdj.asset_number), nvl((SUM(wepb.actual_mat_cost) + SUM(wepb.actual_lab_cost) + SUM(wepb.actual_eqp_cost)), 0),
nvl((SUM(wepb.actual_mat_cost * NVL(COST_DISTRIBUTION_PER * 0.01,1/decode((select count(*) from eam_work_order_route_v where wip_entity_id = wepb.wip_entity_id ), 0, 1,(select count(*) from eam_work_order_route_v where wip_entity_id = wepb.wip_entity_id ))) ))


STEPS

The issue can be reproduced at will with the following steps:
1. Responsibility: Maintenance Super User
2. Navigate to view Work Order Cost Details from Asset Cost Page
3. We get the above error stack


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