Who's Online
0 registered (), 11 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Interfacing iRec and external sites
by DanC
Yesterday at 11:42 PM
Time and Labour & Oracle Projects
by Paul
Yesterday at 07:34 PM
End of Year Legislation Patch for 11i
by delboy
Yesterday at 02:00 PM
Search Engine Optimizers
by delboy
Yesterday at 01:30 PM
Abseces in oracle hrms, super user: how to do I:
by JayTee
Yesterday at 07:26 AM
Update EIT in SSHR
by Mr Oracle
08/02/12 01:50 PM
Function for getting retropay-maintained balances
by CT
08/02/12 12:21 PM
Grade End Date
by Chris
03/02/12 10:46 AM
OLM Mandatory Enrolments
by bcooper
01/02/12 12:23 PM
Retro-Notifs Report missing some ele entries
by CT
01/02/12 06:51 AM
Top Posters (30 Days)
CT 27
delboy 25
bcooper 14
Gus 5
paulgos 5
Sahir 4
tovia123 4
SBi 3
MichaelWest 3
Simon_Mc 3
(Views)Popular Topics
Family Pack K issues thread 18194
CREATE_GRADE api returns:PLS-00306: wrong number o 13736
Still trying to locate... 12185
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 10634
Viewing Output of another user 9123
HR_PF.K RUP4 8816
Review of my Release 12 laptop 8485
Adding a taskflow button to a form 7842
Enhanced Retro & Release 12 7661
Family Pack K 7102
Topic Options
Rate This Topic
#5171 - 22/02/10 10:22 AM Forms Configurator
gaztorres Offline
newbie

Registered: 22/02/10
Posts: 10
Loc: Cambridge!
Hi guys,

First post on here! I work with Corbon262, and he recommended you guys as being very helpful! smile

I am currently investigating an issue with a form designed in 'Forms Configurator'. The form is used for a remote team to simply update a 'user id' field in a Descriptive Flexfield on the Person Form, and save it.

Unfortunately the form broke as part of a new multi org setup that was created, and im struggling to get it working again! I would really appreciate a fresh pair of eyes (or more!) on it as its driven me to insanity! cry

I think the best way of explaining it, is by showing you pictures aswell as text. Forgive me for blanking out the names and stuff, as my audit team will go nuts otherwise! grin

Right first things first, this is the error i'm getting. Simply update the 'User ID' field, and save:


Click here for full size pic!

And if you 'Ok' that, you get a message at the bottom:


Click here for full size pic!

FRM-40105: Unable to resolve reference to item $PROFILES$.PER_BUSINESS_GROUP_ID

Now heres a look at the setup of the item in question on the form, and the function registration:


Click here for full size pic!


Click here for full size pic!

Now at this point, its worth noting that if i disable the 'User ID' field which is causing the error, i can update another field on the form (non DFF field!) and it saves fine. So its directly linked to updating the item in the DFF.

Now to explain the setup of the DFF. There are 2 'organisations' using the instance, and the DFF is setup with different fields for each, using the Business Group ID as a context. See below:


Click here for full size pic!


Click here for full size pic!

As you can see above, the middle entry is the context we are using, this looks at the business group id of the profile options (set at responsibility level) - $PROFILES$.PER_BUSINESS_GROUP_ID. Then when you look at the segments, you can see its got no validation on it, its just a 6 character field. There are contexts setup for the 2 different organisations we are using, and a global one. The field we are trying to update is in the middle context.

Now, im pretty sure the error is in relation to the context on the field in the form setup (it has none!). So if i add a context to the item, for the 'correct' context setup, as per below:


Click here for full size pic!


Click here for full size pic!

I still get the same error:


Click here for full size pic!

I have absolutely no idea what to do next? Can anyone help/advise/point me in the right direction?

Much appreciated!

Gary


Edited by gaztorres (22/02/10 10:26 AM)

Top
#5188 - 23/02/10 07:44 AM Re: Forms Configurator [Re: gaztorres]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Hello Gary, and a warm welcome to the forum.

I am not entirely sure why this problem is occurring, but I was wondering what would the effect be of you changing the context value of the descriptive flexfield from '$PROFILES$.PER_BUSINESS_GROUP_ID' to just 'BUSINESS_GROUP_ID' - ie inherit the value from the form/block directly rather than via a system profile option value.

Disclaimer: I am not a funky so it is possible I am talking garbage (again)
_________________________
L&K
CT

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

Top
#5190 - 23/02/10 10:35 AM Re: Forms Configurator [Re: CT]
gaztorres Offline
newbie

Registered: 22/02/10
Posts: 10
Loc: Cambridge!
Originally Posted By: CT
Hello Gary, and a warm welcome to the forum.


Thanks CT, much appreciated!

Originally Posted By: CT
I am not entirely sure why this problem is occurring, but I was wondering what would the effect be of you changing the context value of the descriptive flexfield from '$PROFILES$.PER_BUSINESS_GROUP_ID' to just 'BUSINESS_GROUP_ID' - ie inherit the value from the form/block directly rather than via a system profile option value.


My problem with this, is it has been setup as it is as part of the design principles for our true multi-org setup (2 seperate local gov. authorities). I'm reluctant to 'tinker' as it will no doubt break it somewhere else!

I'm really struggling to get to the bottom of this! If you set the context to 'BUSINESS_GROUP_ID' without the '$PROFILES$.' on it, where does it then get the ID from if not the profile option (at resp level in this case)?

Originally Posted By: CT
Disclaimer: I am not a funky so it is possible I am talking garbage (again)


Any help is better than no help, its really appreciated :-)

Cheers,
Gary

Top
#5194 - 23/02/10 12:16 PM Re: Forms Configurator [Re: gaztorres]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
My thinking was around the possibility of there being an issue with Forms Configurator and system profile options. In theory, the business_group_id, being a column on the person table, also exists as a field on the form, which might well be pre-loaded with the system profile option as part of some new-form-instance thing (I will apologise now for sounding like I know what I am talking about where Oracle Forms is concerned!)

The other thing worth checking is, how does that system profile option value work out for your user/responsibility, i.e. is it set to the correct BG? Are you able, for example, to see the descriptive flexfield segments when viewed through the normal person/assignment form?
_________________________
L&K
CT

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

Top
#5198 - 23/02/10 03:35 PM Re: Forms Configurator [Re: CT]
gaztorres Offline
newbie

Registered: 22/02/10
Posts: 10
Loc: Cambridge!
One thing i have just tried, is i went into the form where i get the error.

I went to help -> diagnostics -> examine.

And under $PROFILES$ -> Business_Group_ID it returns the correct value, i.e 0. So the session recognises the value from the profile option. Starting to wonder if its a bug i'm experiencing?

Top
#5199 - 23/02/10 04:25 PM Re: Forms Configurator [Re: gaztorres]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Ooo, interesting... (I need to get out more, I know)

That'll be the Setup Business group you're using then? For some reason as yet unknown, I am experiencing a certain nervousness about that. Is it possible to assign your user/responsibility to the other (non-zero) BG, and try again?
_________________________
L&K
CT

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

Top
#5206 - 24/02/10 08:55 AM Re: Forms Configurator [Re: CT]
gaztorres Offline
newbie

Registered: 22/02/10
Posts: 10
Loc: Cambridge!
I never really picked up on that fact it was the setup business group.

I just tested it on the other business group (8052) with an item from that DFF context, and all the profile options switched over etc (what a mission!).

I get exactly the same error, but for that DFF attribute now. frown

Top
#5211 - 24/02/10 12:17 PM Re: Forms Configurator [Re: gaztorres]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
OK that's ruled that out then!

Only thing I can suggest at this stage is to apply a trace to the session that's running the form. I suspect that the Support boys will ask for one anyway
_________________________
L&K
CT

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

Top
#5394 - 22/04/10 09:02 AM Re: Forms Configurator [Re: CT]
gaztorres Offline
newbie

Registered: 22/02/10
Posts: 10
Loc: Cambridge!
Right! Long time no post!

I've resurrected this, and finally raised it with our provider (it might goto Oracle! wink )

I tried a few more tricks with security etc and function security with no luck, so i'll keep you posted with the outcome!

Feel a bit annoyed that i've given up on it, but thats how it goes i guess!

Gary :-)



Edited by gaztorres (22/04/10 09:13 AM)

Top
#5396 - 22/04/10 09:53 AM Re: Forms Configurator [Re: CT]
bcooper Offline

Guru
*****

Registered: 11/03/05
Posts: 1094
Loc: Earth, Europe, England, here
Originally Posted By: CT
OK that's ruled that out then!

Only thing I can suggest at this stage is to apply a trace to the session that's running the form. I suspect that the Support boys will ask for one anyway


I think that's question number 3 in their list of standard replies to any SR raised smile

We try to pre-empt as much of this kind of stalling as possible by gathering everything up proir to raising an SR with Oracle (traces, screen-dumps, PIS-script output etc).
_________________________
HCM Aces is for sale! Please contact me if you are interested.
Also my random musings courtesy of Twitter

Top



Moderator:  Administrator, Geoff Dixon 
Forum Stats
755 Members
48 Forums
1516 Topics
7282 Posts

Max Online: 63 @ 24/11/10 07:21 AM
Today's Birthdays
No Birthdays
Recent vacancies
Tea boy available 4 basic chores & some! services
by Simon_Mc
19/01/12 03:59 PM
Top Posters
bcooper 1094
CT 1080
delboy 499
Geoff Dixon 369
SBi 344
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 160
Gus 132
February
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