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
#2199 - 08/08/06 04:37 PM HR Data Pump - User Person Type
vkumar Offline
claiming squatters rights
*****

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

I have got an issue where the employees created by data pump are all being created with a default value, even though we have different user person types for the respective employee records.

Eg : User person Types
Permanent
Fixed Term
Casual
etc

Data Pump call
hrdpp_create_gb_employee.insert_batch_lines
(p_batch_id => l_batch_id
,p_user_sequence => NULL
....
....
,p_user_person_type => emp.user_person_type)

Note that the user_person_type is passed from the source data and I can see different values in the hr_pump_batch_lines_table in column pval113.

On further investigation, I noticed that the key value is resolved by a call to hr_pump_get.get_person_type_id from within the data pump api.

Still teh values in the application appear to default to "Permanent".

Any ideas?? Thanks for your help

Vin

Top
#2200 - 08/08/06 05:30 PM Re: HR Data Pump - User Person Type [Re: vkumar]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
Hello Vin

What's in the person type usages table for these emps? If you're looking at the person_type_id on the per_all_people_F table, it always puts the 'EMP' person_type_id in there. The real story is contained in the PER_PERSON_TYPE_USAGES table.

Just a thought...
_________________________
L&K
CT

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

Top
#2201 - 09/08/06 08:39 AM Re: HR Data Pump - User Person Type [Re: CT]
spiro Offline
enthusiast

Registered: 03/05/05
Posts: 34
Loc: Reading
We have a similar issue in HR Self Service New Hire. We tried to default the User Person Type in Self Service to be 'Contractor' and although the default is 'Employee'. For a number of reasons we are not using Contingent Worker.

When reviewing the change is showed as the new Person Type 'Contractor', but when the HR record is created the person type is the default i.e. 'Employee'.

Raised a SR with Oracle, but they say this is expected functionality! I think it is a bug, but Oracle has said it is an enhancement. My guess is SSHR uses the same API when committing.

Not much help really, but we have the same or similar problem. Please let us know if you find a resolution.

Top
#2202 - 09/08/06 10:51 AM Re: HR Data Pump - User Person Type [Re: spiro]
vkumar Offline
claiming squatters rights
*****

Registered: 16/03/05
Posts: 223
Loc: Fullers Brewery West London
yes, found the quirk in data pump.

Need to pass p_language_code = 'US' because

hr_pump_get.get_person_type_id actually uses the following cursor to get the id and all the values in the per_person_types_tl have 'US' in the language column. So if this is null, the api defaults it to "Permanent"

select typ.person_type_id
into l_person_type_id
from per_person_types_tl typtl,
per_person_types typ
where typtl.user_person_type = p_user_person_type
and typ.business_group_id + 0 = p_business_group_id
and typ.person_type_id = typtl.person_type_id
and typtl.LANGUAGE = p_language_code;

On passing p_language_code=>'US' in hrdpp_create_gb_employee.insert_batch_lines everything works fine

Cheers
Vin

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