Why DOES API HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA Throw Error 'ORA-20001: Invalid position'?
Last updated on MAY 22, 2018
Applies to:Oracle Human Resources - Version 12.1.3 and later
Information in this document applies to any platform.
When attempting to call API HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA, the following error occurs.
However, the assignment details can be updated using Applications.
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 16616
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 15179
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 14964
ORA-06512: at line 19
Steps to Reproduce:
The issue can be reproduced at will with the following steps:
1. Call the API HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA in SQL Developer or TOAD session.
2. The API throws the above exception.
Application can be used to update the assignment records. However, this is not possible to do for all mass assignment records manually.
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