More changes to the Enquiry screen (page 32):

Altered MPRN and MPRN_ALT so that they display if the ENTY_CODE is null as these fields are available for all job types and it's one of the first fields you come across when entering data into the form.  Also altered AMR field so that if the ENTY_CODE is null then the AMR is not displayed, otherwise it would appear for the user even if they were not a Tripartite member. 

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@5415 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-06-23 15:28:32 +00:00
parent c8df34d5a2
commit 1e11213b27

View File

@@ -13,7 +13,7 @@ prompt APPLICATION 155 - webmip
-- Application Export:
-- Application: 155
-- Name: webmip
-- Date and Time: 15:57 Monday June 23, 2008
-- Date and Time: 16:27 Monday June 23, 2008
-- Exported By: PRIESTJ
-- Flashback: 0
-- 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_error_template => 85292499999520701 + wwv_flow_api.g_id_offset,
p_page_protection_enabled_y_n=> 'N',
p_checksum_salt_last_reset => '20080623155226',
p_checksum_salt_last_reset => '20080623162640',
p_home_link => 'f?p=&APP_ID.:101',
p_flow_language => 'en-gb',
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_value_04 => 'http://www.nationalgrid.com/corporate/legal/help.htm',
p_last_updated_by => 'PRIESTJ',
p_last_upd_yyyymmddhh24miss=> '20080623155226',
p_last_upd_yyyymmddhh24miss=> '20080623162640',
p_required_roles=> wwv_flow_utilities.string_to_table2(''));
@@ -2940,6 +2940,42 @@ wwv_flow_api.create_app_comments (
p_app_version=>'');
end;
/
begin
wwv_flow_api.create_app_comments (
p_id=>11152305312524343 + wwv_flow_api.g_id_offset,
p_flow_id=>wwv_flow.g_flow_id,
p_pages=>'32',
p_app_comment=>'Altered Screen so that the duplicate Access Password (Access Password2) has been removed also Switched back on validation processes as follows:'||chr(10)||
''||chr(10)||
' * EXISTING METER ASSET PROVIDER'||chr(10)||
' * Agent Contact Mech Val limit 240'||chr(10)||
' * Meter Asset Provider Limit to 210'||chr(10)||
' * Job Description Limit to 500 Chars'||chr(10)||
' * IP Details Limit to 250'||chr(10)||
''||chr(10)||
'Also move all validations that test the limit of characters to the top of the process order so that they are run before our call to AH''s validation check, this way it prevents the system from raising an error if we pass a sting that is too big for AH''s validation procedure. They now all start in from sequence 455 onwards.'||chr(10)||
''||chr(10)||
'Also worth mentioning that the Menu list has also been repaired it now includes the Edit Enquiry and Create Enquiry menu options again.',
p_updated_on=>'2008.06.23.16:04:43',
p_updated_by=>'PRIESTJ',
p_created_on=>'2008.06.23.16:04:43',
p_created_by=>'PRIESTJ',
p_app_version=>'');
end;
/
begin
wwv_flow_api.create_app_comments (
p_id=>11155407147657278 + wwv_flow_api.g_id_offset,
p_flow_id=>wwv_flow.g_flow_id,
p_pages=>'32',
p_app_comment=>'Altered MPRN and MPRN_ALT so that they display if the ENTY_CODE is null as these fields are available for all job types and it''s one of the first fields you come across when entering data into the form. Also altered AMR field so that if the ENTY_CODE is null then the AMR is not displayed, otherwise it would appear for the user even if they were not a Tripartite member. ',
p_updated_on=>'2008.06.23.16:26:40',
p_updated_by=>'PRIESTJ',
p_created_on=>'2008.06.23.16:26:40',
p_created_by=>'PRIESTJ',
p_app_version=>'');
end;
/
--application/pages/page_00000
prompt ...PAGE 0: system
@@ -11441,7 +11477,7 @@ wwv_flow_api.create_page(
p_required_role => 59152281045285598+ 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 => '20080623155226',
p_last_upd_yyyymmddhh24miss => '20080623162135',
p_page_is_public_y_n=> 'N',
p_protection_level=> 'C',
p_page_comment => '');
@@ -13402,7 +13438,7 @@ wwv_flow_api.create_page_item(
' l_tripartite_region BOOLEAN;'||chr(10)||
' l_regi_code regions.code%TYPE;'||chr(10)||
'BEGIN'||chr(10)||
' IF mip_enquiries_helper.label_condition(:P32_ENTY_CODE, ''AMR_REQUIRED'') = ''H'' THEN'||chr(10)||
' IF mip_enquiries_helper.label_condition(:P32_ENTY_CODE, ''AMR_REQUIRED'') = ''H'' or :P32_ENTY_CODE is null THEN'||chr(10)||
' RETURN FALSE; -- Not valid for this enquiry type'||chr(10)||
' ELSIF (mip_parties.is_tripartite(:p32_mktp_ref) OR'||chr(10)||
' mip_parties.is_tripartite(:p32_mktp_ref2)) THEN'||chr(10)||
@@ -15450,7 +15486,7 @@ wwv_flow_api.create_page_item(
p_label_alignment => 'RIGHT',
p_field_alignment => 'LEFT',
p_display_when=>'return ('||chr(10)||
'mip_enquiries_helper.label_condition(:P32_ENTY_CODE, ''MPRN'') <> ''H'''||chr(10)||
'mip_enquiries_helper.label_condition(:P32_ENTY_CODE, ''MPRN'') <> ''H'' or :P32_ENTY_CODE is null'||chr(10)||
');',
p_display_when2=>'H',
p_display_when_type=>'FUNCTION_BODY',
@@ -15506,7 +15542,7 @@ wwv_flow_api.create_page_item(
p_label_alignment => 'RIGHT',
p_field_alignment => 'LEFT',
p_display_when=>'return ('||chr(10)||
'mip_enquiries_helper.label_condition(:P32_ENTY_CODE, ''MPRN_ALT'') <> ''H'''||chr(10)||
'mip_enquiries_helper.label_condition(:P32_ENTY_CODE, ''MPRN_ALT'') <> ''H'' or :P32_ENTY_CODE is null'||chr(10)||
');',
p_display_when2=>'H',
p_display_when_type=>'FUNCTION_BODY',