My Oracle Support Banner

ATP Processing Error ORA-01422 Exact Fetch Returns More Than Requested Number Of Rows (Doc ID 436227.1)

Last updated on APRIL 12, 2021

Applies to:

Oracle Global Order Promising - Version 11.5.10 and later
Oracle Order Management - Version to [Release 11.5.10]
Information in this document applies to any platform.


When attempting to to schedule the sales order lines, the following error occurs:


Session file shows:

PROCEDURE get_delivery_lead_time
org from: 32765 to:
loc from: to:
instance from: 1 to: 1
customer id: 133185 site_id: 490042
supplier id: site_id:
session_id: 1694961
partner_site: 490042
ship method: STANDARD

Schedule: error := ORA-01422: exact fetch returns more than requested number of rows
Schedule: Select EXCEPTION KR: others
Schedule: error := ORA-01403: no data found
ORA-01422: exact fetch returns more than requested number of rows

The issue can be reproduced at will with the following steps:
1. Enter Order
2. Query Sales Order or enter new order.
3. While trying to book order or scheduling or checking availability, error occurs.


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

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