Hi ,
We have encountered the below error , while executing the assignment API
update_emp_asg_criteria API ErrorORA-20001: People group link problem.
The people group value entered is not linked to the people group structure defined for the assignment's business group.
here is the code used
hr_assignment_api.update_emp_asg_criteria
(p_effective_date => cur_emp_asgn_rec.orcl_effective_start_date,
p_datetrack_update_mode => 'CORRECTION',
p_assignment_id => cur_emp_asgn_rec.orcl_assignment_id,
p_validate => FALSE,
p_grade_id => cur_emp_asgn_rec.grade_id,
p_position_id => cur_emp_asgn_rec.position_id,
p_job_id => cur_emp_asgn_rec.job_id,
p_payroll_id => cur_emp_asgn_rec.payroll_id,
p_location_id => cur_emp_asgn_rec.location_id,
p_organization_id => cur_emp_asgn_rec.organization_id,
p_pay_basis_id => cur_emp_asgn_rec.pay_basis_id,
p_segment1 => cur_emp_asgn_rec.orcl_people_group,
p_object_version_number => lv_object_version_num,
p_special_ceiling_step_id => lv_special_ceiling_step_id_num,
p_soft_coding_keyflex_id => lv_soft_coding_kff_id_num,
p_people_group_id => lv_people_group_id_num,
p_concatenated_segments => lv_concatenated_seg_txt,
p_employment_category => cur_emp_asgn_rec.orcl_assignment_category,
--assignment_category,
p_group_name => lv_group_name,
p_effective_start_date => lv_cr_effective_start_date,
p_effective_end_date => lv_cr_effective_end_date,
p_org_now_no_manager_warning => lv_org_now_no_mgr_warning_bln,
p_other_manager_warning => lv_cr_other_mgr_warning_bln,
p_spp_delete_warning => lv_spp_delete_warning_bln,
p_entries_changed_warning => lv_entries_changed_warning,
p_tax_district_changed_warning => lv_tax_chg_warning_bln
);
Please advise.
Jay--
_________________________
Vijay--