My Oracle Support Banner

When Attempting TO Update HR Assignment Using HR_APPRAISALS_API.UPDATE_APPRAISAL API AN Error Is Encounter. (Doc ID 2621719.1)

Last updated on SEPTEMBER 29, 2020

Applies to:

Oracle Performance Management - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.4 version, Appraisals

When attempting to update job id and position id for employee appraisal using this hr_appraisals_api.update_appraisal API ,
got the following error occurs.

ERROR
-----------------------
Error in Update_Appraisal => ORA-20001: The attribute ASSIGNMENT_JOB_ID cannot be updated

Cause: The attribute ASSIGNMENT_JOB_ID cannot be updated with the API per_apr_bus.chk_non_updateable_args because it has already be set.

Action: Respecify the attribute value for ASSIGNMENT_JOB_ID or contact your local support representative.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Call API call following parameters:

hr_appraisals_api.update_appraisal
(p_validate => false
,p_effective_date => TRUNC(SYSDATE)
,p_appraisal_id =>l_appraisal_id
,p_appraiser_person_id => l_appraiser_person_id
--,p_appraisal_system_status => 'COMPLETED'
,p_object_version_number => l_ovn
,p_assignment_id => <Assigment_ID>
,p_assignment_job_id => <Assignment_JOB ID>
,p_assignment_position_id => <Position_ID>
,p_assignment_grade_id => <Grade_ID>

);
BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot update job id and position id for employee appraisal using this hr_appraisals_api.update_appraisal API.

Changes

 

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
Changes
Cause
Solution


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