DECLARE
v_competence_element_id number;
v_object_version_number number := 2;
v_type varchar2(50) := 'REQUIREMENT';
v_business_group_id number := 61;
v_competence_id number := 4560;
v_proficiency_level_id number := NULL;
v_high_proficiency_level_id number := NULL;
v_effective_date_from date := '01-APR-2015';
v_job_id number := 1151;
v_position_id number; --:=41470;
v_effective_date date := '01-APR-2015'; --sysdate;
BEGIN
fnd_global.apps_initialize(141325, 50112, 800);
--alter session set nls_language = 'AMERICAN'
HR_COMPETENCE_ELEMENT_API.update_competence_element(p_competence_element_id => 5560,
p_object_version_number => v_object_version_number,
p_effective_date_to => '31-Mar-2015',
p_effective_date => '01-Apr-2015',
p_party_id => null);
dbms_output.put_line('Success');
exception
when others then
dbms_output.put_line('error : ' || sqlerrm);
END;
v_competence_element_id number;
v_object_version_number number := 2;
v_type varchar2(50) := 'REQUIREMENT';
v_business_group_id number := 61;
v_competence_id number := 4560;
v_proficiency_level_id number := NULL;
v_high_proficiency_level_id number := NULL;
v_effective_date_from date := '01-APR-2015';
v_job_id number := 1151;
v_position_id number; --:=41470;
v_effective_date date := '01-APR-2015'; --sysdate;
BEGIN
fnd_global.apps_initialize(141325, 50112, 800);
--alter session set nls_language = 'AMERICAN'
HR_COMPETENCE_ELEMENT_API.update_competence_element(p_competence_element_id => 5560,
p_object_version_number => v_object_version_number,
p_effective_date_to => '31-Mar-2015',
p_effective_date => '01-Apr-2015',
p_party_id => null);
dbms_output.put_line('Success');
exception
when others then
dbms_output.put_line('error : ' || sqlerrm);
END;
No comments:
Post a Comment