Unable to Delete Employee or Contingent Worker Contract Information in HR
(Doc ID 2951023.1)
Last updated on MAY 23, 2023
Applies to:
Oracle Human Resources - Version 12.1.1 and laterInformation in this document applies to any platform.
Symptoms
Problem Statement:
The red X delete button is grayed out in "Contracts" form.
When attempting to delete the contract record using API(hr_contract_api.delete_contract), following error occurs.
ERROR at line 1:
ORA-20001: You can not delete this contract as it is referenced by an
assignment.
ORA-06512: at "APPS.HR_CONTRACT_API", line 980
ORA-06512: at line 21
ORA-20001: You can not delete this contract as it is referenced by an
assignment.
ORA-06512: at "APPS.HR_CONTRACT_API", line 980
ORA-06512: at line 21
Steps to Reproduce:
The issue can be reproduced at will with the following steps:
- Login with HRMS Manager responsibility.
- Go to "Contracts" form.
(N) People > Enter and Maintain > (B) Others > Contract
- Red x (Delete) button is grayed out.
- Error occurs when deleting the contract record using the API.
Sample script:
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 |