Supervisor Id is Invalid Error When Using API hr_assignment_api.update_emp_asg_criteria (Doc ID 1997909.1)

Last updated on FEBRUARY 02, 2017

Applies to:

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

Symptoms

When updating assignment criteria using the api hr_assignment_api.update_emp_asg_criteria, 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.


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

1. Create a custom script calling hr_assignment_api.update_emp_asg_criteria to update an assignment criteria.

2. Run the script on the database.


Changes

 

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