R12: Payables: 1099 Electronic Media Report Parameter Page Throws Error "APP-FND-01564: ORACLE error 1422 in FDFGVD. Cause: FDFGVD dialed due to ORA-01422: exact fetch returns more than requested number of row" (Doc ID 2103738.1)

Last updated on MARCH 04, 2016

Applies to:

Oracle Payables - Version 12.0.0 and later
Information in this document applies to any platform.

Symptoms

When users submit the 1099 Electronic Media Report, the error listed below is displayed. Error is raised on pressing OK Button on the Parameter Page of the Standard Request Submission (SRS) window

ERROR
-------

"APP-FND-01564: ORACLE error 1422 in FDFGVD. Cause: FDFGVD dialed due to ORA-01422: exact fetch returns more than requested number of rows. The SQL statement being executed at the time of the error was : SELECTE LOOKUP_CODE, DISPLAYED_FIELD VALUE, DESCRIPTION DESCRIPTION, NVL('N', 'N'), NVL(TO_NUMBER(NULL), -1), NULL, NVL('Y', 'Y')...."

From the Details window following error can be seen

Error - APP-FND-01564: ORACLE error 1422 in FDFGVD. Cause: FDFGVD dialed due to ORA-01422: exact fetch returns more than requested number of rows. The SQL statement being executed at the time of the error was : SELECT LOOKUP_CODE,DISPLAYED_FIELD VALUE, DESCRIPTION DESCRIPTION, NVL('N','N'),
NVL(TO_NUMBER(NULL),-1),NULL, NVL('Y','Y'), NVL(TO_CHAR(TO_DATE(NULL),'J'),0),
NVL(TO_CHAR(TO_DATE(NULL),'J'),0)
FROM ap_lookup_codes
WHERE (lookup_type='1099 ORIGINAL FILE' AND (:b1 == 'R' AND lookup_code IN ('M','E')) OR (:b2 IN ('C','O') AND
lookup_code = 'N/A')
AND looup_code = :X and was execute from the file &ERRFILE

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