Modify gen_mandatory.prc to only process non-null field-names.
Modify mip_regions.pck to expose get_region_for_postcode. Check-in ongoing work with mip_quotation.pck. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3018 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -14,6 +14,13 @@ CREATE OR REPLACE PACKAGE mip_regions IS
|
||||
*/
|
||||
FUNCTION valid_postcode_format(p_postcode IN VARCHAR2) RETURN BOOLEAN;
|
||||
|
||||
/** Find the region with which the given postcode is associated
|
||||
|
||||
%param p_postcode correctly formatted postcode
|
||||
%return region code or NULL
|
||||
*/
|
||||
FUNCTION get_region_for_postcode(p_postcode IN VARCHAR2)
|
||||
RETURN postcodes.regi_code%TYPE;
|
||||
END mip_regions;
|
||||
/
|
||||
CREATE OR REPLACE PACKAGE BODY mip_regions IS
|
||||
@@ -134,7 +141,7 @@ CREATE OR REPLACE PACKAGE BODY mip_regions IS
|
||||
/** Find the region with which the given postcode is associated
|
||||
|
||||
%param p_postcode correctly formatted postcode
|
||||
%return region code
|
||||
%return region code or NULL
|
||||
*/
|
||||
FUNCTION get_region_for_postcode(p_postcode IN VARCHAR2)
|
||||
RETURN postcodes.regi_code%TYPE IS
|
||||
|
||||
Reference in New Issue
Block a user