ORA-01422: Exact Fetch Returns More Than Requested Number of Rows When Creating PO from Requisition Using CREATEPO Workflow (Doc ID 2156246.1)

Last updated on JULY 04, 2016

Applies to:

Oracle Purchasing - Version 12.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to create PO from Requisition using CREATEPO workflow the following error occurs.
  
ERROR

ORA-01422: exact fetch returns more than requested number of rows.


STEPS TO REPRODUCE

The issue can be reproduced at will with the following steps:
1. Go to iProcurement
2. Create a requisition with Supplier.
3. Go to Autocreate form, search for the Requisition.
4. Auto create to PO.
5. It failed with 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