Error "fail_1ORA-20001: The organization should be an HR organization for all assignments other than the first.--20001" Encountered While Executing HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA
(Doc ID 2741404.1)
Last updated on JUNE 27, 2023
Applies to:
Oracle Human Resources - Version 12.2 HRMS RUP11 and laterInformation in this document applies to any platform.
Symptoms
When trying to update assignment data using "HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA", either of the following error appears:
ERROR MESSAGE 1
----------------------
fail_1ORA-20001: The organization should be an HR organization for all assignments other than the first.--20001
ERROR MESSAGE 2
----------------------
ORA-20001: Invalid position
This position does not exist at all, or is not completely within the assignment's date range.
STEPS
------------
The issue can be reproduced at will with the following steps:
1. Login using SQL Developer / Toad
2. Update the assignment data of an employee using 'HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA' API
3. Encounter the ERROR MESSAGE 1 when Organization data is updated using the above API
4. Encounter the ERROR MESSAGE 2 when Position data is updated using the above API
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 |