Home » Applications » Oracle Fusion Apps & E-Business Suite » Can we use data fix to update employee location (Oracle 12.2.8)
Can we use data fix to update employee location [message #686088] |
Thu, 09 June 2022 14:11 |
|
mohan.oracle42@gmail.com
Messages: 7 Registered: April 2021
|
Junior Member |
|
|
Hi Team,
My client office shifted from one place to another place now need change employee location.
I'm trying to use following API, can i use DATAFIX to update location instead of using API.
HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA (
p_effective_date =>sysdate
,p_datetrack_update_mode =>'CORRECTION'
,p_assignment_id =>8672
,p_validate => FALSE
,p_called_from_mass_update => FALSE --Added By me because there are 3 API with same name but current one using this
,p_grade_id =>l_grade_id
,p_position_id =>l_position_id
,p_job_id =>68
,p_location_id =>78364
,p_organization_id =>0
,p_people_group_id =>l_people_group_id
,p_object_version_number =>l_object_version_number
,p_special_ceiling_step_id =>l_special_ceiling_step_id
,p_group_name =>l_group_name
,p_effective_start_date =>l_effective_start_date
,p_effective_end_date =>l_effective_end_date
,p_org_now_no_manager_warning =>l_org_now_no_manager_warning
,p_other_manager_warning =>l_other_manager_warning
,p_spp_delete_warning =>l_spp_delete_warning
,p_entries_changed_warning =>l_entries_changed_warning
,p_tax_district_changed_warning =>l_tax_district_changed_warning);
|
|
|
Re: Can we use data fix to update employee location [message #686089 is a reply to message #686088] |
Fri, 10 June 2022 00:57 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
When you say "can i use DATAFIX to update location" what do you mean? I cannot see any reason why Oracle would write a data fix patch for this. Of course you could make the change with SQL*Plus, but that would not be supported and you would have to be sure that there are no side effects.
What is the problem with doing it through the API?
|
|
|
|
Re: Can we use data fix to update employee location [message #686097 is a reply to message #686096] |
Fri, 10 June 2022 06:24 |
|
mohan.oracle42@gmail.com
Messages: 7 Registered: April 2021
|
Junior Member |
|
|
Did i've missed anything in the following api getting above error.
Declare
l_people_group_id number;
l_object_version_number number:=39;
l_special_ceiling_step_id number;
l_group_name varchar2(500);
l_effective_start_date date;
l_effective_end_date date;
l_org_now_no_manager_warning boolean;
l_other_manager_warning boolean;
l_spp_delete_warning boolean;
l_entries_changed_warning varchar2(500);
l_tax_district_changed_warning boolean;
l_called_from_mass_update boolean;
l_grade_id number;
l_payroll_id number;
l_pay_basis_id number;
BEGIN
HR_ASSIGNMENT_API.UPDATE_EMP_ASG_CRITERIA (
p_effective_date =>sysdate
,p_datetrack_update_mode =>'CORRECTION'
,p_assignment_id =>8672
,p_validate => FALSE
,p_called_from_mass_update => FALSE
,p_grade_id =>null --20001 --Need to know
,p_position_id =>null--23664 --need to know
,p_job_id =>68
,p_location_id =>78364
,p_organization_id =>0 --need to know
,p_people_group_id =>l_people_group_id
,p_object_version_number =>l_object_version_number
,p_special_ceiling_step_id =>l_special_ceiling_step_id
,p_group_name =>l_group_name
,p_effective_start_date =>l_effective_start_date
,p_effective_end_date =>l_effective_end_date
,p_org_now_no_manager_warning =>l_org_now_no_manager_warning
,p_other_manager_warning =>l_other_manager_warning
,p_spp_delete_warning =>l_spp_delete_warning
,p_entries_changed_warning =>l_entries_changed_warning
,p_tax_district_changed_warning =>l_tax_district_changed_warning);
end;
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Dec 22 20:37:05 CST 2024
|