From d7d6947e2b3c787e3cd81aa8a52d60d6d7d89537 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Thu, 29 Nov 2007 17:49:00 +0000 Subject: [PATCH] latest export of application includes refresh bug fixes on the enquiry screen including hack that allows us to test for %null% values git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2916 248e525c-4dfb-0310-94bc-949c084e9493 --- Screens/f155.sql | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Screens/f155.sql b/Screens/f155.sql index 15467a5..302c2e1 100644 --- a/Screens/f155.sql +++ b/Screens/f155.sql @@ -13,8 +13,8 @@ prompt APPLICATION 155 - webmip -- Application Export: -- Application: 155 -- Name: webmip --- Date and Time: 15:36 Thursday November 29, 2007 --- Exported By: ADMIN +-- Date and Time: 17:46 Thursday November 29, 2007 +-- Exported By: PRIESTJ -- Flashback: 0 -- Export Type: Application Export -- Version: 3.0.1.00.08 @@ -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=> 'Y', - p_checksum_salt_last_reset => '20071129153654', + p_checksum_salt_last_reset => '20071129174644', p_home_link => 'f?p=&APP_ID.:1', p_box_width => '98%', p_flow_language => 'en-gb', @@ -184,8 +184,8 @@ wwv_flow_api.create_flow( p_default_reportr_template =>24740611526526770 + wwv_flow_api.g_id_offset, 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 => 'ADMIN', - p_last_upd_yyyymmddhh24miss=> '20071129153654', + p_last_updated_by => 'PRIESTJ', + p_last_upd_yyyymmddhh24miss=> '20071129174644', p_required_roles=> wwv_flow_utilities.string_to_table2('')); @@ -11700,8 +11700,8 @@ wwv_flow_api.create_page( p_step_template => '', p_required_role => 16097609166220701+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, - p_last_updated_by => 'ADMIN', - p_last_upd_yyyymmddhh24miss => '20071129153302', + p_last_updated_by => 'PRIESTJ', + p_last_upd_yyyymmddhh24miss => '20071129174314', p_page_is_public_y_n=> 'N', p_protection_level=> 'C', p_page_comment => ''); @@ -13647,10 +13647,8 @@ wwv_flow_api.create_page_item( 'where pacm.come_id = come.id and come.comt_code = :P32_AGENT_COMT_CODE'||chr(10)|| 'and (pacm.prty_id = :P32_AGENT_ID OR pacm.prty_id = :P32_AGENT_ID2)', p_lov_columns=> 1, - p_lov_display_null=> 'YES', + p_lov_display_null=> 'NO', p_lov_translated=> 'N', - p_lov_null_text=>'-Please select a value-', - p_lov_null_value=> '', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, @@ -13661,8 +13659,8 @@ wwv_flow_api.create_page_item( p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', - p_display_when=>'P32_AGENT_ID', - p_display_when_type=>'ITEM_IS_NOT_NULL', + p_display_when=>':P32_AGENT_COMT_CODE is not null and :P32_AGENT_COMT_CODE <> ''%''||''null%''', + p_display_when_type=>'PLSQL_EXPRESSION', p_read_only_when=>'return #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'')', p_read_only_when_type=>'FUNCTION_BODY', p_field_template => 24749138532526789+wwv_flow_api.g_id_offset, @@ -14818,7 +14816,7 @@ wwv_flow_api.create_page_item( p_prompt=>'Agent', p_source=>'SELECT prty_id FROM v_latest_rt_code_for_enro where rt_code=''ENQ OWN'' and enqu_id=:P32_ID;', p_source_type=> 'QUERY', - p_display_as=> 'COMBOBOX', + p_display_as=> 'COMBOBOX_WITH_SUBMIT', p_lov => 'select FIRST_NAME || '' '' || LAST_NAME display_value, ID return_value'||chr(10)|| ' from PARTIES, PARTY_RELATIONSHIPS'||chr(10)|| ' where from_parl_prty_id = id'||chr(10)|| @@ -14841,7 +14839,7 @@ wwv_flow_api.create_page_item( p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', - p_display_when=>'#OWNER#.mip_parties.get_user_role(v(''APP_USER'')) <> ''AGENT''', + p_display_when=>'#OWNER#.mip_parties.get_user_role(v(''APP_USER'')) <> ''AGENT'' and :P32_MKTP_REF is not null and :P32_MKTP_REF<> ''%''||''null%''', p_display_when_type=>'PLSQL_EXPRESSION', p_read_only_when=>'return #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'')', p_read_only_when_type=>'FUNCTION_BODY', @@ -15089,6 +15087,8 @@ wwv_flow_api.create_page_item( p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', + p_display_when=>'(#OWNER#.mip_parties.get_user_role(v(''APP_USER'')) <> ''AGENT'' and :P32_AGENT_ID is not null and :P32_AGENT_ID<> ''%''||''null%'') or (#OWNER#.mip_parties.get_user_role(v(''APP_USER'')) =''AGENT'')', + p_display_when_type=>'PLSQL_EXPRESSION', p_read_only_when=>'return #OWNER#.mip_security.page_authorization(v(''APP_USER''),v(''APP_PAGE_ID''),''R'')', p_read_only_when_type=>'FUNCTION_BODY', p_field_template => 24749138532526789+wwv_flow_api.g_id_offset,