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
#5594 - 09/07/10 09:38 AM Position migration
DanC Offline
regular

Registered: 06/07/09
Posts: 20
I'm migrating positions from an 11.0.3 system to 11.5.10. I have all of the old position data in a temporary staging table on the new database.

The problem I'm having is that positions in the old system have been created at various times when there have been fewer segments. So the name field from the positions table has a different number of segments concatenated than what is needed ion the new system. The create position api requires this name to be passed in.

Does anybody know of a job or something I could run in the legacy system to update the concatenated name of all of the positions so they have the same number of separators(.) to reflect the latest number of segments?

Alternatively, does anyone have any other bright ideas about how to overcome this; short of getting groups of all of the different lengths of names and updating them?

Thanks,
Dan

Top
#5595 - 09/07/10 09:43 AM Re: Position migration [Re: DanC]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Try loading it with the 'name' variable forced to null. The position api should rebuild it based on the segment values supplied, and send it back to you anyway.

Obviously if you are looping round a number of rows, then keep resetting the variable to null prior to the call to the api, within the loop.
_________________________
L&K
CT

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

Top
#5596 - 09/07/10 10:37 AM Re: Position migration [Re: CT]
DanC Offline
regular

Registered: 06/07/09
Posts: 20
I've tried and it says that the name is required when using the API

Thanks

Top
#5597 - 09/07/10 11:14 AM Re: Position migration [Re: DanC]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
That's odd... What's the exact error message you're getting?
_________________________
L&K
CT

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

Top
#5598 - 09/07/10 11:29 AM Re: Position migration [Re: CT]
DanC Offline
regular

Registered: 06/07/09
Posts: 20
ORA-20001 : FLEX-MISSING CONCAT VALUES

I've tried a couple things now:-
Building the name from the position definition segments as a concatenated string and passing it through.
Removing all value sets from the position keyflex

Any ideas gratefully received!
Thanks

Top
#5599 - 09/07/10 12:02 PM Re: Position migration [Re: DanC]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Could you post the script you're trying to run? Also, at the risk of stating the bl%$%$in' obvious can you check:

1. The setup of the position keyflex, e.g. that dynamic inserts are allowed etc

2. The value of the System Profile option called 'Flexfields:Validate On Server'


Edited by CT (09/07/10 12:06 PM)
Edit Reason: added another thing to check
_________________________
L&K
CT

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

Top
#5600 - 09/07/10 12:11 PM Re: Position migration [Re: CT]
DanC Offline
regular

Registered: 06/07/09
Posts: 20
I figured it out!

The sequence number in the position keyflex was the same value for two of the segments.
As soon as I changed one to a different sequence number it loaded OK. Very strange...

Thanks very much for your help anyway

Top
#5601 - 09/07/10 12:17 PM Re: Position migration [Re: DanC]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1080
Loc: Bath
Ah! Bit of an odd message for something like that... oh well, you've got it sorted so that's good news.
_________________________
L&K
CT

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

Top
#6399 - 28/02/11 09:14 AM Re: Position migration [Re: DanC]
arman.kbs Offline
lurker

Registered: 02/01/11
Posts: 9
Hi can any one provie me the script to update Oranization and Job in Position screen.

Any advice would be appricated.


Thanks

Top



Moderator:  bcooper, CT 
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