ORA-20001: You cannot delete this person. Addresses exist Error Is Displayed in Script Output While Executing hr_contact_rel_api.delete_contact_relationship API
(Doc ID 3005804.1)
Last updated on FEBRUARY 21, 2024
Applies to:
Oracle Human Resources - Version 12.2.12 and laterInformation in this document applies to any platform.
Symptoms
While running the hr_contact_rel_api.delete_contact_relationship API using SQL Developer or another related tool (for example Toad), the following error message is displayed in script output:
ORA-20001: You cannot delete this person. Addresses exist.
Cause: You are trying to delete an person for whom one or more addresses exist.
Action: If you want to delete this person, first delete any addresses for the person. Use the next zone on this form to delete addresses.
ORA-06512: at "APPS.HR_CONTACT_REL_API", line 1754
ORA-06512: at line 12
Cause: You are trying to delete an person for whom one or more addresses exist.
Action: If you want to delete this person, first delete any addresses for the person. Use the next zone on this form to delete addresses.
ORA-06512: at "APPS.HR_CONTACT_REL_API", line 1754
ORA-06512: at line 12
The issue can be reproduced at will with the following steps:
1. Login to SQL database using relevant tool (for example SQL Developer/ Toad).
2. Execute the API with required parameters.
3. Observe that the API is ending in error.
Changes
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 |