Unable to update Organization_ID of existing Employee Assignment Record
hi All,
We want to update existing person assignment records in per_all_assignments_f from one organization to another.
We are using the below code:
BEGIN
hr_assignment_api.update_emp_asg_criteria (
p_validate => TRUE,
p_effective_date => SYSDATE, --l_effective_start_date,
p_datetrack_update_mode => 'CORRECTION',
p_assignment_id => 55055, --l_assignment_id,
p_object_version_number => 3, --l_obj,
p_job_id => 144, --l_job_id,
p_position_id => 35593, --l_position_id,
p_organization_id => 0,
p_special_ceiling_step_id => l_special_ceiling_step_id,
p_effective_start_date => l_effective_start_date,
p_effective_end_date => l_effective_end_date,