Running POS_SUPPLIER_SEARCH_INDEX.sql Gives Error pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 Exception at Taxing; p_vendor_id457ORA-01422: Exact Fetch Returns More Than Requested Number of Rows -1422 (Doc ID 2172864.1)

Last updated on AUGUST 16, 2016

Applies to:

Oracle Supplier Lifecycle Management - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Supplier Advanced Search

When attempting to run POS_SUPPLIER_SEARCH_INDEX.sql to create Supplier Index for Keyword search,
the following error occurs.

ERROR
-----------------------
pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 XML created for AMERICAN RAIL AND MARINE CORP ; vendor id
pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 Updating POS_SUPPLIER_ENTITY_DATA End for Vendor_Id 457
pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 Updating POS_SUPPLIER_ENTITY_DATA Start for Vendor_Id 457
pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 XML is built ;
POSUTILB 1 After Calling pos_util_pkg.IS_FV_ENABLED is_enabled =F
POSUTILB 1 starts IS_FV_ENABLED
POSUTILB 1 Calling pos_util_pkg.IS_FV_ENABLED
POSUTILB 1 Start IS_SUPP_CCR with p_object_id = 457
pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 Get XML for Contact details end for Vendor_Id 457
pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 Get XML for Contact details start for Vendor_Id 457


pon.plsql.POS_SUPPLIER_SEARCH_PKG. 1 Exception at taxing; p_vendor_id457ORA-01422: exact fetch returns more than requested number of rows -1422

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run the process to create supplier index



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