My Oracle Support Banner

ORA-20001: A non-Primary Address cannot exist without a corresponding Primary Address when Using API (Doc ID 1947213.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Human Resources - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Application Programming Interface

When attempting to end date an existing primary address in order to create a new one starting the next day when the employee also has a second - non primary - address, using HR_PERSON_ADDRESS_API.CREATE_PERSON_ADDRESS
the following error occurs.

ERROR
-----------------------
ORA-20001: A non-Primary Address cannot exist without a corresponding Primary Address.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run API HR_PERSON_ADDRESS_API.CREATE_PERSON_ADDRESS

Not reproducible on PUI screen.


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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.