Who's Online
0 registered (), 1 Guest and 1 Spider online.
Key: Admin, Global Mod, Mod
Recent Posts
OLM - Custom Role based on the 'Data Security'
by Geoff_Dixon
Yesterday at 03:28 PM
Defaulting PO Information on assignment screen
by Geoff_Dixon
Yesterday at 03:26 PM
Irecruitment
by kp_rapolu
Yesterday at 01:18 PM
Heres a simple question on Workflow then ..
by natkins
14/03/10 04:21 PM
E-Bus Configuration and Management
by PeterP
11/03/10 01:28 PM
UMX : Oracle User Management Application
by natkins
11/03/10 12:58 PM
HRMS organization structures
by Geoff_Dixon
11/03/10 11:53 AM
HR_PF.K RUP4
by bcooper
10/03/10 06:50 PM
Pay_Action_Parameter
s

by John Akinyode
09/03/10 11:05 AM
Error ORA-01002: fetch out of sequence
by delboy
03/03/10 04:46 PM
Top Posters (30 Days)
CT 20
delboy 19
natkins 16
bcooper 16
MarinaH 14
Geoff_Dixon 10
SBi 10
gaztorres 8
kp_rapolu 4
Gus 4
(Views)Popular Topics
Family Pack K issues thread 5187
Review of my Release 12 laptop 3125
CREATE_GRADE api returns:PLS-00306: wrong number o 3106
Log-on problems for existing users 3007
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 2368
October UK-OUG? 1977
Viewing Output of another user 1914
uploading bank branches to PAYROLL 1868
Still trying to locate... 1845
Family Pack K 1830
Topic Options
Rate This Topic
#4671 - 16/07/09 04:41 PM HRMS API to move employees from a group to another
exboy Offline
regular

Registered: 23/03/09
Posts: 23
Hi Everyone,


I need help in writng a pl/sql script(API) to move a thousand employees or more from an old business group to a new business group.

I am having a challenge doing this as it does not pick individual employees,

Kindly assist than you.

Top
#4673 - 20/07/09 08:28 AM Re: HRMS API to move employees from a group to another [Re: exboy]
Sudhir Offline
stranger

Registered: 02/02/09
Posts: 3
Loc: UK
Hi,

Here is the starter pack:-))for developing migration scripts

1.Identify the right API for your localisation, for GB, it is HR_EMPLOYEE_API.CREATE_GB_EMPLOYEE

2.Ensure, you identify and pass all the mandatory parameters for the procedure, both IN and OUT and also pass the IN/OUT parameter,epecially object version number, if its create procedure just pass a local variable of type number, in this mode this variable would act as OUT parameter i.e hold the return value from the procedure. if its update procedure, it would act as IN/OUT parameter and you have to pass current OVN of the record.(Hope you understand how OVN works, if not have a read about it, its fundamental to HR and its knowledge is a must).

3.Finally you have to explicitly mention COMMIT in your PL/SQL program or pl/sql wrapper.

One question for you, why you want to move employees from one business group to other, just curious about the business case.

Hope this helps.

Cheers
Sudhir

Top


Moderator:  bcooper, CT 
March
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Forum Stats
421 Members
48 Forums
1126 Topics
5239 Posts

Max Online: 15 @ 20/10/09 02:30 PM
Today's Birthdays
No Birthdays
Recent vacancies
Developer - Permanent - based in Bracknell
by Geoff_Dixon
11/03/10 11:59 AM
Perm Positions 1 x HR and 1 x Payroll
by bfrost
10/03/10 05:35 PM
Top Posters
bcooper 888
CT 751
Geoff_Dixon 343
delboy 255
SBi 249
vkumar 223
kp_rapolu 203
cbrookes 197
Gavin Harris 101
jhatten 95