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
Topic Options
Rate This Topic
#2025 - 24/04/06 02:14 PM Curse of the Missing Session Date Part 89 - NI Num
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
Afternoon all

Just in case anyone else meets this in the future:

Here at W-D we are experiencing some local unpleasantness with trying to load employees. Some of our recently employed bretheren are being rejected because 'The NI Number prefix is invalid.'.

These days of course, the NI number validation is all growed up - in that it checks the 2 letter prefix against a seeded lookup list of allowable values (lookup code = 'GB_NI_VALIDATION_PREFIX'). It seems that most of the prefixes have a start date of 06/04/2004. There are some new ones e.g. 'SG' that start on 06/04/2005. It would seem reasonable to assume then that the Revenue boys are issuing new prefixes year on year.

The interesting thing about this is that the checking of that lookup is encapsulated within a Fast*Ha*Fin*Ha*Formula called rather predictably NI_VALIDATION.

First thing this formula does is set a default for the session date of '06/04/2004'. Can you see where this is going? Yes, the absence of any session date (EG WHERE WE DARE TO RUN THIS FROM A NAFFING DATA PUMP SESSION FOR GOD'S SAKE!) means the default will apply - fine for most of the 'old' prefixes, but sadly for 'SG' and others starting after 06/04/2004, means the validation of the NI number, and therefore the loading of the employee, is doomed to failure. Seeded formula means we can't change it, 'System' type look-up means we can't alter the start dates of the affected prefixes, shat D-P means we can't set a session date other than by another bunch of user-hooks or we encapsulate the create employee api in our own api wrapper complete with session-date setup, and then DP-enable that.

Happy days! <img src="/ubbthreads/images/graemlins/Flush.gif" alt="" />
_________________________
L&K
CT

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

Top
#2026 - 25/04/06 08:31 AM Re: Curse of the Missing Session Date Part 89 - NI Num [Re: CT]
pat.woodall Offline
hanger-on

Registered: 07/06/05
Posts: 74
Loc: Hardy's Way
CT,

Got the same problem here using the create employee api. We have raised a Service Request but in the meantime have bypassed the problem by changing the syetem profile 'HR: National Identification Validation from Error to Warning.

Pat

Top
#2027 - 25/04/06 11:04 AM Re: Curse of the Missing Session Date Part 89 - NI Num [Re: pat.woodall]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
Hmm, the old 'System Profile Option' trick eh?

As our military friends would say, 'Good drills'! I shall bear that in mind for future reference, thanks Pat.


Cheers

Clive

Top
#2028 - 25/04/06 12:47 PM Re: Curse of the Missing Session Date Part 89 - NI Num [Re: CT]
CT Offline
Guru
***

Registered: 11/03/05
Posts: 1182
Loc: Bath
Just a wee PS to this little tale - apparently we had 3 'SG' NI numbers go through as valid... all rather odd, so some further investigation was undertaken. From that, it seems that this validation check of the NI prefix is only undertaken if the hire date is on or after 06-APR-2004!! What is that all about?
_________________________
L&K
CT

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

Top



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