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
Topic Options
Rate This Topic
#4894 - 30/10/09 09:47 AM Q: API for employee contact and work schedule
cjvanvuuren Offline
enthusiast

Registered: 18/03/05
Posts: 36
Loc: Cape Town
By any chance, have you come across migration of following business objects?
• Employee contract details (can be accessed through ‘Extra Details of Service’ on Assignment screen)
• Employee work schedule
If yes, could you please let me know the API name or any alternate method you used to migrate the data.

Top
#4895 - 30/10/09 10:25 AM Re: Q: API for employee contact and work schedule [Re: cjvanvuuren]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Hi stranger!

pqp_aat_api.create_assignment_attribute will load your contract type info - will also do work pattern

Work schedule, I am not sure about - what's the base table for that data, would you know or be able to find out? Or a screen navigation path?
_________________________
L&K
CT

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

Top
#4898 - 30/10/09 10:40 AM Re: Q: API for employee contact and work schedule [Re: CT]
cjvanvuuren Offline
enthusiast

Registered: 18/03/05
Posts: 36
Loc: Cape Town
Hello - thanks for that this is great!

There seems to be more than one base table:
CAC_SR_SCHDL_OBJECTS ,
CAC_SR_PUBLISH_SCHEDULES and
CAC_SR_SCHDL_DETAILS

navigation path:HRMS Manager
Assignment>others>assign schedules

It's a self service screen

Top
#4899 - 30/10/09 11:12 AM Re: Q: API for employee contact and work schedule [Re: cjvanvuuren]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Hmm, I don't see that menu path here... is this some sort of custom taskflow?
_________________________
L&K
CT

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

Top
#4905 - 04/11/09 10:02 AM Re: Q: API for employee contact and work schedule [Re: CT]
cjvanvuuren Offline
enthusiast

Registered: 18/03/05
Posts: 36
Loc: Cape Town
hello - well after further investigation it seems that our local funkie has used a US form to capture workschedules...need I say more.

On another note - There are two procedures in HR_ASSIGNMENT_API for uploading employee assignment: update_emp_asg and update_gb_emp_asg

Should I be using the GB specific one or can I use the generic update_emp_asg?


Any advice would be great

Top
#4907 - 04/11/09 12:06 PM Re: Q: API for employee contact and work schedule [Re: cjvanvuuren]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Ahh, bless... some attitude re-engineering needed then, by the sound of it. wink Just make sure you him him where he won't bruise externally...

As far as the api is concerned, it kind of depends if you are wholly uk legislation I guess. In any case, you can use either, as I believe update_gb_emp_asg ultimately calls the core update_emp_asg anyway, once it's done a check that the relevant business group is of a UK legislation.
_________________________
L&K
CT

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

Top
#4908 - 04/11/09 03:17 PM Re: Q: API for employee contact and work schedule [Re: CT]
cjvanvuuren Offline
enthusiast

Registered: 18/03/05
Posts: 36
Loc: Cape Town
Thanks for this perfect! just a little confused as to why Oracle did not provide 'assignment_status' parameter in GB.

Cheers

Top
#4909 - 04/11/09 07:09 PM Re: Q: API for employee contact and work schedule [Re: cjvanvuuren]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Actually, assignment status changes are handled via a different API : hr_assignment_api.activate_emp_asg (for changing to some shade of 'ACTIVE_ASSIGNMENT' status), and suspend_emp_asg (for changing to some shade of 'SUSPEND_ASSIGNMENT')

Edit: To clarify, the activate_emp_asg and suspend_emp_asg APIs deal with switching to a different SYSTEM_STATUS, e.g. from SUSPEND_ASSIGN to ACTIVE_ASSIGN, and vice versa. The parameter p_assignment_status_type_id in the update_emp_asg API deals with switching to a new user_status, but still the same system_status.

As for why it's not a parameter in the update_gb_emp_asg, I can only presume that the parameter is a recent addition to the core API, and they missed a trick with making the same change to the GB wrapper. I can't think of a logical reason for wanting to exclude UK legislation from changing it.


Edited by CT (05/11/09 07:18 AM)
Edit Reason: Further waffle
_________________________
L&K
CT

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

Top



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