Who's Online
0 registered (), 1 Guest and 0 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
Defaulting PO Information on assignment screen
by SBi
Today at 02:24 PM
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
#4554 - 10/06/09 03:25 PM DFF Reference Field and ESS
ClanGowland Offline
warming-up

Registered: 10/04/07
Posts: 17
Loc: Surrey, England
Hi All

Firstly, I have checked this on metalink and Oracle say it's not possible so if no-one has an answer no probs, but then i always see "It's not possible" as "I challenge ye!" so here we go...

We want to add a DFF Segment for "Working pattern" to the ESS absence screen that does two things:

1. Displays/does not display based on the absence type being entered
2. Does not display for certain areas of the globe/different Business Groups

Where I have got to is to create the DFF for working pattern, populate the list dynamically with the working patterns in the system etc but I can only get it to appear on the ESS screen if I add it to the "Global Data Elements" Context field value of the DFF. This means folks in other countries around the world can also see it and those same folks don't need it and sure as hell don't want it (especially as it will cause them problems in the PUI as it is a mandatory field). Also it means it will display for all absence types.

If I add it to one of the other Context Field Values that link to the absence types themselves it displays in the PUI accordingly (depending on the absence type), but not at all in the ESS.

From what I see from Oracle, they state it is because we are using a reference field within the context field of the DFF (which apparently they do not support...). Long story short, lets just say we NEED to keep this reference field in there.

Does anyone know of a way (without a HUGE, UNSUPPORTED customisation) we can arrange for this extra segment to appear on the ESS without it appearing for all global users, and (preferably) based on the context of the absence type?

I'm not asking for much am I?! laugh

Many thanks
Craig
_________________________
Anyone who believes in telekinesis, raise my hand

Top
#4555 - 10/06/09 05:00 PM Re: DFF Reference Field and ESS [Re: ClanGowland]
PeterP Offline
enthusiast
*****

Registered: 08/03/07
Posts: 49
Loc: Manchester, UK
Hello,

This is a bit of a work-around, and as I haven't tried it myself, may not work (I know it will in PUI, but not certain about SS).

Rather than Reference field based, try using two segments along the following lines ...

Segment(X) is table based and mandatory. It's based on the PER_BUSINESS_GROUPS view, and has a WHERE clause that ensures the Users business group is the only valid value based on the Business Group profile option. The BG Id or Name is defaulted using an SQL default.

Segment(Y) (the Working Pattern segment) is also table based and mandatory. It's based on a LookUp, or whatever table has the valid Working Pattern list, with an added value of "N/A". The WHERE clause looks at the previous segment, and if it's a BG that needs a Working Pattern, then excludes the "N/A" value, and if not, include the "N/A" as the ONLY valid value. Then a value is defaulted also based on the value of Segment(X) (the BG). If the BG is one that you DON'T need a Working Pattern for, the the defaulted value is "N/A". Hence the Working Pattern segment is mandatory for all cases, but only has a REAL value for BG's where it's applicable.

Hope this makes sense.

Regards,

Peter.

Top
#4558 - 11/06/09 08:25 AM Re: DFF Reference Field and ESS [Re: PeterP]
SBi Offline
claiming squatters rights

Registered: 23/05/08
Posts: 249
Loc: UK
There are 2 DFFs on the ESS LOA screen.
1. Add Absence details
2. Further Absence details - called as "Additional Absence Detail Information"

I have used Further Absence details to show/hide segments.
Now the reference for this DFF is "C_LEGISLATION_CODE" but this is infact made up of <leg code>_<absence category code> (
Mind you that this is based on "Absence category" and not "absence type" )

So if you have a Annual Leave for then you can define your own structure for "UK_AL" and define the segments..
then when you select the absence type (which internally defaults absence category) the segments will be displayed..

Top
#4563 - 12/06/09 01:12 PM Re: DFF Reference Field and ESS [Re: SBi]
ClanGowland Offline
warming-up

Registered: 10/04/07
Posts: 17
Loc: Surrey, England
Hi

Thanks for the proposed solutions. Shiva, I have tried yours and it is now working in ESS so that's awesome - thanks very much!

The only issue we have now is that in the PUI the further information is not accepting input directly - only when it comes from ESS can you click in the further information field to open up the applicable segments.

It seems when I check the diagnostics on the PUI, the C_LEGISLATION_CODE is showing only as 'GB' (even after selecting an absence type (and therefore category) this does not change to 'GB_xx' where xx is the category code).

Have you come across anything like this when you were configuring?

Many thanks
Craig
_________________________
Anyone who believes in telekinesis, raise my hand

Top
#4567 - 12/06/09 02:06 PM Re: DFF Reference Field and ESS [Re: ClanGowland]
SBi Offline
claiming squatters rights

Registered: 23/05/08
Posts: 249
Loc: UK
what is the absence category for the absence type?

Top
#4568 - 12/06/09 02:06 PM Re: DFF Reference Field and ESS [Re: SBi]
SBi Offline
claiming squatters rights

Registered: 23/05/08
Posts: 249
Loc: UK
you will find it on absence type definition screen

Top
#4571 - 12/06/09 02:54 PM Re: DFF Reference Field and ESS [Re: SBi]
ClanGowland Offline
warming-up

Registered: 10/04/07
Posts: 17
Loc: Surrey, England
Hi Shiva

The Absence Category is Vacation, the absence type is Annual Leave and the Absence Category Code is 'V'.

We have therefore set up a new segment for context field 'GB_V' which we would expect to work in the PUI the same as it is now (thanks to your solution) in ESS.

Now, when we enter 'Annual Leave' into the Absence PUI, the category gets populated with Vacation (as expected), but the C_LEGISLATION_CODE (per the diagnostics) is still showing as only 'GB'. This means the additional segments for the 'GB_V' are not showing. If I check an absence of Annual Leave that has come through from ESS, the C_LEGISLATION_CODE is correctly showing as 'GB_V', and therefore the additional segments can be viewed/edited.

I'm thinking maybe (a) it's a bug; or (b) we need to personalise the form to refresh once a user enters an absence type to (possibly) refresh the C_LEGISLATION_CODE value?

Many thanks
Craig
_________________________
Anyone who believes in telekinesis, raise my hand

Top
#4573 - 15/06/09 08:26 AM Re: DFF Reference Field and ESS [Re: ClanGowland]
SBi Offline
claiming squatters rights

Registered: 23/05/08
Posts: 249
Loc: UK
create a new absence category in the lookup "ABSENCE_CATEGORY" and try..

Top
#4594 - 22/06/09 11:46 AM Re: DFF Reference Field and ESS [Re: SBi]
ClanGowland Offline
warming-up

Registered: 10/04/07
Posts: 17
Loc: Surrey, England
Hi Shiva

Apologies for the delay in coming back to you - we managed to get it working in the end using a workaround of sorts. In the PUI we have made all the various fields available but made those that are specific to an absence type non-mandatory.

In the ESS we have attached the various fields to the absence categories as necessary but made them mandatory.

Many thanks for your help
Craig
_________________________
Anyone who believes in telekinesis, raise my hand

Top
#4595 - 22/06/09 01:46 PM Re: DFF Reference Field and ESS [Re: ClanGowland]
SBi Offline
claiming squatters rights

Registered: 23/05/08
Posts: 249
Loc: UK
Ok. No worries.

Top


Moderator:  Administrator, Geoff_Dixon 
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