Who's Online
1 registered (SBi), 2 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Recent Posts
Defaulting PO Information on assignment screen
by SBi
43 minutes 23 seconds ago
E-Bus Configuration and Management
by PeterP
Today at 01:28 PM
UMX : Oracle User Management Application
by natkins
Today at 12:58 PM
HRMS organization structures
by Geoff_Dixon
Today at 11:53 AM
HR_PF.K RUP4
by bcooper
Yesterday at 06:50 PM
Pay_Action_Parameter
s

by John Akinyode
09/03/10 11:05 AM
Error ORA-01002: fetch out of sequence
by delboy
03/03/10 04:46 PM
Multiple html sessions opening
by MarinaH
03/03/10 12:16 AM
Tories to revamp PAYE system
by Geoff_Dixon
26/02/10 01:48 PM
Employee to Contingent System Person Type
by CT
25/02/10 12:46 PM
Top Posters (30 Days)
CT 21
delboy 19
bcooper 14
MarinaH 14
natkins 14
SBi 10
gaztorres 8
Geoff_Dixon 7
Gus 4
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 5172
Review of my Release 12 laptop 3113
CREATE_GRADE api returns:PLS-00306: wrong number o 3085
Log-on problems for existing users 2997
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 2340
October UK-OUG? 1956
Viewing Output of another user 1887
uploading bank branches to PAYROLL 1850
Still trying to locate... 1836
Family Pack K 1822
Topic Options
Rate This Topic
#5110 - 01/02/10 03:47 PM FND_GLOBAL.apps_initialize & fnd_user_resp_groups
natkins Offline
enthusiast

Registered: 15/03/05
Posts: 47
Loc: Lloyds Register
Hi

To protect the "CORRECTIONS" being made in per_all_people_f (by the person_type amendments ;-) ) ... i am taking the PPF.last_updated_by and (assuming the FND_USER.user_id is still active) am becomeing this "person", thus corrections will be by the same person ..

I also need to take identify a responsibility_id and for the user I am finding these in FND_USER_RESP_GROUPS ..

However .. some users have many responsibilities and some of these responsibilities DO NOT have the authority to make changes to the people data ..

Consequently :

SELECT MAX(t1.responsibility_id) INTO l_out
FROM fnd_user_resp_groups t1
etc

Will be fairly "RANDOM"

.. so ..

How can i assure the Q. so that i restrict the responsibility to those that are "authorised" ..

smile

Thanks ..


Neill

Top
#5111 - 01/02/10 10:43 PM Re: FND_GLOBAL.apps_initialize & fnd_user_resp_groups [Re: natkins]
CT Offline
veteran
*****

Registered: 11/03/05
Posts: 751
Loc: Back at Fort Apache, Gosport!
Neill

What is it that controls the 'person updating' authority for a responsibility? I am guessing some sort of system profile option? Or is it a security group? Or maybe both?

Maybe your query above needs to include a join to the profile option values table (name of which escapes me at this hour of the night) for the given profile option (whichever one it happens to be) joined on responsibility id?
_________________________
L&K
CT

Top
#5114 - 02/02/10 10:40 AM Re: FND_GLOBAL.apps_initialize & fnd_user_resp_groups [Re: CT]
natkins Offline
enthusiast

Registered: 15/03/05
Posts: 47
Loc: Lloyds Register
.. yes .. absolutely .. i'll poke about tomorrow and get back to you ... 3 years out doing CMRO and brain cells die off ..

N

Top
#5119 - 03/02/10 09:57 AM Re: FND_GLOBAL.apps_initialize & fnd_user_resp_groups [Re: natkins]
bcooper Offline
veteran
*****

Registered: 11/03/05
Posts: 886
Loc: Earth, Europe, England, here
HR security will be the key to access to specific person records, that and having access to the correct form of course.

THis means that User A may have access to update some people records but not others.
Neill you may need to cross-check against the PER_PERSON_LIST table to ensure the security group corresponds to the person_id
_________________________
I'm blogging again - albeit sporadically
Also my random musings courtesy of Twitter

Top
#5136 - 05/02/10 02:48 PM Re: FND_GLOBAL.apps_initialize & fnd_user_resp_groups [Re: bcooper]
natkins Offline
enthusiast

Registered: 15/03/05
Posts: 47
Loc: Lloyds Register
.. written a function doing exactly that .. works a treat !!

Thanks !

Top


Moderator:  bcooper, CT 
March
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
Forum Stats
421 Members
48 Forums
1122 Topics
5226 Posts

Max Online: 15 @ 20/10/09 02:30 PM
Today's Birthdays
No Birthdays
Recent vacancies
Developer - Permanent - based in Bracknell
by Geoff_Dixon
Today at 11:59 AM
Top Posters
bcooper 886
CT 751
Geoff_Dixon 340
delboy 255
SBi 249
vkumar 223
kp_rapolu 200
cbrookes 197
Gavin Harris 101
jhatten 95