Who's Online
1 registered (CT), 5 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Concurrent Request - running slow
by CT
1 second ago
P11d's
by jkavia
26 minutes 55 seconds ago
Assignment EIT not displaying in Self Service
by CT
Today at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
Yesterday at 12:24 PM
In which table is external learning data stored
by DMC
Yesterday at 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Pension Auto Enrolment
by CT
18/05/12 09:46 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
Top Posters (30 Days)
CT 38
delboy 36
Vigneswar Battu 15
pat.woodall 9
Gus 4
bcooper 4
7Giri 3
Ryan 3
DMC 3
Mani 3
(Views)Popular Topics
Family Pack K issues thread 20153
CREATE_GRADE api returns:PLS-00306: wrong number o 15194
Still trying to locate... 13844
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11889
Viewing Output of another user 10307
HR_PF.K RUP4 10271
Review of my Release 12 laptop 9733
Enhanced Retro & Release 12 9397
Adding a taskflow button to a form 9129
Family Pack K 7906
Topic Options
Rate This Topic
#2391 - 10/02/07 04:27 PM Find business group
AlexChard Offline
enthusiast

Registered: 15/09/05
Posts: 41
Loc: Leamington Spa
Hi all

I'm trying to build a data load using the hr_employee_api.create_gb_employee. As the business_group_id is mandatory, I want to pick it up from the user session that is running the load (could be different business groups).

I tried the following:

SQL> exec fnd_global.apps_initialize(24678,20536,800);

PL/SQL procedure successfully completed.

SQL> select fnd_profile.value('PER_BUSINESS_GROUP_ID')
2 from dual;

FND_PROFILE.VALUE('PER_BUSINESS_GROUP_ID')
-----------------------------------------------------------
0

Problem is, business_group_id should be 41, not 0.

Anybody got any suggestions on where to start looking?

We are on 11.5.8, and are using security profiles. I have run security list maintenance.

Thanks

Alex
_________________________
Oracle EBS Contractor

Top
#2392 - 12/02/07 06:50 PM Re: Find business group [Re: AlexChard]
AlexChard Offline
enthusiast

Registered: 15/09/05
Posts: 41
Loc: Leamington Spa
Fixed it. Was missing the security group profile parameter in the apps_initialize function.
_________________________
Oracle EBS Contractor

Top



Moderator:  bcooper, CT 
Forum Stats
791 Members
48 Forums
1582 Topics
7650 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1185
bcooper 1112
delboy 594
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