ORA-20001: The Mandatory Argument <XXX> Cannot be Null When Updating Polish Assignment with API(HR_ASSIGNMENT_API.UPDATE_EMP_ASG)
(Doc ID 1964931.1)
Last updated on DECEMBER 11, 2023
Applies to:
Oracle Human Resources - Version 12.1.3 and laterOracle HRMS (Poland) - Version 12.2.3 and later
Information in this document applies to any platform.
This note provides a brief overview of
Symptoms
Problem Statement:
API(hr_assignment_api.update_emp_asg) throws errors for Poland(PL) legislation if non-mandatory soft coded Keyflexfield(KFF) values (p_segment2, p_segment3,...etc) are not passed.
If p_segment3 is not specified:
Cause: The mandatory argument Contract Category has either not been specified or has been explicitly set to null in the API PER_PL_ASSIGNMENT.UPDATE_PL_EMP_ASG .
Action: Either specify a value for the Contract Category argument which is not null or contact your local support representative.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 11297
ORA-06512: at line 26
If p_segment4 is not specified:
Cause: The mandatory argument Contract Type has either not been specified or has been explicitly set to null in the API PER_PL_ASSIGNMENT.UPDATE_PL_EMP_ASG .
Action: Either specify a value for the Contract Type argument which is not null or contact your local support representative.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 11297
ORA-06512: at line 26
If p_segment5 is not specified:
Cause: The mandatory argument Contract Number has either not been specified or has been explicitly set to null in the API PER_PL_ASSIGNMENT.UPDATE_PL_EMP_ASG .
Action: Either specify a value for the Contract Number argument which is not null or contact your local support representative.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 11297
ORA-06512: at line 26
If p_segment11 is not specified:
Cause: The mandatory argument Contract Start Date has either not been specified or has been explicitly set to null in the API PER_PL_ASSIGNMENT.UPDATE_PL_EMP_ASG .
Action: Either specify a value for the Contract Start Date argument which is not null or contact your local support representative.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 11297
ORA-06512: at line 26
If p_segment14 is not specified:
Cause: The mandatory argument Date Contract Signed has either not been specified or has been explicitly set to null in the API PER_PL_ASSIGNMENT.UPDATE_PL_EMP_ASG .
Action: Either specify a value for the Date Contract Signed argument which is not null or contact your local support representative.
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 11297
ORA-06512: at line 26
If p_segment12 is not specified:
ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 11297
ORA-06512: at line 26
Steps to Reproduce:
The issue can be reproduced at will with the following steps:
- Run the API(hr_assignment_api.update_emp_asg) to update the assignment in PL business group.
Sample Script:
- ORA-20001 error occurs.
Cause
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
Symptoms |
Cause |
Solution |
References |