My Oracle Support Banner

ORA-20001: The Primary Key Specified is Invalid Error When Republishing the Plan After Deleting an Assignment (Doc ID 1954102.1)

Last updated on JUNE 04, 2021

Applies to:

Oracle Performance Management - Version 12.1 HRMS RUP6 and later
Information in this document applies to any platform.


On : 12.1 HRMS RUP6 version, Install

When attempting to republish a plan with reevaluate plan population the following error occurs.

ORA-20001: The primary key specified is invalid

Steps to Reproduce:
The issue can be reproduced at will with the following steps:

1. Create a new employee with one assignment.
2. Reevaluate plan population
    Personal scorecard is created for person_id / assignment_id
3. Create a second assignment with the same employee. Make this one primary.
4. Reevaluate plan population
    Second personal scorecard is created for person_id.
    So, 2 different scorecards for 2 different assignment id's.
5. Now delete the first assignment.
6. Reevaluate plan population.
7. One extra error is created in the log file.
    The personal scorecard for the deleted assignment is still visible in the per_personal_scorecards table with the status NOT_STARTED_WITH_MANAGER

The scorecard corresponding to the deleted assignment is not displayed in the plan.




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

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