Projects API to Add/Update Budget Lines Error: ORA-01422: exact fetch returns more than requested number of rows in Package PA_BUDGET_PVT Procedure Validate_Budget_Lines
(Doc ID 2830944.1)
Last updated on NOVEMBER 17, 2023
Applies to:
Oracle Project Costing - Version 12.0.0 and laterInformation in this document applies to any platform.
Application Programming Interfaces (API)
PA_BUDGET_PUB.add_budget_line
PA_BUDGET_PUB.update_budget_line
Symptoms
Running Projects APIs PA_BUDGET_PUB.add_budget_line and/or PA_BUDGET_PUB.update_budget_line outside concurrent requests manager (AMG) is failing for new Operating Units (OU) projects. Error is displayed in the procedure run.
ERROR:
Setting global variables
Setting global info
l_return_status : E
Msg_count: 1
error mesg in upd_proj
ORA-01422: exact fetch returns more than requested number of rows in Package PA_BUDGET_PVT Procedure Validate_Budget_Lines
STEPS TO REPRODUCE:
1. Run APIs PA_BUDGET_PUB.add_budget_line and/or PA_BUDGET_PUB.update_budget_line for an existing OU, outside AMG
2. Note this works fine and completes with no error
3. Add a new OU in the system
2. Run the same APIs for the new or existing OU - now the APIs fail with error
Changes
New OU defined in the system.
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 |
Changes |
Cause |
Solution |
References |