You are on page 1of 5

/* Formatted on 2007/11/23 09:15 (Formatter Plus v4.8.

7) */
DECLARE
v_validate BOOLEAN;
v_hire_date DATE:=sysdate;
v_business_group_id NUMBER:=1;
v_last_name VARCHAR2 ( 20 ):='���';
v_sex VARCHAR2 ( 20 ):='M';
v_person_type_id NUMBER:=26;
v_per_comments VARCHAR2 ( 20 ):='Test1';
v_date_employee_data_verified DATE;
v_date_of_birth DATE:=to_date('19750101','yyyymmdd');
v_email_address VARCHAR2 ( 20 ):='kexxx@xxx.com.tw';
v_employee_number VARCHAR2 ( 20 ):='0707112t';
v_expense_check_send_to_addres VARCHAR2 ( 200 );
v_first_name VARCHAR2 ( 20 ):='��';
v_known_as VARCHAR2 ( 20 );
v_marital_status VARCHAR2 ( 20 );
v_middle_names VARCHAR2 ( 20 );
v_nationality VARCHAR2 ( 20 );
v_national_identifier VARCHAR2 ( 20 );
v_previous_last_name VARCHAR2 ( 20 );
v_registered_disabled_flag VARCHAR2 ( 20 );
v_title VARCHAR2 ( 20 ):='MR.';
v_vendor_id NUMBER;
v_work_telephone VARCHAR2 ( 20 );
v_attribute_category VARCHAR2 ( 20 );
v_attribute1 VARCHAR2 ( 20 ):='2';
v_attribute2 VARCHAR2 ( 20 );
v_attribute3 VARCHAR2 ( 20 );
v_attribute4 VARCHAR2 ( 20 );
v_attribute5 VARCHAR2 ( 20 );
v_attribute6 VARCHAR2 ( 20 );
v_attribute7 VARCHAR2 ( 20 );
v_attribute8 VARCHAR2 ( 20 );
v_attribute9 VARCHAR2 ( 20 );
v_attribute10 VARCHAR2 ( 20 );
v_attribute11 VARCHAR2 ( 20 );
v_attribute12 VARCHAR2 ( 20 );
v_attribute13 VARCHAR2 ( 20 );
v_attribute14 VARCHAR2 ( 20 );
v_attribute15 VARCHAR2 ( 20 );
v_attribute16 VARCHAR2 ( 20 );
v_attribute17 VARCHAR2 ( 20 );
v_attribute18 VARCHAR2 ( 20 );
v_attribute19 VARCHAR2 ( 20 );
v_attribute20 VARCHAR2 ( 20 );
v_attribute21 VARCHAR2 ( 20 );
v_attribute22 VARCHAR2 ( 20 );
v_attribute23 VARCHAR2 ( 20 );
v_attribute24 VARCHAR2 ( 20 );
v_attribute25 VARCHAR2 ( 20 );
v_attribute26 VARCHAR2 ( 20 );
v_attribute27 VARCHAR2 ( 20 );
v_attribute28 VARCHAR2 ( 20 );
v_attribute29 VARCHAR2 ( 20 );
v_attribute30 VARCHAR2 ( 20 );
v_per_information_category VARCHAR2 ( 20 );
v_per_information1 VARCHAR2 ( 20 );
v_per_information2 VARCHAR2 ( 20 );
v_per_information3 VARCHAR2 ( 20 );
v_per_information4 VARCHAR2 ( 20 );
v_per_information5 VARCHAR2 ( 20 );
v_per_information6 VARCHAR2 ( 20 );
v_per_information7 VARCHAR2 ( 20 );
v_per_information8 VARCHAR2 ( 20 );
v_per_information9 VARCHAR2 ( 20 );
v_per_information10 VARCHAR2 ( 20 );
v_per_information11 VARCHAR2 ( 20 );
v_per_information12 VARCHAR2 ( 20 );
v_per_information13 VARCHAR2 ( 20 );
v_per_information14 VARCHAR2 ( 20 );
v_per_information15 VARCHAR2 ( 20 );
v_per_information16 VARCHAR2 ( 20 );
v_per_information17 VARCHAR2 ( 20 );
v_per_information18 VARCHAR2 ( 20 );
v_per_information19 VARCHAR2 ( 20 );
v_per_information20 VARCHAR2 ( 20 );
v_per_information21 VARCHAR2 ( 20 );
v_per_information22 VARCHAR2 ( 20 );
v_per_information23 VARCHAR2 ( 20 );
v_per_information24 VARCHAR2 ( 20 );
v_per_information25 VARCHAR2 ( 20 );
v_per_information26 VARCHAR2 ( 20 );
v_per_information27 VARCHAR2 ( 20 );
v_per_information28 VARCHAR2 ( 20 );
v_per_information29 VARCHAR2 ( 20 );
v_per_information30 VARCHAR2 ( 20 );
v_date_of_death DATE;
v_background_check_status VARCHAR2 ( 20 );
v_background_date_check DATE;
v_blood_type VARCHAR2 ( 20 );
v_correspondence_language VARCHAR2 ( 20 );
v_fast_path_employee VARCHAR2 ( 20 );
v_fte_capacity NUMBER;
v_honors VARCHAR2 ( 20 );
v_internal_location VARCHAR2 ( 20 );
v_last_medical_test_by VARCHAR2 ( 20 );
v_last_medical_test_date DATE;
v_mailstop VARCHAR2 ( 20 );
v_office_number VARCHAR2 ( 20 );
v_on_military_service VARCHAR2 ( 20 );
v_pre_name_adjunct VARCHAR2 ( 20 );
v_rehire_recommendation VARCHAR2 ( 20 );
v_projected_start_date DATE;
v_resume_exists VARCHAR2 ( 20 );
v_resume_last_updated DATE;
v_second_passport_exists VARCHAR2 ( 20 );
v_student_status VARCHAR2 ( 20 );
v_work_schedule VARCHAR2 ( 20 );
v_suffix VARCHAR2 ( 20 );
v_benefit_group_id NUMBER;
v_receipt_of_death_cert_date DATE;
v_coord_ben_med_pln_no VARCHAR2 ( 20 );
v_coord_ben_no_cvg_flag VARCHAR2 ( 20 );
v_coord_ben_med_ext_er VARCHAR2 ( 20 );
v_coord_ben_med_pl_name VARCHAR2 ( 20 );
v_coord_ben_med_insr_crr_name VARCHAR2 ( 20 );
v_coord_ben_med_insr_crr_ident VARCHAR2 ( 20 );
v_coord_ben_med_cvg_strt_dt DATE;
v_coord_ben_med_cvg_end_dt DATE;
v_uses_tobacco_flag VARCHAR2 ( 20 );
v_dpdnt_adoption_date DATE;
v_dpdnt_vlntry_svce_flag VARCHAR2 ( 20 );
v_original_date_of_hire DATE;
v_adjusted_svc_date DATE;
v_town_of_birth VARCHAR2 ( 20 );
v_region_of_birth VARCHAR2 ( 20 );
v_country_of_birth VARCHAR2 ( 20 );
v_global_person_id VARCHAR2 ( 20 );
v_party_id NUMBER;
v_person_id NUMBER;
v_assignment_id NUMBER;
v_per_object_version_number NUMBER;
v_asg_object_version_number NUMBER;
v_per_effective_start_date DATE;
v_per_effective_end_date DATE;
v_full_name VARCHAR2 ( 20 );
v_per_comment_id NUMBER;
v_assignment_sequence NUMBER;
v_assignment_number VARCHAR2 ( 20 );
v_name_combination_warning BOOLEAN;
v_assign_payroll_warning BOOLEAN;
v_orig_hire_warning BOOLEAN;
BEGIN
hr_employee_api.create_employee
( p_validate => v_validate,
p_hire_date => v_hire_date,
p_business_group_id => v_business_group_id,
p_last_name => v_last_name,
p_sex => v_sex,
p_person_type_id => v_person_type_id,
p_per_comments => v_per_comments,
p_date_employee_data_verified => v_date_employee_data_verified,
p_date_of_birth => v_date_of_birth,
p_email_address => v_email_address,
p_employee_number => v_employee_number,
p_expense_check_send_to_addres => v_expense_check_send_to_addres,
p_first_name => v_first_name,
p_known_as => v_known_as,
p_marital_status => v_marital_status,
p_middle_names => v_middle_names,
p_nationality => v_nationality,
p_national_identifier => v_national_identifier,
p_previous_last_name => v_previous_last_name,
p_registered_disabled_flag => v_registered_disabled_flag,
p_title => v_title,
p_vendor_id => v_vendor_id,
p_work_telephone => v_work_telephone,
p_attribute_category => v_attribute_category,
p_attribute1 => v_attribute1,
p_attribute2 => v_attribute2,
p_attribute3 => v_attribute3,
p_attribute4 => v_attribute4,
p_attribute5 => v_attribute5,
p_attribute6 => v_attribute6,
p_attribute7 => v_attribute7,
p_attribute8 => v_attribute8,
p_attribute9 => v_attribute9,
p_attribute10 => v_attribute10,
p_attribute11 => v_attribute11,
p_attribute12 => v_attribute12,
p_attribute13 => v_attribute13,
p_attribute14 => v_attribute14,
p_attribute15 => v_attribute15,
p_attribute16 => v_attribute16,
p_attribute17 => v_attribute17,
p_attribute18 => v_attribute18,
p_attribute19 => v_attribute19,
p_attribute20 => v_attribute20,
p_attribute21 => v_attribute21,
p_attribute22 => v_attribute22,
p_attribute23 => v_attribute23,
p_attribute24 => v_attribute24,
p_attribute25 => v_attribute25,
p_attribute26 => v_attribute26,
p_attribute27 => v_attribute27,
p_attribute28 => v_attribute28,
p_attribute29 => v_attribute29,
p_attribute30 => v_attribute30,
p_per_information_category => v_per_information_category,
p_per_information1 => v_per_information1,
p_per_information2 => v_per_information2,
p_per_information3 => v_per_information3,
p_per_information4 => v_per_information4,
p_per_information5 => v_per_information5,
p_per_information6 => v_per_information6,
p_per_information7 => v_per_information7,
p_per_information8 => v_per_information8,
p_per_information9 => v_per_information9,
p_per_information10 => v_per_information10,
p_per_information11 => v_per_information11,
p_per_information12 => v_per_information12,
p_per_information13 => v_per_information13,
p_per_information14 => v_per_information14,
p_per_information15 => v_per_information15,
p_per_information16 => v_per_information16,
p_per_information17 => v_per_information17,
p_per_information18 => v_per_information18,
p_per_information19 => v_per_information19,
p_per_information20 => v_per_information20,
p_per_information21 => v_per_information21,
p_per_information22 => v_per_information22,
p_per_information23 => v_per_information23,
p_per_information24 => v_per_information24,
p_per_information25 => v_per_information25,
p_per_information26 => v_per_information26,
p_per_information27 => v_per_information27,
p_per_information28 => v_per_information28,
p_per_information29 => v_per_information29,
p_per_information30 => v_per_information30,
p_date_of_death => v_date_of_death,
p_background_check_status => v_background_check_status,
p_background_date_check => v_background_date_check,
p_blood_type => v_blood_type,
p_correspondence_language => v_correspondence_language,
p_fast_path_employee => v_fast_path_employee,
p_fte_capacity => v_fte_capacity,
p_honors => v_honors,
p_internal_location => v_internal_location,
p_last_medical_test_by => v_last_medical_test_by,
p_last_medical_test_date => v_last_medical_test_date,
p_mailstop => v_mailstop,
p_office_number => v_office_number,
p_on_military_service => v_on_military_service,
p_pre_name_adjunct => v_pre_name_adjunct,
p_rehire_recommendation => v_rehire_recommendation,
p_projected_start_date => v_projected_start_date,
p_resume_exists => v_resume_exists,
p_resume_last_updated => v_resume_last_updated,
p_second_passport_exists => v_second_passport_exists,
p_student_status => v_student_status,
p_work_schedule => v_work_schedule,
p_suffix => v_suffix,
p_benefit_group_id => v_benefit_group_id,
p_receipt_of_death_cert_date => v_receipt_of_death_cert_date,
p_coord_ben_med_pln_no => v_coord_ben_med_pln_no,
p_coord_ben_no_cvg_flag => v_coord_ben_no_cvg_flag,
p_coord_ben_med_ext_er => v_coord_ben_med_ext_er,
p_coord_ben_med_pl_name => v_coord_ben_med_pl_name,
p_coord_ben_med_insr_crr_name => v_coord_ben_med_insr_crr_name,
p_coord_ben_med_insr_crr_ident => v_coord_ben_med_insr_crr_ident,
p_coord_ben_med_cvg_strt_dt => v_coord_ben_med_cvg_strt_dt,
p_coord_ben_med_cvg_end_dt => v_coord_ben_med_cvg_end_dt,
p_uses_tobacco_flag => v_uses_tobacco_flag,
p_dpdnt_adoption_date => v_dpdnt_adoption_date,
p_dpdnt_vlntry_svce_flag => v_dpdnt_vlntry_svce_flag,
p_original_date_of_hire => v_original_date_of_hire,
p_adjusted_svc_date => v_adjusted_svc_date,
p_town_of_birth => v_town_of_birth,
p_region_of_birth => v_region_of_birth,
p_country_of_birth => v_country_of_birth,
p_global_person_id => v_global_person_id,
p_party_id => v_party_id,
p_person_id => v_person_id,
p_assignment_id => v_assignment_id,
p_per_object_version_number => v_per_object_version_number,
p_asg_object_version_number => v_asg_object_version_number,
p_per_effective_start_date => v_per_effective_start_date,
p_per_effective_end_date => v_per_effective_end_date,
p_full_name => v_full_name,
p_per_comment_id => v_per_comment_id,
p_assignment_sequence => v_assignment_sequence,
p_assignment_number => v_assignment_number,
p_name_combination_warning => v_name_combination_warning,
p_assign_payroll_warning => v_assign_payroll_warning,
p_orig_hire_warning => v_orig_hire_warning );
DBMS_OUTPUT.put_line ( 'INSERT' );
END;

You might also like