altered menu item so that supplieradmin don't get the create enquiry menu option, you must now have 'A' all access to page 32 (enquiry) before you get this menu option, if you have 'R' read access you won't get the create enquiry option also hidden if it's not in progress. Have altered create enquiry so it's available when the enquiry is not 'INP'

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3468 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-02-05 14:52:32 +00:00
parent df85a185a8
commit 03a83d6f21

View File

@@ -13,7 +13,7 @@ prompt APPLICATION 155 - webmip
-- Application Export:
-- Application: 155
-- Name: webmip
-- Date and Time: 18:45 Monday February 4, 2008
-- Date and Time: 14:51 Tuesday February 5, 2008
-- Exported By: PRIESTJ
-- Flashback: 0
-- Export Type: Application Export
@@ -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 => '20080204184547',
p_checksum_salt_last_reset => '20080205145111',
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=> '20080204184547',
p_last_upd_yyyymmddhh24miss=> '20080205145111',
p_required_roles=> wwv_flow_utilities.string_to_table2(''));
@@ -42065,7 +42065,7 @@ wwv_flow_api.create_list_item (
p_list_item_link_text=> 'Create Enquiry',
p_list_item_link_target=> 'f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32:::',
p_list_item_disp_cond_type=> 'PLSQL_EXPRESSION',
p_list_item_disp_condition=> ':P32_ID is null and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),32,''R'')',
p_list_item_disp_condition=> '(:P32_ID is null or #OWNER#.mip_enquiry.get_enquiry_status(:P32_ID) <> ''INP'') and #OWNER#.mip_security.page_authorization(v(''APP_USER''),32,''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),32,''R'')',
p_parent_list_item_id=> 17184720394748992 + wwv_flow_api.g_id_offset,
p_list_countclicks_y_n=> 'N',
p_list_text_01=> '',
@@ -42081,9 +42081,11 @@ wwv_flow_api.create_list_item (
p_item_displayed=> 'BY_DEFAULT',
p_list_item_display_sequence=>330,
p_list_item_link_text=> 'Edit Enquiry',
p_list_item_link_target=> 'f?p=&APP_ID.:32:&SESSION.::&DEBUG.:32:::',
p_list_item_disp_cond_type=> 'ITEM_IS_NOT_NULL',
p_list_item_disp_condition=> 'P32_ID',
p_list_item_link_target=> 'f?p=&APP_ID.:32:&SESSION.::&DEBUG.::::',
p_list_item_disp_cond_type=> 'PLSQL_EXPRESSION',
p_list_item_disp_condition=> 'not :P32_ID is null and #OWNER#.mip_enquiry.get_enquiry_status(:P32_ID) = ''INP'' and #OWNER#.mip_security.page_authorization(v(''APP_USER''),32,''A'') and not #OWNER#.mip_security.page_authorization(v(''APP_USER''),32,''R'')'||chr(10)||
''||chr(10)||
'',
p_parent_list_item_id=> 17184720394748992 + wwv_flow_api.g_id_offset,
p_list_countclicks_y_n=> 'N',
p_list_text_01=> '',