From b60557ab63dc897904fdfb1c9880334d6fd851bb Mon Sep 17 00:00:00 2001 From: PriestJ Date: Mon, 28 Jan 2008 17:54:24 +0000 Subject: [PATCH] Completed validations for the enquiry form. Altered the menu system so the login and change password screens do not hug the left of the window, added login menu item, added code to hide/display login and logout menu items dependant on whether the user is logged in or not git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3405 248e525c-4dfb-0310-94bc-949c084e9493 --- Screens/f155.sql | 779 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 709 insertions(+), 70 deletions(-) diff --git a/Screens/f155.sql b/Screens/f155.sql index 1851fff..0bdd78e 100644 --- a/Screens/f155.sql +++ b/Screens/f155.sql @@ -13,7 +13,7 @@ prompt APPLICATION 155 - webmip -- Application Export: -- Application: 155 -- Name: webmip --- Date and Time: 18:34 Friday January 25, 2008 +-- Date and Time: 17:50 Monday January 28, 2008 -- Exported By: PRIESTJ -- Flashback: 0 -- Export Type: Application Export @@ -25,12 +25,12 @@ prompt APPLICATION 155 - webmip -- Using SQL*Plus as the Oracle user FLOWS_030000 or as the owner (parsing schema) of the application. -- Application Statistics: --- Pages: 51 --- Items: 336 +-- Pages: 52 +-- Items: 339 -- Computations: 1 --- Validations: 187 +-- Validations: 191 -- Processes: 84 --- Regions: 73 +-- Regions: 74 -- Buttons: 114 -- Shared Components -- Breadcrumbs: 1 @@ -145,7 +145,7 @@ wwv_flow_api.create_flow( p_default_region_template=> 24740611526526770 + wwv_flow_api.g_id_offset, p_error_template => 24734616867526758 + wwv_flow_api.g_id_offset, p_page_protection_enabled_y_n=> 'N', - p_checksum_salt_last_reset => '20080125183433', + p_checksum_salt_last_reset => '20080128175034', p_home_link => 'f?p=&APP_ID.:1', p_box_width => '98%', p_flow_language => 'en-gb', @@ -185,7 +185,7 @@ wwv_flow_api.create_flow( p_default_menur_template => 24737010408526765 + wwv_flow_api.g_id_offset, p_default_listr_template => 24740611526526770 + wwv_flow_api.g_id_offset, p_last_updated_by => 'PRIESTJ', - p_last_upd_yyyymmddhh24miss=> '20080125183433', + p_last_upd_yyyymmddhh24miss=> '20080128175034', p_required_roles=> wwv_flow_utilities.string_to_table2('')); @@ -1676,6 +1676,43 @@ null; end; / +--application/shared_components/user_interface/lov/quote_status + +begin + +wwv_flow_api.create_list_of_values ( + p_id => 30049007843307297 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_lov_name => 'QUOTE_STATUS', + p_lov_query=> 'select qust.description AS display_value, qust.code AS return_value'||chr(10)|| +'from quote_statuses qust'||chr(10)|| +'where qust.code <> ''LAPSED'''||chr(10)|| +'order by 1'); + +null; + +end; +/ + +--application/shared_components/user_interface/lov/quote_type + +begin + +wwv_flow_api.create_list_of_values ( + p_id => 29832218674616748 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_lov_name => 'QUOTE_TYPE', + p_lov_query=> 'SELECT DISTINCT decode(qute.qute_type, ''AQ'', ''Automatic Quotes'','||chr(10)|| +' ''MQ'', ''Manual Quotes'') AS display_value,'||chr(10)|| +' qute.qute_type return_value '||chr(10)|| +'FROM quotes qute'||chr(10)|| +'ORDER BY display_value'); + +null; + +end; +/ + --application/shared_components/user_interface/lov/regions begin @@ -1992,8 +2029,8 @@ wwv_flow_api.create_page( p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, - p_last_updated_by => 'MULLENM', - p_last_upd_yyyymmddhh24miss => '20071204164505', + p_last_updated_by => 'PRIESTJ', + p_last_upd_yyyymmddhh24miss => '20080128114455', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); @@ -2029,7 +2066,6 @@ wwv_flow_api.create_page_plug ( p_plug_query_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => 'CURRENT_PAGE_NOT_IN_CONDITION', - p_plug_display_when_condition => '101, 103', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', @@ -2109,35 +2145,6 @@ end; end; / -declare - s varchar2(32767) := null; - l_clob clob; - l_length number := 1; -begin -s := null; -wwv_flow_api.create_page_plug ( - p_id=> 11078029503541539 + wwv_flow_api.g_id_offset, - p_flow_id=> wwv_flow.g_flow_id, - p_page_id=> 1, - p_plug_name=> 'Breadcrumbs', - p_region_name=>'', - p_plug_template=> 24737010408526765+ wwv_flow_api.g_id_offset, - p_plug_display_sequence=> 1, - p_plug_display_column=> 1, - p_plug_display_point=> 'REGION_POSITION_01', - p_plug_source=> s, - p_plug_source_type=> 'M'|| to_char(11077629635541529 + wwv_flow_api.g_id_offset), - p_menu_template_id=> 24750232156526795+ wwv_flow_api.g_id_offset, - p_plug_display_error_message=> 'Unable to show breadcrumb.', - p_plug_query_row_template=> 1, - p_plug_query_headings_type=> 'COLON_DELMITED_LIST', - p_plug_query_row_count_max => 500, - p_plug_display_condition_type => '', - p_plug_caching=> 'NOT_CACHED', - p_required_patch=> '' + wwv_flow_api.g_id_offset, - p_plug_comment=> ''); -end; -/ declare s varchar2(32767) := null; l_clob clob; @@ -7258,6 +7265,452 @@ end; / +--application/pages/page_00014 +prompt ...PAGE 14: Quotes Reports +-- + +begin + +declare + h varchar2(32767) := null; + ph varchar2(32767) := null; +begin +h := null; +ph := null; +wwv_flow_api.create_page( + p_id => 14, + p_flow_id=> wwv_flow.g_flow_id, + p_tab_set=> '', + p_name => 'Quotes Reports', + p_step_title=> 'Quotes Reports', + p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', + p_first_item=> 'NO_FIRST_ITEM', + p_help_text => '', + p_html_page_header => '', + p_step_template => '', + p_required_patch=> null + wwv_flow_api.g_id_offset, + p_last_updated_by => 'DHARSHANIK', + p_last_upd_yyyymmddhh24miss => '20080128160345', + p_page_comment => ''); + +end; + +end; +/ + +declare + s varchar2(32767) := null; + l_clob clob; + l_length number := 1; +begin +s := null; +wwv_flow_api.create_page_plug ( + p_id=> 29830416072578069 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_page_id=> 14, + p_plug_name=> 'Search Quotes', + p_region_name=>'', + p_plug_template=> 24740611526526770+ wwv_flow_api.g_id_offset, + p_plug_display_sequence=> 10, + p_plug_display_column=> 1, + p_plug_display_point=> 'AFTER_SHOW_ITEMS', + p_plug_source=> s, + p_plug_source_type=> 'STATIC_TEXT', + p_plug_display_error_message=> '#SQLERRM#', + p_plug_query_row_template=> 1, + p_plug_query_headings_type=> 'QUERY_COLUMNS', + p_plug_query_num_rows_type => 'NEXT_PREVIOUS_LINKS', + p_plug_query_row_count_max => 500, + p_plug_query_show_nulls_as => ' - ', + p_plug_display_condition_type => '', + p_pagination_display_position=>'BOTTOM_RIGHT', + p_plug_caching=> 'NOT_CACHED', + p_required_patch=> '' + wwv_flow_api.g_id_offset, + p_plug_comment=> ''); +end; +/ +declare + s varchar2(32767) := null; + l_clob clob; + l_length number := 1; +begin +s:=s||'SELECT qute.id AS "Quote Reference Number"'||chr(10)|| +' ,prty_supplier.name AS "Supplier Name"'||chr(10)|| +' ,prty_agent.first_name||'' ''||prty_agent.last_name AS "Agent Name"'||chr(10)|| +' ,vcqs.event_date AS "Date quote accepted"'||chr(10)|| +' ,decode(qute.qute_type, ''AQ'', ''Automatic Quotes'','||chr(10)|| +' ''MQ'', ''Manual Quotes'') AS "Quote Type"'||chr(10)|| +' ,vcqs.qust_code AS "Quote Stauts"'||chr(10)|| +' '||chr(10)|| +'FROM quote'; + +s:=s||'s qute'||chr(10)|| +' ,v_current_quote_status vcqs'||chr(10)|| +' ,quote_roles quro'||chr(10)|| +' ,enquiry_roles enro'||chr(10)|| +' ,parties prty_supplier'||chr(10)|| +' ,parties prty_agent'||chr(10)|| +' ,role_types roty_supplier'||chr(10)|| +' ,role_types roty_agent'||chr(10)|| +'WHERE qute.id = quro.qute_id'||chr(10)|| +'AND qute.id = vcqs.qute_id'||chr(10)|| +'AND qute.enqu_id = enro.enqu_id'||chr(10)|| +'AND quro.prty_id = prty_agent.id'||chr(10)|| +'AND enro.prty_id = prty_supplier.id'||chr(10)|| +'AND enro.rt_code = roty_supplier.cod'; + +s:=s||'e'||chr(10)|| +'AND quro.rt_code = roty_agent.code'||chr(10)|| +'AND enro.rt_code = ''ENQ SUPP'''||chr(10)|| +'AND qute.qute_type = decode(:P14_QUTE_TYPE,''%'', qute.qute_type, :P14_QUTE_TYPE)'||chr(10)|| +'ORDER BY quro.start_date ASC'; + +wwv_flow_api.create_report_region ( + p_id=> 29838414799785978 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_page_id=> 14, + p_name=> 'All Quotes', + p_region_name=>'', + p_template=> 24740611526526770+ wwv_flow_api.g_id_offset, + p_display_sequence=> 20, + p_display_column=> 1, + p_display_point=> 'AFTER_SHOW_ITEMS', + p_source=> s, + p_source_type=> 'SQL_QUERY', + p_display_error_message=> '#SQLERRM#', + p_customized=> '0', + p_translate_title=> 'Y', + p_query_row_template=> 24743617611526775+ wwv_flow_api.g_id_offset, + p_query_headings_type=> 'QUERY_COLUMNS', + p_query_num_rows=> '15', + p_query_options=> 'DERIVED_REPORT_COLUMNS', + p_query_show_nulls_as=> ' - ', + p_query_break_cols=> '0', + p_query_no_data_found=> 'no data found', + p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', + p_pagination_display_position=> 'BOTTOM_RIGHT', + p_csv_output=> 'N', + p_sort_null=> 'F', + p_query_asc_image=> 'arrow_down_gray_dark.gif', + p_query_asc_image_attr=> 'width="13" height="12" alt=""', + p_query_desc_image=> 'arrow_up_gray_dark.gif', + p_query_desc_image_attr=> 'width="13" height="12" alt=""', + p_plug_query_strip_html=> 'Y', + p_comment=>''); +end; +/ +declare + s varchar2(32767) := null; +begin +s := null; +wwv_flow_api.create_report_columns ( + p_id=> 29838715716785998 + wwv_flow_api.g_id_offset, + p_region_id=> 29838414799785978 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_query_column_id=> 1, + p_form_element_id=> null, + p_column_alias=> 'Quote Reference Number', + p_column_display_sequence=> 1, + p_column_heading=> 'Quote Reference Number', + p_column_alignment=>'LEFT', + p_default_sort_column_sequence=>0, + p_disable_sort_column=>'Y', + p_sum_column=> 'N', + p_hidden_column=> 'N', + p_display_as=>'WITHOUT_MODIFICATION', + p_pk_col_source=> s, + p_column_comment=>''); +end; +/ +declare + s varchar2(32767) := null; +begin +s := null; +wwv_flow_api.create_report_columns ( + p_id=> 29838802448786000 + wwv_flow_api.g_id_offset, + p_region_id=> 29838414799785978 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_query_column_id=> 2, + p_form_element_id=> null, + p_column_alias=> 'Supplier Name', + p_column_display_sequence=> 2, + p_column_heading=> 'Supplier Name', + p_column_alignment=>'LEFT', + p_default_sort_column_sequence=>0, + p_disable_sort_column=>'Y', + p_sum_column=> 'N', + p_hidden_column=> 'N', + p_display_as=>'WITHOUT_MODIFICATION', + p_pk_col_source=> s, + p_column_comment=>''); +end; +/ +declare + s varchar2(32767) := null; +begin +s := null; +wwv_flow_api.create_report_columns ( + p_id=> 29838924466786000 + wwv_flow_api.g_id_offset, + p_region_id=> 29838414799785978 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_query_column_id=> 3, + p_form_element_id=> null, + p_column_alias=> 'Agent Name', + p_column_display_sequence=> 3, + p_column_heading=> 'Agent Name', + p_column_alignment=>'LEFT', + p_default_sort_column_sequence=>0, + p_disable_sort_column=>'Y', + p_sum_column=> 'N', + p_hidden_column=> 'N', + p_display_as=>'WITHOUT_MODIFICATION', + p_pk_col_source=> s, + p_column_comment=>''); +end; +/ +declare + s varchar2(32767) := null; +begin +s := null; +wwv_flow_api.create_report_columns ( + p_id=> 29839006587786000 + wwv_flow_api.g_id_offset, + p_region_id=> 29838414799785978 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_query_column_id=> 4, + p_form_element_id=> null, + p_column_alias=> 'Date quote accepted', + p_column_display_sequence=> 4, + p_column_heading=> 'Date Quote Accepted', + p_column_alignment=>'LEFT', + p_default_sort_column_sequence=>0, + p_disable_sort_column=>'Y', + p_sum_column=> 'N', + p_hidden_column=> 'N', + p_display_as=>'WITHOUT_MODIFICATION', + p_pk_col_source=> s, + p_column_comment=>''); +end; +/ +declare + s varchar2(32767) := null; +begin +s := null; +wwv_flow_api.create_report_columns ( + p_id=> 29839119633786000 + wwv_flow_api.g_id_offset, + p_region_id=> 29838414799785978 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_query_column_id=> 5, + p_form_element_id=> null, + p_column_alias=> 'Quote Type', + p_column_display_sequence=> 5, + p_column_heading=> 'Quote Type', + p_column_alignment=>'LEFT', + p_default_sort_column_sequence=>0, + p_disable_sort_column=>'Y', + p_sum_column=> 'N', + p_hidden_column=> 'N', + p_display_as=>'WITHOUT_MODIFICATION', + p_pk_col_source=> s, + p_column_comment=>''); +end; +/ +declare + s varchar2(32767) := null; +begin +s := null; +wwv_flow_api.create_report_columns ( + p_id=> 30053431092342452 + wwv_flow_api.g_id_offset, + p_region_id=> 29838414799785978 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_query_column_id=> 6, + p_form_element_id=> null, + p_column_alias=> 'Quote Stauts', + p_column_display_sequence=> 6, + p_column_heading=> 'Quote Stauts', + p_column_alignment=>'LEFT', + p_heading_alignment=>'CENTER', + p_disable_sort_column=>'Y', + p_sum_column=> 'N', + p_hidden_column=> 'N', + p_display_as=>'WITHOUT_MODIFICATION', + p_pk_col_source=> s, + p_column_comment=>''); +end; +/ + +begin + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_branch( + p_id=>29840730584794241 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_flow_step_id=> 14, + p_branch_action=> 'f?p=&FLOW_ID.:14:&SESSION.', + p_branch_point=> 'AFTER_PROCESSING', + p_branch_type=> 'REDIRECT_URL', + p_branch_sequence=> 99, + p_branch_comment=> ''); + + +end; +/ + +declare + h varchar2(32767) := null; +begin +wwv_flow_api.create_page_item( + p_id=>29837413975776258 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_flow_step_id=> 14, + p_name=>'P14_QUTE_TYPE', + p_data_type=> 'VARCHAR', + p_accept_processing=> 'REPLACE_EXISTING', + p_item_sequence=> 10, + p_item_plug_id => 29830416072578069+wwv_flow_api.g_id_offset, + p_use_cache_before_default=> 'YES', + p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', + p_prompt=>'Quote Type', + p_source_type=> 'STATIC', + p_display_as=> 'COMBOBOX', + p_named_lov=> 'QUOTE_TYPE', + p_lov => 'SELECT DISTINCT decode(qute.qute_type, ''AQ'', ''Automatic Quotes'','||chr(10)|| +' ''MQ'', ''Manual Quotes'') AS display_value,'||chr(10)|| +' qute.qute_type return_value '||chr(10)|| +'FROM quotes qute'||chr(10)|| +'ORDER BY display_value', + p_lov_columns=> 1, + p_lov_display_null=> 'YES', + p_lov_translated=> 'N', + p_lov_null_text=>'- All -', + p_lov_null_value=> '%', + p_cSize=> 30, + p_cMaxlength=> 2000, + p_cHeight=> 5, + p_cAttributes=> 'nowrap="nowrap"', + p_begin_on_new_line => 'YES', + p_begin_on_new_field=> 'YES', + p_colspan => 1, + p_rowspan => 1, + p_label_alignment => 'RIGHT', + p_field_alignment => 'LEFT', + p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_is_persistent=> 'Y', + p_lov_display_extra=>'NO', + p_protection_level => 'N', + p_item_comment => ''); + + +end; +/ + +declare + h varchar2(32767) := null; +begin +wwv_flow_api.create_page_item( + p_id=>30050812476318116 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_flow_step_id=> 14, + p_name=>'P14_SEARCH', + p_data_type=> 'VARCHAR', + p_accept_processing=> 'REPLACE_EXISTING', + p_item_sequence=> 10, + p_item_plug_id => 29830416072578069+wwv_flow_api.g_id_offset, + p_use_cache_before_default=> 'NO', + p_item_default => 'Go', + p_prompt=>'Search', + p_source=>'Go', + p_source_type=> 'STATIC', + p_display_as=> 'BUTTON', + p_lov_columns=> null, + p_lov_display_null=> 'NO', + p_lov_translated=> 'N', + p_cSize=> null, + p_cMaxlength=> 2000, + p_cHeight=> null, + p_begin_on_new_line => 'NO', + p_begin_on_new_field=> 'YES', + p_colspan => 1, + p_rowspan => 1, + p_label_alignment => 'RIGHT', + p_field_alignment => 'LEFT', + p_is_persistent=> 'N', + p_item_comment => ''); + + +end; +/ + +declare + h varchar2(32767) := null; +begin +wwv_flow_api.create_page_item( + p_id=>30052619533329611 + wwv_flow_api.g_id_offset, + p_flow_id=> wwv_flow.g_flow_id, + p_flow_step_id=> 14, + p_name=>'P14_QUTE_STATUS', + p_data_type=> 'VARCHAR', + p_accept_processing=> 'REPLACE_EXISTING', + p_item_sequence=> 20, + p_item_plug_id => 29830416072578069+wwv_flow_api.g_id_offset, + p_use_cache_before_default=> 'YES', + p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', + p_prompt=>'Quote Status', + p_source_type=> 'STATIC', + p_display_as=> 'COMBOBOX', + p_named_lov=> 'QUOTE_STATUS', + p_lov => 'select qust.description AS display_value, qust.code AS return_value'||chr(10)|| +'from quote_statuses qust'||chr(10)|| +'where qust.code <> ''LAPSED'''||chr(10)|| +'order by 1', + p_lov_columns=> 1, + p_lov_display_null=> 'YES', + p_lov_translated=> 'N', + p_lov_null_text=>'- All -', + p_lov_null_value=> '%', + p_cSize=> 30, + p_cMaxlength=> 2000, + p_cHeight=> 5, + p_cAttributes=> 'nowrap="nowrap"', + p_begin_on_new_line => 'YES', + p_begin_on_new_field=> 'YES', + p_colspan => 1, + p_rowspan => 1, + p_label_alignment => 'RIGHT', + p_field_alignment => 'LEFT', + p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_is_persistent=> 'Y', + p_lov_display_extra=>'NO', + p_protection_level => 'N', + p_item_comment => ''); + + +end; +/ + + +begin + +--------------------------------------- +-- ...updatable report columns for page 14 +-- + +begin + +null; +end; +null; + +end; +/ + + --application/pages/page_00015 prompt ...PAGE 15: partyaddresstime -- @@ -12868,7 +13321,7 @@ wwv_flow_api.create_page( p_required_role => 16097609166220701+ 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 => '20080125182554', + p_last_upd_yyyymmddhh24miss => '20080128172802', p_page_is_public_y_n=> 'N', p_protection_level=> 'C', p_page_comment => ''); @@ -15544,7 +15997,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -15593,7 +16046,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -15642,7 +16095,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -15669,6 +16122,7 @@ wwv_flow_api.create_page_item( p_prompt=>'Post Code', p_source=>'FIRST_ALT_POSTCODE', p_source_type=> 'DB_COLUMN', + p_source_post_computation => 'UPPER(:P32_FIRST_ALT_POSTCODE)', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', @@ -15691,7 +16145,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -15785,7 +16239,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -15832,7 +16286,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -15859,6 +16313,7 @@ wwv_flow_api.create_page_item( p_prompt=>'Post Code', p_source=>'SECOND_ALT_POSTCODE', p_source_type=> 'DB_COLUMN', + p_source_post_computation => 'UPPER(:P32_SECOND_ALT_POSTCODE)', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', @@ -15879,7 +16334,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -16455,7 +16910,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -17301,7 +17756,7 @@ wwv_flow_api.create_page_item( 'return false;'||chr(10)|| 'end if;', p_read_only_when_type=>'FUNCTION_BODY', - p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, + p_field_template => 24749318534526790+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', @@ -17448,13 +17903,101 @@ end; / +begin + +wwv_flow_api.create_page_validation( + p_id => 30033532122267016 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 32, + p_validation_name => 'REQUIRED_METERING_PRESSURE_a_number', + p_validation_sequence=> 100, + p_validation => 'P32_REQUIRED_METERING_PRESSURE', + p_validation2 => '^[[:digit:]]*[.]?[[:digit:]]{0,3}$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'number required 3 decimal places or less', + p_associated_item=> 26603910634798262 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> 'When checking for numeric values, typically PL/SQL will throw an exception, unfortunately this is not what we want as we get a nasty error when trying to run AH''s handy validation routine. So we set those fields that are dates or numbers to check if they are numbers if not then we display an error, we''ve set a condition on AH''s routine and others to only run if there are no errors on the page and this way we avoid the exception raising and can validate safely.'); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 30082318044546819 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 32, + p_validation_name => 'INDICATIVE_DATE_a_date', + p_validation_sequence=> 200, + p_validation => 'P32_INDICATIVE_DATE', + p_validation2 => '^([012][0-9]|[3][01])/([0][0-9]|[1][012])/[0-9]{4}$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Required format is DD/MM/YYYY', + p_associated_item=> 26604106758798262 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> 'When checking for numeric values, typically PL/SQL will throw an exception, unfortunately this is not what we want as we get a nasty error when trying to run AH''s handy validation routine. So we set those fields that are dates or numbers to check if they are numbers if not then we display an error, we''ve set a condition on AH''s routine and others to only run if there are no errors on the page and this way we avoid the exception raising and can validate safely.'); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 30109332617778145 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 32, + p_validation_name => 'QMAX_a_number', + p_validation_sequence=> 300, + p_validation => 'P32_QMAX', + p_validation2 => '^[[:digit:]]*[.]?[[:digit:]]{0,3}$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Number required 3 decimal places or less', + p_associated_item=> 26615123286798270 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> 'When checking for numeric values, typically PL/SQL will throw an exception, unfortunately this is not what we want as we get a nasty error when trying to run AH''s handy validation routine. So we set those fields that are dates or numbers to check if they are numbers if not then we display an error, we''ve set a condition on AH''s routine and others to only run if there are no errors on the page and this way we avoid the exception raising and can validate safely.'); + +null; + +end; +/ + + +begin + +wwv_flow_api.create_page_validation( + p_id => 30110811885800541 + wwv_flow_api.g_id_offset, + p_flow_id => wwv_flow.g_flow_id, + p_flow_step_id => 32, + p_validation_name => 'QMIN_a_number', + p_validation_sequence=> 400, + p_validation => 'P32_QMIN', + p_validation2 => '^[[:digit:]]*[.]?[[:digit:]]{0,3}$', + p_validation_type => 'REGULAR_EXPRESSION', + p_error_message => 'Number required 3 decimal places or less', + p_associated_item=> 26613331508798269 + wwv_flow_api.g_id_offset, + p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', + p_validation_comment=> 'When checking for numeric values, typically PL/SQL will throw an exception, unfortunately this is not what we want as we get a nasty error when trying to run AH''s handy validation routine. So we set those fields that are dates or numbers to check if they are numbers if not then we display an error, we''ve set a condition on AH''s routine and others to only run if there are no errors on the page and this way we avoid the exception raising and can validate safely.'); + +null; + +end; +/ + + begin wwv_flow_api.create_page_validation( p_id => 29253514490507455 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 32, - p_validation_name => 'Save and Validated live page', + p_validation_name => 'Save and Validate live page', p_validation_sequence=> 1000, p_validation => '--create record'||chr(10)|| 'declare'||chr(10)|| @@ -17503,7 +18046,7 @@ wwv_flow_api.create_page_validation( ' l.REQUIRED_METERING_PRESSURE := :P32_REQUIRED_METERING_PRESSURE;'||chr(10)|| ' l.DOWNSTREAM_BOOSTER_OR_COMPRESS := v(''P32_DOWNSTREAM_BOOSTER_OR_COMPRESS'');'||chr(10)|| ' l.LOAD_CONTROL_TYPE := :P32_LOAD_CONTROL_TYPE;'||chr(10)|| -' l.INDICATIVE_DATE := :P32_INDICATIVE_DATE;'||chr(10)|| +' l.INDICATIVE_DATE := to_date(:P32_INDICATIVE_DATE, ''DD/MM/YYYY'');'||chr(10)|| ' l.OTHER_PROJECT_REFERENCE := :P32_OTHER_PROJECT_REFERENCE;'||chr(10)|| ' l.HOUSING_REQUIRED := :P32_HOUSING_REQUIRED;'||chr(10)|| ' l.BASE_REQUIRED := :P32_BASE_REQUIRED;'||chr(10)|| @@ -17527,10 +18070,10 @@ wwv_flow_api.create_page_validation( ' l.OTHER_INFORMATION := :P32_OTHER_INFORMATION;'||chr(10)|| ' #OWNER#.mip_quotation.validate(l);'||chr(10)|| ' return true;'||chr(10)|| -''||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', - p_error_message => 'Error Occured, saving live enquiry and validating', + p_error_message => 'Error occurred during saving and validating', + p_validation_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, p_error_display_location=>'ON_ERROR_PAGE', p_validation_comment=> ''); @@ -17909,7 +18452,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'INSTALL_POSTCODE', p_validation_sequence=> 1170, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''INSTALL_POSTCODE'');', + p_validation => 'if #OWNER#.mip_regions.valid_postcode_format(:P32_INSTALL_POSTCODE) then'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''INSTALL_POSTCODE'');'||chr(10)|| +'else'||chr(10)|| +' return ''Invalid postcode format'';'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -17997,7 +18544,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'FIRST_ALT_SUB_BUILDING', p_validation_sequence=> 1210, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_SUB_BUILDING'');', + p_validation => 'if upper(:P32_INSTALL_ADDRESS) = ''NO'' and :P32_FIRST_ALT_SUB_BUILDING is null and :P32_FIRST_ALT_BUILDING is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_SUB_BUILDING'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18019,7 +18570,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'FIRST_ALT_BUILDING', p_validation_sequence=> 1220, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_BUILDING'');', + p_validation => 'if upper(:P32_INSTALL_ADDRESS) = ''NO'' and :P32_FIRST_ALT_SUB_BUILDING is null and :P32_FIRST_ALT_BUILDING is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_BUILDING'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18041,7 +18596,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'FIRST_ALT_STREET', p_validation_sequence=> 1230, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_STREET'');', + p_validation => 'if upper(:P32_INSTALL_ADDRESS) = ''NO'' and :P32_FIRST_ALT_STREET is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_STREET'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18063,7 +18622,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'FIRST_ALT_CITY', p_validation_sequence=> 1240, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_CITY'');', + p_validation => 'if upper(:P32_INSTALL_ADDRESS) = ''NO'' and :P32_FIRST_ALT_CITY is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_CITY'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18085,7 +18648,15 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'FIRST_ALT_POSTCODE', p_validation_sequence=> 1250, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_POSTCODE'');', + p_validation => 'if upper(:P32_INSTALL_ADDRESS) = ''NO'' and :P32_FIRST_ALT_POSTCODE is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' if #OWNER#.mip_regions.valid_postcode_format(:P32_FIRST_ALT_POSTCODE) then'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''FIRST_ALT_POSTCODE'');'||chr(10)|| +' else'||chr(10)|| +' return ''Invalid postcode'';'||chr(10)|| +' end if;'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18129,7 +18700,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'SECOND_CONTACT_TELEPHONE_1', p_validation_sequence=> 1270, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_CONTACT_TELEPHONE_1'');', + p_validation => 'if upper(:P32_SECOND_CONTACT) = ''YES'' and :P32_SECOND_CONTACT_TELEPHONE_1 is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_CONTACT_TELEPHONE_1'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18173,7 +18748,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'SECOND_ALT_SUB_BUILDING', p_validation_sequence=> 1290, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_SUB_BUILDING'');', + p_validation => 'if upper(:P32_SECOND_CONTACT) = ''YES'' and :P32_SECOND_ALT_SUB_BUILDING is null and :P32_SECOND_ALT_BUILDING is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_SUB_BUILDING'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18195,7 +18774,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'SECOND_ALT_BUILDING', p_validation_sequence=> 1300, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_BUILDING'');', + p_validation => 'if upper(:P32_SECOND_CONTACT) = ''YES'' and :P32_SECOND_ALT_SUB_BUILDING is null and :P32_SECOND_ALT_BUILDING is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_BUILDING'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18217,7 +18800,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'SECOND_ALT_STREET', p_validation_sequence=> 1310, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_STREET'');', + p_validation => 'if upper(:P32_SECOND_CONTACT) = ''YES'' and :P32_SECOND_ALT_STREET is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_STREET'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18239,7 +18826,11 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'SECOND_ALT_CITY', p_validation_sequence=> 1320, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_CITY'');', + p_validation => 'if upper(:P32_SECOND_CONTACT) = ''YES'' and :P32_SECOND_ALT_CITY is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_CITY'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18261,7 +18852,15 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'SECOND_ALT_POSTCODE', p_validation_sequence=> 1330, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_POSTCODE'');', + p_validation => 'if upper(:P32_SECOND_CONTACT) = ''YES'' and :P32_SECOND_ALT_POSTCODE is null then'||chr(10)|| +' return ''Mandatory field'';'||chr(10)|| +'else'||chr(10)|| +' if #OWNER#.mip_regions.valid_postcode_format(:P32_SECOND_ALT_POSTCODE) then'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''SECOND_ALT_POSTCODE'');'||chr(10)|| +' else'||chr(10)|| +' return ''Invalid postcode'';'||chr(10)|| +' end if;'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, @@ -18459,9 +19058,16 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'REQUIRED_METERING_PRESSURE', p_validation_sequence=> 1420, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''REQUIRED_METERING_PRESSURE'');', + p_validation => 'if not :P32_REQUIRED_METERING_PRESSURE is null then'||chr(10)|| +' if :P32_REQUIRED_METERING_PRESSURE<0 or :P32_REQUIRED_METERING_PRESSURE>7000 then'||chr(10)|| +' return ''Permitted range 0 - 7000'';'||chr(10)|| +' end if;'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''REQUIRED_METERING_PRESSURE'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', + p_validation_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, p_associated_item=> 26603910634798262 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', @@ -18528,6 +19134,7 @@ wwv_flow_api.create_page_validation( p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''INDICATIVE_DATE'');', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', + p_validation_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, p_associated_item=> 26604106758798262 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', @@ -18767,9 +19374,16 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'QMAX', p_validation_sequence=> 1560, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''QMAX'');', + p_validation => 'if not :P32_QMAX is null then'||chr(10)|| +' if :P32_QMAX<0 or :P32_QMAX>999999.999 then'||chr(10)|| +' return ''Permitted range 0 - 999999.999'';'||chr(10)|| +' end if;'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''QMAX'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', + p_validation_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, p_associated_item=> 26615123286798270 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', @@ -18789,9 +19403,16 @@ wwv_flow_api.create_page_validation( p_flow_step_id => 32, p_validation_name => 'QMIN', p_validation_sequence=> 1570, - p_validation => 'return #OWNER#.mip_quotation.validation_result(:P32_ID,''QMIN'');', + p_validation => 'if not :P32_QMIN is null then'||chr(10)|| +' if :P32_QMIN<0 or :P32_QMIN>999999.999 then'||chr(10)|| +' return ''Permitted range 0 - 999999.999'';'||chr(10)|| +' end if;'||chr(10)|| +'else'||chr(10)|| +' return #OWNER#.mip_quotation.validation_result(:P32_ID,''QMIN'');'||chr(10)|| +'end if;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '', + p_validation_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_when_button_pressed=> 28015631689078569 + wwv_flow_api.g_id_offset, p_associated_item=> 26613331508798269 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', @@ -19506,8 +20127,8 @@ wwv_flow_api.create_page( p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, - p_last_updated_by => 'PRIESTJ', - p_last_upd_yyyymmddhh24miss => '20071130182318', + p_last_updated_by => 'DHARSHANIK', + p_last_upd_yyyymmddhh24miss => '20080128103127', p_page_comment => ''); end; @@ -40121,6 +40742,24 @@ wwv_flow_api.create_list_item ( p_list_item_display_sequence=>500, p_list_item_link_text=> 'Logout', p_list_item_link_target=> '&LOGOUT_URL.', + p_list_item_disp_cond_type=> 'PLSQL_EXPRESSION', + p_list_item_disp_condition=> 'APEX_CUSTOM_AUTH.IS_SESSION_VALID', + p_list_countclicks_y_n=> 'N', + p_list_text_01=> '', + p_list_item_current_type=> 'COLON_DELIMITED_PAGE_LIST', + p_list_item_owner=> ''); + +wwv_flow_api.create_list_item ( + p_id=> 29857330523875620 + wwv_flow_api.g_id_offset, + p_list_id=> 17182006546748989 + wwv_flow_api.g_id_offset, + p_list_item_type=> 'LINK', + p_list_item_status=> 'PUBLIC', + p_item_displayed=> 'BY_DEFAULT', + p_list_item_display_sequence=>510, + p_list_item_link_text=> 'Login', + p_list_item_link_target=> 'f?p=&APP_ID.:101:&SESSION.::&DEBUG.:101:::', + p_list_item_disp_cond_type=> 'PLSQL_EXPRESSION', + p_list_item_disp_condition=> 'not(APEX_CUSTOM_AUTH.IS_SESSION_VALID)', p_list_countclicks_y_n=> 'N', p_list_text_01=> '', p_list_item_current_type=> 'COLON_DELIMITED_PAGE_LIST',