My Oracle Support Banner

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

Last updated on OCTOBER 16, 2018

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.


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


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