Running HR_POSITION_API Fails with Error "ORA-20001: FLEX-ID Does Not Exist" (Doc ID 790124.1)

Last updated on MARCH 28, 2017

Applies to:

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

Symptoms

When attempting to create Position using hr_position_api.create_position API, the following error occurs:

ERROR
Declare
*
Error at line 1:
ORA-20001: FLEX-ID Does Not Exist
ORA-06512: at "APPS.HR_POSITION_API", line 2977
ORA-06512: at line 341


Steps to Reproduce:
The issue can be reproduced at will with the following steps:
     1. Complete Position Flexfield Setup

     2. Call hr_position_api.create_position API to create position

File Versions:
/* $Header: peposapi.pkh 120.5.12000000.1 2007/01/22 01:54:21 appldev noship $ */
/* $Header: peposapi.pkb 120.4.12000000.2 2007/02/05 08:53:26 agolechh noship $/

Similar issue reported :
When attempting to update Employee Assignment Extra Information using HR_ASSIGNMENT_EXTRA_INFO_API.update_assignment_extra_info API,
the following error occurs.

ERROR
-----------------------
ORA-20001: FLEX-VALUE DOES NOT EXIST: N, VALUE, 41, N, SEGMENT, Legal Entity, N, VALUESET, PER_ZA_LEGAL_ENTITY

 

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