The New Archive and Purge Program is Unable Purge Invoices in Receivables Due to Error - ORA-01422: Exact Fetch Returns More Than Requested Number of Rows (Doc ID 1177484.1)

Last updated on FEBRUARY 05, 2016

Applies to:

Oracle Receivables - Version 11.5.10.2 and later
Information in this document applies to any platform.
Executable:ARPURGE - New Archive and Purge


Symptoms

The New Archive and Purge program is unable to Purge invoices in Receivables.  Receive the following error:

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

Log file shows:

213837customer_trx_id :213837 p_worker_number : 1
Processing id:213837 type:CT at 21-jul-2010 02:19:07
...archiving
...deleting rows
Processing id:35229 type:CR at 21-jul-2010 02:19:08
...deleting rows
sqlcode = -1422ORA-01422: exact fetch returns more than requested number of
rows
Failed while deleting from CR tables
sqlcode = -1422ORA-01422: exact fetch returns more than requested number of rows
Failed in Recursive purge
sqlcode = -1422ORA-01422: exact fetch returns more than requested number of rows
Failed while dealing with Trx.
Error -1422 ORA-01422: exact fetch returns more than requested number of rows
Failed in Recursive purge
sqlcode = -1422ORA-01422: exact fetch returns more than requested number of rows
Failed in the for loop
sqlcode = -1422ORA-01422: exact fetch returns more than requested number of rows
sqlcode = -1422ORA-01422: exact fetch returns more than requested number of rows
Failed in drive_by_invoice

Changes

Applied Patch 9501368

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