HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA API Errors with "ORA-20001: The primary key specified is invalid" (Doc ID 737145.1)

Last updated on MARCH 28, 2017

Applies to:

Oracle Human Resources - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.

Symptoms

When attempting to call HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA API, the following error occurs:

ORA-20001: The primary key specified is invalid

Cause: The primary key values specified are invalid and do not exist in the schema.

Action: Check the primary key values before attempting to carry out the operation again.

ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 16203

ORA-06512: at line 18

 


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

1. Call the HR_ASSIGNMENT_API API from back-end.

File Versions:
/* $Header: peasgapi.pkb 115.123 2006/05/19 17:52:19 irgonzal ship $ */
Name: HR_ASSIGNMENT_API

/* $Header: peasgapi.pkh 115.59 2006/03/03 09:20:56 lsilveir noship $ */
Name:HR_ASSIGNMENT_API

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms