Who's Online
1 registered (Chris Abraham), 2 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
P11d's
by Chris Abraham
0 seconds ago
Oracle eBsuiness HRMS Trusted Recon Query Help
by CT
Today at 02:24 PM
Concurrent Request - running slow
by CT
Today at 12:48 PM
Pension Auto Enrolment
by delboy
Today at 12:13 PM
Oracle eBsuiness HRMS Trusted Reconcilaition Help
by Mani
Today at 07:35 AM
Element to recover value in balance on leaving
by jkavia
Yesterday at 11:04 AM
Assignment EIT not displaying in Self Service
by CT
Yesterday at 06:45 AM
Vehicle Mileage Setup
by Chris Abraham
21/05/12 12:24 PM
In which table is external learning data stored
by DMC
21/05/12 08:45 AM
Oracle Payroll and Cash Management
by Gus
20/05/12 11:27 AM
Top Posters (30 Days)
CT 40
delboy 39
Vigneswar Battu 15
pat.woodall 10
Mani 6
Gus 4
bcooper 4
Ryan 3
Jan 3
DMC 3
(Views)Popular Topics
Family Pack K issues thread 20170
CREATE_GRADE api returns:PLS-00306: wrong number o 15200
Still trying to locate... 13855
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11907
Viewing Output of another user 10324
HR_PF.K RUP4 10298
Review of my Release 12 laptop 9747
Enhanced Retro & Release 12 9402
Adding a taskflow button to a form 9140
Family Pack K 7910
Topic Options
Rate This Topic
#5878 - 01/10/10 08:53 AM SIT Flexfield
ChrisWalker1 Offline
regular

Registered: 20/08/10
Posts: 23
Hi All,

Does anyone know how to create a flexfield mandtory based on a condition.

We have a SIT of 25 Segments; I have the need to create a field mandtory if the previous field has been filled in.

So untill segment 16 is filled in Segment 17 becomes mandtory.

All help is very welcome.

Thanks

Chris

Top
#5880 - 01/10/10 09:47 AM Re: SIT Flexfield [Re: ChrisWalker1]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1188
Loc: Bath
Chris,

I know you can do this with concurrent program parameters (which are a special case of a descriptive flexfield structure).

However, this might work:

Assuming your current setup is:
Seg 16, value set = SEG16_VSET
Seg 17 value set = SEG17_VSET

then you need to introduce a dummy 'control' segment between the two, so make the display sequence like this:

Seg16 (as before)
Seg17 (dummy segment, called e.g. 'IS_NEXT_SEG_REQUIRED'
Seg18 (used to be Seg17)

Seg17 should be enabled but not displayed, and should be set up like this:
Value set = PER_CHAR
Default type = SQL
Default value = "select '1' from dual where :$FLEX$.SEG16_VSET:NULL IS NULL"
Enabled = Yes
Displayed = No

Seg18 is as before, apart from the valueset SEG17_VSET should now contain:
Validation Type = Table
Where clause = "WHERE :$FLEX$.PER_CHAR = '1'
AND... <other criteria as before>"

Try it on a suitable dev environment of course, and see if it works. As I said, I can vouch for it working with conditionally enabling/disabling concurrent program parameters.
_________________________
L&K
CT

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

Top
#5885 - 04/10/10 02:55 PM Re: SIT Flexfield [Re: CT]
ChrisWalker1 Offline
regular

Registered: 20/08/10
Posts: 23
Thanks for the info: Just a bit more info needed really as we are new to oracle.

i have

Seg 16, value set is 15 Characters
Seg 17, value set is NTC_DATE (Date field)

Thanks

Chris

Top
#6151 - 06/12/10 06:19 AM Re: SIT Flexfield [Re: CT]
7Giri Offline
warming-up

Registered: 29/11/10
Posts: 15
Hi,

I request the administrator to let me post messages on this forum.

Below is my query.

How does one decide to go for SIT or EIT when doing the setups?
What are thr things we need to keep in mind when we decide on this?

Please help.

Cheers,
Giri

Top



Moderator:  Administrator, Geoff Dixon 
Forum Stats
792 Members
48 Forums
1584 Topics
7663 Posts

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