Have any question?
+2 0100 62 62 837
[email protected]
Register Login

Login with your site account

Lost your password?

Not a member yet? Register now

AppsLead | Learn Oracle From The LeadersAppsLead | Learn Oracle From The Leaders
  • Home
  • Courses
    • About Courses

      • Free Training
        • Oracle ebusiness suite Free
        • Oracle Fusion Free
      • Online Live Training
        • Oracle ebusiness suite
        • Oracle Fusion
        • Oracle Database
        • Java & Middleware
      • All Training Courses
      • Training Schedule
      • Register For Live Course
      • Join Our Team
      • Exam Request
  • Blog
    • Oracle ebusiness Suite
      • Oracle Financial
      • Oracle HCM
      • Oracle SCM
    • Oracle Fusion
      • Fusion Financial
      • Fusion HCM
    • Our Authors
    • Be an Author
  • Schedule
  • FAQs
  • About Us
    • About Us
    • Our Services
    • Our Authors
  • Contact Us
  • Home
  • Courses
    • About Courses

      • Free Training
        • Oracle ebusiness suite Free
        • Oracle Fusion Free
      • Online Live Training
        • Oracle ebusiness suite
        • Oracle Fusion
        • Oracle Database
        • Java & Middleware
      • All Training Courses
      • Training Schedule
      • Register For Live Course
      • Join Our Team
      • Exam Request
  • Blog
    • Oracle ebusiness Suite
      • Oracle Financial
      • Oracle HCM
      • Oracle SCM
    • Oracle Fusion
      • Fusion Financial
      • Fusion HCM
    • Our Authors
    • Be an Author
  • Schedule
  • FAQs
  • About Us
    • About Us
    • Our Services
    • Our Authors
  • Contact Us

Blog

  • Home
  • Blog
  • HRMS Previous Employer and Jobs API

HRMS Previous Employer and Jobs API

  • Posted by Sameh Bakkar
  • Categories Blog
  • Date March 20, 2011
  • Comments 0 comment
Hi guys today we will explain HRMS Previous Employer and Jobs API
 

DECLARE

l_person_id Number;
l_business_group_id number := 81;
l_party_id number;
l_flag varchar2(5);

V_Error  varchar2(3000);
V_Error2  varchar2(3000);

l_previous_employer_id number;
l_object_version_number number;
l_previous_job_id number;

l_status varchar2(5) := 'True' ;
l_error_message varchar2(1000);
l_validate_cnt number;
l_join_date date;

l_total_records number := 0;
l_success_records number := 0;
l_failure_records number := 0;

begin
Begin
hr_previous_employment_api.create_previous_employer
(
p_effective_date => sysdate
,p_person_id => 141 --csr_rec.person_id
,p_business_group_id => l_business_group_id
,p_party_id => l_party_id
,p_start_date => sysdate - 1000 --csr_rec.date_of_change
,p_end_date   => sysdate -10
,p_employer_name => 'XX DISTRIBUTION'
,p_employer_country => 'AE'
,p_employer_type => 'CM'
,p_previous_employer_id => l_previous_employer_id
,p_object_version_number => l_object_version_number
);
COMMIT;
dbms_output.put_line ('Y');

Exception
when others then
V_Error := SQLERRM;
dbms_output.put_line (V_Error);

END;

begin


hr_previous_employment_api.create_previous_job
(
p_effective_date => sysdate
,p_previous_employer_id => l_previous_employer_id
,p_start_date =>  sysdate - 1000
,p_end_date   => sysdate -10
,p_job_name => 'Technical'
,p_description => 'ITS'
--,p_pjo_attribute1 => csr_rec.grade
,p_previous_job_id => l_previous_job_id
,p_object_version_number => l_object_version_number
);
COMMIT;
dbms_output.put_line ('Done');

Exception
when others then
V_Error2 := SQLERRM;
dbms_output.put_line (V_Error2);


end;

end;
/

Tag:API, HRMS, Previous Employer and Jobs API

  • Share:
Admin bar avatar
Sameh Bakkar
Sameh Bakkar has over 15 years Oracle Applications implementation experience (EBS/Fusion) and he is an Oracle authorized trainer. He has in-depth technical and Functional knowledge of Oracle Applications and Oracle HCM Cloud. Sameh has excellent experience in Team management, Man Power and resource planning, and Pre-Sales management Process. Additionally he has also given Best Practices seminars on Oracle e-business suite and Oracle Fusion.

Previous post

HRMS EX-Employee API
March 20, 2011

Next post

HRMS Salary Proposal API
20 March, 2011

You may also like

  • Entering Request for Quotations (RFQ)
    19 June, 2012
  • HRMS Assignment Migration – API
    9 March, 2011

Leave A Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Categories

  • Blog
  • Fusion HCM
  • Oracle ebusiness Suite
  • Oracle Financial
  • Oracle Fusion
  • Oracle HCM
  • Oracle SCM

Latest Courses

R12.x Oracle E-Business Suite Essentials for Implementers

R12.x Oracle E-Business Suite Essentials for Implementers

Free
R12.x Oracle HRMS Work Structures Fundamentals

R12.x Oracle HRMS Work Structures Fundamentals

Free
R12.x Oracle Payroll Fundamentals

R12.x Oracle Payroll Fundamentals

Free
AppsLead | Learn Oracle From The Leaders

+2 0100 62 62 837

[email protected]

Company

  • About Us
  • Blog
  • Contact Us

Links

  • Events

Copyright © 2017 AppsLead, All rights reserved. Developed by ECDSCS Co.

  • Privacy
  • Terms
  • Sitemap