My Oracle Support Banner

API Bom_Res_Pub.Process_Res_Association fails With Error ORA-01422 When There Is More Than One Record In Per_All_People_F With Different Effectivity_Dates (Doc ID 3070161.1)

Last updated on JANUARY 31, 2025

Applies to:

Oracle Bills of Material - Version 12.2.11 and later
Information in this document applies to any platform.

Symptoms

API Bom_Res_Default.process_res_association fails to assign the resource code to employee when there is more than one record for the employee with different effectivity dates which can happen due to HR changes.

ERROR
Get_Employee_Effectivity_Date : Unexpected Error :ORA-01422: exact fetch returns more than requested number of rows

STEPS
1. Run bom_res_pub.process_res_association to assign the resource code to employee.
2. See error above in the debug log and API returns status E  / Error.

See below in the Bom Debug log:

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.