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:
hardya
2007-12-18 17:16:07 +00:00
parent 2e88e639ca
commit d353843a77
3 changed files with 634 additions and 20 deletions

View File

@@ -24,7 +24,8 @@ BEGIN
(SELECT DISTINCT field_name
,table_name
,description
FROM data_item_roles_import);
FROM data_item_roles_import
WHERE field_name IS NOT NULL);
FOR l_enty IN (SELECT code
FROM enquiry_types) LOOP
@@ -67,7 +68,7 @@ BEGIN
add_sql(l_sql
,' FROM data_item_roles_import diri');
add_sql(l_sql
,' WHERE substr(diri.' ||
,' WHERE field_name IS NOT NULL AND substr(diri.' ||
REPLACE(l_enty.code
,' '
,'_'));
@@ -129,7 +130,7 @@ BEGIN
add_sql(l_sql
,' ');
--
--
-- CHECK_MANDATORY
--
add_sql(l_sql
@@ -155,7 +156,7 @@ BEGIN
,' RETURN BOOLEAN;');
add_sql(l_sql
,' ');
--
--
-- GET_FIELD_LIST
--
add_sql(l_sql