Fix for #509, altered "Second contact details" Save button condition so that it is the same as the one in the "Contact details" region

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@5492 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-06-27 17:02:32 +00:00
parent dbb94fffbd
commit c9fea81ea4

View File

@@ -13,7 +13,7 @@ prompt APPLICATION 155 - webmip
-- Application Export: -- Application Export:
-- Application: 155 -- Application: 155
-- Name: webmip -- Name: webmip
-- Date and Time: 16:27 Monday June 23, 2008 -- Date and Time: 17:58 Friday June 27, 2008
-- Exported By: PRIESTJ -- Exported By: PRIESTJ
-- Flashback: 0 -- Flashback: 0
-- Export Type: Application Export -- Export Type: Application Export
@@ -145,7 +145,7 @@ wwv_flow_api.create_flow(
p_default_region_template=> 71121389039453369 + wwv_flow_api.g_id_offset, p_default_region_template=> 71121389039453369 + wwv_flow_api.g_id_offset,
p_error_template => 85292499999520701 + wwv_flow_api.g_id_offset, p_error_template => 85292499999520701 + wwv_flow_api.g_id_offset,
p_page_protection_enabled_y_n=> 'N', p_page_protection_enabled_y_n=> 'N',
p_checksum_salt_last_reset => '20080623162640', p_checksum_salt_last_reset => '20080627175727',
p_home_link => 'f?p=&APP_ID.:101', p_home_link => 'f?p=&APP_ID.:101',
p_flow_language => 'en-gb', p_flow_language => 'en-gb',
p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE', p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE',
@@ -194,7 +194,7 @@ wwv_flow_api.create_flow(
p_substitution_string_04 => 'HELP_URL', p_substitution_string_04 => 'HELP_URL',
p_substitution_value_04 => 'http://www.nationalgrid.com/corporate/legal/help.htm', p_substitution_value_04 => 'http://www.nationalgrid.com/corporate/legal/help.htm',
p_last_updated_by => 'PRIESTJ', p_last_updated_by => 'PRIESTJ',
p_last_upd_yyyymmddhh24miss=> '20080623162640', p_last_upd_yyyymmddhh24miss=> '20080627175727',
p_required_roles=> wwv_flow_utilities.string_to_table2('')); p_required_roles=> wwv_flow_utilities.string_to_table2(''));
@@ -11477,7 +11477,7 @@ wwv_flow_api.create_page(
p_required_role => 59152281045285598+ wwv_flow_api.g_id_offset, p_required_role => 59152281045285598+ wwv_flow_api.g_id_offset,
p_required_patch=> null + wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset,
p_last_updated_by => 'PRIESTJ', p_last_updated_by => 'PRIESTJ',
p_last_upd_yyyymmddhh24miss => '20080623162135', p_last_upd_yyyymmddhh24miss => '20080627175727',
p_page_is_public_y_n=> 'N', p_page_is_public_y_n=> 'N',
p_protection_level=> 'C', p_protection_level=> 'C',
p_page_comment => ''); p_page_comment => '');
@@ -12082,7 +12082,7 @@ wwv_flow_api.create_page_button(
p_button_image_alt=> 'Save', p_button_image_alt=> 'Save',
p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_position=> 'REGION_TEMPLATE_PREVIOUS',
p_button_alignment=> 'RIGHT', p_button_alignment=> 'RIGHT',
p_button_condition=> ':P32_ID is not null and #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'')', p_button_condition=> ':P32_ID is not null and #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'') and #OWNER#.mip_enquiry.get_enquiry_status(:P32_ID) = ''INP''',
p_button_condition_type=> 'PLSQL_EXPRESSION', p_button_condition_type=> 'PLSQL_EXPRESSION',
p_button_cattributes=>'class="update"', p_button_cattributes=>'class="update"',
p_database_action=>'UPDATE', p_database_action=>'UPDATE',