Who's Online
0 registered (), 1 Guest and 6 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Abseces in oracle hrms, super user: how to do I:
by tovia123
Today at 01:18 PM
Update EIT in SSHR
by Sahir
Yesterday at 03:45 PM
End of Year Legislation Patch for 11i
by delboy
Yesterday at 01:35 PM
Interfacing iRec and external sites
by DanC
09/02/12 11:42 PM
Capturing, Storing, & Paying Banked Overtime
by Paul
09/02/12 08:51 PM
Time and Labour & Oracle Projects
by Paul
09/02/12 07:34 PM
Search Engine Optimizers
by delboy
09/02/12 01:30 PM
Function for getting retropay-maintained balances
by CT
08/02/12 12:21 PM
Grade End Date
by Chris
03/02/12 10:46 AM
OLM Mandatory Enrolments
by bcooper
01/02/12 12:23 PM
Top Posters (30 Days)
CT 26
delboy 24
bcooper 14
Sahir 5
Gus 5
tovia123 5
Tim Bailey 3
SBi 3
christm 3
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 18240
CREATE_GRADE api returns:PLS-00306: wrong number o 13772
Still trying to locate... 12214
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 10658
Viewing Output of another user 9137
HR_PF.K RUP4 8851
Review of my Release 12 laptop 8500
Adding a taskflow button to a form 7861
Enhanced Retro & Release 12 7689
Family Pack K 7127
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#5713 - 26/08/10 03:02 AM Migration of terminated Employees
bts Offline
newbie

Registered: 25/05/10
Posts: 12
Hi,

We're currently doing data migration to HRMS. What's the API used to do migration of terminated employees that are not in the system?

Thanks in advance!

Top
#5714 - 26/08/10 05:43 AM Re: Migration of terminated Employees [Re: bts]
PeterP Offline
hacker
*****

Registered: 08/03/07
Posts: 92
Loc: Manchester, UK
Hello,

I think one of the forum's more technically oriented contributors, such as CT can give you a more precise answer, but my 2 pennies worth...

As far as I am aware, you migrate terminated personnel using the standard employee API (hr_employee_api.create_gb_employee), and then subsequently terminate them, again this can be done through the terminate employee API (hr_ex_employee_api).

If you look at "Publicly Callable Business Process APIs in Oracle HRMS" in "OracleŽ Human Resources Management Systems" -- "Configuring, Reporting, and System Administration Guide" -- "Release 11i" -- "Part No. A95418-03", it has extensive documentation of the available API's and their usage. Note that this document is from the 11.5.10.2+ document set. I presume the R12 documentation set will have additional information.

Regards,

Peter.

Top
#5715 - 26/08/10 06:37 AM Re: Migration of terminated Employees [Re: PeterP]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Full marks Peter, we will make a techie of you yet! cool

Bear in mind, also, that there might be other things you need to load for them too - in particular, if you are a payroll site, and you are migrating ex-employees that have received any kind of payments in the current tax year, then you'll need to load their balances too.
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#5728 - 31/08/10 06:43 AM Re: Migration of terminated Employees [Re: CT]
bts Offline
newbie

Registered: 25/05/10
Posts: 12
Thanks both for the response.

For the hr_ex_employee, will that means running these 3 procedures in this sequence:
1. actual_termination_emp
2. update_term_details_emp
3. final_process_emp

Top
#5730 - 31/08/10 07:15 AM Re: Migration of terminated Employees [Re: bts]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Yes, that is correct, although you could interchange 2 and 3. But definitely step 1 first!
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#5731 - 31/08/10 09:02 AM Re: Migration of terminated Employees [Re: PeterP]
SBi Offline
sitting tennant

Registered: 23/05/08
Posts: 344
Loc: UK
Originally Posted By: PeterP
Hello,

I think one of the forum's more technically oriented contributors, such as CT can give you a more precise answer, but my 2 pennies worth...

As far as I am aware, you migrate terminated personnel using the standard employee API (hr_employee_api.create_gb_employee), and then subsequently terminate them, again this can be done through the terminate employee API (hr_ex_employee_api).

If you look at "Publicly Callable Business Process APIs in Oracle HRMS" in "OracleŽ Human Resources Management Systems" -- "Configuring, Reporting, and System Administration Guide" -- "Release 11i" -- "Part No. A95418-03", it has extensive documentation of the available API's and their usage. Note that this document is from the 11.5.10.2+ document set. I presume the R12 documentation set will have additional information.

Regards,

Peter.


Having done this I would also like to add that you also need to migrate all the assignment related information before you run the "termination" api. i.e. you cannot update all the assignment related information on the Ex-employees.

Top
#5823 - 20/09/10 12:25 PM Re: Migration of terminated Employees [Re: SBi]
bts Offline
newbie

Registered: 25/05/10
Posts: 12
Hi!

I was trying to run the first API but kept on hitting an error 'The Leaving Reason must exist within the HR lookup values'.

I already checked the fnd_lookup_values where lookup_type = 'LEAV_REAS', the lookup code that I'm passing is there.

please help!

/bts

Top
#5825 - 20/09/10 12:31 PM Re: Migration of terminated Employees [Re: bts]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Is the code enabled, and is there a start/end date on it?

Also, if you do

SELECT USERENV('LANG') FROM DUAL;

what answer do you get?
_________________________
L&K
CT

Remember: A dog is for life, not just for Christmas... unless you're in Korea

Top
#5826 - 21/09/10 12:38 AM Re: Migration of terminated Employees [Re: CT]
bts Offline
newbie

Registered: 25/05/10
Posts: 12
The code is enabled but without start/and date. Language is US. I tried front-end and I can see that the item in Leaving Reason is there.



/bts

Top
#5828 - 21/09/10 01:27 AM Re: Migration of terminated Employees [Re: bts]
bts Offline
newbie

Registered: 25/05/10
Posts: 12
Found where the problem is coming. The API is looking at the HR_LOOKUPS while the leaving reason that I'm testing is existing only in FND_LOOKUP_VALUES.

Some setup issue. Thanks!

Top
Page 1 of 2 1 2 >



Moderator:  bcooper, CT 
Forum Stats
756 Members
48 Forums
1517 Topics
7287 Posts

Max Online: 63 @ 24/11/10 07:21 AM
Today's Birthdays
No Birthdays
Recent vacancies
Tea boy available 4 basic chores & some! services
by Simon_Mc
19/01/12 03:59 PM
Top Posters
bcooper 1095
CT 1080
delboy 500
Geoff Dixon 369
SBi 344
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 160
Gus 132
February
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