DECLARE
v_competence_element_id number;
v_object_version_number number;
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.CREATE_COMPETENCE_ELEMENT(p_validate => FALSE,
p_competence_element_id => v_competence_element_id,
p_object_version_number => v_object_version_number,
p_type => v_type,
p_business_group_id => v_business_group_id,
p_competence_id => v_competence_id,
p_mandatory => 'Y',
p_proficiency_level_id => v_proficiency_level_id,
p_high_proficiency_level_id => v_high_proficiency_level_id,
p_effective_date_from => v_effective_date_from,
p_job_id => v_job_id,
p_position_id => v_position_id,
p_effective_date => v_effective_date);
dbms_output.put_line('v_competence_element_id=' ||
v_competence_element_id);
exception
when others then
dbms_output.put_line('error : ' || sqlerrm);
END;
v_competence_element_id number;
v_object_version_number number;
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.CREATE_COMPETENCE_ELEMENT(p_validate => FALSE,
p_competence_element_id => v_competence_element_id,
p_object_version_number => v_object_version_number,
p_type => v_type,
p_business_group_id => v_business_group_id,
p_competence_id => v_competence_id,
p_mandatory => 'Y',
p_proficiency_level_id => v_proficiency_level_id,
p_high_proficiency_level_id => v_high_proficiency_level_id,
p_effective_date_from => v_effective_date_from,
p_job_id => v_job_id,
p_position_id => v_position_id,
p_effective_date => v_effective_date);
dbms_output.put_line('v_competence_element_id=' ||
v_competence_element_id);
exception
when others then
dbms_output.put_line('error : ' || sqlerrm);
END;
No comments:
Post a Comment