Altered pagination on Search enquiries screen for ticket #391

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4034 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-03-17 17:18:14 +00:00
parent a112354aed
commit 7da676dbd9

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: 17:12 Monday March 17, 2008 -- Date and Time: 17:17 Monday March 17, 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=> 28038130488354430 + wwv_flow_api.g_id_offset, p_default_region_template=> 28038130488354430 + wwv_flow_api.g_id_offset,
p_error_template => 42209241448421762 + wwv_flow_api.g_id_offset, p_error_template => 42209241448421762 + 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 => '20080317171218', p_checksum_salt_last_reset => '20080317171729',
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',
@@ -190,7 +190,7 @@ wwv_flow_api.create_flow(
p_substitution_string_02 => 'T_AND_C_URL', p_substitution_string_02 => 'T_AND_C_URL',
p_substitution_value_02 => 'http://www.nationalgrid.com/uk/metering/mip/tc.htm', p_substitution_value_02 => 'http://www.nationalgrid.com/uk/metering/mip/tc.htm',
p_last_updated_by => 'PRIESTJ', p_last_updated_by => 'PRIESTJ',
p_last_upd_yyyymmddhh24miss=> '20080317171218', p_last_upd_yyyymmddhh24miss=> '20080317171729',
p_required_roles=> wwv_flow_utilities.string_to_table2('')); p_required_roles=> wwv_flow_utilities.string_to_table2(''));
@@ -9617,7 +9617,7 @@ wwv_flow_api.create_page(
p_step_template => '', p_step_template => '',
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 => '20080317171114', p_last_upd_yyyymmddhh24miss => '20080317171622',
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 => '');
@@ -9735,7 +9735,7 @@ wwv_flow_api.create_report_region (
p_query_show_nulls_as=> ' - ', p_query_show_nulls_as=> ' - ',
p_query_break_cols=> '0', p_query_break_cols=> '0',
p_query_no_data_found=> 'No enquiries matching the search criteria found.', p_query_no_data_found=> 'No enquiries matching the search criteria found.',
p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST',
p_query_row_count_max=> '8000', p_query_row_count_max=> '8000',
p_pagination_display_position=> 'BOTTOM_RIGHT', p_pagination_display_position=> 'BOTTOM_RIGHT',
p_csv_output=> 'N', p_csv_output=> 'N',
@@ -10088,7 +10088,7 @@ wwv_flow_api.create_report_region (
p_query_show_nulls_as=> ' - ', p_query_show_nulls_as=> ' - ',
p_query_break_cols=> '0', p_query_break_cols=> '0',
p_query_no_data_found=> 'no data found', p_query_no_data_found=> 'no data found',
p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST',
p_query_row_count_max=> '8000', p_query_row_count_max=> '8000',
p_pagination_display_position=> 'BOTTOM_RIGHT', p_pagination_display_position=> 'BOTTOM_RIGHT',
p_csv_output=> 'N', p_csv_output=> 'N',
@@ -11119,7 +11119,7 @@ wwv_flow_api.create_page(
p_required_role => 16097609166220701+ wwv_flow_api.g_id_offset, p_required_role => 16097609166220701+ 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 => 'HARDYA', p_last_updated_by => 'HARDYA',
p_last_upd_yyyymmddhh24miss => '20080317151557', p_last_upd_yyyymmddhh24miss => '20080317171630',
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 => '');
@@ -20251,12 +20251,13 @@ p:=p||'DECLARE'||chr(10)||
'BEGIN'||chr(10)|| 'BEGIN'||chr(10)||
''||chr(10)|| ''||chr(10)||
'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:entry'');'||chr(10)|| 'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:entry'');'||chr(10)||
''||chr(10)||
'IF :P32_L_AMR_REQUIRED = ''H'' THEN :P32_AMR_REQUIRED := NULL; END IF;'||chr(10)|| 'IF :P32_L_AMR_REQUIRED = ''H'' THEN :P32_AMR_REQUIRED := NULL; END IF;'||chr(10)||
'IF :P32_L_ANNUAL_REQUIRED = ''H'' THEN :P32_ANNUAL_REQUIRED := NULL; END IF;'||chr(10)|| 'IF :P32_L_ANNUAL_REQUIRED = ''H'' THEN :P32_ANNUAL_REQUIRED := NULL; END IF;'||chr(10)||
'IF :P32_L_BASE_REQUIRED = ''H'' THEN :P32_BASE_REQUIRED := NULL; END IF;'||chr(10)|| 'IF :P32_L_BASE_REQUIRED = ''H'' THEN :P32_BASE_REQUIRED := NULL; END IF;'||chr(10)||
'IF :P32_L_BYPASS_REQUIRED = ''H'' THEN :P32_BYPASS_REQU'; 'IF :P32_L_BYPASS_REQUIRED = ''H'' THEN :P32_BYPASS_RE';
p:=p||'IRED := NULL; END IF;'||chr(10)|| p:=p||'QUIRED := NULL; END IF;'||chr(10)||
'IF :P32_L_CONVERTOR_REQUIRED = ''H'' THEN :P32_CONVERTOR_REQUIRED := NULL; END IF;'||chr(10)|| 'IF :P32_L_CONVERTOR_REQUIRED = ''H'' THEN :P32_CONVERTOR_REQUIRED := NULL; END IF;'||chr(10)||
'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:1'');'||chr(10)|| 'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:1'');'||chr(10)||
'IF :P32_L_DS_BOOSTER_OR_COMPRESS = ''H'' THEN '||chr(10)|| 'IF :P32_L_DS_BOOSTER_OR_COMPRESS = ''H'' THEN '||chr(10)||
@@ -20264,32 +20265,32 @@ p:=p||'IRED := NULL; END IF;'||chr(10)||
':P32_DS_BOOSTER_OR_COMPRESS := NULL;'||chr(10)|| ':P32_DS_BOOSTER_OR_COMPRESS := NULL;'||chr(10)||
'END IF;'||chr(10)|| 'END IF;'||chr(10)||
'IF :P32_L_EMS_REQUIRED = ''H'' THEN :P32_EMS_REQUIRED := NULL; END IF;'||chr(10)|| 'IF :P32_L_EMS_REQUIRED = ''H'' THEN :P32_EMS_REQUIRED := NULL; END IF;'||chr(10)||
'IF :P32_L_EXI'; 'IF :P32_L_E';
p:=p||'STING_CONVERTOR = ''H'' THEN :P32_EXISTING_CONVERTOR := NULL; END IF;'||chr(10)|| p:=p||'XISTING_CONVERTOR = ''H'' THEN :P32_EXISTING_CONVERTOR := NULL; END IF;'||chr(10)||
'IF :P32_L_EXISTING_LOGGER = ''H'' THEN :P32_EXISTING_LOGGER := NULL; END IF;'||chr(10)|| 'IF :P32_L_EXISTING_LOGGER = ''H'' THEN :P32_EXISTING_LOGGER := NULL; END IF;'||chr(10)||
'IF :P32_L_MESC_CODE = ''H'' THEN :P32_MESC_CODE := NULL; END IF;'||chr(10)|| 'IF :P32_L_MESC_CODE = ''H'' THEN :P32_MESC_CODE := NULL; END IF;'||chr(10)||
'IF :P32_L_METER_OWNER = ''H'' THEN :P32_METER_OWNER := NULL; END IF;'||chr(10)|| 'IF :P32_L_METER_OWNER = ''H'' THEN :P32_METER_OWNER := NULL; END IF;'||chr(10)||
'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:2'');'||chr(10)|| 'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:2'');'||chr(10)||
'IF :P32_L_HOUSING_REQUIRED = ''H'' THEN :P32_HOUSING_REQUIRED := N'; 'IF :P32_L_HOUSING_REQUIRED = ''H'' THEN :P32_HOUSING_REQUIRED :=';
p:=p||'ULL; END IF;'||chr(10)|| p:=p||' NULL; END IF;'||chr(10)||
'IF :P32_L_LOAD_CONTROL_TYPE = ''H'' THEN :P32_LOAD_CONTROL_TYPE := NULL; END IF;'||chr(10)|| 'IF :P32_L_LOAD_CONTROL_TYPE = ''H'' THEN :P32_LOAD_CONTROL_TYPE := NULL; END IF;'||chr(10)||
'IF :P32_L_MPRN = ''H'' THEN :P32_MPRN := NULL; END IF;'||chr(10)|| 'IF :P32_L_MPRN = ''H'' THEN :P32_MPRN := NULL; END IF;'||chr(10)||
'IF :P32_L_MPRN_ALT = ''H'' THEN :P32_MPRN_ALT := NULL; END IF;'||chr(10)|| 'IF :P32_L_MPRN_ALT = ''H'' THEN :P32_MPRN_ALT := NULL; END IF;'||chr(10)||
'IF :P32_L_QMAX = ''H'' THEN :P32_QMAX := NULL; END IF;'||chr(10)|| 'IF :P32_L_QMAX = ''H'' THEN :P32_QMAX := NULL; END IF;'||chr(10)||
'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:3'');'||chr(10)|| 'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetMeterSizes:3'');'||chr(10)||
'IF :P32_L_REQUIRED_IP_DETAILS = ''H'' THEN :P32_REQUIRED_IP_DETAILS := NULL; EN'; 'IF :P32_L_REQUIRED_IP_DETAILS = ''H'' THEN :P32_REQUIRED_IP_DETAILS := NULL; ';
p:=p||'D IF;'||chr(10)|| p:=p||'END IF;'||chr(10)||
'IF :P32_L_REQUIRED_IP_MBAR = ''H'' THEN :P32_REQUIRED_IP_MBAR := NULL; END IF;'||chr(10)|| 'IF :P32_L_REQUIRED_IP_MBAR = ''H'' THEN :P32_REQUIRED_IP_MBAR := NULL; END IF;'||chr(10)||
'IF v(''P32_L_REQUIRED_METERING_PRESSURE'') = ''H'' THEN :P32_REQUIRED_METERING_PRESSURE := NULL; END IF;'||chr(10)|| 'IF v(''P32_L_REQUIRED_METERING_PRESSURE'') = ''H'' THEN :P32_REQUIRED_METERING_PRESSURE := NULL; END IF;'||chr(10)||
'IF :P32_L_REQUIRED_SVCP_CODE = ''H'' THEN :P32_REQUIRED_SVCP_CODE := NULL; END IF;'||chr(10)|| 'IF :P32_L_REQUIRED_SVCP_CODE = ''H'' THEN :P32_REQUIRED_SVCP_CODE := NULL; END IF;'||chr(10)||
'IF :P32_L_TWIN_STREAM_REQUIRED = ''H'' THEN :P32_TWIN_STREAM_REQUIRED := NULL; END IF;'||chr(10)|| 'IF :P32_L_TWIN_STREAM_REQUIRED = ''H'' THEN :P32_TWIN_STREAM_REQUIRED := NULL; END IF;'||chr(10)||
''||chr(10)|| ''||chr(10)||
'mip_debug.pl(''ResetMeterSizes'', ''P32:ResetM'; 'mip_debug.pl(''ResetMeterSizes'', ''P32:Rese';
p:=p||'eterSizes:4'');'||chr(10)|| p:=p||'tMeterSizes:4'');'||chr(10)||
''||chr(10)|| ''||chr(10)||
'l_rec_meter_reqs := mip_enquiry.calc_meter_reqs('||chr(10)|| 'l_rec_meter_reqs := mip_enquiry.calc_meter_reqs('||chr(10)||
'p_enty_code => :P32_ENTY_CODE'||chr(10)|| 'p_enty_code => :P32_ENTY_CODE'||chr(10)||
@@ -20299,9 +20300,9 @@ p:=p||'eterSizes:4'');'||chr(10)||
',p_existing_mety_code => :P32_EXISTING_METY_CODE'||chr(10)|| ',p_existing_mety_code => :P32_EXISTING_METY_CODE'||chr(10)||
',p_existing_prty_id => :P32_EXISTING_PRTY_ID'||chr(10)|| ',p_existing_prty_id => :P32_EXISTING_PRTY_ID'||chr(10)||
',p_qmax => :P32_QMAX);'||chr(10)|| ',p_qmax => :P32_QMAX);'||chr(10)||
'mip_debug.pl(''ResetMeterSize'; 'mip_debug.pl(''ResetMeterSi';
p:=p||'s'', ''P32:ResetMeterSizes:5'');'||chr(10)|| p:=p||'zes'', ''P32:ResetMeterSizes:5'');'||chr(10)||
''||chr(10)|| ''||chr(10)||
':P32_EXISTING_MESC_CODE := l_rec_meter_reqs.existing_mesc_code;'||chr(10)|| ':P32_EXISTING_MESC_CODE := l_rec_meter_reqs.existing_mesc_code;'||chr(10)||
':P32_METER_SIZE := l_rec_meter_reqs.required_mesc_code;'||chr(10)|| ':P32_METER_SIZE := l_rec_meter_reqs.required_mesc_code;'||chr(10)||
@@ -20310,9 +20311,9 @@ p:=p||'s'', ''P32:ResetMeterSizes:5'');'||chr(10)||
':P32_EXISTING_PRTY_ID := l_rec_meter_reqs.existing_prty_id;'||chr(10)|| ':P32_EXISTING_PRTY_ID := l_rec_meter_reqs.existing_prty_id;'||chr(10)||
':P32_QMAX := l_rec_meter_reqs.qmax;'||chr(10)|| ':P32_QMAX := l_rec_meter_reqs.qmax;'||chr(10)||
''||chr(10)|| ''||chr(10)||
'mip_debug.pl('; 'mip_debug.p';
p:=p||'''ResetMeterSizes'', ''P32:ResetMeterSizes:exit'');'||chr(10)|| p:=p||'l(''ResetMeterSizes'', ''P32:ResetMeterSizes:exit'');'||chr(10)||
''||chr(10)|| ''||chr(10)||
''||chr(10)|| ''||chr(10)||
'END;'; 'END;';