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

Last updated on APRIL 14, 2017

Applies to:

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

Symptoms

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

ATP PROCESSING ERROR

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.

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