Download the data of the employee

Dear all,

Download approximately 500 employees. Kindly guide how can transfer us quickly.

_ Areas

(1) information of the employee
Assignment of the employee 2)
(3) employee element entered
(4) employee staff pay method

Thank you
Mr. Bilal

On the Web site is for GB - hr_employee_api.create_gb_employee
Use it instead - pass parameters correctly.
http://irep11i10.Oracle.com/OA_HTML/OA.jsp?page=/Oracle/Apps/FND/Rep/WebUI/PLSQLInterfaceDetailsPG&CategoryValue=F&_tI=762585731&retainAM=Y&addBreadCrumb=Y&OAPC=10&OAS=9vMWG3qW4gBQBZuDxiP3Gw...

Those on the site got one employee, you can use a cursor to loop through a temporary table and load all employees-

For csr_emp in (select * from vb_temp_sx_fb_employee by loop to_date(HIREDATE,'mm/dd/yyyy'))
l_employee_number: = null;
Apps.hr_employee_api.create_employee
(p_validate-online fake
p_hire_date-online to_date (csr_emp. HIREDATE, ' mm/dd/yyyy')
p_business_group_id-online 5345
p_last_name-online csr_emp. LASTNAME
p_sex-online csr_emp. BETWEEN THE SEXES
p_person_type_id-online 6145
p_date_of_birth-online to_date (csr_emp. Date of BIRTH, ' mm/dd/yyyy')
-, p_email_address-online varchar2 default null
p_employee_number-online l_employee_number
p_first_name-online csr_emp. FIRSTNAME
p_marital_status-online csr_emp. MARITALSTATUS
p_middle_names-online csr_emp. MIDDLENAME
p_nationality-online csr_emp. NATIONALITY
p_national_identifier-online csr_emp. GOVTID
p_work_telephone-online csr_emp. AS WORKPHONE
-, p_attribute_category-online varchar2 default null
p_attribute1-online csr_emp. PAYROLLPROLEGACYID
-, p_original_date_of_hire-online date default null
-, p_adjusted_svc_date-online date default null
p_town_of_birth-online csr_emp. TOWNOFBIRTH
p_region_of_birth-online csr_emp. REGIONOFBIRTH
p_country_of_birth-online csr_emp. COUNTRYOFBIRTH
p_person_id-online l_person_id
p_assignment_id-online l_assignment_id
p_per_object_version_number-online l_per_object_version_number
p_asg_object_version_number-online l_asg_object_version_number
p_per_effective_start_date-online l_per_effective_start_date
p_per_effective_end_date-online l_per_effective_end_date
p_full_name-online l_full_name
p_per_comment_id-online l_per_comment_id
p_assignment_sequence-online l_assignment_sequence
p_assignment_number-online l_assignment_number
p_name_combination_warning-online l_name_combination_warning
p_assign_payroll_warning-online l_assign_payroll_warning
p_orig_hire_warning-online l_orig_hire_warning
);

/ * Per_addresses * /.
Apps.hr_person_address_api.create_person_address
(p_validate-online fake
p_effective_date-online to_date (csr_emp. HIREDATE, ' mm/dd/yyyy')
p_person_id-online l_person_id
, p_primary_flag => 'Y '.
, p_style-online 'SX_GLB '.
p_date_from-online to_date (csr_emp. HIREDATE, ' mm/dd/yyyy')
-, p_date_to-online date default null
, p_address_type-online "PHCA".
-, p_comments-online long default null
p_address_line1-online csr_emp. ADDRESSLINE1
p_address_line2-online csr_emp. ADDRESSLINE2
-, p_address_line3-online varchar2 default null
-, p_town_or_city-online 'DUMMY' - csr_emp. ADDRESSLINE1
-, p_region_1-online varchar2 default null
-, p_region_2-online varchar2 default null
-, p_region_3-online varchar2 default null
-, p_postal_code-online varchar2 default null
, p_country-online "SX".
-, p_telephone_number_1-online csr_emp. HOMEPHONE
-, p_telephone_number_2-online csr_emp. AS WORKPHONE
-, p_telephone_number_3-online varchar2 default null
p_address_id-online l_address_id
p_object_version_number-online l_adr_object_version_number
);

End loop;

Tags: Oracle Applications

Similar Questions

Maybe you are looking for

  • Portege R830 - problems of 3G connection after installing Win 7 32 bit

    Hello I went down a Portege R830 Windows 7 64 bit for Windows 7 32 bit with drivers of Toshiba. I put a SIM from my provider.In the windows Network Manager, 7 and in the Toshiba Wireless Manager I can see the right provider and HSPA network but when

  • OR-Switch disconnect error

    Hello I work with the PXI-2503 card and work with someone of another code and I was wondering if anyone can guide me on this issue in case of problems. I don't know a lot about the physical interface, but I'm learning. I have this error in my code.

  • dual boot 7 and 10 - what my software?

    Once I put in place a system to dual-boot Windows 7 (current) and 10 will be all my software (everything is compatible) be automatically available to 10 Windows? If this is not the case, what should I do? I intend to leave Windows 7 on my C drive and

  • Reset the default values of properties of Vista user

    Properties of Windows Vista have been corrupted by the installation of a model of MS to MS Word. Which is more easy/quick way to reset all of the values property to create a model of usable user properties / work to replace all the user files that se

  • BlackBerry smartphones can not send emails on new storm w / integration BES

    I have the new Storm 9530 (Verizon) and have the latest version of the os installed via Nguyen. I can not even send emails via my BES. I wiped the new BB of the BES several times and I give up at this point. Our BES version is 4.1.4.15 and I don't th