'Create Repair Warranty' Is Getting Stuck In The Workflow With Exception: ORA-01422

(Doc ID 2320340.1)

Last updated on OCTOBER 23, 2017

Applies to:

Oracle Depot Repair - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Transaction Control

When attempting to Create repair warranty,
the following error occurs.

ERROR
-----------------------
Failed Activity Create Repair Warranty
Activity Type Function
Error Name -1422
Error Message ORA-01422 exact fetch returns more than requested number of rows/
Error Stack csd_wf_process_pvt.create_service_warranty_wf(OEOL,922264, 262070,RUN)
  Wf_Engine_Util.Function_Call(CSD_WF_PROCESS_PVT.create_service_warranty_wf,OEOL,922264, 262070,RUN)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Created RMA “70078306” for the Non Serial Item “WTO100” for 10 Quantity
2. Shipped the Line Partially
3. The Ship line in the sales Order became “Fulfilled”.
4. The Workflow Status Returns the 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