Add a supervisor to an assignment using the API HR_ASSIGNMENT_API.UPDATE_EMP_ASG, Error's: ORA-20001: The supervisor assignment that you have entered is invalid (Doc ID 1386197.1)

Last updated on JULY 19, 2016

Applies to:

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

Symptoms

When attempting to add a supervisor to an assignment using the API R_ASSIGNMENT_API.UPDATE_EMP_ASG, the following error occurs.

ORA-20001: The supervisor assignment that you have entered is invalid.
Please check that you have entered the supervisor, that the supervisor assignment belongs to this supervisor and that the assignment is effective.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 16489
ORA-06512: at line 21

The form does not generate the same message bug saves correctly.

The supervisor can be added using the form.

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