fix for ticket #198, base code validation was referencing a field that did not exist (base_code instead of bas_code)
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4031 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -13,8 +13,8 @@ prompt APPLICATION 155 - webmip
|
||||
-- Application Export:
|
||||
-- Application: 155
|
||||
-- Name: webmip
|
||||
-- Date and Time: 15:18 Monday March 17, 2008
|
||||
-- Exported By: HARDYA
|
||||
-- Date and Time: 16:41 Monday March 17, 2008
|
||||
-- Exported By: PRIESTJ
|
||||
-- Flashback: 0
|
||||
-- Export Type: Application Export
|
||||
-- Version: 3.1.0.00.32
|
||||
@@ -145,7 +145,7 @@ wwv_flow_api.create_flow(
|
||||
p_default_region_template=> 28038130488354430 + wwv_flow_api.g_id_offset,
|
||||
p_error_template => 42209241448421762 + wwv_flow_api.g_id_offset,
|
||||
p_page_protection_enabled_y_n=> 'N',
|
||||
p_checksum_salt_last_reset => '20080317151804',
|
||||
p_checksum_salt_last_reset => '20080317164157',
|
||||
p_home_link => 'f?p=&APP_ID.:101',
|
||||
p_flow_language => 'en-gb',
|
||||
p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE',
|
||||
@@ -189,8 +189,8 @@ wwv_flow_api.create_flow(
|
||||
p_substitution_value_01 => '(Development)',
|
||||
p_substitution_string_02 => 'T_AND_C_URL',
|
||||
p_substitution_value_02 => 'http://www.nationalgrid.com/uk/metering/mip/tc.htm',
|
||||
p_last_updated_by => 'HARDYA',
|
||||
p_last_upd_yyyymmddhh24miss=> '20080317151804',
|
||||
p_last_updated_by => 'PRIESTJ',
|
||||
p_last_upd_yyyymmddhh24miss=> '20080317164157',
|
||||
p_required_roles=> wwv_flow_utilities.string_to_table2(''));
|
||||
|
||||
|
||||
@@ -318,7 +318,8 @@ declare
|
||||
l_clob clob;
|
||||
l_length number := 1;
|
||||
begin
|
||||
p:=p||'BEGIN'||chr(10)||
|
||||
p:=p||'return;'||chr(10)||
|
||||
'BEGIN'||chr(10)||
|
||||
' FOR rItem IN'||chr(10)||
|
||||
' ( SELECT ITEM_NAME'||chr(10)||
|
||||
' FROM APEX_APPLICATION_PAGE_ITEMS'||chr(10)||
|
||||
@@ -329,9 +330,9 @@ p:=p||'BEGIN'||chr(10)||
|
||||
' AND LOV_NULL_VALUE IS NULL'||chr(10)||
|
||||
' )'||chr(10)||
|
||||
' LOOP'||chr(10)||
|
||||
' IF V(rItem.ITEM_NAME) = ''%null'' ';
|
||||
' IF V(rItem.ITEM_NAME) =';
|
||||
|
||||
p:=p||'|| ''%'''||chr(10)||
|
||||
p:=p||' ''%null'' || ''%'''||chr(10)||
|
||||
' THEN'||chr(10)||
|
||||
' Apex_Util.set_session_state(rItem.ITEM_NAME, NULL);'||chr(10)||
|
||||
' END IF;'||chr(10)||
|
||||
@@ -7399,7 +7400,7 @@ wwv_flow_api.create_page(
|
||||
p_required_role => 14572900838700208+ wwv_flow_api.g_id_offset,
|
||||
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
||||
p_last_updated_by => 'PRIESTJ',
|
||||
p_last_upd_yyyymmddhh24miss => '20080311181918',
|
||||
p_last_upd_yyyymmddhh24miss => '20080317164121',
|
||||
p_page_is_public_y_n=> 'N',
|
||||
p_protection_level=> 'C',
|
||||
p_page_comment => '');
|
||||
@@ -8559,7 +8560,7 @@ wwv_flow_api.create_page_validation(
|
||||
p_flow_step_id => 19,
|
||||
p_validation_name => 'Base code must not be null',
|
||||
p_validation_sequence=> 160,
|
||||
p_validation => 'if :P19_COST_TYPE = ''BACO'' and :P19_BASE_CODE is null then'||chr(10)||
|
||||
p_validation => 'if :P19_COST_TYPE = ''BACO'' and :P19_BAS_CODE is null then'||chr(10)||
|
||||
' return ''Base Name must have some value.'';'||chr(10)||
|
||||
'end if;',
|
||||
p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT',
|
||||
|
||||
Reference in New Issue
Block a user