HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA Errors with ORA-20001: Invalid Position (Doc ID 1559002.1)

Last updated on JULY 18, 2016

Applies to:

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


Updating the assignment using the api HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA (peasgapi.pkb 120.20.12010000.19),
the following problem occurs :

ORA-20001: Invalid position

This position does not exist at all, or is not completely within the assignment's date range.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 16691
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 15179
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 14964


--- Steps to reproduce
1. Use a script calling the api HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA


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