First Create the Hierarchy from Front End
DECLARE
lo_pos_structure_element_id NUMBER;
lo_object_version_number NUMBER;
BEGIN
hr_pos_hierarchy_ele_api.create_pos_hierarchy_ele
(p_validate => FALSE,
p_parent_position_id => 16544,
p_pos_structure_version_id => 62,
p_subordinate_position_id => 16951,
p_business_group_id => 141,
p_hr_installed => 'I',
p_effective_date => '01-Jan-2000',
p_pos_structure_element_id => lo_pos_structure_element_id,
p_object_version_number => lo_object_version_number
);
END;
DECLARE
lo_pos_structure_element_id NUMBER;
lo_object_version_number NUMBER;
BEGIN
hr_pos_hierarchy_ele_api.create_pos_hierarchy_ele
(p_validate => FALSE,
p_parent_position_id => 16544,
p_pos_structure_version_id => 62,
p_subordinate_position_id => 16951,
p_business_group_id => 141,
p_hr_installed => 'I',
p_effective_date => '01-Jan-2000',
p_pos_structure_element_id => lo_pos_structure_element_id,
p_object_version_number => lo_object_version_number
);
END;
No comments:
Post a Comment