Addresses #436. Incorrect validation of: The only letters to appear in the fourth position are A, B, E, H, M, N, P, R, V, W, X and Y.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4173 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2008-04-01 13:22:15 +00:00
parent 34895c7207
commit 42cf6385cc

View File

@@ -120,7 +120,7 @@ CREATE OR REPLACE PACKAGE BODY mip_regions IS
ELSIF substr(l_postcode_format ELSIF substr(l_postcode_format
,4 ,4
,1) = 'A' ,1) = 'A'
AND instr('ABCDEFGHJKSTUW' AND instr('ABEHMNPRVWXY'
,substr(l_postcode ,substr(l_postcode
,4 ,4
,1)) = 0 THEN ,1)) = 0 THEN