My Oracle Support Banner

HR_EMPLOYEE_API.Create_Employee Gives Ora-20001 On P_EXPATRIATE_INDICATOR (Doc ID 551882.1)

Last updated on DECEMBER 05, 2019

Applies to:

Oracle HRMS (China) - Version 11.5.10 and later
Information in this document applies to any platform.
***Checked for relevance on 15-NOV-2012***


Attempting to create an employee under the China Legislation using the API

The API is erroring and the employee is not being created.

ERROR at line 1:
ORA-20001: The mandatory argument P_EXPATRIATE_INDICATOR value cannot be null
Cause: The mandatory argument P_EXPATRIATE_INDICATOR has either not been specified or has been explicitly set to null in the API per_cn_emp_leg_hook.check_int_employee .
Action: Either specify a value for the P_EXPATRIATE_INDICATOR argument which is not null or contact your local support representative.
ORA-06512: at "APPS.HR_EMPLOYEE_API", line 1019
ORA-06512: at line 17





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

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