Who's Online
0 registered (), 2 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Recent Posts
In which table is external learning data stored
by DMC
Yesterday at 03:43 PM
Pension Auto Enrolment
by CT
Yesterday at 09:46 AM
Vehicle Mileage Setup
by Shyam
Yesterday at 06:45 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
Oracle Payroll and Cash Management
by Vigneswar Battu
08/05/12 03:08 PM
BG setup/changes - brain dump
by Ryan
05/05/12 07:20 PM
Fusion Collateral
by CT
04/05/12 11:09 AM
BEE - ordering Batch lines
by Vigneswar Battu
03/05/12 04:22 PM
Top Posters (30 Days)
delboy 37
CT 35
Vigneswar Battu 15
pat.woodall 9
bcooper 4
Mani 3
7Giri 3
Gus 3
Ryan 3
SBi 2
(Views)Popular Topics
Family Pack K issues thread 20107
CREATE_GRADE api returns:PLS-00306: wrong number o 15174
Still trying to locate... 13817
Creating hr jobs ORA-20001: HR_289477_JOB_GROUP_ID 11848
Viewing Output of another user 10266
HR_PF.K RUP4 10240
Review of my Release 12 laptop 9703
Enhanced Retro & Release 12 9375
Adding a taskflow button to a form 9111
Family Pack K 7882
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
#4866 - 14/10/09 06:24 AM Re: Data Pump and Valueset Validation Issues [Re: cbrookes]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
Hi, I know this is an old one but couldn't find anything more recent.

I'm having the same problem trying input a value for a position key flex using the create position API. The segment has a validation type of table and returns an error when I try to pass a value via the API

Is there now a way round the table validation?

Top
#4867 - 14/10/09 10:09 AM Re: Data Pump and Valueset Validation Issues [Re: Corbon262]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
Hi Mr Corbon262, and welcome to the forum.

Can I ask, are you able to reproduce the details of the validation 'where' clause here? I take it that the values that you would load, are valid when entered via the form?

Could be you need a wrapper around the API, that first sets up the appropriate session info; then register that with DP.


Edited by CT (14/10/09 10:41 AM)
Edit Reason: Realisation that most of what I'd written was already in previous posts on this thread!
_________________________
L&K
CT

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

Top
#4868 - 14/10/09 02:02 PM Re: Data Pump and Valueset Validation Issues [Re: CT]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
Here's the where clause from the apps
"WHERE business_group_id = :$PROFILES$.per_business_group_id
AND internal_external_flag = 'INT'
AND (date_to is null OR date_to > sysdate)
ORDER BY name"

I'm using a wrapper with the following look up for organization_id

CURSOR Get_segment11_org IS
SELECT organization_id
FROM HR_ALL_ORGANIZATION_UNITS
WHERE business_group_id = FND_PROFILE.VALUE('PER_BUSINESS_GROUP_ID')
AND internal_external_flag = 'INT'
AND UPPER(name) = UPPER(l_org_name)
AND (date_to is null OR date_to > l_start_date)

but no joy

Top
#4869 - 14/10/09 02:12 PM Re: Data Pump and Valueset Validation Issues [Re: Corbon262]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
OK, just out of interest what's the error message that you're getting back from the API call?

I still think it's to do with the interpretation of that :$PROFILES$ thing... Just humour me for a minute, and try doing some sort of apps_initialise at the start of your wrapper script, e.g.

FND_GLOBAL.apps_initialise (user, responsibility etc);

Just one other thing: what's the rest of the definition of the valueset? Do you, for instance, have something in the 'ID column' such as ORGANIZATION_ID?
_________________________
L&K
CT

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

Top
#4870 - 14/10/09 03:09 PM Re: Data Pump and Valueset Validation Issues [Re: CT]
Corbon262 Offline
regular

Registered: 14/10/09
Posts: 21
Loc: South Yorkshire
Cheers for the welcome

I added the FND_GLOBAL.APPS_INITIALIZE(-1, 53826, 800) and it all works a treat.

I can't thank you enough for this, I've been chasing my tail with this for days.

I guess you don't ask you don't get

Again thank you

Top
#4871 - 15/10/09 07:38 AM Re: Data Pump and Valueset Validation Issues [Re: Corbon262]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
No worries Mr Corbon262, delighted to have been able to help - I guess that's what forums like this are all about!
_________________________
L&K
CT

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

Top
Page 2 of 2 < 1 2



Moderator:  bcooper, CT 
Forum Stats
790 Members
48 Forums
1580 Topics
7641 Posts

Max Online: 67 @ 14/04/12 05:38 PM
Today's Birthdays
No Birthdays
Recent vacancies
Top Posters
CT 1182
bcooper 1112
delboy 594
Geoff Dixon 369
SBi 356
vkumar 223
kp_rapolu 213
cbrookes 197
Gavin Harris 163
Gus 145
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