Who's Online
0 registered (), 2 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
In which table is external learning data stored
by DMC
Yesterday at 03:43 PM
Pension Auto Enrolment
by CT
Yesterday at 09:46 AM
Vehicle Mileage Setup
by Shyam
Yesterday at 06:45 AM
11.5.10 "Extended Support" extended til..... when?
by Vigneswar Battu
17/05/12 10:59 AM
Hacking element definitions
by CT
15/05/12 08:42 AM
GB EOY reports
by Vigneswar Battu
09/05/12 02:07 PM
Oracle Payroll and Cash Management
by Vigneswar Battu
08/05/12 03:08 PM
BG setup/changes - brain dump
by Ryan
05/05/12 07:20 PM
Fusion Collateral
by CT
04/05/12 11:09 AM
BEE - ordering Batch lines
by Vigneswar Battu
03/05/12 04:22 PM
Top Posters (30 Days)
delboy 37
CT 35
Vigneswar Battu 15
pat.woodall 9
bcooper 4
Mani 3
7Giri 3
Gus 3
Ryan 3
SBi 2
(Views)Popular Topics
Family Pack K issues thread 20107
CREATE_GRADE api returns:PLS-00306: wrong number o 15174
Still trying to locate... 13817
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11848
Viewing Output of another user 10266
HR_PF.K RUP4 10240
Review of my Release 12 laptop 9703
Enhanced Retro & Release 12 9375
Adding a taskflow button to a form 9111
Family Pack K 7882
Topic Options
Rate This Topic
#2203 - 09/08/06 12:15 PM Data Pump - Latest Start Date
vkumar Offline
claiming squatters rights
*****

Registered: 16/03/05
Posts: 223
Loc: Fullers Brewery West London
Scenario :

Procurement has gone live prior to HR.

Problem :

There are a number of employees in the system with a random start date (the date data was entered) to enable them to function as purchasers.

Now the HR data migration has to set the correct hire date.

On the People form you will notice that you can update the "Latest Start Date" field in the bottorm right hand corner with a earlier or later date , save as correction and Oracle adjusts the effective_start_date accordingly.

Is there an API than can achieve this because I cannot find a data pump parameter for setting latest_start_date.

I have tried original_hire_date etc but this just updates the "Date First Hired" field on the Benefits tab

Please let me know if you have encountered this issue.

Any fixes? Thanks for your help

Cheers
Vin

Top
#2204 - 11/08/06 06:22 AM Re: Data Pump - Latest Start Date [Re: vkumar]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1112
Loc: Earth, Europe, England, here
Surely this is the date from the period of service (PPS) row that is being displayed? So it will not appear on any of the people/employee API's.

I can't remember if there is a PPS api lurking? If there is it is probably an internal developer one. In which case you could either hack DP to generate an API interface for the internal API, or write a user-hook onto the employee API to go and do the update of the PPS row.

Of coursse, if it has nothing to do with the PPS record, and you are still stuck with no DP parameter, then the user-hook route may well be your only option.

For historic reference, i remember having this situation at Yorkshire Building Society (Eons ago), when financials went in before HR/Pay. In this scenario (and it pre-dated DP by many years) we ended up hacking the dates as part of the API wrapper script process (ah, those were the days <img src="/ubbthreads/images/graemlins/smile.gif" alt="" /> )
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top
#2205 - 21/08/06 01:04 PM Re: Data Pump - Latest Start Date [Re: bcooper]
vkumar Offline
claiming squatters rights
*****

Registered: 16/03/05
Posts: 223
Loc: Fullers Brewery West London
The PERWSHRG form uses the following API to apply the changes made to latest start date field.

hr_change_start_date_api.update_start_date.

However this isn't in the standard supported API documentation

Eg :

hr_change_start_date_api.update_start_date
(p_validate => FALSE
,p_person_id => r_person.person_id
,p_old_start_date => r_person.date_start
,p_new_start_date => l_new_start_date
,p_update_type => 'E'
,p_warn_ee => l_err_msg);

Top
#2206 - 23/08/06 05:31 PM Re: Data Pump - Latest Start Date [Re: vkumar]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
Vin - that might be an oversight in the API doc. Given that the package ends in '_API' and there's a p_validate parameter, that to me suggests it's in the public domain.
_________________________
L&K
CT

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

Top



Moderator:  bcooper, CT 
Forum Stats
790 Members
48 Forums
1580 Topics
7641 Posts

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