POXPRPOP - Printed Purchase Order Report (Portrait) Errors with ORA-1422 REP-1401: afterpform (Doc ID 1388617.1)

Last updated on JUNE 01, 2016

Applies to:

Oracle Purchasing - Version 12.1.3 and later
Information in this document applies to any platform.
POXPRPOP.rdf - Printed Purchase Order Report
POXPOPDF.rdf - PO Output for Communication


Symptoms

When attempting to run POXPRPOP Printed Purchase Order Report(Portrait) in operating unit mode
"Multiple", the report completed with error and the log file showing the following error:

Error
REP-1401: 'afterpform': Fatal PL/SQL error occurred.
ORA-01422: exact fetch returns more than requested number of rows

What is working
The report is working fine in single operating unit mode.

Reproducible Steps
The issue can be reproduced at will with the following steps.
1- Navigate to System Administrator responsibility
2- Concurrent > Programs
3- Find Printed Purchase Order Concurrent program
4- Then click on Update
5- Request Tab
6- Choose 'Multiple' as value for Operating Unit Mode item in above tab
7- Run the report again and find that it escaped the Operating Unit selection which is correct.
8- The report completed with 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