Creating Organization, Errors: HR_ORGANIZATION_API ORA_20001 ORA-06512 at line 6 (Doc ID 362747.1)

Last updated on JANUARY 03, 2016

Applies to:

Oracle Human Resources - Version 11.5.10.0 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.

Symptoms

On 11.5.10 in Pre-Production:

When attempting to load organization data with the api/procedure the following error occurs:

 

ORA-20001: System Error: Procedure maintain_org_lists at Step 1

Cause: The procedure maintain_org_lists has created an error at Step 1.


Action: Contact your system administrator quoting the procedure
maintain_org_lists and Step 1.
ORA-06512: at "APPS.HR_ORGANIZATION_API", line 1099
ORA-06512: at line 6



ERROR
ORA-20001: System Error: Procedure maintain_org_lists at Step 1

Cause: The procedure maintain_org_lists has created an error at Step 1.


Action: Contact your system administrator quoting the procedure
maintain_org_lists and Step 1.
ORA-06512: at "APPS.HR_ORGANIZATION_API", line 1099
ORA-06512: at line 6



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

1. Use the following in sqlplus:

SQL>
declare
v_orgid number;
v_objno number;
v_duporg_warning boolean;
begin
HR_ORGANIZATION_API.CREATE_ORGANIZATION
(p_validate => FALSE
,p_effective_date => '01-jan-1901'
,p_business_group_id => 1469
,p_date_from => '01-jan-1901'
,p_name => 'K-ser'
,p_type => null
,p_location_id => NULL
,p_internal_external_flag =>'INT'
,p_organization_id => v_orgid
,p_object_version_number => v_objno
,p_duplicate_org_warning => v_duporg_warning
);
dbms_output.put_line(v_orgid);
end;
/

 

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