Who's Online
2 registered (CT, Chris Abraham), 9 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Pension Auto Enrolment
by pat.woodall
13 minutes 51 seconds ago
Oracle eBsuiness HRMS Trusted Reconcilaition Help
by Mani
Today at 07:35 AM
Concurrent Request - running slow
by CT
Yesterday at 11:16 AM
Element to recover value in balance on leaving
by jkavia
Yesterday at 11:04 AM
P11d's
by jkavia
Yesterday at 10:49 AM
Assignment EIT not displaying in Self Service
by CT
Yesterday at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
21/05/12 12:24 PM
In which table is external learning data stored
by DMC
21/05/12 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
11.5.10 "Extended Support" extended til..... when?
by Vigneswar Battu
17/05/12 10:59 AM
Top Posters (30 Days)
delboy 38
CT 38
Vigneswar Battu 15
pat.woodall 10
Mani 5
Gus 4
bcooper 4
7Giri 3
Ryan 3
DMC 3
(Views)Popular Topics
Family Pack K issues thread 20167
CREATE_GRADE api returns:PLS-00306: wrong number o 15200
Still trying to locate... 13854
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11903
Viewing Output of another user 10320
HR_PF.K RUP4 10280
Review of my Release 12 laptop 9744
Enhanced Retro & Release 12 9402
Adding a taskflow button to a form 9137
Family Pack K 7908
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: 38
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 Online   content
Guru
***

Registered: 11/03/05
Posts: 1185
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: 38
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 Online   content
Guru
***

Registered: 11/03/05
Posts: 1185
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: 38
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 Online   content
Guru
***

Registered: 11/03/05
Posts: 1185
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: 38
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 Online   content
Guru
***

Registered: 11/03/05
Posts: 1185
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
791 Members
48 Forums
1583 Topics
7655 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1185
bcooper 1112
delboy 596
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 146
May
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