set define off set verify off set serveroutput on size 1000000 set feedback off begin wwv_flow.g_import_in_progress := true; end; / --application/set_environment prompt APPLICATION 4056 - APEX - Internal Administration -- -- Application Export: -- Application: 4056 -- Name: APEX - Internal Administration -- Date and Time: 13:51 Thursday May 28, 2009 -- Exported By: -- Flashback: 0 -- Export Type: Application Export -- Version: 3.2.1.00.09 -- Import: -- Using application builder -- or -- Using SQL*Plus as the Oracle user APEX_030200 or as the owner (parsing schema) of the application. -- Application Statistics: -- Pages: 102 -- Items: 342 -- Computations: 24 -- Validations: 116 -- Processes: 119 -- Regions: 406 -- Buttons: 173 -- Shared Components -- Breadcrumbs: 1 -- Entries 99 -- Items: 3 -- Computations: 1 -- Processes: 0 -- Parent Tabs: 0 -- Tab Sets: 0 -- Tabs: 0 -- NavBars: 2 -- Lists: 30 -- Shortcuts: 5 -- Themes: 0 -- Templates: -- Page: 3 -- List: 10 -- Report: 4 -- Label: 4 -- Region: 18 -- Messages: 0 -- Build Options: 0 -- AAAA PPPPP EEEEEE XX XX -- AA AA PP PP EE XX XX -- AA AA PP PP EE XX XX -- AAAAAAAAAA PPPPP EEEE XXXX -- AA AA PP EE XX XX -- AA AA PP EE XX XX -- AA AA PP EEEEEE XX XX prompt Set Credentials... begin -- Assumes you are running the script connected to SQL*Plus as the Oracle user APEX_030200 or as the owner (parsing schema) of the application. wwv_flow_api.set_security_group_id(p_security_group_id=>10); end; / begin wwv_flow.g_import_in_progress := true; end; / begin select value into wwv_flow_api.g_nls_numeric_chars from nls_session_parameters where parameter='NLS_NUMERIC_CHARACTERS'; end; / begin execute immediate 'alter session set nls_numeric_characters=''.,'''; end; / begin wwv_flow.g_browser_language := 'en-us'; end; / prompt Check Compatibility... begin -- This date identifies the minimum version required to import this file. wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2009.01.12'); end; / prompt Set Application ID... begin -- SET APPLICATION ID wwv_flow.g_flow_id := 4056; wwv_flow_api.g_id_offset := 0; null; end; / --application/delete_application begin -- Remove Application wwv_flow_api.remove_flow(4056); end; / begin wwv_flow_audit.remove_audit_trail(4056); null; end; / --application/create_application begin wwv_flow_api.create_flow( p_id => 4056, p_display_id=> 4056, p_owner => 'APEX_030200', p_name => 'APEX - Internal Administration', p_alias => 'A198384503160425236', p_page_view_logging => 'YES', p_default_page_template=> 19236405723931959.4056 + wwv_flow_api.g_id_offset, p_printer_friendly_template=> 19236405723931959.4056 + wwv_flow_api.g_id_offset, p_default_region_template=> 75821319588166981.4056 + wwv_flow_api.g_id_offset, p_error_template => 19236405723931959.4056 + wwv_flow_api.g_id_offset, p_charset => 'utf-8', p_checksum_salt_last_reset => '20090528134550', p_max_session_length_sec=> 28800, p_home_link => 'f?p=4050:3:&SESSION.', p_flow_language => 'zh-cn', p_flow_language_derived_from=> 'BROWSER', p_flow_image_prefix => '/i/', p_documentation_banner=> '', p_authentication => 'CUSTOM2', p_login_url => 'HTMLDB_SERVICE_ADMINISTRATION', p_logout_url => 'wwv_flow_custom_auth_std.logout?p_this_flow=&FLOW_ID.&p_next_flow_page_sess=4550:8:&SESSION.::::P8_NEXTPAGE:10', p_application_tab_set=> 1, p_logo_image => '#IMAGE_PREFIX#htmldb/apex_logo.gif', p_logo_image_attributes => 'width="300" height="30" alt="&PRODUCT_NAME."', p_public_url_prefix => '', p_public_user => 'APEX_PUBLIC_USER', p_dbauth_url_prefix => '', p_proxy_server => '', p_cust_authentication_process=> '.'||to_char(60858404230121142 + wwv_flow_api.g_id_offset)||'.', p_cust_authentication_page=> '', p_custom_auth_login_url=> '', p_flow_version => '&PRODUCT_NAME. 3.2.1.00.09', p_flow_status => 'AVAILABLE_W_EDIT_LINK', p_flow_unavailable_text=> 'This application is currently unavailable.', p_build_status => 'RUN_AND_BUILD', p_exact_substitutions_only=> 'Y', p_vpd => '', p_security_scheme => 1018002984071621+ wwv_flow_api.g_id_offset, p_csv_encoding => 'Y', p_theme_id => 3, p_default_label_template => 111843720754869910.4056 + wwv_flow_api.g_id_offset, p_default_report_template => 6897002870390711.4056 + wwv_flow_api.g_id_offset, p_default_list_template => 82702000896937873.4056 + wwv_flow_api.g_id_offset, p_substitution_string_01 => 'LOGOUT', p_substitution_value_01 => '注销', p_substitution_string_02 => 'DELETE_MSG', p_substitution_value_02 => '是否要执行此删除操作?', p_substitution_string_04 => 'PRODUCT_NAME', p_substitution_value_04 => 'Application Express', p_substitution_string_05 => 'COMPANY_NAME', p_substitution_value_05 => '工作区', p_substitution_string_06 => 'MSG_COMPANY', p_substitution_value_06 => '工作区: &COMPANY.', p_substitution_string_07 => 'MSG_LANGUAGE', p_substitution_value_07 => '语言', p_substitution_string_08 => 'MSG_COPYRIGHT', p_substitution_value_08 => '版权所有 (c) 1999, 2009, Oracle。保留所有权利。', p_substitution_string_09 => 'MSG_USER', p_substitution_value_09 => '用户', p_substitution_string_10 => 'MSG_JSCRIPT', p_substitution_value_10 => '必须在启用 JavaScript 的情况下运行此产品。', p_substitution_string_11 => 'MSG_TBL_SUMMARY', p_substitution_value_11 => '页布局表', p_substitution_string_12 => 'EDIT', p_substitution_value_12 => '编辑', p_substitution_string_13 => 'DONE', p_substitution_value_13 => '完成', p_substitution_string_14 => 'TOP', p_substitution_value_14 => '顶部', p_substitution_string_15 => 'CLOSE', p_substitution_value_15 => '关闭', p_substitution_string_16 => 'DATE_FORMAT', p_substitution_value_16 => 'yyyy-mm-dd', p_substitution_string_17 => 'LONG_DATE_FORMAT', p_substitution_value_17 => 'fmDay yyyy"年"mm"月"dd"日"', p_substitution_string_18 => 'TIME_FORMAT', p_substitution_value_18 => 'AM hh:mi:ss', p_substitution_string_19 => 'DATE_TIME_FORMAT', p_substitution_value_19 => 'yyyy-mm-dd AM hh:mi:ss', p_substitution_string_20 => 'RETURN_TO_APP', p_substitution_value_20 => '返回应用程序', p_last_updated_by => '', p_last_upd_yyyymmddhh24miss=> '20090528134451', p_global_notification=> '', p_required_roles=> wwv_flow_utilities.string_to_table2('')); end; / prompt ...authorization schemes -- begin null; end; / --application/shared_components/navigation/navigation_bar prompt ...navigation bar entries -- begin wwv_flow_api.create_icon_bar_item( p_id => 652214800522885.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_icon_sequence => 1, p_icon_image => 'htmldb/icons/navbarhelp_25x25.gif', p_icon_subtext => '帮助', p_icon_target => 'javascript:popupURL(''wwv_flow_help.show_help?p_lang=&BROWSER_LANGUAGE.&p_session=&APP_SESSION.&p_flow_id=&APP_TRANSLATION_ID.&p_step_id=&APP_TRANSLATION_PAGE_ID.'');', p_icon_image_alt => '帮助', p_icon_height => 25, p_icon_width => 25, p_icon_height2 => null, p_icon_width2 => null, p_icon_bar_disp_cond => '', p_icon_bar_disp_cond_type => '', p_begins_on_new_line=> 'NO', p_cell_colspan => 1, p_onclick=> '', p_icon_bar_comment=> 'Display same page with print view page template'); wwv_flow_api.create_icon_bar_item( p_id => 24559226221.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_icon_sequence => 2, p_icon_image => 'htmldb/icons/navbarlogout_25x25.gif', p_icon_image2 => 'wwv_logout24.gif', p_icon_subtext => '注销', p_icon_target => '&LOGOUT_URL.', p_icon_image_alt => '注销', p_icon_height => 25, p_icon_width => 25, p_icon_height2 => 24, p_icon_width2 => 24, p_icon_bar_disp_cond => '', p_icon_bar_disp_cond_type => 'CURRENT_LOOK_IS_1', p_begins_on_new_line=> 'NO', p_cell_colspan => 1, p_onclick=> '', p_icon_bar_comment=> 'Navigate to Flow Attribute LOGOUT_URL when pressed.'); end; / prompt ...application processes -- prompt ...application items -- --application/shared_components/logic/application_items/company begin wwv_flow_api.create_flow_item( p_id=> 24661497730.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_name=> 'COMPANY', p_data_type=> 'VARCHAR', p_is_persistent=> 'Y', p_protection_level=> '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_item_comment=> 'company logged into flow'); null; end; / --application/shared_components/logic/application_items/fsp_after_login_url begin wwv_flow_api.create_flow_item( p_id=> 69693210447779230.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_name=> 'FSP_AFTER_LOGIN_URL', p_data_type=> 'VARCHAR', p_is_persistent=> 'Y', p_protection_level=> '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_item_comment=> 'Used by Custom2 authentication for deep linking support'); null; end; / --application/shared_components/logic/application_items/last_view begin wwv_flow_api.create_flow_item( p_id=> 48673315869342015.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_name=> 'LAST_VIEW', p_data_type=> 'NUMBER', p_is_persistent=> 'Y', p_protection_level=> '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_item_comment=> 'used for help'); null; end; / prompt ...application level computations -- begin --application/shared_components/logic/application_computations/company wwv_flow_api.create_flow_computation ( p_id => 24663499759.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_computation_sequence => 10, p_computation_item => 'COMPANY', p_computation_point => 'ON_NEW_INSTANCE', p_computation_type => 'PLSQL_EXPRESSION', p_computation_processed=> 'REPLACE_EXISTING', p_computation => 'wwv_flow.get_company_name;', p_compute_when=> '', p_compute_when_type=> '', p_computation_error_message=>'无法获取工作区名称。', p_computation_comment=> '', p_required_patch=> null + wwv_flow_api.g_id_offset); end; / prompt ...Application Tabs -- begin null; end; / prompt ...Application Parent Tabs -- begin null; end; / prompt ...Shared Lists of values -- --application/shared_components/user_interface/lov/account_lock_status begin wwv_flow_api.create_list_of_values ( p_id => 12506800188785204.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'ACCOUNT_LOCK_STATUS', p_lov_query=> '.'||to_char(12506800188785204 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>12507123798785207.4056 + wwv_flow_api.g_id_offset, p_lov_id=>12506800188785204.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'锁定', p_lov_return_value=>'Y', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>12507312044785207.4056 + wwv_flow_api.g_id_offset, p_lov_id=>12506800188785204.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'未锁定', p_lov_return_value=>'N', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/application_themes begin wwv_flow_api.create_list_of_values ( p_id => 138044801783643280.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'APPLICATION THEMES', p_lov_query=> 'select theme_id||''. '' ||htf.escape_sc(theme_name) d, theme_id'||chr(10)|| 'from wwv_flow_themes'||chr(10)|| 'where flow_id = :fb_flow_id'||chr(10)|| 'order by theme_id'); null; end; / --application/shared_components/user_interface/lov/audit_naming begin wwv_flow_api.create_list_of_values ( p_id => 192906504723933391.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'AUDIT_NAMING', p_lov_query=> '.'||to_char(192906504723933391 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192906720941933395.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'应用程序属性', p_lov_return_value=>'WWV_FLOWS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192906908350933397.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'页模板', p_lov_return_value=>'WWV_FLOW_TEMPLATES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192907100225933398.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>3, p_lov_disp_value=>'导航栏', p_lov_return_value=>'WWV_FLOW_ICON_BAR', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192907329971933398.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>4, p_lov_disp_value=>'应用程序处理', p_lov_return_value=>'WWV_FLOW_PROCESSING', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192907525100933398.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>5, p_lov_disp_value=>'应用程序项', p_lov_return_value=>'WWV_FLOW_ITEMS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192907723181933398.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>6, p_lov_disp_value=>'应用程序计算', p_lov_return_value=>'WWV_FLOW_COMPUTATIONS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192907918785933401.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>7, p_lov_disp_value=>'选项卡', p_lov_return_value=>'WWV_FLOW_TABS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192908101742933401.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>8, p_lov_disp_value=>'父选项卡', p_lov_return_value=>'WWV_FLOW_TOPLEVEL_TABS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192908312729933401.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>9, p_lov_disp_value=>'值列表', p_lov_return_value=>'WWV_FLOW_LISTS_OF_VALUES$', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192908508490933401.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'静态 LOV 值', p_lov_return_value=>'WWV_FLOW_LISTS_OF_VALUES_DATA', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192908720172933401.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'面包屑条目', p_lov_return_value=>'WWV_FLOW_MENU_OPTIONS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192917410258942992.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'主题', p_lov_return_value=>'WWV_FLOW_THEMES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192908929274933402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>11, p_lov_disp_value=>'页属性', p_lov_return_value=>'WWV_FLOW_STEPS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192909112437933402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>12, p_lov_disp_value=>'页按钮', p_lov_return_value=>'WWV_FLOW_STEP_BUTTONS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192909326218933402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>13, p_lov_disp_value=>'页分支', p_lov_return_value=>'WWV_FLOW_STEP_BRANCHES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192909515542933402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>14, p_lov_disp_value=>'页分支参数', p_lov_return_value=>'WWV_FLOW_STEP_BRANCH_ARGS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192909710968933403.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>15, p_lov_disp_value=>'页项', p_lov_return_value=>'WWV_FLOW_STEP_ITEMS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192909909431933403.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>16, p_lov_disp_value=>'页计算', p_lov_return_value=>'WWV_FLOW_STEP_COMPUTATIONS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192910102627933403.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>17, p_lov_disp_value=>'页验证', p_lov_return_value=>'WWV_FLOW_STEP_VALIDATIONS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192910304404933403.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>18, p_lov_disp_value=>'页处理', p_lov_return_value=>'WWV_FLOW_STEP_PROCESSING', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192910501092933404.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>19, p_lov_disp_value=>'区域模板', p_lov_return_value=>'WWV_FLOW_PAGE_PLUG_TEMPLATES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192910701238933404.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'行模板', p_lov_return_value=>'WWV_FLOW_ROW_TEMPLATES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192910921309933404.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>21, p_lov_disp_value=>'列表模板', p_lov_return_value=>'WWV_FLOW_LIST_TEMPLATES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192911107468933404.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>22, p_lov_disp_value=>'区域属性', p_lov_return_value=>'WWV_FLOW_PAGE_PLUGS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192911327453933408.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>23, p_lov_disp_value=>'消息', p_lov_return_value=>'WWV_FLOW_MESSAGES$', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192911518683933408.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>24, p_lov_disp_value=>'构建选项', p_lov_return_value=>'WWV_FLOW_PATCHES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192911719543933408.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>25, p_lov_disp_value=>'应用程序开发者 (管理)', p_lov_return_value=>'WWV_FLOW_DEVELOPERS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192911931458933408.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>26, p_lov_disp_value=>'列表', p_lov_return_value=>'WWV_FLOW_LISTS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192912106135933409.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>27, p_lov_disp_value=>'列表项', p_lov_return_value=>'WWV_FLOW_LIST_ITEMS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192912316871933409.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>28, p_lov_disp_value=>'有效的用户 ID (管理)', p_lov_return_value=>'WWV_FLOW_EFFECTIVE_USERID_MAP', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192912501053933409.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>29, p_lov_disp_value=>'快捷方式', p_lov_return_value=>'WWV_FLOW_SHORTCUTS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192912709920933409.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'页项帮助文本', p_lov_return_value=>'WWV_FLOW_STEP_ITEM_HELP', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192912922654933410.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>31, p_lov_disp_value=>'验证设置', p_lov_return_value=>'WWV_FLOW_CUSTOM_AUTH_SETUPS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192913116096933410.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>32, p_lov_disp_value=>'入口点', p_lov_return_value=>'WWV_FLOW_ENTRY_POINTS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>192913326886933410.4056 + wwv_flow_api.g_id_offset, p_lov_id=>192906504723933391.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>33, p_lov_disp_value=>'入口点参数', p_lov_return_value=>'WWV_FLOW_ENTRY_POINT_ARGS', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/bipublisher_support begin wwv_flow_api.create_list_of_values ( p_id => 66524307689014582.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'BIPUBLISHER_SUPPORT', p_lov_query=> '.'||to_char(66524307689014582 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>66524606927014584.4056 + wwv_flow_api.g_id_offset, p_lov_id=>66524307689014582.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'标准', p_lov_return_value=>'STANDARD', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>66524808931014584.4056 + wwv_flow_api.g_id_offset, p_lov_id=>66524307689014582.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'高级 (需要 Oracle BI Publisher)', p_lov_return_value=>'ADVANCED', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/build_status begin wwv_flow_api.create_list_of_values ( p_id => 244320808989852457.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'BUILD_STATUS', p_lov_query=> '.'||to_char(244320808989852457 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>244321119544852463.4056 + wwv_flow_api.g_id_offset, p_lov_id=>244320808989852457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'只运行应用程序', p_lov_return_value=>'RUN_ONLY', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>244321323574852464.4056 + wwv_flow_api.g_id_offset, p_lov_id=>244320808989852457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'运行和构建应用程序', p_lov_return_value=>'RUN_AND_BUILD', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/confirm_delete_denied_request begin wwv_flow_api.create_list_of_values ( p_id => 87822015190102927.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'CONFIRM.DELETE.DENIED.REQUEST', p_lov_query=> '.'||to_char(87822015190102927 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87822220071102927.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87822015190102927.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'如果拒绝, 是否删除此请求?', p_lov_return_value=>'YES', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/confirm_pwd_removal begin wwv_flow_api.create_list_of_values ( p_id => 35215801480283409.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'CONFIRM.PWD.REMOVAL', p_lov_query=> '.'||to_char(35215801480283409 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>35216131980283418.4056 + wwv_flow_api.g_id_offset, p_lov_id=>35215801480283409.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'选中此项以确认要更改 Wallet 口令', p_lov_return_value=>'Y', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/confirm_removal begin wwv_flow_api.create_list_of_values ( p_id => 87818332243088870.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'CONFIRM.REMOVAL', p_lov_query=> '.'||to_char(87818332243088870 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87818517495088870.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87818332243088870.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'选中以确认要继续执行删除操作。', p_lov_return_value=>'Yes', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/confirm_remove_request begin wwv_flow_api.create_list_of_values ( p_id => 87819107787091340.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'CONFIRM.REMOVE.REQUEST', p_lov_query=> '.'||to_char(87819107787091340 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87819312320091340.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87819107787091340.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'选中以指示还要删除此工作区的请求。', p_lov_return_value=>'Yes', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/confirm_workspace_install begin wwv_flow_api.create_list_of_values ( p_id => 73876902692924600.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'CONFIRM.WORKSPACE_INSTALL', p_lov_query=> '.'||to_char(73876902692924600 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>73877205249924603.4056 + wwv_flow_api.g_id_offset, p_lov_id=>73876902692924600.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'选中以继续安装将对显示的主方案和如下所示的其他方案具有完全访问权限的工作区。', p_lov_return_value=>'Yes', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/countries begin wwv_flow_api.create_list_of_values ( p_id => 77152009156464203.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'COUNTRIES', p_lov_query=> 'select COUNTRY_NAME d, COUNTRY_NAME r'||chr(10)|| 'from wwv_flow_countries'||chr(10)|| 'order by country_name'); null; end; / --application/shared_components/user_interface/lov/db_tablespaces begin wwv_flow_api.create_list_of_values ( p_id => 161644121203686372.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'DB.TABLESPACES', p_lov_query=> 'select tablespace_name tname_disp, tablespace_name tname_ret'||chr(10)|| ' from sys.dba_tablespaces'); null; end; / --application/shared_components/user_interface/lov/developer_activity_action begin wwv_flow_api.create_list_of_values ( p_id => 110357115975241430.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'DEVELOPER ACTIVITY ACTION', p_lov_query=> '.'||to_char(110357115975241430 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110357309735241430.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110357115975241430.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'创建', p_lov_return_value=>'I', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110357503716241431.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110357115975241430.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'删除', p_lov_return_value=>'D', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110357728444241431.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110357115975241430.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>3, p_lov_disp_value=>'更改', p_lov_return_value=>'U', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/developer_privs begin wwv_flow_api.create_list_of_values ( p_id => 182796815771077530.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'DEVELOPER.PRIVS', p_lov_query=> '.'||to_char(182796815771077530 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87840032028448399.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'管理', p_lov_return_value=>'ADMIN', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87840228629448402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'浏览', p_lov_return_value=>'BROWSE', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87840406518448402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'创建', p_lov_return_value=>'CREATE', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87840629693448402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'数据加载程序', p_lov_return_value=>'DATA_LOADER', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87840818626448402.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'数据库监视器', p_lov_return_value=>'DB_MONITOR', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87841009541448403.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'编辑', p_lov_return_value=>'EDIT', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87841204704448403.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'帮助', p_lov_return_value=>'HELP', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87841420783448403.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'监视', p_lov_return_value=>'MONITOR', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87841623734448404.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'SQL', p_lov_return_value=>'SQL', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87841806856448404.4056 + wwv_flow_api.g_id_offset, p_lov_id=>182796815771077530.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'用户管理器', p_lov_return_value=>'USER_MANAGER', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/file_format begin wwv_flow_api.create_list_of_values ( p_id => 175743214959227187.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'FILE_FORMAT', p_lov_query=> '.'||to_char(175743214959227187 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>175743426983227191.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175743214959227187.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'DOS', p_lov_return_value=>'DOS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>175743601146227192.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175743214959227187.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'UNIX', p_lov_return_value=>'UNIX', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/i18n_iana_charset begin wwv_flow_api.create_list_of_values ( p_id => 175798011541253458.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'I18N_IANA_CHARSET', p_reference_id=> 144796827445692396, p_lov_query=> '.'||to_char(175798011541253458 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70934618367399256.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'阿拉伯语 ISO-8859-6', p_lov_return_value=>'iso-8859-6', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70934821980399256.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'阿拉伯语 Windows 1256', p_lov_return_value=>'windows-1256', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70935006414399256.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'中文 Big5', p_lov_return_value=>'big5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70935216265399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'中文 GBK', p_lov_return_value=>'gbk', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70935419960399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'西里尔语 ISO-8859-5', p_lov_return_value=>'iso-8859-5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70935624734399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'西里尔语 KOI8-R', p_lov_return_value=>'koi8-r', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70935825841399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'西里尔语 KOI8-U', p_lov_return_value=>'koi8-u', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70936006970399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'西里尔语 Windows 1251', p_lov_return_value=>'windows-1251', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70936231255399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'东欧语言 ISO-8859-2', p_lov_return_value=>'iso-8859-2', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70936402013399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'东欧语言 Windows 1250', p_lov_return_value=>'windows-1250', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70936608479399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'希腊语 ISO-8859-7', p_lov_return_value=>'iso-8859-7', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70936826272399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'希腊语 Windows 1253', p_lov_return_value=>'windows-1253', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70937010820399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>130, p_lov_disp_value=>'希伯来语 ISO-8859-8-i', p_lov_return_value=>'iso-8859-8-i', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70937227021399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>140, p_lov_disp_value=>'希伯来语 Windows 1255', p_lov_return_value=>'windows-1255', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70937401446399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>150, p_lov_disp_value=>'日语 EUC', p_lov_return_value=>'euc-jp', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70937622141399257.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>160, p_lov_disp_value=>'日语 Shift JIS', p_lov_return_value=>'shift_jis', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70937801046399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>170, p_lov_disp_value=>'朝鲜语 EUC', p_lov_return_value=>'euc-kr', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70938021293399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>180, p_lov_disp_value=>'北欧语言 ISO-8859-4', p_lov_return_value=>'iso-8859-4', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70938209547399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>190, p_lov_disp_value=>'北欧语言 Windows 1257', p_lov_return_value=>'windows-1257', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70938408347399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>200, p_lov_disp_value=>'南欧语言 ISO-8859-3', p_lov_return_value=>'iso-8859-3', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70938619183399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>210, p_lov_disp_value=>'泰语 TIS-620', p_lov_return_value=>'tis-620', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70938810956399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>220, p_lov_disp_value=>'土耳其语 ISO-8859-9', p_lov_return_value=>'iso-8859-9', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70939021765399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>230, p_lov_disp_value=>'土耳其语 Windows 1254', p_lov_return_value=>'windows-1254', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70939212407399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>240, p_lov_disp_value=>'Unicode UTF-8', p_lov_return_value=>'utf-8', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70939412184399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>242, p_lov_disp_value=>'Unicode UTF-16 Big Endian', p_lov_return_value=>'utf-16be', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70939629276399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>244, p_lov_disp_value=>'Unicode UTF-16 Little Endian', p_lov_return_value=>'utf-16le', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70939800695399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>248, p_lov_disp_value=>'US-ASCII', p_lov_return_value=>'us-ascii', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70940025642399258.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>250, p_lov_disp_value=>'越南语 Windows 1258', p_lov_return_value=>'windows-1258', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70940221790399259.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>260, p_lov_disp_value=>'西欧语言 ISO-8859-1', p_lov_return_value=>'iso-8859-1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>70940420795399259.4056 + wwv_flow_api.g_id_offset, p_lov_id=>175798011541253458.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>270, p_lov_disp_value=>'西欧语言 Windows 1252', p_lov_return_value=>'windows-1252', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/list_workspaces begin wwv_flow_api.create_list_of_values ( p_id => 159434915946336703.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST.WORKSPACES', p_lov_query=> 'select short_name d, short_name v'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where (provisioning_company_id not in (0,10,11))'||chr(10)|| 'order by 1'); null; end; / --application/shared_components/user_interface/lov/list_all_companies begin wwv_flow_api.create_list_of_values ( p_id => 41061332989455513.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST_ALL_COMPANIES', p_lov_query=> 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1'); null; end; / --application/shared_components/user_interface/lov/list_all_companies_escaped begin wwv_flow_api.create_list_of_values ( p_id => 33198215215866564.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST_ALL_COMPANIES_ESCAPED', p_lov_query=> 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select htf.escape_sc(short_name)||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1'); null; end; / --application/shared_components/user_interface/lov/list_all_companies_no_null_option begin wwv_flow_api.create_list_of_values ( p_id => 71982116125334375.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST_ALL_COMPANIES_NO_NULL_OPTION', p_lov_query=> 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1'); null; end; / --application/shared_components/user_interface/lov/list_all_database_schemas begin wwv_flow_api.create_list_of_values ( p_id => 41061720511468543.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST_ALL_DATABASE_SCHEMAS', p_lov_query=> 'declare q varchar2(32767);'||chr(10)|| ' l_flows_schema varchar2(30) := wwv_flow.g_flow_schema_owner;'||chr(10)|| 'begin'||chr(10)|| ' q := ''select name n, name r from sys.user$ u where type#=1 and name <> ''''''||l_flows_schema||'''''' and name not in (''''HTMLDB_PUBLIC_USER'''',''''PUBLIC_USER'''',''''FLOWS_FILES'''',''''SCHEDULER'''',''''PEOPLE'''',''''APEX_PUBLIC_USER'''')'';'||chr(10)|| ' q := q||'' and name not in (select schema from wwv_flow_restricted_schemas where not exists (select 1 from wwv_flow_rschema_exceptions where schema_id = (select id from wwv_flow_restricted_schemas where schema = u.name))) '';'||chr(10)|| ' q := q ||'' order by 1'';'||chr(10)|| ' return q;'||chr(10)|| 'end;'); null; end; / --application/shared_components/user_interface/lov/list_developer_workspaces begin wwv_flow_api.create_list_of_values ( p_id => 245468425022265187.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST_DEVELOPER_WORKSPACES', p_lov_query=> 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1'); null; end; / --application/shared_components/user_interface/lov/list_developer_workspaces_no_null_option begin wwv_flow_api.create_list_of_values ( p_id => 201412507067809360.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST_DEVELOPER_WORKSPACES_NO_NULL_OPTION', p_lov_query=> 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1'); null; end; / --application/shared_components/user_interface/lov/list_flow_status begin wwv_flow_api.create_list_of_values ( p_id => 85746300886317667.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LIST_FLOW_STATUS', p_reference_id=> 634347472712995, p_lov_query=> '.'||to_char(85746300886317667 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>85777626835319570.4056 + wwv_flow_api.g_id_offset, p_lov_id=>85746300886317667.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'可用', p_lov_return_value=>'AVAILABLE', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>85777811385319570.4056 + wwv_flow_api.g_id_offset, p_lov_id=>85746300886317667.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'可用 (具有编辑链接)', p_lov_return_value=>'AVAILABLE_W_EDIT_LINK', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>85778029581319570.4056 + wwv_flow_api.g_id_offset, p_lov_id=>85746300886317667.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'只可用于开发者', p_lov_return_value=>'DEVELOPERS_ONLY', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>85778208286319570.4056 + wwv_flow_api.g_id_offset, p_lov_id=>85746300886317667.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'有限的访问权限', p_lov_return_value=>'RESTRICTED_ACCESS', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>85778428641319571.4056 + wwv_flow_api.g_id_offset, p_lov_id=>85746300886317667.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'不可用', p_lov_return_value=>'UNAVAILABLE', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>85778631627319571.4056 + wwv_flow_api.g_id_offset, p_lov_id=>85746300886317667.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'不可用 (状态以 PL/SQL 显示)', p_lov_return_value=>'UNAVAILABLE_PLSQL', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>85778821414319571.4056 + wwv_flow_api.g_id_offset, p_lov_id=>85746300886317667.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'不可用 (重定向到 URL)', p_lov_return_value=>'UNAVAILABLE_URL', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/login_status_codes begin wwv_flow_api.create_list_of_values ( p_id => 46388624571234535.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LOGIN STATUS CODES', p_lov_query=> '.'||to_char(46388624571234535 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46388926156234544.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'正常, 成功验证', p_lov_return_value=>'0', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46389114667234544.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'未知的用户名', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46389305475234544.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>3, p_lov_disp_value=>'帐户已锁定', p_lov_return_value=>'2', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46389507635234544.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>4, p_lov_disp_value=>'帐户已失效', p_lov_return_value=>'3', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46389702262234544.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>5, p_lov_disp_value=>'口令不正确', p_lov_return_value=>'4', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46389924389234544.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>6, p_lov_disp_value=>'初次使用口令', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46390117950234544.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>7, p_lov_disp_value=>'超过了最大登录尝试次数', p_lov_return_value=>'6', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>46390320270234545.4056 + wwv_flow_api.g_id_offset, p_lov_id=>46388624571234535.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>8, p_lov_disp_value=>'未知的内部错误', p_lov_return_value=>'7', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/login_message begin wwv_flow_api.create_list_of_values ( p_id => 138589612463299624.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'LOGIN_MESSAGE', p_lov_query=> '.'||to_char(138589612463299624 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>138589828636299629.4056 + wwv_flow_api.g_id_offset, p_lov_id=>138589612463299624.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'无消息', p_lov_return_value=>'NONE', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>138590030175299632.4056 + wwv_flow_api.g_id_offset, p_lov_id=>138589612463299624.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'定制消息', p_lov_return_value=>'CUSTOM', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_a begin wwv_flow_api.create_list_of_values ( p_id => 87504531900192794.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_A', p_lov_query=> '.'||to_char(87504531900192794 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87504713683192797.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87504927403192799.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87505127136192799.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87505325056192799.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'25', p_lov_return_value=>'25', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87505511346192800.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'30', p_lov_return_value=>'30', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87505729136192800.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87505932223192800.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87506102365192800.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'200', p_lov_return_value=>'200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87506312795192801.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'500', p_lov_return_value=>'500', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87506502410192801.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87506703570192801.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'5000', p_lov_return_value=>'5000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87506912687192801.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87504531900192794.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'10000', p_lov_return_value=>'10000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_b begin wwv_flow_api.create_list_of_values ( p_id => 87717417968152000.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_B', p_lov_query=> '.'||to_char(87717417968152000 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87717608742152001.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87717807507152001.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87718000141152003.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87718209200152003.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87718403676152003.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87718622762152003.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'30', p_lov_return_value=>'30', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87718817778152004.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87719020177152004.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87719230831152004.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'200', p_lov_return_value=>'200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87719426010152005.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'500', p_lov_return_value=>'500', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87719614892152005.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87719804628152005.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87717417968152000.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'2000', p_lov_return_value=>'2000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_c begin wwv_flow_api.create_list_of_values ( p_id => 87727319971247226.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_C', p_lov_query=> '.'||to_char(87727319971247226 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87727500041247227.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87727716571247227.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87727920372247227.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87728108070247227.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87728307878247228.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87728503519247228.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'25', p_lov_return_value=>'25', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87728723800247228.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87728931351247228.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87729117092247229.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'200', p_lov_return_value=>'200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87729303121247229.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'500', p_lov_return_value=>'500', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87729526911247229.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87729730366247229.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87727319971247226.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'5000', p_lov_return_value=>'5000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_d begin wwv_flow_api.create_list_of_values ( p_id => 87730331399250507.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_D', p_lov_query=> '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87730525692250508.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87730714234250508.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87730921624250509.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87731129062250509.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87731321929250509.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87731521610250509.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'25', p_lov_return_value=>'25', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87731715300250510.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'30', p_lov_return_value=>'30', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87731919898250510.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87732124808250510.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87732326765250510.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87732513594250511.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87730331399250507.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'5000', p_lov_return_value=>'5000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_e begin wwv_flow_api.create_list_of_values ( p_id => 87733213522254832.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_E', p_lov_query=> '.'||to_char(87733213522254832 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87733416419254833.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87733622113254833.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87733822263254833.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87734024639254833.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87734223358254834.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87734413410254834.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'25', p_lov_return_value=>'25', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87734626070254834.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'30', p_lov_return_value=>'30', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87734809939254834.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87735015995254834.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87735225800254835.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'500', p_lov_return_value=>'500', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87735423051254835.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87735614522254835.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87733213522254832.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'10000', p_lov_return_value=>'10000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_f begin wwv_flow_api.create_list_of_values ( p_id => 87736221141257059.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_F', p_lov_query=> '.'||to_char(87736221141257059 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87736411674257059.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'2', p_lov_return_value=>'2', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87736631478257060.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87736801252257060.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87737027711257060.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87737221803257060.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87737414548257062.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'30', p_lov_return_value=>'30', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87737609481257062.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87737813226257062.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87738032062257063.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87738230641257063.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87736221141257059.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'5000', p_lov_return_value=>'5000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_g begin wwv_flow_api.create_list_of_values ( p_id => 87738929453259457.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_G', p_lov_query=> '.'||to_char(87738929453259457 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87739106498259457.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87739329779259460.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87739525994259460.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87739719147259460.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87739911170259460.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87740103875259461.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'25', p_lov_return_value=>'25', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87740303300259461.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87740516812259461.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87740731715259461.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'200', p_lov_return_value=>'200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87740924006259462.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'500', p_lov_return_value=>'500', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87741116404259462.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87741300621259463.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87738929453259457.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'5000', p_lov_return_value=>'5000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/max_rows_h begin wwv_flow_api.create_list_of_values ( p_id => 87745327899296842.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'MAX_ROWS_H', p_lov_query=> '.'||to_char(87745327899296842 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87745524146296844.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87745725148296845.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87745929261296845.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87746105830296845.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87746317502296845.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87746523232296846.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'50', p_lov_return_value=>'50', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87746716198296846.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'100', p_lov_return_value=>'100', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87746907159296846.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'500', p_lov_return_value=>'500', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87747109934296846.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'1000', p_lov_return_value=>'1000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87747307992296846.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87745327899296842.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'5000', p_lov_return_value=>'5000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/new_or_existing begin wwv_flow_api.create_list_of_values ( p_id => 87820927180096887.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'NEW_OR_EXISTING', p_lov_query=> '.'||to_char(87820927180096887 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87821100243096888.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87820927180096887.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'现有', p_lov_return_value=>'Existing', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87821304136096888.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87820927180096887.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'新建', p_lov_return_value=>'New', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/p16_printsvr_protocol begin wwv_flow_api.create_list_of_values ( p_id => 41576101209699161.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'P16.PRINTSVR.PROTOCOL', p_lov_query=> '.'||to_char(41576101209699161 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>41576425139699162.4056 + wwv_flow_api.g_id_offset, p_lov_id=>41576101209699161.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'HTTP', p_lov_return_value=>'http', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>41576620353699162.4056 + wwv_flow_api.g_id_offset, p_lov_id=>41576101209699161.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'HTTPS', p_lov_return_value=>'https', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/page_view_mode begin wwv_flow_api.create_list_of_values ( p_id => 131020216973707367.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'PAGE VIEW MODE', p_lov_query=> '.'||to_char(131020216973707367 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>131020902774707369.4056 + wwv_flow_api.g_id_offset, p_lov_id=>131020216973707367.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'动态页', p_lov_return_value=>'D', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>131020730367707369.4056 + wwv_flow_api.g_id_offset, p_lov_id=>131020216973707367.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'页处理', p_lov_return_value=>'A', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>131020524068707368.4056 + wwv_flow_api.g_id_offset, p_lov_id=>131020216973707367.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>3, p_lov_disp_value=>'部分页', p_lov_return_value=>'P', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>131023120221717730.4056 + wwv_flow_api.g_id_offset, p_lov_id=>131020216973707367.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>4, p_lov_disp_value=>'创建的高速缓存', p_lov_return_value=>'C', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>131023727840719977.4056 + wwv_flow_api.g_id_offset, p_lov_id=>131020216973707367.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>5, p_lov_disp_value=>'高速缓存的页', p_lov_return_value=>'R', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/project_status begin wwv_flow_api.create_list_of_values ( p_id => 87715313766122404.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'PROJECT.STATUS', p_lov_query=> '.'||to_char(87715313766122404 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87715507041122405.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87715313766122404.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'拒绝', p_lov_return_value=>'DECLINED', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87715706617122406.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87715313766122404.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'请求', p_lov_return_value=>'REQUESTED', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87715911749122406.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87715313766122404.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'终止', p_lov_return_value=>'TERMINATED', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/provisioning_status begin wwv_flow_api.create_list_of_values ( p_id => 87819917137094037.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'PROVISIONING.STATUS', p_lov_query=> '.'||to_char(87819917137094037 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87820106497094037.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87819917137094037.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'手动 - 管理员手动创建每个工作区', p_lov_return_value=>'MANUAL', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87820317112094038.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87819917137094037.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'请求 - 用户使用“登录”页中显示的链接请求工作区', p_lov_return_value=>'4700', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>27774028242361017.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87819917137094037.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'电子邮件验证 - 用户验证电子邮件地址后创建工作区', p_lov_return_value=>'EMAIL', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/public_theme_app_selector begin wwv_flow_api.create_list_of_values ( p_id => 138968902616481833.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'PUBLIC.THEME.APP.SELECTOR', p_lov_query=> 'select id || '' - '' || name d, id v'||chr(10)|| ' from WWV_FLOWS'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and security_group_id not in (0,10,11)'||chr(10)|| ' order by 1'); null; end; / --application/shared_components/user_interface/lov/recent_time begin wwv_flow_api.create_list_of_values ( p_id => 88332700235936298.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'RECENT_TIME', p_lov_query=> 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2'); null; end; / --application/shared_components/user_interface/lov/request_status_show begin wwv_flow_api.create_list_of_values ( p_id => 87760131282243533.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'REQUEST.STATUS.SHOW', p_lov_query=> '.'||to_char(87760131282243533 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87760332362243533.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87760131282243533.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'全部', p_lov_return_value=>'All', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87760505501243533.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87760131282243533.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'批准', p_lov_return_value=>'Approved', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87760729237243534.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87760131282243533.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'拒绝', p_lov_return_value=>'Denied', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87760900898243534.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87760131282243533.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'打开', p_lov_return_value=>'Open', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/seconds begin wwv_flow_api.create_list_of_values ( p_id => 265067300720195470.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'SECONDS', p_lov_query=> '.'||to_char(265067300720195470 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265067629517195484.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>0, p_lov_disp_value=>'10 秒', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265067827328195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1 分钟', p_lov_return_value=>'60', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265068021323195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'10 分钟', p_lov_return_value=>'600', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265068228775195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'30 分钟', p_lov_return_value=>'1800', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265068421421195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'1 小时', p_lov_return_value=>'3600', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265068624219195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'2 小时', p_lov_return_value=>'7200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265068819677195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'3 小时', p_lov_return_value=>'10800', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265069021642195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'4 小时', p_lov_return_value=>'14400', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265069228778195487.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'6 小时', p_lov_return_value=>'21600', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265069416024195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'12 小时', p_lov_return_value=>'43200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265069601479195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'1 天', p_lov_return_value=>'86400', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265069803740195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'2 天', p_lov_return_value=>'172800', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265070017856195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'3 天', p_lov_return_value=>'259200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265070226433195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>130, p_lov_disp_value=>'4 天', p_lov_return_value=>'345600', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265070406606195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>140, p_lov_disp_value=>'1 周', p_lov_return_value=>'604800', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265070622658195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>150, p_lov_disp_value=>'2 周', p_lov_return_value=>'1209600', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265070800909195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>155, p_lov_disp_value=>'4 周', p_lov_return_value=>'2419200', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265071009072195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>160, p_lov_disp_value=>'10 周', p_lov_return_value=>'6048000', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>265071213825195488.4056 + wwv_flow_api.g_id_offset, p_lov_id=>265067300720195470.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>170, p_lov_disp_value=>'1 年', p_lov_return_value=>'31536000', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/service_request_name begin wwv_flow_api.create_list_of_values ( p_id => 110368323210290856.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'SERVICE.REQUEST.NAME', p_lov_query=> '.'||to_char(110368323210290856 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110368501503290856.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110368323210290856.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'新方案', p_lov_return_value=>'NEW_SCHEMA', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110368723358290857.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110368323210290856.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'删除工作区', p_lov_return_value=>'REMOVE_EXISTING_SERVICE', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110368924348290857.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110368323210290856.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>3, p_lov_disp_value=>'删除方案', p_lov_return_value=>'REMOVE_EXISTING_SCHEMA', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110369132258290857.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110368323210290856.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>4, p_lov_disp_value=>'请求存储', p_lov_return_value=>'CHANGE_DB_SIZE', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/service_request_status begin wwv_flow_api.create_list_of_values ( p_id => 87755726864223308.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'SERVICE.REQUEST.STATUS', p_lov_query=> '.'||to_char(87755726864223308 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87755910389223309.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87755726864223308.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'批准', p_lov_return_value=>'APPROVED', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87756108879223309.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87755726864223308.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'拒绝', p_lov_return_value=>'DECLINED', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87756328524223309.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87755726864223308.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'正在进行', p_lov_return_value=>'IN_PROGRESS', p_lov_disp_cond_type=>'CURRENT_PAGE_NOT_EQUAL_CONDITION', p_lov_disp_cond=> '26', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87756529293223310.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87755726864223308.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'请求', p_lov_return_value=>'REQUESTED', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87756716926223310.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87755726864223308.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'终止', p_lov_return_value=>'TERMINATED', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>22138608522000517.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87755726864223308.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'接受', p_lov_return_value=>'ACCEPTED', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/site_admin_password_option begin wwv_flow_api.create_list_of_values ( p_id => 25698924524085246.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'SITE ADMIN PASSWORD OPTION', p_lov_query=> '.'||to_char(25698924524085246 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>89831430148813773.4056 + wwv_flow_api.g_id_offset, p_lov_id=>25698924524085246.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'使用在工作区口令策略中指定的策略', p_lov_return_value=>'N', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>25699227500085250.4056 + wwv_flow_api.g_id_offset, p_lov_id=>25698924524085246.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'使用默认严格口令策略', p_lov_return_value=>'Y', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/task_display_location begin wwv_flow_api.create_list_of_values ( p_id => 75242612126455451.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'TASK_DISPLAY_LOCATION', p_lov_query=> '.'||to_char(75242612126455451 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>75243106849455455.4056 + wwv_flow_api.g_id_offset, p_lov_id=>75242612126455451.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'工作区登录', p_lov_return_value=>'WORKSPACE_LOGIN', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>75242903496455454.4056 + wwv_flow_api.g_id_offset, p_lov_id=>75242612126455451.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'工作区主页', p_lov_return_value=>'WORKSPACE_HOME', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/time_intervals begin wwv_flow_api.create_list_of_values ( p_id => 87720511660244788.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'TIME_INTERVALS', p_lov_query=> '.'||to_char(87720511660244788 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87720705217244789.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'1', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87720918270244790.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'2', p_lov_return_value=>'2', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87721128398244790.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'3', p_lov_return_value=>'3', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87721316635244790.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>40, p_lov_disp_value=>'4', p_lov_return_value=>'4', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87721518511244790.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>50, p_lov_disp_value=>'5', p_lov_return_value=>'5', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87721714192244790.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>60, p_lov_disp_value=>'6', p_lov_return_value=>'6', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87721929981244791.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>70, p_lov_disp_value=>'7', p_lov_return_value=>'7', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87722127765244791.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>80, p_lov_disp_value=>'8', p_lov_return_value=>'8', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87722317438244791.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>90, p_lov_disp_value=>'9', p_lov_return_value=>'9', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87722509755244791.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>100, p_lov_disp_value=>'10', p_lov_return_value=>'10', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87722724680244792.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>110, p_lov_disp_value=>'11', p_lov_return_value=>'11', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87722931920244792.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>120, p_lov_disp_value=>'12', p_lov_return_value=>'12', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87723110878244792.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>130, p_lov_disp_value=>'13', p_lov_return_value=>'13', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87723310283244792.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>140, p_lov_disp_value=>'14', p_lov_return_value=>'14', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87723528574244793.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>150, p_lov_disp_value=>'15', p_lov_return_value=>'15', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87723715299244793.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>160, p_lov_disp_value=>'16', p_lov_return_value=>'16', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87723913501244793.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>170, p_lov_disp_value=>'17', p_lov_return_value=>'17', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87724129057244793.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>180, p_lov_disp_value=>'18', p_lov_return_value=>'18', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87724326333244793.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>190, p_lov_disp_value=>'19', p_lov_return_value=>'19', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87724500227244794.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>200, p_lov_disp_value=>'20', p_lov_return_value=>'20', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87724715549244794.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>210, p_lov_disp_value=>'21', p_lov_return_value=>'21', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87724919187244794.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>220, p_lov_disp_value=>'22', p_lov_return_value=>'22', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87725132288244794.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>230, p_lov_disp_value=>'23', p_lov_return_value=>'23', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87725315196244795.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>240, p_lov_disp_value=>'24', p_lov_return_value=>'24', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87725519222244795.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>250, p_lov_disp_value=>'25', p_lov_return_value=>'25', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87725726981244795.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>260, p_lov_disp_value=>'26', p_lov_return_value=>'26', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87725929193244795.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>270, p_lov_disp_value=>'27', p_lov_return_value=>'27', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87726105331244796.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>280, p_lov_disp_value=>'28', p_lov_return_value=>'28', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87726330087244796.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>290, p_lov_disp_value=>'29', p_lov_return_value=>'29', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87726525128244796.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>300, p_lov_disp_value=>'30', p_lov_return_value=>'30', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87726708945244797.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87720511660244788.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>310, p_lov_disp_value=>'31', p_lov_return_value=>'31', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/user_groups begin wwv_flow_api.create_list_of_values ( p_id => 161727824824923998.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'USER.GROUPS', p_lov_query=> 'select htf.escape_sc(group_name) d, id r'||chr(10)|| 'from wwv_flow_fnd_user_groups'||chr(10)|| 'where security_group_id = :F4050_P23_SECURITY_GROUP_ID order by 1'); null; end; / --application/shared_components/user_interface/lov/view_as_list_or_icons begin wwv_flow_api.create_list_of_values ( p_id => 138021018445611867.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'VIEW AS LIST OR ICONS', p_lov_query=> '.'||to_char(138021018445611867 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>138021303911611867.4056 + wwv_flow_api.g_id_offset, p_lov_id=>138021018445611867.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'图标', p_lov_return_value=>'ICON', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>138021517322611867.4056 + wwv_flow_api.g_id_offset, p_lov_id=>138021018445611867.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>30, p_lov_disp_value=>'详细资料', p_lov_return_value=>'DETAIL', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/ws_provisioning_status begin wwv_flow_api.create_list_of_values ( p_id => 113228404836854036.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'WS_PROVISIONING_STATUS', p_lov_query=> '.'||to_char(113228404836854036 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>113228711736854036.4056 + wwv_flow_api.g_id_offset, p_lov_id=>113228404836854036.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'启用', p_lov_return_value=>'N', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>113228921295854036.4056 + wwv_flow_api.g_id_offset, p_lov_id=>113228404836854036.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'禁用', p_lov_return_value=>'Y', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/yes_no_returns_yes_or_no begin wwv_flow_api.create_list_of_values ( p_id => 110344620122166929.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'YES NO RETURNS YES OR NO', p_lov_query=> '.'||to_char(110344620122166929 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110344806562166931.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110344620122166929.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>1, p_lov_disp_value=>'是', p_lov_return_value=>'YES', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>110345012767166934.4056 + wwv_flow_api.g_id_offset, p_lov_id=>110344620122166929.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>2, p_lov_disp_value=>'否', p_lov_return_value=>'NO', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/yes_no_returns_1_or_0 begin wwv_flow_api.create_list_of_values ( p_id => 87817312158083090.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'YES.NO.RETURNS.1_OR_0', p_lov_query=> '.'||to_char(87817312158083090 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87817530004083091.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87817312158083090.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'否', p_lov_return_value=>'0', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>87817713905083091.4056 + wwv_flow_api.g_id_offset, p_lov_id=>87817312158083090.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'是', p_lov_return_value=>'1', p_lov_data_comment=> ''); null; end; / --application/shared_components/user_interface/lov/yes_no_returns_y_or_n begin wwv_flow_api.create_list_of_values ( p_id => 157992123774592395.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_lov_name => 'YES_NO_RETURNS_Y_OR_N', p_lov_query=> '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.'); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>157992405775592399.4056 + wwv_flow_api.g_id_offset, p_lov_id=>157992123774592395.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>10, p_lov_disp_value=>'是', p_lov_return_value=>'Y', p_lov_data_comment=> ''); null; end; / begin wwv_flow_api.create_static_lov_data ( p_id=>157992613021592401.4056 + wwv_flow_api.g_id_offset, p_lov_id=>157992123774592395.4056 + wwv_flow_api.g_id_offset, p_lov_disp_sequence=>20, p_lov_disp_value=>'否', p_lov_return_value=>'N', p_lov_data_comment=> ''); null; end; / prompt ...Application Trees -- --application/pages/page_groups prompt ...page groups -- begin null; end; / --application/pages/page_.4056 prompt ...PAGE .4056: 零 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph := null; wwv_flow_api.create_page( p_id => .4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '零', p_step_title=> '零', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => '', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165700', p_page_comment => ''); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'40102013671283832'; wwv_flow_api.create_page_plug ( p_id=> 40103228562288155.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> .4056, p_plug_name=> 'Tabs', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_07', p_plug_source=> s, p_plug_source_type=> 40102013671283832 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page .4056 -- begin null; end; null; end; / --application/pages/page_1.405 prompt ...PAGE 1.4056: 现有工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc_existing.htm'; ph := null; wwv_flow_api.create_page( p_id => 1.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '现有工作区', p_step_title=> '现有工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165700', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>1.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

使用此页可搜索预配的工作区。单击工作区名称可查看特定工作区的详细报表。单击操作列的删除可启动“删除工作区向导”。

'; wwv_flow_api.create_page_plug ( p_id=> 24550226216.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1.4056, p_plug_name=> '工作区', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> 'Unable to display page region #SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'Region generated by create flow wizard'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4738629702933373.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 190755626440439097.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1.4056, p_plug_name=> 'Button Box', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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 => 'blue_arrow_down.gif::blue_arrow_up.gif:|3,3,4\1,2|'||chr(10)|| ''||chr(10)|| ' :'||chr(10)|| ''||chr(10)|| 'CompanyShortName:'||chr(10)|| ''||chr(10)|| 'Users:'||chr(10)|| ''||chr(10)|| 'Developers:'||chr(10)|| ''||chr(10)|| 'Flows:ProvStatus:'||chr(10)|| ''||chr(10)|| 'CompanyID:', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 25, p_plug_query_num_rows_item => 'F4050_P1_ROWS', p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_query_col_allignments => 'L:L:L:L:R:R:R:L', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select'||chr(10)|| ' short_name,'||chr(10)|| ' (select count(*) from wwv_flow_fnd_user where SECURITY_GROUP_ID = c.PROVISIONING_COMPANY_ID) c, '||chr(10)|| ' (select count(*) c from wwv_flow_developers where security_group_id=c.PROVISIONING_COMPANY_ID) d,'||chr(10)|| ' (select count(*) c from wwv_flows where security_group_id = c.PROVISIONING_COMPANY_ID) f,'||chr(10)|| ' (select project_status from wwv_flow_provision_company where security_group'; s:=s||'_id=c.PROVISIONING_COMPANY_ID) status,'||chr(10)|| ' (select project_approval_date from wwv_flow_provision_company where security_group_id=c.PROVISIONING_COMPANY_ID) provision_date,'||chr(10)|| ' PROVISIONING_COMPANY_ID,'||chr(10)|| ' decode('||chr(10)|| ' provisioning_company_id,'||chr(10)|| ' ''10'','||chr(10)|| ' '' '','||chr(10)|| ' ''''||'||chr(10)|| ' wwv_flow_lang.system_message(''F4350.DELETE''))||'''' delete_me'||chr(10)|| 'from WWV_FLOW_COMPANIES c '||chr(10)|| 'where short_name <> ''Unknown'' '||chr(10)|| ' and provisioning_company_id != 11'||chr(10)|| ' and (:P1_SEARCH is null or'||chr(10)|| ' upper(short_name) like ''%''||upper(:P1_SEARCH)||''%'')'; wwv_flow_api.create_report_region ( p_id=> 193842626747469150.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 1.4056, p_name=> 'Workspaces', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 50, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> '(null)', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'F4050_P1_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '8', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '8', p_prn_border_width=> .25, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48794528128772256.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区名称', p_column_link=>'f?p=&APP_ID.:14:&SESSION.:REPORT:&DEBUG.:14:SGID:#PROVISIONING_COMPANY_ID#', p_column_linktext=>'#SHORT_NAME#', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '21', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48794610711772256.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + 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=> 'C', p_column_display_sequence=> 2, p_column_heading=> '用户', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48794726108772256.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + 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=> 'D', p_column_display_sequence=> 3, p_column_heading=> '开发者', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>3, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48794802929772256.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + 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=> 'F', p_column_display_sequence=> 4, p_column_heading=> '应用程序', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48794918362772256.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + 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=> 'STATUS', p_column_display_sequence=> 5, p_column_heading=> '预配状态', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '18', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48795002361772257.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + 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=> 'PROVISION_DATE', p_column_display_sequence=> 6, p_column_heading=> '预配日期', p_column_format=> '&DATE_TIME_FORMAT.', p_column_css_style=>'white-space: nowrap;', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '18', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48795128574772257.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'PROVISIONING_COMPANY_ID', p_column_display_sequence=> 7, p_column_heading=> 'Workspace ID', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48795218806772257.4056 + wwv_flow_api.g_id_offset, p_region_id=> 193842626747469150.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'DELETE_ME', p_column_display_sequence=> 8, p_column_heading=> '操作', p_column_alignment=>'LEFT', p_heading_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_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / begin wwv_flow_api.create_page_button( p_id => 5495805493730213.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 1.4056, p_button_sequence=> 10, p_button_plug_id => 190755626440439097+wwv_flow_api.g_id_offset, p_button_name => 'CREATE_COMPANY', p_button_image_alt=> '创建工作区 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:27:&SESSION.::&DEBUG.:27,72,79::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>24599238284.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1.4056, p_branch_action=> '1', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>24644364694.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1.4056, p_name=>'P1_SEARCH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1009, p_item_plug_id => 190755626440439097.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'搜索', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>24648370307.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1.4056, p_name=>'F4050_P1_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1019, p_item_plug_id => 190755626440439097.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>81354710204276887.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1.4056, p_name=>'F4050_P1_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1010, p_item_plug_id => 190755626440439097.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source=>'15', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_A', p_lov => '.'||to_char(87504531900192794 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 24601238285.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 1.4056, p_computation_sequence => 1, p_computation_item=> 'F4050_P2_ID', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'STATIC_ASSIGNMENT', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> '', p_computation_comment=> 'Set the value of the item conainting the primary key to null when asked to create a new row.', p_compute_when => 'CREATE_ROW', p_compute_when_type=>'REQUEST_EQUALS_CONDITION'); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 104317715949674713.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 1.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>':REQUEST is null or :REQUEST = ''GO''', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 1.4056 -- begin null; end; null; end; / --application/pages/page_3.405 prompt ...PAGE 3.4056: Application Express 管理服务 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 3.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => 'Application Express 管理服务', p_step_title=> 'Application Express 管理服务', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216800021154677630+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165700', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>3.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'使用此页可以访问 &PRODUCT_NAME. 服务的管理任务。'; wwv_flow_api.create_page_plug ( p_id=> 118635692071.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 3.4056, p_plug_name=> '管理', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 5, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4597204638216479.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 3.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'5953426056662285'; wwv_flow_api.create_page_plug ( p_id=> 6030412819853676.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 3.4056, p_plug_name=> 'Administration Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 5953426056662285 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'htp.p('''');'; wwv_flow_api.create_page_plug ( p_id=> 75828712782181553.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 3.4056, p_plug_name=> '通知', p_region_name=>'', p_plug_template=> 31640708314725266.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_required_patch=> '-739403989402288.4056' + wwv_flow_api.g_id_offset, p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'F4050_P72_ADMIN_PASS,F4050_P79_SCHEMA_PASSWORD,F4050_P23_WEB_PASSWORD,F4050_P53_PASSWORD,P106_PASSWORD,P277_SCHEMA_PASSWORD'; wwv_flow_api.create_page_process( p_id => 359767105825562475.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 3.4056, p_process_sequence=> 10, p_process_point=> 'BEFORE_HEADER', p_process_type=> 'CLEAR_CACHE_FOR_ITEMS', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 3.4056 -- begin null; end; null; end; / --application/pages/page_4.405 prompt ...PAGE 4.4056: 预配管理 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 4.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '预配管理', p_step_title=> '预配管理', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165700', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>4.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| ' COMPANY_NAME,'||chr(10)|| ' ADMIN_FIRST_NAME,'||chr(10)|| ' ADMIN_LAST_NAME,'||chr(10)|| ' ADMIN_TITLE,'||chr(10)|| ' ADMIN_EMAIL,'||chr(10)|| ' ADMIN_PHONE,'||chr(10)|| ' ADMIN_USERID,'||chr(10)|| ' COMPANY_ADDRESS,'||chr(10)|| ' CITY,'||chr(10)|| ' STATE,'||chr(10)|| ' ZIP,'||chr(10)|| ' COUNTRY,'||chr(10)|| ' COMPANY_TYPE,'||chr(10)|| ' COMPANY_WEBSITE,'||chr(10)|| ' NUMBER_OF_EMPLOYEES,'||chr(10)|| ' COMPANY_PHONE,'||chr(10)|| ' COMPANY_FAX,'||chr(10)|| ' ORACLE_PARTNER,'||chr(10)|| ' HOW_DID_YOU_HEAR_ABOUT_US,'||chr(10)|| ' SERVICE_USE_STATUS,'||chr(10)|| ' DATABASE_SIZE,'||chr(10)|| ''; s:=s||' SERVICE_START_DATE,'||chr(10)|| ' SERVICE_TERMINATION_DATE,'||chr(10)|| ' SCHEMA_NAME,'||chr(10)|| ' ESTIMATED_END_USERS,'||chr(10)|| ' PAGE_VIEWS_PER_DAY,'||chr(10)|| ' PROJECT_DESCRIPTION,'||chr(10)|| ' PROJECT_JUSTIFICATION,'||chr(10)|| ' PROJECT_APPROVAL_DATE,'||chr(10)|| ' PROJECT_ACTUAL_BEGIN_DATE,'||chr(10)|| ' PROJECT_ACTUAL_END_DATE,'||chr(10)|| ' PROJECT_STATUS,'||chr(10)|| ' request_date,'||chr(10)|| ' SECURITY_GROUP_ID,'||chr(10)|| ' id'||chr(10)|| 'from WWV_FLOW_PROVISION_COMPANY'||chr(10)|| 'where id = :provision_id'; wwv_flow_api.create_report_region ( p_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 4.4056, p_name=> '预配请求', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 3, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48687419982771655.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + 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=> 'COMPANY_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区名称', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48687515843771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + 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=> 'ADMIN_FIRST_NAME', p_column_display_sequence=> 2, p_column_heading=> '管理员的名字', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48687628068771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + 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=> 'ADMIN_LAST_NAME', p_column_display_sequence=> 3, p_column_heading=> '管理员的姓', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48687729004771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + 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=> 'ADMIN_TITLE', p_column_display_sequence=> 4, p_column_heading=> 'Admin Title', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48687805987771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + 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=> 'ADMIN_EMAIL', p_column_display_sequence=> 5, p_column_heading=> '管理员电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48687909288771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + 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=> 'ADMIN_PHONE', p_column_display_sequence=> 6, p_column_heading=> 'Admin Phone', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688029577771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'ADMIN_USERID', p_column_display_sequence=> 7, p_column_heading=> '管理员用户 ID', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688118304771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'COMPANY_ADDRESS', p_column_display_sequence=> 8, p_column_heading=> 'Company Address', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688207126771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'CITY', p_column_display_sequence=> 9, p_column_heading=> 'City', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688309531771656.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'STATE', p_column_display_sequence=> 10, p_column_heading=> 'State', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688426433771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 11, p_form_element_id=> null, p_column_alias=> 'ZIP', p_column_display_sequence=> 11, p_column_heading=> 'Zip', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688501652771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 12, p_form_element_id=> null, p_column_alias=> 'COUNTRY', p_column_display_sequence=> 12, p_column_heading=> 'Country', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688632281771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 13, p_form_element_id=> null, p_column_alias=> 'COMPANY_TYPE', p_column_display_sequence=> 13, p_column_heading=> 'Company Type', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688721428771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 14, p_form_element_id=> null, p_column_alias=> 'COMPANY_WEBSITE', p_column_display_sequence=> 14, p_column_heading=> 'Company Website', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688808773771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 15, p_form_element_id=> null, p_column_alias=> 'NUMBER_OF_EMPLOYEES', p_column_display_sequence=> 15, p_column_heading=> 'Number Of Employees', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48688903783771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 16, p_form_element_id=> null, p_column_alias=> 'COMPANY_PHONE', p_column_display_sequence=> 16, p_column_heading=> 'Company Phone', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689016797771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 17, p_form_element_id=> null, p_column_alias=> 'COMPANY_FAX', p_column_display_sequence=> 17, p_column_heading=> 'Company Fax', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689116782771657.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 18, p_form_element_id=> null, p_column_alias=> 'ORACLE_PARTNER', p_column_display_sequence=> 18, p_column_heading=> 'Oracle Partner', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689200152771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 19, p_form_element_id=> null, p_column_alias=> 'HOW_DID_YOU_HEAR_ABOUT_US', p_column_display_sequence=> 19, p_column_heading=> 'How Did You Hear About Us', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689300933771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 20, p_form_element_id=> null, p_column_alias=> 'SERVICE_USE_STATUS', p_column_display_sequence=> 20, p_column_heading=> '工作区使用状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689400444771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 21, p_form_element_id=> null, p_column_alias=> 'DATABASE_SIZE', p_column_display_sequence=> 21, p_column_heading=> '数据库大小', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689521409771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 22, p_form_element_id=> null, p_column_alias=> 'SERVICE_START_DATE', p_column_display_sequence=> 22, p_column_heading=> 'Service Start Date', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689621142771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 23, p_form_element_id=> null, p_column_alias=> 'SERVICE_TERMINATION_DATE', p_column_display_sequence=> 23, p_column_heading=> 'Service Termination Date', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689700511771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 24, p_form_element_id=> null, p_column_alias=> 'SCHEMA_NAME', p_column_display_sequence=> 24, p_column_heading=> '方案名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689810534771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 25, p_form_element_id=> null, p_column_alias=> 'ESTIMATED_END_USERS', p_column_display_sequence=> 25, p_column_heading=> 'Estimated End Users', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48689908996771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 26, p_form_element_id=> null, p_column_alias=> 'PAGE_VIEWS_PER_DAY', p_column_display_sequence=> 26, p_column_heading=> 'Page Views Per Day', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690003327771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 27, p_form_element_id=> null, p_column_alias=> 'PROJECT_DESCRIPTION', p_column_display_sequence=> 27, p_column_heading=> '说明', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690115108771658.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 28, p_form_element_id=> null, p_column_alias=> 'PROJECT_JUSTIFICATION', p_column_display_sequence=> 28, p_column_heading=> '审批理由', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690213710771659.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 29, p_form_element_id=> null, p_column_alias=> 'PROJECT_APPROVAL_DATE', p_column_display_sequence=> 29, p_column_heading=> 'Project Approval Date', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690326689771659.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 30, p_form_element_id=> null, p_column_alias=> 'PROJECT_ACTUAL_BEGIN_DATE', p_column_display_sequence=> 30, p_column_heading=> 'Project Actual Begin Date', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690425411771659.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 31, p_form_element_id=> null, p_column_alias=> 'PROJECT_ACTUAL_END_DATE', p_column_display_sequence=> 31, p_column_heading=> 'Project Actual End Date', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690503555771659.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 32, p_form_element_id=> null, p_column_alias=> 'PROJECT_STATUS', p_column_display_sequence=> 32, p_column_heading=> 'Project Status', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690621397771659.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 33, p_form_element_id=> null, p_column_alias=> 'REQUEST_DATE', p_column_display_sequence=> 33, p_column_heading=> '请求日期', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48690710746771659.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 34, p_form_element_id=> null, p_column_alias=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 34, p_column_heading=> 'Workspace', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 48690814352771659.4056 + wwv_flow_api.g_id_offset, p_region_id=> 173724892445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 35, p_form_element_id=> null, p_column_alias=> 'ID', p_column_display_sequence=> 35, p_column_heading=> 'Identification Number', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 3638630950114201.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 4.4056, p_plug_name=> 'topbar', p_region_name=>'', p_plug_template=> 182507118036154586.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 5, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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_INITCAP', p_plug_query_num_rows => 15, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 40437913187665660.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 4.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare '||chr(10)|| 'l_schema varchar2(30) := null;'||chr(10)|| 'l_schema_exists boolean := false;'||chr(10)|| 'l_schema_in_use boolean := false;'||chr(10)|| 'l_schema_cannot_be_assigned boolean := false;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'for c1 in (select upper(schema_name) sa1'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID) loop'||chr(10)|| ' l_schema := c1.sa1;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from sys.user$ where name = l_schema) loop'||chr(10)|| ' l_s'; s:=s||'chema_exists := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from wwv_flow_company_schemas '||chr(10)|| ' where schema = l_schema) loop'||chr(10)|| ' l_schema_in_use := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from dual'||chr(10)|| ' where wwv_flow_provisioning.reserved_schema_i(l_schema) = 1'||chr(10)|| ' or wwv_flow_provisioning.restricted_schema_i(l_schema, :P4_COMPANY_NAME) = 1) loop'||chr(10)|| ' l_schema_cannot_be_assigned := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'htp.p(''
'');h'; s:=s||'tp.p(''
'');'||chr(10)|| ''||chr(10)|| 'if l_schema_exists then'||chr(10)|| ' htp.p(''

''||'||chr(10)|| ' wwv_flow_lang.system_message(''F4050.SCHEMA_EXISTS''));'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'if l_schema_in_use then'||chr(10)|| ' htp.p(''

''||'||chr(10)|| ' wwv_flow_lang.system_message(''F4050.SCHEMA_ASSIGNED''));'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'if l_schema_cannot_be_assigned then'||chr(10)|| ' htp.p(''

''||'||chr(10)|| ' wwv_flow_lang.system_message(''F4050.RESTRICTED_ADMIN''));'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 179795422363234062.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 4.4056, p_plug_name=> '警告', p_region_name=>'', p_plug_template=> 162426626171243866.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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 => 'FUNCTION_BODY', p_plug_display_when_condition => 'declare '||chr(10)|| 'l_schema varchar2(30) := null;'||chr(10)|| 'l_schema_exists boolean := false;'||chr(10)|| 'l_schema_in_use boolean := false;'||chr(10)|| 'l_schema_restricted boolean := false;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'for c1 in (select upper(schema_name) sa1'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID) loop'||chr(10)|| ' l_schema := c1.sa1;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from sys.user$ where name = l_schema) loop'||chr(10)|| ' l_schema_exists := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from wwv_flow_company_schemas '||chr(10)|| ' where schema = l_schema) loop'||chr(10)|| ' l_schema_in_use := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from dual'||chr(10)|| ' where wwv_flow_provisioning.reserved_schema_i(l_schema) = 1'||chr(10)|| ' or wwv_flow_provisioning.restricted_schema_i(l_schema,:P4_COMPANY_NAME) = 1) loop'||chr(10)|| ' l_schema_restricted := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'if l_schema_exists or l_schema_in_use or l_schema_restricted then'||chr(10)|| ' return true;'||chr(10)|| 'else'||chr(10)|| ' return false;'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'end;', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select short_name from wwv_flow_companies where provisioning_company_id in (select security_group_id from wwv_flow_company_schemas where schema = ('||chr(10)|| ' select upper(schema_name)'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID))'; wwv_flow_api.create_report_region ( p_id=> 179796001715237593.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 4.4056, p_name=> '使用请求的方案的工作区', p_region_name=>'', p_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 30, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'select 1 from wwv_flow_company_schemas where schema = ('||chr(10)|| ' select upper(schema_name)'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID)', p_display_condition_type=> 'EXISTS', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 179796231768237594.4056 + wwv_flow_api.g_id_offset, p_region_id=> 179796001715237593.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', 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; l_clob clob; l_length number := 1; begin s:=s||'

单击对应于要对特定工作区请求执行的操作的按钮。

'||chr(10)|| '

要拒绝请求, 请单击拒绝 > 以进入最终的通知步骤。

'||chr(10)|| '

要批准请求, 请单击批准 > 以进入最终的通知步骤。

'; wwv_flow_api.create_page_plug ( p_id=> 179802513712347644.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 4.4056, p_plug_name=> '处理工作区请求', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 225165738087.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 4.4056, p_button_sequence=> 5, p_button_plug_id => 3638630950114201+wwv_flow_api.g_id_offset, p_button_name => 'DECLINE', p_button_image_alt=> '拒绝 >', p_button_position=> 'REGION_TEMPLATE_CHANGE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=4050:56:&SESSION.:::56', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 203403932651.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 4.4056, p_button_sequence=> 1, p_button_plug_id => 3638630950114201+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 200345928591.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 4.4056, p_button_sequence=> 10, p_button_plug_id => 3638630950114201+wwv_flow_api.g_id_offset, p_button_name => 'Approve', p_button_image_alt=> '批准 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:55:&SESSION.::&DEBUG.:55::', p_button_condition=> 'declare l_schema varchar2(30) := null;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select upper(schema_name) sa1'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID) loop'||chr(10)|| ' l_schema := c1.sa1;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' if l_schema is not null then '||chr(10)|| ' for c1 in ('||chr(10)|| ' select 1 from dual'||chr(10)|| ' where '||chr(10)|| '(wwv_flow_provisioning.reserved_schema_i(l_schema) = 1)'||chr(10)|| ' or'||chr(10)|| '(wwv_flow_provisioning.restricted_schema_i(l_schema,:P4_COMPANY_NAME) = 1)) loop'||chr(10)|| ' return false;'||chr(10)|| ' end loop;'||chr(10)|| ' return true;'||chr(10)|| ' else'||chr(10)|| ' return false;'||chr(10)|| ' end if;'||chr(10)|| 'end;', p_button_condition_type=> 'FUNCTION_BODY', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>203412932673.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 4.4056, p_branch_action=> '26', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>203403932651.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>183253903897.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 4.4056, p_name=>'PROVISION_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 173724892445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'PROVISION_ID', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>48853112333141000.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 4.4056, p_name=>'P4_COMPANY_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 173724892445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 48857919699199941.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 4.4056, p_computation_sequence => 10, p_computation_item=> 'P4_COMPANY_NAME', p_computation_point=> 'AFTER_HEADER', p_computation_type=> 'QUERY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'select company_name from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID', p_compute_when => '', p_compute_when_type=>''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 4.4056 -- begin null; end; null; end; / --application/pages/page_5.405 prompt ...PAGE 5.4056: 管理服务 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_service.htm'; ph := null; wwv_flow_api.create_page( p_id => 5.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理服务', p_step_title=> '管理服务', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216800021154677630+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165701', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>5.4056,p_text=>h); 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=> 6022815598804767.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 5.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 6023019713804767.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 5.4056, p_plug_name=> '管理服务', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 19017202882431374 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'使用此页可控制和设置此 &PRODUCT_NAME. 实例的特征和功能。'; wwv_flow_api.create_page_plug ( p_id=> 6119928615239299.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 5.4056, p_plug_name=> '管理服务', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 50, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'47534314618390800'; wwv_flow_api.create_page_plug ( p_id=> 47536031372405041.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 5.4056, p_plug_name=> '管理环境设置', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 60, p_plug_display_column=> 2, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 47534314618390800 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'137961006165346808'; wwv_flow_api.create_page_plug ( p_id=> 137963026597352771.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 5.4056, p_plug_name=> '管理共享组件', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 70, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 137961006165346808 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 5.4056 -- begin null; end; null; end; / --application/pages/page_6.405 prompt ...PAGE 6.4056: 预配请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_ser_rqst.htm'; ph := null; wwv_flow_api.create_page( p_id => 6.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '预配请求', p_step_title=> '预配请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165701', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>6.4056,p_text=>h); 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=> 225183790487.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 6.4056, p_plug_name=> '编辑预配请求', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'Unable to show report. #SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 15, p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'generated 23-FEB-2001 17:53:48'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

编辑当前工作区请求。

'||chr(10)|| '

单击应用更改按钮 (如果有的话) 保存所做更改。单击终止或删除按钮 (如果有的话) 终止请求。单击删除按钮 (如果有的话) 删除请求。

'; wwv_flow_api.create_page_plug ( p_id=> 225294842695.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 6.4056, p_plug_name=> '编辑请求', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_INITCAP', p_plug_query_num_rows => 15, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 40441304661672658.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 6.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 225186790489.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_button_sequence=> 1, p_button_plug_id => 225183790487+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 225190790490.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_button_sequence=> 3, p_button_plug_id => 225183790487+wwv_flow_api.g_id_offset, p_button_name => 'Apply_Changes', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'F4050_P6_ID', p_button_condition_type=> 'ITEM_IS_NOT_NULL', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 2934116575079521.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_button_sequence=> 10, p_button_plug_id => 225183790487+wwv_flow_api.g_id_offset, p_button_name => 'Terminate_or_Delete', p_button_image_alt=> '终止或删除', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'select 1'||chr(10)|| ''||chr(10)|| 'from wwv_flow_provision_company'||chr(10)|| ''||chr(10)|| 'where id = :F4050_P6_ID'||chr(10)|| ''||chr(10)|| 'and project_status = ''APPROVED''', p_button_condition_type=> 'EXISTS', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 52722223258062562.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_button_sequence=> 10, p_button_plug_id => 225183790487+wwv_flow_api.g_id_offset, p_button_name => 'Delete', p_button_image_alt=> '删除', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=4050:8:&SESSION.::NO::D_PROVISION_ID:&F4050_P6_ID.', p_button_condition=> 'select 1'||chr(10)|| ''||chr(10)|| 'from wwv_flow_provision_company'||chr(10)|| ''||chr(10)|| 'where id = :F4050_P6_ID'||chr(10)|| ''||chr(10)|| 'and project_status = ''APPROVED''', p_button_condition_type=> 'NOT_EXISTS', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>135407227774354772.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_branch_action=> 'f?p=&FLOW_ID.:81:&SESSION.::&DEBUG.:81,82:P81_COMPANY:&F4050_P6_COMPANY_NAME.', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>2934116575079521.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 01-AUG-2003 15:02 by JASON'); wwv_flow_api.create_page_branch( p_id=>225180790486.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_branch_action=> '26', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>225182790487.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_branch_action=> '26', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_branch_condition_type=> 'REQUEST_EQUALS_CONDITION', p_branch_condition=> 'Cancel', p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225194790494.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1000, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_prompt=>'Id', p_source=>'ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225196790494.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_SECURITY_GROUP_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'&COMPANY_NAME.', p_source=>'SECURITY_GROUP_ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入一个工作区。'; wwv_flow_api.create_page_item( p_id=>225198790495.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_COMPANY_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source=>'COMPANY_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入名字。'; wwv_flow_api.create_page_item( p_id=>225200790495.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ADMIN_FIRST_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理员的名字', p_source=>'ADMIN_FIRST_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入姓氏。'; wwv_flow_api.create_page_item( p_id=>225202790496.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ADMIN_LAST_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理员的姓氏', p_source=>'ADMIN_LAST_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225204790497.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ADMIN_TITLE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 60, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Admin Title', p_source=>'ADMIN_TITLE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入电子邮件地址。'; wwv_flow_api.create_page_item( p_id=>225206790497.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ADMIN_EMAIL', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 32, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理员的电子邮件', p_source=>'ADMIN_EMAIL', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225208790498.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ADMIN_PHONE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 80, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Admin Phone', p_source=>'ADMIN_PHONE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识管理员用户 ID。'; wwv_flow_api.create_page_item( p_id=>225210790498.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ADMIN_USERID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 31, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理员用户 ID', p_source=>'ADMIN_USERID', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225212790499.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_COMPANY_ADDRESS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 100, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Company Address', p_source=>'COMPANY_ADDRESS', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225214790500.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_CITY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 110, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'City', p_source=>'CITY', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225216790500.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_STATE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 120, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'State', p_source=>'STATE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225218790501.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_ZIP', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 130, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Postal Code', p_source=>'ZIP', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225220790501.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_COUNTRY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 140, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Country', p_source=>'COUNTRY', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_named_lov=> 'COUNTRIES', p_lov => 'select COUNTRY_NAME d, COUNTRY_NAME r'||chr(10)|| 'from wwv_flow_countries'||chr(10)|| 'order by country_name', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 31, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225222790502.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_COMPANY_TYPE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 150, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Company Type', p_source=>'COMPANY_TYPE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>225236790507.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_SERVICE_USE_STATUS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 220, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Service Use Status', p_source=>'SERVICE_USE_STATUS', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 30, p_cHeight=> 1, 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 => 111843720754869910.4056+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 h := null; h:=h||'标识数据库大小。'; wwv_flow_api.create_page_item( p_id=>225238790508.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_DATABASE_SIZE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 230, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'数据库大小', p_source=>'DATABASE_SIZE', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识服务开始日期。'; wwv_flow_api.create_page_item( p_id=>225240790509.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_SERVICE_START_DATE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 240, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Service Start Date', p_source=>'SERVICE_START_DATE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识服务终止日期。'; wwv_flow_api.create_page_item( p_id=>225242790509.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_SERVICE_TERMINATION_DATE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 250, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Service Termination Date', p_source=>'SERVICE_TERMINATION_DATE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识方案名。'; wwv_flow_api.create_page_item( p_id=>225244790510.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_SCHEMA_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 260, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'方案名', p_source=>'SCHEMA_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'POPUP', p_named_lov=> 'LIST_ALL_DATABASE_SCHEMAS', p_lov => 'declare q varchar2(32767);'||chr(10)|| ' l_flows_schema varchar2(30) := wwv_flow.g_flow_schema_owner;'||chr(10)|| 'begin'||chr(10)|| ' q := ''select name n, name r from sys.user$ u where type#=1 and name <> ''''''||l_flows_schema||'''''' and name not in (''''HTMLDB_PUBLIC_USER'''',''''PUBLIC_USER'''',''''FLOWS_FILES'''',''''SCHEDULER'''',''''PEOPLE'''',''''APEX_PUBLIC_USER'''')'';'||chr(10)|| ' q := q||'' and name not in (select schema from wwv_flow_restricted_schemas where not exists (select 1 from wwv_flow_rschema_exceptions where schema_id = (select id from wwv_flow_restricted_schemas where schema = u.name))) '';'||chr(10)|| ' q := q ||'' order by 1'';'||chr(10)|| ' return q;'||chr(10)|| 'end;', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识项目说明'; wwv_flow_api.create_page_item( p_id=>225250790511.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_PROJECT_DESCRIPTION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 290, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'项目说明', p_source=>'PROJECT_DESCRIPTION', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXTAREA', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 255, p_cHeight=> 4, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识项目审批理由。'; wwv_flow_api.create_page_item( p_id=>225252790512.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_PROJECT_JUSTIFICATION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 300, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'项目审批理由', p_source=>'PROJECT_JUSTIFICATION', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXTAREA', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 255, p_cHeight=> 4, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识审批日期。'; wwv_flow_api.create_page_item( p_id=>225254790513.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_PROJECT_APPROVAL_DATE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 310, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Approval Date', p_source=>'PROJECT_APPROVAL_DATE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识预配日期。'; wwv_flow_api.create_page_item( p_id=>225256790513.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_PROJECT_ACTUAL_BEGIN_DATE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 320, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Project Actual Begin Date', p_source=>'PROJECT_ACTUAL_BEGIN_DATE', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识项目状态。'; wwv_flow_api.create_page_item( p_id=>225260790515.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_PROJECT_STATUS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 340, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'项目状态:', p_source=>'PROJECT_STATUS', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_ONLY_LOV', p_named_lov=> 'SERVICE.REQUEST.STATUS', p_lov => '.'||to_char(87755726864223308 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识项目工作区方案。'; wwv_flow_api.create_page_item( p_id=>225262790515.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 6.4056, p_name=>'F4050_P6_PROJECT_SCHEMA_LIST', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 350, p_item_plug_id => 225183790487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'项目方案列表', p_source=>'PROJECT_SCHEMA_LIST', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXTAREA', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 255, p_cHeight=> 4, 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_display_when_type=>'NEVER', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 183384800804268476.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_validation_name => 'schema not restricted', p_validation_sequence=> 10, p_validation => 'if (wwv_flow_provisioning.site_admin_is_restricted and'||chr(10)|| ' wwv_flow_provisioning.restricted_schema('||chr(10)|| ' p_schema => upper(:F4050_P6_SCHEMA_NAME),'||chr(10)|| ' p_workspace_name => upper(:F4050_P6_COMPANY_NAME)'||chr(10)|| ' )) then'||chr(10)|| ' return false;'||chr(10)|| 'else'||chr(10)|| ' return true;'||chr(10)|| 'end if;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '请求的方案受限。无法将受限方案分配给工作区。', p_when_button_pressed=> 225190790490.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 225244790510.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 183404521151643333.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_validation_name => 'schema not reserved', p_validation_sequence=> 20, p_validation => 'if wwv_flow_provisioning.reserved_schema(p_schema => '||chr(10)|| ' upper(:F4050_P6_SCHEMA_NAME)) then'||chr(10)|| ' return false;'||chr(10)|| 'else'||chr(10)|| ' return true;'||chr(10)|| 'end if;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '请求的方案被保留。', p_when_button_pressed=> 225190790490.4056 + wwv_flow_api.g_id_offset, p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_PROVISION_COMPANY:F4050_P6_ID:ID'; wwv_flow_api.create_page_process( p_id => 225264790516.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_HEADER', p_process_type=> 'DML_FETCH_ROW', p_process_name=> 'Fetch Row from WWV_FLOW_PROVISION_COMPANY', p_process_sql_clob => p, p_process_error_message=> '提取行时出错。', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_PROVISION_COMPANY:F4050_P6_ID:ID|U'; wwv_flow_api.create_page_process( p_id => 225266790517.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 6.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'DML_PROCESS_ROW', p_process_name=> 'Process Row of WWV_FLOW_PROVISION_COMPANY', p_process_sql_clob => p, p_process_error_message=> '处理行时出错。', p_process_when_button_id=>225190790490.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '操作已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 6.4056 -- begin null; end; null; end; / --application/pages/page_7.405 prompt ...PAGE 7.4056: 调整请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 7.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '调整请求', p_step_title=> '调整请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165702', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>7.4056,p_text=>h); 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=> 43187720190328736.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 7.4056, p_plug_name=> '更改状态预配属性', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS_INITCAP', p_plug_query_num_rows => 5, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_footer=> '
上述信息来自工作区请求。对于预配的用户来说, 实际的工作区名称和其他属性可能会有所不同, 此处只是请求。
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'generated 16-MAR-2001 18:11:26'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

此页使工作区管理员可以更改工作区请求的状态。

'||chr(10)|| '

将请求重置为已请求可重新预配工作区。

'||chr(10)|| '

注: 将项目状态设置为已请求时要谨慎。尽管已请求允许您重新预配工作区, 但这样做可能会由于预配帐户的方式而损坏数据。预配系统假定已请求工作区请求没有针对工作区管理员或开发者的相应方案和字典条目。如果要将批准工作区的项目状态更改为已请求, 请先终止工作区, 然后再将状态更改为已请求

'; wwv_flow_api.create_page_plug ( p_id=> 43202121056423198.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 7.4056, p_plug_name=> '更改状态', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_INITCAP', p_plug_query_num_rows => 5, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select * from wwv_flow_provision_company where id = :T_PROVISION_ID'; wwv_flow_api.create_report_region ( p_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 7.4056, p_name=> '预配请求报表', p_region_name=>'', p_template=> 159419508372158325.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 15, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 3, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '5', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> '(null)', p_query_break_cols=> '0', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48556132422770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> 'ID', p_column_alignment=>'LEFT', p_heading_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=> 48556223377770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + 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=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 2, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_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=> 48556324615770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + 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=> 'COMPANY_NAME', p_column_display_sequence=> 3, p_column_heading=> '工作区名称', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48556402156770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + 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=> 'ADMIN_FIRST_NAME', p_column_display_sequence=> 4, p_column_heading=> '管理员的名字', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48556509895770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + 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=> 'ADMIN_LAST_NAME', p_column_display_sequence=> 5, p_column_heading=> '管理员的姓氏', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48556604610770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + 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=> 'ADMIN_TITLE', p_column_display_sequence=> 6, p_column_heading=> '管理员的称谓', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48556719143770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'ADMIN_EMAIL', p_column_display_sequence=> 7, p_column_heading=> '管理员的电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48556819251770818.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'ADMIN_PHONE', p_column_display_sequence=> 8, p_column_heading=> '管理员的电话', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48556903983770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'ADMIN_ID', p_column_display_sequence=> 9, p_column_heading=> '管理员 ID', p_column_alignment=>'LEFT', p_heading_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=> 48557019200770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'ADMIN_USERID', p_column_display_sequence=> 10, p_column_heading=> '管理员用户', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557116708770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 11, p_form_element_id=> null, p_column_alias=> 'COMPANY_ADDRESS', p_column_display_sequence=> 11, p_column_heading=> '公司地址', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557212730770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 12, p_form_element_id=> null, p_column_alias=> 'CITY', p_column_display_sequence=> 12, p_column_heading=> '城市', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557300303770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 13, p_form_element_id=> null, p_column_alias=> 'STATE', p_column_display_sequence=> 13, p_column_heading=> '省/市/自治区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557417190770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 14, p_form_element_id=> null, p_column_alias=> 'ZIP', p_column_display_sequence=> 14, p_column_heading=> '邮编', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557531161770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 15, p_form_element_id=> null, p_column_alias=> 'COUNTRY', p_column_display_sequence=> 15, p_column_heading=> '国家/地区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557603733770819.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 16, p_form_element_id=> null, p_column_alias=> 'COMPANY_TYPE', p_column_display_sequence=> 16, p_column_heading=> '公司类型', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557725446770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 17, p_form_element_id=> null, p_column_alias=> 'COMPANY_WEBSITE', p_column_display_sequence=> 17, p_column_heading=> '公司 Web 站点', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557807266770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 18, p_form_element_id=> null, p_column_alias=> 'NUMBER_OF_EMPLOYEES', p_column_display_sequence=> 18, p_column_heading=> '员工数', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48557909867770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 19, p_form_element_id=> null, p_column_alias=> 'COMPANY_PHONE', p_column_display_sequence=> 19, p_column_heading=> '公司电话', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48558009366770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 20, p_form_element_id=> null, p_column_alias=> 'COMPANY_FAX', p_column_display_sequence=> 20, p_column_heading=> '公司传真', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48558128386770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 21, p_form_element_id=> null, p_column_alias=> 'ORACLE_PARTNER', p_column_display_sequence=> 21, p_column_heading=> 'Oracle 合作伙伴', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48558215519770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 22, p_form_element_id=> null, p_column_alias=> 'HOW_DID_YOU_HEAR_ABOUT_US', p_column_display_sequence=> 22, p_column_heading=> '您是通过什么方式知道我们的', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48558301343770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 23, p_form_element_id=> null, p_column_alias=> 'SERVICE_USE_STATUS', p_column_display_sequence=> 23, p_column_heading=> '工作区使用状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48558416989770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 24, p_form_element_id=> null, p_column_alias=> 'DATABASE_SIZE', p_column_display_sequence=> 24, p_column_heading=> '数据库大小', p_column_alignment=>'LEFT', p_heading_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=> 48558502328770820.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 25, p_form_element_id=> null, p_column_alias=> 'SERVICE_START_DATE', p_column_display_sequence=> 25, p_column_heading=> '工作区开始日期', p_column_alignment=>'LEFT', p_heading_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=> 48558608436770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 26, p_form_element_id=> null, p_column_alias=> 'SERVICE_TERMINATION_DATE', p_column_display_sequence=> 26, p_column_heading=> '工作区终止日期', p_column_alignment=>'LEFT', p_heading_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=> 48558732412770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 27, p_form_element_id=> null, p_column_alias=> 'SCHEMA_NAME', p_column_display_sequence=> 27, p_column_heading=> '方案名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48558828706770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 28, p_form_element_id=> null, p_column_alias=> 'ESTIMATED_END_USERS', p_column_display_sequence=> 28, p_column_heading=> '估计的最终用户', p_column_alignment=>'LEFT', p_heading_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=> 48558926502770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 29, p_form_element_id=> null, p_column_alias=> 'PAGE_VIEWS_PER_DAY', p_column_display_sequence=> 29, p_column_heading=> '每天的页访问量', p_column_alignment=>'LEFT', p_heading_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=> 48559028941770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 30, p_form_element_id=> null, p_column_alias=> 'PROJECT_DESCRIPTION', p_column_display_sequence=> 30, p_column_heading=> '项目说明', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48559105122770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 31, p_form_element_id=> null, p_column_alias=> 'PROJECT_JUSTIFICATION', p_column_display_sequence=> 31, p_column_heading=> '项目审批理由', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48559207106770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 32, p_form_element_id=> null, p_column_alias=> 'PROJECT_APPROVAL_DATE', p_column_display_sequence=> 32, p_column_heading=> '项目审批日期', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48559322056770821.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 33, p_form_element_id=> null, p_column_alias=> 'PROJECT_ACTUAL_BEGIN_DATE', p_column_display_sequence=> 33, p_column_heading=> '项目实际开始日期', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48559424282770822.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 34, p_form_element_id=> null, p_column_alias=> 'PROJECT_ACTUAL_END_DATE', p_column_display_sequence=> 34, p_column_heading=> '项目实际结束日期', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48559505641770822.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 35, p_form_element_id=> null, p_column_alias=> 'PROJECT_STATUS', p_column_display_sequence=> 35, p_column_heading=> '项目状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48559628424770822.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 36, p_form_element_id=> null, p_column_alias=> 'WORK_LOG', p_column_display_sequence=> 36, p_column_heading=> '工作日志', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48559715673770822.4056 + wwv_flow_api.g_id_offset, p_region_id=> 48679045286466446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 37, p_form_element_id=> null, p_column_alias=> 'REQUEST_DATE', p_column_display_sequence=> 37, p_column_heading=> '请求日期', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 68360032073823482.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 7.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 60, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 227262248958.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_button_sequence=> 10, p_button_plug_id => 43187720190328736+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:26:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 43186036285311765.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_button_sequence=> 25, p_button_plug_id => 43187720190328736+wwv_flow_api.g_id_offset, p_button_name => 'Apply_Changes', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> '(:T_PROVISION_ID is not null)', p_button_condition_type=> 'PLSQL_EXPRESSION', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 23895428675298516.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_button_sequence=> 35, p_button_plug_id => 43187720190328736+wwv_flow_api.g_id_offset, p_button_name => 'APPLY_CHANGES', p_button_image_alt=> '删除', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'F4050_P26_STATUS', p_button_condition2=> 'ACCEPTED', p_button_condition_type=> 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>227270253105.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_branch_action=> '26', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>227275281088.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'T_PROVISION_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'New Service Provisioning Request ID:', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'预配请求的 ID 号。'; wwv_flow_api.create_page_item( p_id=>3143616388404027.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'F4050_P7_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 43187720190328736.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'请求 ID:', p_source=>'ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_AND_SAVE', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'预配工作区的 ID 号。'; wwv_flow_api.create_page_item( p_id=>3147132094442338.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'F4050_P7_SECURITY_GROUP_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 43187720190328736.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'安全组 ID (标识工作区):', p_source=>'SECURITY_GROUP_ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_AND_SAVE', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'工作区的名称。'; wwv_flow_api.create_page_item( p_id=>3149427134444600.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'F4050_P7_COMPANY_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 43187720190328736.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区:', p_source=>'COMPANY_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_AND_SAVE', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'工作区管理员的电子邮件地址。'; wwv_flow_api.create_page_item( p_id=>3151719586448120.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'F4050_P7_ADMIN_EMAIL', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 43187720190328736.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理员电子邮件:', p_source=>'ADMIN_EMAIL', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_AND_SAVE', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要预配的方案。'; wwv_flow_api.create_page_item( p_id=>3154014626450405.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'F4050_P7_SCHEMA_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 60, p_item_plug_id => 43187720190328736.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'方案名:', p_source=>'SCHEMA_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_AND_SAVE', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'项目状态。'; wwv_flow_api.create_page_item( p_id=>3156308803453087.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'F4050_P7_PROJECT_STATUS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 70, p_item_plug_id => 43187720190328736.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'项目状态', p_source=>'PROJECT_STATUS', p_source_type=> 'DB_COLUMN', p_display_as=> 'COMBOBOX', p_named_lov=> 'SERVICE.REQUEST.STATUS', p_lov => '.'||to_char(87755726864223308 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'YES', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>52855125454514117.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 7.4056, p_name=>'F4050_P7_PREV_PROJ_STATUS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 80, p_item_plug_id => 43187720190328736.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'F4050_P7_PREV_PROJ_STATUS', p_source=>'select project_status'||chr(10)|| ''||chr(10)|| 'from wwv_flow_provision_company'||chr(10)|| ''||chr(10)|| 'where id = :F4050_P7_ID', p_source_type=> 'QUERY', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 52862315508549089.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_validation_name => 'status error', p_validation_sequence=> 10, p_validation => 'if :F4050_P7_PREV_PROJ_STATUS = ''APPROVED'' then'||chr(10)|| ''||chr(10)|| ' if :F4050_P7_PROJECT_STATUS = ''TERMINATED'' then'||chr(10)|| ''||chr(10)|| ' return true;'||chr(10)|| ''||chr(10)|| ' else'||chr(10)|| ''||chr(10)|| ' return false;'||chr(10)|| ''||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| 'else'||chr(10)|| ''||chr(10)|| ' return true;'||chr(10)|| ''||chr(10)|| 'end if;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '只能终止批准的服务。其他的状态更改将会破坏数据。', p_when_button_pressed=> 43186036285311765.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 3156308803453087.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_PROVISION_COMPANY:T_PROVISION_ID:ID'; wwv_flow_api.create_page_process( p_id => 43195820508328757.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_HEADER', p_process_type=> 'DML_FETCH_ROW', p_process_name=> 'Fetch Row from WWV_FLOW_PROVISION_COMPANY', p_process_sql_clob => p, p_process_error_message=> '提取行时出错。', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_PROVISION_COMPANY:T_PROVISION_ID:ID|IUD'; wwv_flow_api.create_page_process( p_id => 43196090106328758.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'DML_PROCESS_ROW', p_process_name=> 'Process Row of WWV_FLOW_PROVISION_COMPANY', p_process_sql_clob => p, p_process_error_message=> '处理行时出错。', p_process_when_button_id=>43186036285311765.4056 + wwv_flow_api.g_id_offset, p_process_when=>'F4050_P7_PROJECT_STATUS', p_process_when_type=>'VAL_OF_ITEM_IN_COND_NOT_EQ_COND2', p_process_when2=>'TERMINATED', p_process_when_type2=>'', p_process_success_message=> '操作已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_provisioning.terminate_service(p_id=>:F4050_P7_ID);'; wwv_flow_api.create_page_process( p_id => 52670212528973146.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'terminate service', p_process_sql_clob => p, p_process_error_message=> '终止服务时出错。', p_process_when_button_id=>43186036285311765.4056 + wwv_flow_api.g_id_offset, p_process_when=>'F4050_P7_PROJECT_STATUS', p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_process_when2=>'TERMINATED', p_process_when_type2=>'', p_process_success_message=> '服务已终止。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_provisioning.delete_accepted_request(p_id=>:F4050_P7_ID);'; wwv_flow_api.create_page_process( p_id => 22250501311969152.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 7.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete service', p_process_sql_clob => p, p_process_error_message=> '删除服务时出错。', p_process_when_button_id=>23895428675298516.4056 + wwv_flow_api.g_id_offset, p_process_when=>'F4050_P26_STATUS', p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_process_when2=>'ACCEPTED', p_process_when_type2=>'', p_process_success_message=> '服务已删除。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 7.4056 -- begin null; end; null; end; / --application/pages/page_8.405 prompt ...PAGE 8.4056: 删除请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 8.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '删除请求', p_step_title=> '删除请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165702', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>8.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select * from wwv_flow_provision_company where id = :D_PROVISION_ID'; wwv_flow_api.create_report_region ( p_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 8.4056, p_name=> '预配请求', p_region_name=>'', p_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 40, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 2, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '5', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> '(null)', p_query_break_cols=> '0', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48631213889771330.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> 'ID', p_column_alignment=>'LEFT', p_heading_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=> 48631331903771330.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + 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=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 2, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_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=> 48631423316771330.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + 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=> 'COMPANY_NAME', p_column_display_sequence=> 3, p_column_heading=> '工作区名称', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48631502805771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + 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=> 'ADMIN_FIRST_NAME', p_column_display_sequence=> 4, p_column_heading=> '管理员的名字', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48631615946771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + 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=> 'ADMIN_LAST_NAME', p_column_display_sequence=> 5, p_column_heading=> '管理员的姓氏', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48631701678771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + 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=> 'ADMIN_TITLE', p_column_display_sequence=> 6, p_column_heading=> '管理员的称谓', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48631811461771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'ADMIN_EMAIL', p_column_display_sequence=> 7, p_column_heading=> '管理员的电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48631925591771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'ADMIN_PHONE', p_column_display_sequence=> 8, p_column_heading=> '管理员的电话', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632024673771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'ADMIN_ID', p_column_display_sequence=> 9, p_column_heading=> '管理员', p_column_alignment=>'LEFT', p_heading_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=> 48632117814771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'ADMIN_USERID', p_column_display_sequence=> 10, p_column_heading=> '管理员用户 ID', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632218354771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 11, p_form_element_id=> null, p_column_alias=> 'COMPANY_ADDRESS', p_column_display_sequence=> 11, p_column_heading=> '公司地址', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632328727771331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 12, p_form_element_id=> null, p_column_alias=> 'CITY', p_column_display_sequence=> 12, p_column_heading=> '城市', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632405878771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 13, p_form_element_id=> null, p_column_alias=> 'STATE', p_column_display_sequence=> 13, p_column_heading=> '省/市/自治区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632521698771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 14, p_form_element_id=> null, p_column_alias=> 'ZIP', p_column_display_sequence=> 14, p_column_heading=> '邮政编码', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632632685771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 15, p_form_element_id=> null, p_column_alias=> 'COUNTRY', p_column_display_sequence=> 15, p_column_heading=> '国家/地区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632706380771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 16, p_form_element_id=> null, p_column_alias=> 'COMPANY_TYPE', p_column_display_sequence=> 16, p_column_heading=> '公司类型', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632818574771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 17, p_form_element_id=> null, p_column_alias=> 'COMPANY_WEBSITE', p_column_display_sequence=> 17, p_column_heading=> '公司 Web 站点', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48632908699771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 18, p_form_element_id=> null, p_column_alias=> 'NUMBER_OF_EMPLOYEES', p_column_display_sequence=> 18, p_column_heading=> '员工数', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48633014812771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 19, p_form_element_id=> null, p_column_alias=> 'COMPANY_PHONE', p_column_display_sequence=> 19, p_column_heading=> '公司电话', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48633113309771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 20, p_form_element_id=> null, p_column_alias=> 'COMPANY_FAX', p_column_display_sequence=> 20, p_column_heading=> '公司传真', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48633231303771332.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 21, p_form_element_id=> null, p_column_alias=> 'ORACLE_PARTNER', p_column_display_sequence=> 21, p_column_heading=> 'Oracle 合作伙伴', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48633303328771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 22, p_form_element_id=> null, p_column_alias=> 'HOW_DID_YOU_HEAR_ABOUT_US', p_column_display_sequence=> 22, p_column_heading=> '您是通过什么方式知道我们的', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48633407898771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 23, p_form_element_id=> null, p_column_alias=> 'SERVICE_USE_STATUS', p_column_display_sequence=> 23, p_column_heading=> '工作区使用状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48633520261771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 24, p_form_element_id=> null, p_column_alias=> 'DATABASE_SIZE', p_column_display_sequence=> 24, p_column_heading=> '数据库大小', p_column_alignment=>'LEFT', p_heading_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=> 48633625766771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 25, p_form_element_id=> null, p_column_alias=> 'SERVICE_START_DATE', p_column_display_sequence=> 25, p_column_heading=> '工作区开始日期', p_column_alignment=>'LEFT', p_heading_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=> 48633723979771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 26, p_form_element_id=> null, p_column_alias=> 'SERVICE_TERMINATION_DATE', p_column_display_sequence=> 26, p_column_heading=> '工作区终止日期', p_column_alignment=>'LEFT', p_heading_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=> 48633823851771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 27, p_form_element_id=> null, p_column_alias=> 'SCHEMA_NAME', p_column_display_sequence=> 27, p_column_heading=> '方案名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48633922599771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 28, p_form_element_id=> null, p_column_alias=> 'ESTIMATED_END_USERS', p_column_display_sequence=> 28, p_column_heading=> '估计的最终用户', p_column_alignment=>'LEFT', p_heading_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=> 48634022185771333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 29, p_form_element_id=> null, p_column_alias=> 'PAGE_VIEWS_PER_DAY', p_column_display_sequence=> 29, p_column_heading=> '每天的页访问量', p_column_alignment=>'LEFT', p_heading_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=> 48634128002771334.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 30, p_form_element_id=> null, p_column_alias=> 'PROJECT_DESCRIPTION', p_column_display_sequence=> 30, p_column_heading=> '项目说明', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48634202021771334.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 31, p_form_element_id=> null, p_column_alias=> 'PROJECT_JUSTIFICATION', p_column_display_sequence=> 31, p_column_heading=> '项目审批理由', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48634307951771334.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 32, p_form_element_id=> null, p_column_alias=> 'PROJECT_APPROVAL_DATE', p_column_display_sequence=> 32, p_column_heading=> '项目审批日期', p_column_alignment=>'LEFT', p_heading_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=> 48634404873771334.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 33, p_form_element_id=> null, p_column_alias=> 'PROJECT_ACTUAL_BEGIN_DATE', p_column_display_sequence=> 33, p_column_heading=> '项目实际开始日期', p_column_alignment=>'LEFT', p_heading_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=> 48634508156771334.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 34, p_form_element_id=> null, p_column_alias=> 'PROJECT_ACTUAL_END_DATE', p_column_display_sequence=> 34, p_column_heading=> '项目实际结束日期', p_column_alignment=>'LEFT', p_heading_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=> 48634623965771334.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 35, p_form_element_id=> null, p_column_alias=> 'PROJECT_STATUS', p_column_display_sequence=> 35, p_column_heading=> '项目状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48634727595771334.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 36, p_form_element_id=> null, p_column_alias=> 'WORK_LOG', p_column_display_sequence=> 36, p_column_heading=> '工作日志', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48634805072771335.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2842620068855323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 37, p_form_element_id=> null, p_column_alias=> 'REQUEST_DATE', p_column_display_sequence=> 37, p_column_heading=> '请求日期', p_column_alignment=>'LEFT', p_heading_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; l_clob clob; l_length number := 1; begin s:=s||'如果终止或拒绝了工作区, 可以使用此页从系统中删除整个请求。 '; wwv_flow_api.create_page_plug ( p_id=> 56499914833442395.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 8.4056, p_plug_name=> '删除请求', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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 => 'Edit:Seq.:Col.:Name:Display:Template:Source:Items:Buttons:BuildOption:DisplayWhenType', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 500, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => '-', p_plug_query_col_allignments => 'L:L:L:L:L:L:L:R:R:L:L:L:L', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 68367616058837770.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 8.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 60, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 227287494596.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 8.4056, p_button_sequence=> 10, p_button_plug_id => 2842620068855323+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 227285494595.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 8.4056, p_button_sequence=> 30, p_button_plug_id => 2842620068855323+wwv_flow_api.g_id_offset, p_button_name => 'DeleteRequest', p_button_image_alt=> '删除请求', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>227291494598.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 8.4056, p_branch_action=> '26', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>227285494595.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>227319764028.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 8.4056, p_branch_action=> '26', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 23-FEB-2001 20:36 by MIKE'); wwv_flow_api.create_page_branch( p_id=>227293494598.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 8.4056, p_branch_action=> '26', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>227287494596.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>2847701305864055.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 8.4056, p_name=>'D_PROVISION_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 2842620068855323.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'D_PROVISION_ID', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_provisioning.delete_provision_request(p_id=>:D_PROVISION_ID);'; wwv_flow_api.create_page_process( p_id => 2855101293879192.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 8.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete request', p_process_sql_clob => p, p_process_error_message=> '删除工作区请求时出错。', p_process_when_button_id=>227285494595.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '请求已删除。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 8.4056 -- begin null; end; null; end; / --application/pages/page_9.405 prompt ...PAGE 9.4056: 管理应用程序 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_app.htm'; ph := null; wwv_flow_api.create_page( p_id => 9.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理应用程序', p_step_title=> '管理应用程序', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 275228225185505839+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165702', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>9.4056,p_text=>h); 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=> 6043204716910307.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 9.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 6043622896910308.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 9.4056, p_plug_name=> 'Manage Applications', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 80, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 244253103570784647 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'使用此页中的链接可查看所有工作区中应用程序的关键属性的报表。'; wwv_flow_api.create_page_plug ( p_id=> 179849815771897076.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 9.4056, p_plug_name=> '应用程序', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 90, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 9.4056 -- begin null; end; null; end; / --application/pages/page_10.40 prompt ...PAGE 10.4056: 管理工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'adm_mg_wrkspc_pg.htm'; ph := null; wwv_flow_api.create_page( p_id => 10.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理工作区', p_step_title=> '管理工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165702', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>10.4056,p_text=>h); 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=> 6049701880928601.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 10.4056, p_plug_name=> '管理工作区', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 50, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 19017606691432489 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 6049911157928601.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 10.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'工作区是多个开发者创建应用程序的共享工作区域。每个工作区都具有作为一个或多个数据库方案进行语法分析的权限。'; wwv_flow_api.create_page_plug ( p_id=> 6144611534376254.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 10.4056, p_plug_name=> '管理工作区', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 60, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'10332318553893424'; wwv_flow_api.create_page_plug ( p_id=> 10332829289896519.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 10.4056, p_plug_name=> '工作区报表', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 80, p_plug_display_column=> 2, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 10332318553893424 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':F4050_P79_SCHEMA_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32847028451566366.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 10.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 70, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 57460618757700816.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 10.4056, p_plug_name=> '管理请求', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ 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=> 56669616639130949 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 10.4056 -- begin null; end; null; end; / --application/pages/page_11.40 prompt ...PAGE 11.4056: 应用程序属性 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_app.htm'; ph := null; wwv_flow_api.create_page( p_id => 11.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '应用程序属性', p_step_title=> '应用程序属性', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 275228225185505839+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165702', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>11.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

此报表显示所有工作区中应用程序的键属性。

'; wwv_flow_api.create_page_plug ( p_id=> 179852526338937927.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 11.4056, p_plug_name=> '应用程序属性', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 244646517065077646.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 11.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 104306421944266933.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select ID, '||chr(10)|| '(select short_name from WWV_FLOW_COMPANIES where PROVISIONING_COMPANY_ID = f.security_group_id) SECURITY_GROUP_ID,'||chr(10)|| 'OWNER,'||chr(10)|| '"NAME",'||chr(10)|| 'LAST_UPDATED_BY, LAST_UPDATED_ON,'||chr(10)|| '(select count(*) from wwv_flow_steps where flow_id = f.id) pages,'||chr(10)|| 'CHARSET,'||chr(10)|| 'FLOW_LANGUAGE'||chr(10)|| 'from WWV_FLOWS f'||chr(10)|| 'where'||chr(10)|| '(:P11_APPLICATION_ID is null or :P11_APPLICATION_ID = id) and'||chr(10)|| '(:P11_PARSE_AS is null or instr(upper(owner),uppe'; s:=s||'r(:P11_PARSE_AS))>0 ) and'||chr(10)|| '(:P11_WORKSPACE is null or :P11_WORKSPACE = ''%''||''null%'' or :P11_WORKSPACE = ''0'' or security_group_id = :P11_WORKSPACE) and'||chr(10)|| 'f.security_group_id != 10'||chr(10)|| ' '; wwv_flow_api.create_report_region ( p_id=> 244646920291077651.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 11.4056, p_name=> 'Applications', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_display_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '1', p_query_no_data_found=> '报表中不包含数据', p_query_num_rows_item=> 'P11_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_break_type_flag=> 'DEFAULT_BREAK_FORMATTING', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 244647311837077653.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + 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=> 'ID', p_column_display_sequence=> 2, p_column_heading=> '应用程序', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244647419939077653.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + 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=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244647518285077653.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + 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=> 'OWNER', p_column_display_sequence=> 3, p_column_heading=> '语法分析方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '16', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244647630044077653.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + 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=> 'NAME', p_column_display_sequence=> 4, p_column_heading=> '应用程序名称', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '16', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244653905685088056.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + 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=> 'LAST_UPDATED_BY', p_column_display_sequence=> 5, p_column_heading=> '上次更新者', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244654002969088057.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + 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=> 'LAST_UPDATED_ON', p_column_display_sequence=> 6, p_column_heading=> '日期', p_column_format=> 'SINCE', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244654131547088057.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'PAGES', p_column_display_sequence=> 7, p_column_heading=> '页', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244673802053124827.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'CHARSET', p_column_display_sequence=> 8, p_column_heading=> 'Character Set', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244673921910124827.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244646920291077651.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'FLOW_LANGUAGE', p_column_display_sequence=> 9, p_column_heading=> '语言', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 244647719275077653.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 11.4056, p_plug_name=> 'menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>244651516120077672.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 11.4056, p_branch_action=> 'f?p=&APP_ID.:11:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'指定对应用程序中的所有 SQL 和 PL/SQL 进行语法分析时使用的方案。输入不区分大小写的查询标准, 然后按开始。'; wwv_flow_api.create_page_item( p_id=>104348930306915451.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 11.4056, p_name=>'P11_PARSE_AS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 23, p_item_plug_id => 244646517065077646.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'语法分析方案', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 20, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>244648805444077658.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 11.4056, p_name=>'P11_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 25, p_item_plug_id => 244646517065077646.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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 h := null; h:=h||'通过指定应用程序 ID 限制显示, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>244649201162077658.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 11.4056, p_name=>'P11_APPLICATION_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 22, p_item_plug_id => 244646517065077646.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'应用程序', p_post_element_text=>'  ', p_source_type=> 'STATIC', p_display_as=> 'POPUP', p_lov => 'select id||'': ''||name n, id from wwv_flows '||chr(10)|| ' where id not between 4000 and 4999 '||chr(10)|| 'order by id, name', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 7, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 3, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择显示所有工作区。'; wwv_flow_api.create_page_item( p_id=>244649927881077660.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 11.4056, p_name=>'P11_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 21, p_item_plug_id => 244646517065077646.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '0', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_DEVELOPER_WORKSPACES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要在报表中显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>244680004739144514.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 11.4056, p_name=>'P11_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 24, p_item_plug_id => 244646517065077646.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_post_element_text=>'  ', p_source=>'15', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_lov => 'STATIC2:10,15,20,50,100,200,500,1000,5000', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 244650723515077662.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 11.4056, p_computation_sequence => 1, p_computation_item=> 'P111_ID', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'STATIC_ASSIGNMENT', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> '', p_compute_when => 'CREATE_ROW', p_compute_when_type=>'REQUEST_EQUALS_CONDITION'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 82841415173496344.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 11.4056, p_validation_name => 'P11_APPLICATION_ID is Numeric', p_validation_sequence=> 10, p_validation => 'P11_APPLICATION_ID', p_validation_type => 'ITEM_IS_NUMERIC', p_error_message => '请输入应用程序的数字值', p_validation_condition=> 'P11_APPLICATION_ID', p_validation_condition_type=> 'ITEM_IS_NOT_NULL', p_when_button_pressed=> 244648805444077658.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 244649201162077658.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 104315311662664109.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 11.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>244648805444077658.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 11.4056 -- begin null; end; null; end; / --application/pages/page_12.40 prompt ...PAGE 12.4056: 管理开发者和用户 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_users.htm'; ph := null; wwv_flow_api.create_page( p_id => 12.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理开发者和用户', p_step_title=> '管理开发者和用户', p_step_sub_title => 'Report', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216787602191653217+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165703', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>12.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| 'u.user_name,'||chr(10)|| 'u.first_name||'' ''||u.last_name fn,'||chr(10)|| 'u.security_group_id,'||chr(10)|| 'c.short_name "company_name", '||chr(10)|| 'replace(u.default_schema,''%null''||''%'',null) "DefaultSchema",'||chr(10)|| 'u.CREATION_DATE created, '||chr(10)|| 'u.LAST_UPDATE_DATE last_updated,'||chr(10)|| 'decode(user_name,''ADMIN'',null,'||chr(10)|| '''''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050.RESET'')||'''') p,'||chr(10)|| 'u.user_id'||chr(10)|| 'from wwv_flow_fnd_user u, wwv_flow_companies c'||chr(10)|| 'where c.provisioning_company_id = u.security_group_id'||chr(10)|| 'and (:F4050_P12_FIND is null or instr(user_name,upper(:F4050_P12_FIND)) > 0)'||chr(10)|| 'and ((:F4050_P12_COMPANY = ''0'' or :F4050_P12_COMPANY is null) or u.security_group_id = :F4050_P12_COMPANY)'; wwv_flow_api.create_report_region ( p_id=> 6305760065.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 12.4056, p_name=> 'Manage Application Developers and Users', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到用户。', p_query_num_rows_item=> 'F4050_P12_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '8', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '8', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48897207662772958.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + 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=> 'USER_NAME', p_column_display_sequence=> 1, p_column_heading=> '用户', p_column_link=>'f?p=&APP_ID.:23:&SESSION.::&DEBUG.:23,EDIT_USER_PRIVS:F4050_P23_USER_ID:#USER_ID#', p_column_linktext=>'#USER_NAME#', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'N', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48897314410772958.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + 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=> 'FN', p_column_display_sequence=> 2, p_column_heading=> '全名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48897423061772959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + 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=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 3, p_column_heading=> '工作区编号', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48897529140772959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + 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=> 'company_name', p_column_display_sequence=> 4, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48897619360772959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + 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=> 'DefaultSchema', p_column_display_sequence=> 5, p_column_heading=> '默认方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48897713460772959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + 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=> 'CREATED', p_column_display_sequence=> 6, p_column_heading=> '创建时间', p_column_format=> 'SINCE', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48897827691772959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'LAST_UPDATED', p_column_display_sequence=> 7, p_column_heading=> '上次更新者', p_column_format=> 'SINCE', p_column_css_style=>'white-space: nowrap;', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48897908103772959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'P', p_column_display_sequence=> 8, p_column_heading=> '口令', p_column_alignment=>'LEFT', p_heading_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_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 175940004529195689.4056 + wwv_flow_api.g_id_offset, p_region_id=> 6305760065.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'USER_ID', p_column_display_sequence=> 9, p_column_heading=> 'User ID', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

&PRODUCT_NAME. 内部应用程序 (应用程序构建器, SQL 工作室等) 针对 &PRODUCT_NAME. 帐户资料档案库中的条目验证用户身份证明。用户开发的应用程序同样可以使用该帐户资料档案库来进行验证。

'||chr(10)|| '

此报表按工作区显示该资料档案库中的用户名条目。单击报表中的用户名可编辑该用户, 也可单击创建来创建新用户。选择重置链接可更改该用户的口令。

'; wwv_flow_api.create_page_plug ( p_id=> 6318778195.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 12.4056, p_plug_name=> '开发者和用户', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4747729056961631.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 12.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 190767901208450802.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 12.4056, p_plug_name=> 'button and filter bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 43040243631941918.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 12.4056, p_button_sequence=> 10, p_button_plug_id => 190767901208450802+wwv_flow_api.g_id_offset, p_button_name => 'Create New', p_button_image_alt=> '创建 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=4050:23:&SESSION.::NO:23,EDIT_USER_PRIVS', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>25567619615581607.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 12.4056, p_branch_action=> 'f?p=&FLOW_ID.:12:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 11-MAY-2004 14:22 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的用户名或部分用户名查询, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>242041059533.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 12.4056, p_name=>'F4050_P12_FIND', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 190767901208450802.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'查找用户', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 15, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>242044066789.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 12.4056, p_name=>'F4050_P12_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 99, p_item_plug_id => 190767901208450802.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'开始', 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=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择所有工作区。'; wwv_flow_api.create_page_item( p_id=>177285325097953306.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 12.4056, p_name=>'F4050_P12_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 190767901208450802.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 20, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要在报表中显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>177312409988975502.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 12.4056, p_name=>'F4050_P12_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 44, p_item_plug_id => 190767901208450802.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source=>'15', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_B', p_lov => '.'||to_char(87717417968152000 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 25564831604575604.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 12.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'rp', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'GO', p_process_when_type=>'REQUEST_EQUALS_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 12.4056 -- begin null; end; null; end; / --application/pages/page_13.40 prompt ...PAGE 13.4056: 按操作系统统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 13.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按操作系统统计的页访问量', p_step_title=> '按操作系统统计的页访问量', p_step_sub_title => 'Page Views by Operating System', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165703', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>13.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with total_count as'||chr(10)|| '(select count(*) a '||chr(10)|| 'from wwv_flow_activity_log '||chr(10)|| 'where security_group_id = :flow_security_group_id and '||chr(10)|| 'time_stamp >= sysdate - nvl(:P13_TIME,1)'||chr(10)|| ') '||chr(10)|| 'select os, page_views , 100*page_views/total_count.a pct, round(300*page_views/total_count.a) graph'||chr(10)|| 'from ('||chr(10)|| 'select '||chr(10)|| ' x.os, '||chr(10)|| ' sum(x.c) page_views'||chr(10)|| 'from'||chr(10)|| '('||chr(10)|| 'select session_id, max(decode(user_agent,null,'' Null'','||chr(10)|| ' nvl('||chr(10)|| ' decode(i'; s:=s||'nstr(user_agent,''Mac OS X''),0,'''',''Mac OS X'')||'||chr(10)|| ' decode(instr(user_agent,''Linux''),0,'''',''Linux'')||'||chr(10)|| ' decode(instr(user_agent,''Windows NT 5.0''),0,'''',''Windows 2000'')||'||chr(10)|| ' decode(instr(user_agent,''Windows NT 6.0''),0,'''',''Windows Vista'')||'||chr(10)|| ' decode(instr(user_agent,''Windows NT 5.1''),0,'''',''Windows XP''),'||chr(10)|| ' t.other))) os, count(*) c'||chr(10)|| 'from wwv_flow_activity_log, '||chr(10)|| ' (select wwv_flow_'; s:=s||'lang.system_message(''other'') other from dual) t'||chr(10)|| 'where security_group_id = :flow_security_group_id'||chr(10)|| ' and time_stamp >= sysdate - nvl(:P13_TIME,1)'||chr(10)|| 'group by session_id'||chr(10)|| ') x'||chr(10)|| 'group by os) d, '||chr(10)|| 'total_count'||chr(10)|| 'where (:P13_SEARCH is null or instr(upper(os),upper(:P13_SEARCH)) > 0)'; wwv_flow_api.create_report_region ( p_id=> 2584726337646135.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 13.4056, p_name=> 'Page Views by Operating System', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'P13_ROWS', p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 3213125863900959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2584726337646135.4056 + 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=> 'OS', p_column_display_sequence=> 1, p_column_heading=> '操作系统', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '40', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 2585103254646189.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2584726337646135.4056 + 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=> 'PAGE_VIEWS', p_column_display_sequence=> 2, p_column_heading=> '页访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '30', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 3213229658900959.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2584726337646135.4056 + 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=> 'PCT', p_column_display_sequence=> 3, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '30', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 3213317952900970.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2584726337646135.4056 + 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=> 'GRAPH', p_column_display_sequence=> 4, p_column_heading=> ' ', p_column_html_expression=>'
'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 2589118765659862.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 13.4056, p_plug_name=> 'Breadcrumb', p_region_name=>'', p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 108275219905850320.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 13.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>3216823822918897.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 13.4056, p_branch_action=> 'f?p=&FLOW_ID.:13:&SESSION.', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>3215505347913957.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 13.4056, p_name=>'P13_TIME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 108275219905850320.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'包含', p_source=>'1', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>3216622316918896.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 13.4056, p_name=>'P13_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 108275219905850320.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'Go', p_prompt=>'开始', 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 h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>92431227952006274.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 13.4056, p_name=>'P13_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 108275219905850320.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '100', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_G', p_lov => '.'||to_char(87738929453259457 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询标准, 然后按开始。'; wwv_flow_api.create_page_item( p_id=>92433515962012317.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 13.4056, p_name=>'P13_SEARCH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 4, p_item_plug_id => 108275219905850320.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'搜索', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 3217325779919882.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 13.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>3216622316918896.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 13.4056 -- begin null; end; null; end; / --application/pages/page_14.40 prompt ...PAGE 14.4056: 工作区详细资料 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc_details.htm'; ph := null; wwv_flow_api.create_page( p_id => 14.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '工作区详细资料', p_step_title=> '工作区详细资料', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165703', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>14.4056,p_text=>h); 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=> 2882705150907846.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_plug_name=> 'Button Box', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 5, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 81008210556197147.4056+ wwv_flow_api.g_id_offset, p_plug_query_headings => 'blue_arrow_down.gif::blue_arrow_up.gif:|2,3,4\1|'||chr(10)|| ''||chr(10)|| ' :'||chr(10)|| ''||chr(10)|| 'Schema:'||chr(10)|| ''||chr(10)|| 'Company:'||chr(10)|| ''||chr(10)|| 'CompanyID', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 15, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4741924292941268.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select grantee, privilege, admin_option from DBA_SYS_PRIVS'||chr(10)|| 'where grantee in ('||chr(10)|| 'select '||chr(10)|| ' distinct cs.SCHEMA'||chr(10)|| 'from WWV_FLOW_COMPANY_SCHEMAS cs'||chr(10)|| 'where '||chr(10)|| ' security_group_id = :sgid)'; wwv_flow_api.create_report_region ( p_id=> 10319017935798659.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '权限', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 11, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '5000', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'ROWS_X_TO_Y_OF_Z', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 10322617767836478.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10319017935798659.4056 + 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=> 'GRANTEE', p_column_display_sequence=> 1, p_column_heading=> '被授权者', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 10320909306812321.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10319017935798659.4056 + 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=> 'PRIVILEGE', p_column_display_sequence=> 2, p_column_heading=> '权限', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 10321019208812321.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10319017935798659.4056 + 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=> 'ADMIN_OPTION', p_column_display_sequence=> 3, p_column_heading=> '管理选项', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>110344620122166929 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select grantee, granted_role, admin_option, default_role from DBA_ROLE_PRIVS'||chr(10)|| 'where grantee in ('||chr(10)|| 'select '||chr(10)|| ' distinct cs.SCHEMA'||chr(10)|| 'from WWV_FLOW_COMPANY_SCHEMAS cs'||chr(10)|| 'where '||chr(10)|| ' security_group_id = :sgid)'||chr(10)|| 'order by 2'; wwv_flow_api.create_report_region ( p_id=> 10325826340857891.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '角色权限', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 26, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 10326230540857894.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10325826340857891.4056 + 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=> 'GRANTEE', p_column_display_sequence=> 1, p_column_heading=> '被授权者', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 10326604308860937.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10325826340857891.4056 + 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=> 'GRANTED_ROLE', p_column_display_sequence=> 2, p_column_heading=> '授予的角色', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 10326129011857893.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10325826340857891.4056 + 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=> 'ADMIN_OPTION', p_column_display_sequence=> 3, p_column_heading=> '管理选项', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>110344620122166929 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 10326726429860937.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10325826340857891.4056 + 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=> 'DEFAULT_ROLE', p_column_display_sequence=> 4, p_column_heading=> '默认角色', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>110344620122166929 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select a.name schemas, b.name tablespace'||chr(10)|| ' from sys.user$ a, sys.ts$ b, sys.seg$ c'||chr(10)|| ' where a.user# = c.user#'||chr(10)|| ' and b.ts# = c.ts#'||chr(10)|| ' and a.name in (select schema'||chr(10)|| ' from wwv_flow_company_schemas'||chr(10)|| ' where security_group_id = :SGID)'||chr(10)|| 'group by a.name, b.name'; wwv_flow_api.create_report_region ( p_id=> 19293102374945196.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '表空间使用情况', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 30, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '1', p_query_no_data_found=> '未找到方案。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_break_type_flag=> 'DEFAULT_BREAK_FORMATTING', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48651203572771436.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19293102374945196.4056 + 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=> 'SCHEMAS', p_column_display_sequence=> 1, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_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=> 249727531231008914.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19293102374945196.4056 + 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=> 'TABLESPACE', p_column_display_sequence=> 2, p_column_heading=> '表空间', 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; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select id, name, owner'||chr(10)|| ' from wwv_flows'||chr(10)|| ' where security_group_id = :SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 19296329302971933.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '应用程序', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 40, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '在工作区中找不到应用程序。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48947314555773241.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19296329302971933.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> 'ID', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48947404897773241.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19296329302971933.4056 + 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=> 'NAME', p_column_display_sequence=> 2, p_column_heading=> '名称', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48947515967773241.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19296329302971933.4056 + 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=> 'OWNER', p_column_display_sequence=> 3, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select userid, '||chr(10)|| ' decode(flow_id,null,wwv_flow_lang.system_message(''F4050.ALL'')) flows,'||chr(10)|| ' developer_role'||chr(10)|| ' from wwv_flow_developers'||chr(10)|| ' where security_group_id = :SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 19300200390001422.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '开发者', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 50, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到开发者。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48586805124771044.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19300200390001422.4056 + 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=> 'USERID', p_column_display_sequence=> 1, p_column_heading=> '用户 ID', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48586923612771044.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19300200390001422.4056 + 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=> 'FLOWS', p_column_display_sequence=> 2, p_column_heading=> 'Application', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 48587031940771044.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19300200390001422.4056 + 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=> 'DEVELOPER_ROLE', p_column_display_sequence=> 3, p_column_heading=> 'Role', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select user_name, default_schema, email_address'||chr(10)|| ' from wwv_flow_fnd_user'||chr(10)|| ' where security_group_id = :SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 19325216245100571.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '&PRODUCT_NAME. 用户', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 60, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到用户。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48750515861771993.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19325216245100571.4056 + 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=> 'USER_NAME', p_column_display_sequence=> 1, p_column_heading=> '用户', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48750606498771993.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19325216245100571.4056 + 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=> 'DEFAULT_SCHEMA', p_column_display_sequence=> 2, p_column_heading=> '默认方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48750712681771993.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19325216245100571.4056 + 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=> 'EMAIL_ADDRESS', p_column_display_sequence=> 3, p_column_heading=> '电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select o.object_type,'||chr(10)|| ' count(*) cnt'||chr(10)|| ' from sys.dba_objects o, wwv_flow_company_schemas s'||chr(10)|| ' where o.owner = s.schema'||chr(10)|| ' and s.security_group_id = :SGID'||chr(10)|| ' group by o.object_type'||chr(10)|| ' order by 1'; wwv_flow_api.create_report_region ( p_id=> 19477530238557418.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '按类型统计的对象', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 70, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '500', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_no_data_found=> '未找到数据库对象。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48612303647771184.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19477530238557418.4056 + 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=> 'OBJECT_TYPE', p_column_display_sequence=> 1, p_column_heading=> '对象类型', p_column_alignment=>'LEFT', p_heading_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=> 48612428677771184.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19477530238557418.4056 + 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=> 'CNT', p_column_display_sequence=> 2, p_column_heading=> '计数', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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; l_clob clob; l_length number := 1; begin s:=s||'select SERVICE_NAME, SERVICE_ATTRIBUTE_1, REQUESTED_ON, REQUEST_STATUS'||chr(10)|| ' from WWV_FLOW_PROVISION_SERICE_MOD'||chr(10)|| ' where security_group_id = :SGID'||chr(10)|| ' order by REQUESTED_ON desc'; wwv_flow_api.create_report_region ( p_id=> 19485016657648074.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '更改请求', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 80, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到更改请求。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48468627661770227.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19485016657648074.4056 + 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=> 'SERVICE_NAME', p_column_display_sequence=> 1, p_column_heading=> '服务名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>110368323210290856 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48468712741770227.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19485016657648074.4056 + 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=> 'SERVICE_ATTRIBUTE_1', p_column_display_sequence=> 2, p_column_heading=> '服务类型', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48468806292770227.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19485016657648074.4056 + 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=> 'REQUESTED_ON', p_column_display_sequence=> 3, p_column_heading=> '请求日期', p_column_format=> '&DATE_TIME_FORMAT. Day', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', 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=> 48468912715770227.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19485016657648074.4056 + 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=> 'REQUEST_STATUS', p_column_display_sequence=> 4, p_column_heading=> '状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>87755726864223308 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select time_stamp, elap, num_rows, userid, flow_id, step_id, session_id'||chr(10)|| ' from wwv_flow_activity_log'||chr(10)|| ' where security_group_id = :SGID'||chr(10)|| 'order by time_stamp desc'; wwv_flow_api.create_report_region ( p_id=> 19487612857722745.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '用户活动', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 90, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到用户活动。', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48929215287773141.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19487612857722745.4056 + 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=> 'TIME_STAMP', p_column_display_sequence=> 1, p_column_heading=> '日期', p_column_format=> 'SINCE', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48929325868773142.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19487612857722745.4056 + 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=> 'ELAP', p_column_display_sequence=> 2, p_column_heading=> '用时', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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=> 48929420088773142.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19487612857722745.4056 + 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=> 'NUM_ROWS', p_column_display_sequence=> 3, p_column_heading=> '行数', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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=> 48929506819773142.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19487612857722745.4056 + 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=> 'USERID', p_column_display_sequence=> 4, p_column_heading=> '用户', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48929600468773142.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19487612857722745.4056 + 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=> 'FLOW_ID', p_column_display_sequence=> 5, p_column_heading=> '应用程序', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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=> 48929728695773142.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19487612857722745.4056 + 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=> 'STEP_ID', p_column_display_sequence=> 6, p_column_heading=> '页', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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=> 48929825811773142.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19487612857722745.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'SESSION_ID', p_column_display_sequence=> 7, p_column_heading=> '会话', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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; l_clob clob; l_length number := 1; begin s:=s||'select t.flow_user, '||chr(10)|| ' t.flow_id f,'||chr(10)|| ' t.page_id p, '||chr(10)|| ' t.audit_date, '||chr(10)|| ' t.flow_table,'||chr(10)|| ' t.audit_action'||chr(10)|| ' from wwv_flow_builder_audit_trail t'||chr(10)|| ' where t.security_group_id = :SGID'||chr(10)|| ' order by audit_date desc'; wwv_flow_api.create_report_region ( p_id=> 19493704471814930.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '开发者活动', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 100, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_IS_NOT_NULL', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到开发者活动。', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48474601972770254.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19493704471814930.4056 + 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=> 'FLOW_USER', p_column_display_sequence=> 1, p_column_heading=> '开发者', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48474704585770254.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19493704471814930.4056 + 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=> 'F', p_column_display_sequence=> 2, p_column_heading=> '应用程序', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48474827707770254.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19493704471814930.4056 + 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=> 'P', p_column_display_sequence=> 3, p_column_heading=> '页', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48474904194770255.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19493704471814930.4056 + 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=> 'AUDIT_DATE', p_column_display_sequence=> 4, p_column_heading=> '日期', p_column_format=> 'SINCE', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 192900632028920805.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19493704471814930.4056 + 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=> 'FLOW_TABLE', p_column_display_sequence=> 5, p_column_heading=> '组件', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>192906504723933391 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 192901712766924762.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19493704471814930.4056 + 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=> 'AUDIT_ACTION', p_column_display_sequence=> 6, p_column_heading=> '操作', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>110357115975241430 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select a.schema, c.name'||chr(10)|| ' from wwv_flow_company_schemas a, sys.user$ b, sys.ts$ c'||chr(10)|| ' where a.schema = b.name'||chr(10)|| ' and b.datats# = c.ts#'||chr(10)|| ' and a.security_group_id = :SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 20089917869255077.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '方案', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '500', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'ROWS_X_TO_Y_OF_Z', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48908209419773034.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20089917869255077.4056 + 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=> 'SCHEMA', p_column_display_sequence=> 1, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48908311720773034.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20089917869255077.4056 + 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=> 'NAME', p_column_display_sequence=> 2, p_column_heading=> '默认表空间', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'SELECT '||chr(10)|| ' "WWV_FLOW_COMPANIES"."PROVISIONING_COMPANY_ID" "PROVISIONING_COMPANY_ID", '||chr(10)|| ' "WWV_FLOW_COMPANIES"."SHORT_NAME" "SHORT_NAME", '||chr(10)|| ' "WWV_FLOW_COMPANIES"."FIRST_SCHEMA_PROVISIONED" "FIRST_SCHEMA_PROVISIONED"'||chr(10)|| 'FROM '||chr(10)|| ' "WWV_FLOW_COMPANIES"'||chr(10)|| 'WHERE (("WWV_FLOW_COMPANIES"."PROVISIONING_COMPANY_ID" =:SGID))'; wwv_flow_api.create_report_region ( p_id=> 64835820002482322.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_name=> '名称', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 8, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'STRUCTURED_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'SGID', p_display_condition_type=> 'ITEM_NOT_NULL_OR_ZERO', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 3, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 64836802284482356.4056 + wwv_flow_api.g_id_offset, p_region_id=> 64835820002482322.4056 + 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=> 'PROVISIONING_COMPANY_ID', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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=> 64837007099482356.4056 + wwv_flow_api.g_id_offset, p_region_id=> 64835820002482322.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 2, p_column_heading=> '短名称', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 64837209181482357.4056 + wwv_flow_api.g_id_offset, p_region_id=> 64835820002482322.4056 + 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=> 'FIRST_SCHEMA_PROVISIONED', p_column_display_sequence=> 3, p_column_heading=> '第一个预配方案', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'167507730958837131'; wwv_flow_api.create_page_plug ( p_id=> 167509724294854140.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_plug_name=> 'Anchor', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 6, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 167507730958837131 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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 => 'NEVER', p_plug_display_when_condition => 'SGID', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'此页显示所选工作区的不同报表。'; wwv_flow_api.create_page_plug ( p_id=> 177744611327233052.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 14.4056, p_plug_name=> '工作区详细资料', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 110, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 360939525109430983.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 14.4056, p_button_sequence=> 10, p_button_plug_id => 64835820002482322+wwv_flow_api.g_id_offset, p_button_name => 'EDIT_WS', p_button_image_alt=> '编辑属性', p_button_position=> 'REGION_TEMPLATE_EDIT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:78:&SESSION.::&DEBUG.::P78_PROVISIONING_COMPANY_ID:&SGID.', p_button_condition=> 'SGID', p_button_condition2=> '10', p_button_condition_type=> 'VAL_OF_ITEM_IN_COND_NOT_EQ_COND2', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 360949518239533093.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 14.4056, p_button_sequence=> 10, p_button_plug_id => 20089917869255077+wwv_flow_api.g_id_offset, p_button_name => 'MAN_WS_SCHEMAS', p_button_image_alt=> '工作区到方案的分配', p_button_position=> 'REGION_TEMPLATE_EDIT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:21:&SESSION.::&DEBUG.::P21_COMPANY:&SGID.', p_button_condition=> 'SGID', p_button_condition2=> '10', p_button_condition_type=> 'VAL_OF_ITEM_IN_COND_NOT_EQ_COND2', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 360979420167722897.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 14.4056, p_button_sequence=> 10, p_button_plug_id => 19300200390001422+wwv_flow_api.g_id_offset, p_button_name => 'MAN_APP_DEV', p_button_image_alt=> '管理应用程序开发者', p_button_position=> 'REGION_TEMPLATE_EDIT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:12:&SESSION.::&DEBUG.::F4050_P12_COMPANY:&SGID.', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 361023100417991549.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 14.4056, p_button_sequence=> 20, p_button_plug_id => 19325216245100571+wwv_flow_api.g_id_offset, p_button_name => 'MAN_USERS', p_button_image_alt=> '管理用户', p_button_position=> 'REGION_TEMPLATE_EDIT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:12:&SESSION.::&DEBUG.::F4050_P12_COMPANY:&SGID.', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>317937565640.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 14.4056, p_branch_action=> '14', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择工作区, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>297977429861.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 14.4056, p_name=>'SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 2882705150907846.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_lov => 'select short_name, PROVISIONING_COMPANY_ID'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id != 0'||chr(10)|| 'order by short_name', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>19471711351438457.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 14.4056, p_name=>'P14_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 2882705150907846.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 19034431362034300.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 14.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>19471711351438457.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 14.4056 -- begin null; end; null; end; / --application/pages/page_15.40 prompt ...PAGE 15.4056: 按浏览器统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 15.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按浏览器统计的页访问量', p_step_title=> '按浏览器统计的页访问量', p_step_sub_title => 'Page Views by Browser', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165704', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>15.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with total_count as'||chr(10)|| '(select count(*) a '||chr(10)|| 'from wwv_flow_activity_log '||chr(10)|| 'where security_group_id = :flow_security_group_id and '||chr(10)|| 'time_stamp >= sysdate - nvl(:P15_TIME,1)) '||chr(10)|| 'select os, page_views , 100*page_views/total_count.a pct, round(300*page_views/total_count.a) graph'||chr(10)|| 'from ('||chr(10)|| 'select '||chr(10)|| ' x.os, '||chr(10)|| ' sum(x.c) page_views'||chr(10)|| 'from'||chr(10)|| '('||chr(10)|| 'select session_id, max(decode(user_agent,null,'' Unknown '','||chr(10)|| ' nvl('||chr(10)|| ' deco'; s:=s||'de(instr(user_agent,''MSIE''),0,'''',''MSIE'')||'||chr(10)|| ' decode(instr(user_agent,''Firefox''),0,'''',''Firefox'')||'||chr(10)|| ' decode(instr(user_agent,''Safari''),0,'''',''Safari'')||'||chr(10)|| ' decode(instr(user_agent,''Opra''),0,'''',''Opra''),'||chr(10)|| ' ''Other''))) os, '||chr(10)|| ' count(*) c'||chr(10)|| 'from wwv_flow_activity_log'||chr(10)|| 'where security_group_id = :flow_security_group_id'||chr(10)|| ' and time_stamp >= sysdate - nvl(:P15_TIME,1)'||chr(10)|| 'group by session'; s:=s||'_id'||chr(10)|| ') x'||chr(10)|| 'group by os) d, total_count'; wwv_flow_api.create_report_region ( p_id=> 2597607668687988.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 15.4056, p_name=> 'Page Views by Browser', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 2597921064687990.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2597607668687988.4056 + 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=> 'OS', p_column_display_sequence=> 1, p_column_heading=> '浏览器', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '50', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 2598028849688000.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2597607668687988.4056 + 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=> 'PAGE_VIEWS', p_column_display_sequence=> 2, p_column_heading=> '页访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '25', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 3207811487858971.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2597607668687988.4056 + 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=> 'PCT', p_column_display_sequence=> 3, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '25', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 3207921931858972.4056 + wwv_flow_api.g_id_offset, p_region_id=> 2597607668687988.4056 + 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=> 'GRAPH', p_column_display_sequence=> 4, p_column_heading=> ' ', p_column_html_expression=>'

'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 2600007168694328.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 15.4056, p_plug_name=> 'Breadcrumb', p_region_name=>'', p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 108279024884861232.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 15.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>3210226447872086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 15.4056, p_branch_action=> 'f?p=&FLOW_ID.:15:&SESSION.', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>3208727763863613.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 15.4056, p_name=>'P15_TIME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 108279024884861232.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'包含', p_source=>'1', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>3210024085872083.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 15.4056, p_name=>'P15_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 108279024884861232.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'Go', p_prompt=>'开始', 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; / begin --------------------------------------- -- ...updatable report columns for page 15.4056 -- begin null; end; null; end; / --application/pages/page_16.40 prompt ...PAGE 16.4056: 功能配置 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_env.htm'; ph := null; wwv_flow_api.create_page( p_id => 16.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '功能配置', p_step_title=> '功能配置', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766702444596508+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165704', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>16.4056,p_text=>h); 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=> 4611532520262367.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 16.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

'; wwv_flow_api.create_page_plug ( p_id=> 73660928304725215.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 16.4056, p_plug_name=> 'End Div', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 80, 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=> 'Error displaying region', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 15, p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 169304800930079016.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 16.4056, p_plug_name=> '应用程序开发', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 50, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 169306214436082917.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 16.4056, p_plug_name=> 'SQL 工作室', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 60, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 169312431105116196.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 16.4056, p_plug_name=> '监视', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 70, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 169386325798256586.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 16.4056, p_plug_name=> 'Button Box', p_region_name=>'', p_plug_template=> 4888405638168833.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'169592700462495276'; wwv_flow_api.create_page_plug ( p_id=> 169598411936526905.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 16.4056, p_plug_name=> 'Anchor', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 169592700462495276 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 12936728094071536.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_button_sequence=> 10, p_button_plug_id => 169386325798256586+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 169388709307261209.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_button_sequence=> 10, p_button_plug_id => 169386325798256586+wwv_flow_api.g_id_offset, p_button_name => 'APPLY_CHANGES', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>637743863872055.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_branch_action=> '5', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'启用或禁用 SQL 工作室内的监视。'; wwv_flow_api.create_page_item( p_id=>169297610580053441.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_ALLOW_DB_MONITOR', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 169312431105116196.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'启用数据库监视', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'默认情况下, 开发者在对象浏览器中浏览数据库过程, 程序包和函数时, 可以更改和编译 PL/SQL 源代码。要禁止从对象浏览器中编辑和编译 PL/SQL 程序单元, 请选择。'; wwv_flow_api.create_page_item( p_id=>169297816049053446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_PLSQL_EDITING', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 169304800930079016.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'允许编辑 PL/SQL 程序单元', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'在创建新工作区时, 控制演示应用程序和演示数据库对象的创建。要禁止创建演示应用程序, 请选择。 '||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>169298013657053447.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_WORKSPACE_P_DEMO_OBJECT', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 169304800930079016.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'在新工作区中创建演示对象', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识 SQL 命令处理器中的事务处理命令在超时之前等待的最长时间。'; wwv_flow_api.create_page_item( p_id=>169299221292053451.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_SQL_C_MAX_INACTIVITY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 90, p_item_plug_id => 169306214436082917.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '60', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'SQL 命令最长不活动时间 (分钟)', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识单个 SQL 脚本可生成的最大输出量。SQL 脚本可从 SQL 工作室运行。'; wwv_flow_api.create_page_item( p_id=>169299418817053452.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_SQL_SCRIPT_MAX_OUTPUT_SIZE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 100, p_item_plug_id => 169306214436082917.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'SQL 脚本最大脚本输出大小 (字节)', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区内的所有脚本可占用的最大空间量。SQL 脚本结果是从 SQL 命令处理器运行 SQL 脚本时生成的输出结果。'; wwv_flow_api.create_page_item( p_id=>169299604071053452.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_WORKSPACE_MAX_OUTPUT_SIZE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 110, p_item_plug_id => 169306214436082917.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'SQL 脚本最大工作区输出大小 (字节)', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识 SQL 工作室内使用的 SQL 脚本的最大大小。'; wwv_flow_api.create_page_item( p_id=>169299802122053454.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_MAX_SCRIPT_SIZE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 120, p_item_plug_id => 169306214436082917.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'SQL 脚本最大脚本大小 (字节)', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'为整个实例启用事务处理 SQL 命令。启用此功能将允许 SQL 命令的用户在同一个物理数据库事务处理内发出多个 SQL 命令。'; wwv_flow_api.create_page_item( p_id=>175483619946469918.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_name=>'P16_ENABLE_TRANSACTIONAL_SQL', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 130, p_item_plug_id => 169306214436082917.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'启用事务处理 SQL 命令', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 637919682872057.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 16.4056, p_computation_sequence => 1, p_computation_item=> 'F4050_P15_ID', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'STATIC_ASSIGNMENT', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> '', p_computation_comment=> 'Set the value of the item conainting the primary key to null when asked to create a new row.', p_compute_when => 'CREATE_ROW', p_compute_when_type=>'REQUEST_EQUALS_CONDITION'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 169656715464057857.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_SQL_C_MAX_INACTIVITY Not Null', p_validation_sequence=> 1, p_validation => 'P16_SQL_C_MAX_INACTIVITY', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定值。', p_associated_item=> 169299221292053451.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 19-APR-2005 19:48'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 169656912645057859.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_SQL_SCRIPT_MAX_OUTPUT_SIZE Not Null', p_validation_sequence=> 2, p_validation => 'P16_SQL_SCRIPT_MAX_OUTPUT_SIZE', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定值。', p_associated_item=> 169299418817053452.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 19-APR-2005 19:48'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 169657123504057860.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_WORKSPACE_MAX_OUTPUT_SIZE Not Null', p_validation_sequence=> 3, p_validation => 'P16_WORKSPACE_MAX_OUTPUT_SIZE', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定值。', p_associated_item=> 169299604071053452.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'ON_ERROR_PAGE', p_validation_comment=> 'generated 19-APR-2005 19:48'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 169657306009057860.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_MAX_SCRIPT_SIZE Not Null', p_validation_sequence=> 4, p_validation => 'P16_MAX_SCRIPT_SIZE', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定值。', p_associated_item=> 169299802122053454.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 19-APR-2005 19:48'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 171947423698040938.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_SQL_C_MAX_INACTIVITY must be positive integer', p_validation_sequence=> 20, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P16_SQL_C_MAX_INACTIVITY );'||chr(10)|| ' if l_number = abs(trunc(l_number)) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_when_button_pressed=> 169388709307261209.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 169299221292053451.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 172007922499154166.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_SQL_SCRIPT_MAX_OUTPUT_SIZE positive integer', p_validation_sequence=> 30, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P16_SQL_SCRIPT_MAX_OUTPUT_SIZE );'||chr(10)|| ' if l_number = abs(trunc(l_number)) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_when_button_pressed=> 169388709307261209.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 169299418817053452.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 172010617436162145.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_WORKSPACE_MAX_OUTPUT_SIZE positive integer', p_validation_sequence=> 40, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P16_WORKSPACE_MAX_OUTPUT_SIZE );'||chr(10)|| ' if l_number = abs(trunc(l_number)) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_when_button_pressed=> 169388709307261209.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 169299604071053452.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 172014314796170894.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_validation_name => 'P16_MAX_SCRIPT_SIZE positive integer', p_validation_sequence=> 50, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P16_MAX_SCRIPT_SIZE );'||chr(10)|| ' if l_number = abs(trunc(l_number)) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_when_button_pressed=> 169388709307261209.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 169299802122053454.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||':P16_PLSQL_EDITING := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''PLSQL_EDITING'' );'||chr(10)|| ''||chr(10)|| ':P16_WORKSPACE_P_DEMO_OBJECT := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''WORKSPACE_PROVISION_DEMO_OBJECTS'' );'||chr(10)|| ''||chr(10)|| ':P16_SQL_C_MAX_INACTIVITY := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''SQL_COMMAND_MAX_INACTIVITY'' );'||chr(10)|| ''||chr(10)|| ':P16_SQL_SCRIPT_MAX_OUTPUT_SIZE := '||chr(10)|| ' wwv_f'; p:=p||'low_platform.get_preference( p_preference_name => ''SQL_SCRIPT_MAX_OUTPUT_SIZE'' );'||chr(10)|| ''||chr(10)|| ':P16_WORKSPACE_MAX_OUTPUT_SIZE := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''WORKSPACE_MAX_OUTPUT_SIZE'' );'||chr(10)|| ''||chr(10)|| ':P16_MAX_SCRIPT_SIZE := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''MAX_SCRIPT_SIZE'' );'||chr(10)|| ''||chr(10)|| ':P16_ALLOW_DB_MONITOR := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => '; p:=p||'''ALLOW_DB_MONITOR'' );'||chr(10)|| ''||chr(10)|| ':P16_ENABLE_TRANSACTIONAL_SQL := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''ENABLE_TRANSACTIONAL_SQL'' );'; wwv_flow_api.create_page_process( p_id => 169602917870557035.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_HEADER', p_process_type=> 'PLSQL', p_process_name=> 'Fetch values from platform prefs table', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_platform.set_preference( p_preference_name => ''PLSQL_EDITING'','||chr(10)|| ' p_preference_value => :P16_PLSQL_EDITING );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''WORKSPACE_PROVISION_DEMO_OBJECTS'','||chr(10)|| ' p_preference_value => :P16_WORKSPACE_P_DEMO_OBJECT );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''SQL_COMMAND_M'; p:=p||'AX_INACTIVITY'','||chr(10)|| ' p_preference_value => :P16_SQL_C_MAX_INACTIVITY );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''SQL_SCRIPT_MAX_OUTPUT_SIZE'','||chr(10)|| ' p_preference_value => :P16_SQL_SCRIPT_MAX_OUTPUT_SIZE );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''WORKSPACE_MAX_OUTPUT_SIZE'','||chr(10)|| ' p_p'; p:=p||'reference_value => :P16_WORKSPACE_MAX_OUTPUT_SIZE );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''MAX_SCRIPT_SIZE'','||chr(10)|| ' p_preference_value => :P16_MAX_SCRIPT_SIZE );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''ALLOW_DB_MONITOR'','||chr(10)|| ' p_preference_value => :P16_ALLOW_DB_MONITOR );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( '; p:=p||'p_preference_name => ''ENABLE_TRANSACTIONAL_SQL'','||chr(10)|| ' p_preference_value => :P16_ENABLE_TRANSACTIONAL_SQL );'||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 169524720875349790.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Apply Changes', p_process_sql_clob => p, p_process_error_message=> '无法保存功能配置设置。', p_process_when_button_id=>169388709307261209.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '功能配置设置已保存。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'16'; wwv_flow_api.create_page_process( p_id => 35198113704069357.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 16.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 16.4056 -- begin null; end; null; end; / --application/pages/page_17.40 prompt ...PAGE 17.4056: 创建/编辑站点特定的任务 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_tasklist.htm'; ph := null; wwv_flow_api.create_page( p_id => 17.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建/编辑站点特定的任务', p_step_title=> '创建/编辑站点特定的任务', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216789322970659213+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165704', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>17.4056,p_text=>h); 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=> 951214632736321.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 17.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 951627136736335.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 17.4056, p_plug_name=> '站点特定的任务', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'Unable to show report. #SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'generated 04-MAR-2001 19:43:24'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

指定在工作区登录页和工作区主页上显示的站点特定任务列表中的任务。

'||chr(10)|| '

要决定是否显示任务, 请从“显示”列表中选择

'; wwv_flow_api.create_page_plug ( p_id=> 952029128736337.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 17.4056, p_plug_name=> '站点特定的任务', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 952400766736345.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_button_sequence=> 3, p_button_plug_id => 951627136736335+wwv_flow_api.g_id_offset, p_button_name => 'Apply Changes', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CHANGE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'P17_ID', p_button_condition_type=> 'ITEM_IS_NOT_NULL', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 952714907736406.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_button_sequence=> 1, p_button_plug_id => 951627136736335+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 953110060736407.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_button_sequence=> 4, p_button_plug_id => 951627136736335+wwv_flow_api.g_id_offset, p_button_name => 'Create', p_button_image_alt=> '创建', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'P17_ID', p_button_condition_type=> 'ITEM_IS_NULL', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 953528940736408.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_button_sequence=> 2, p_button_plug_id => 951627136736335+wwv_flow_api.g_id_offset, p_button_name => 'Delete', p_button_image_alt=> '删除', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'P17_ID', p_button_condition_type=> 'ITEM_IS_NOT_NULL', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>75294331022650118.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_branch_action=> 'f?p=&APP_ID.:18:&SESSION.::&DEBUG.:17::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 15-JUN-2004 19:41 by SSPADAFO'); wwv_flow_api.create_page_branch( p_id=>75293614053645275.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_branch_action=> 'f?p=&FLOW_ID.:18:&SESSION.::&DEBUG.:17::', p_branch_point=> 'BEFORE_COMPUTATION', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>952714907736406.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 15-JUN-2004 19:40 by SSPADAFO'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入要与链接目标一起显示的文本, 或者输入要在未为此任务指定链接的情况下显示的文本。'; wwv_flow_api.create_page_item( p_id=>953917950736415.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_name=>'P17_TASK_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 951627136736335.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'任务名称', p_source=>'TASK_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXTAREA', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 2, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入要在任务区域中显示的可选链接目标。例如:'||chr(10)|| '
http://www.oracle.com
'; wwv_flow_api.create_page_item( p_id=>954517336736480.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_name=>'P17_TASK_LINK', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 951627136736335.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'任务链接', p_source=>'TASK_LINK', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 50, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>955210485736485.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_name=>'P17_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 951627136736335.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Id', p_source=>'ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'定义每个任务列表中显示的链接的相对顺序。'; wwv_flow_api.create_page_item( p_id=>75234509655426344.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_name=>'P17_DISPLAY_SEQUENCE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 12, p_item_plug_id => 951627136736335.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => '10', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示序列', p_source=>'DISPLAY_SEQUENCE', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 5, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'决定是否显示任务或链接。选择启用显示, 或者选择禁用显示。'; wwv_flow_api.create_page_item( p_id=>75236031126432516.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_name=>'P17_DISPLAYED', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 120, p_item_plug_id => 951627136736335.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source=>'DISPLAYED', p_source_type=> 'DB_COLUMN', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 5, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择应显示此链接或文本的任务列表。选项包括:'||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>75239916843447392.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 17.4056, p_name=>'P17_DISPLAY_LOCATION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 951627136736335.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'WORKSPACE_HOME', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示位置', p_source=>'DISPLAY_LOCATION', p_source_type=> 'DB_COLUMN', p_display_as=> 'RADIOGROUP', p_named_lov=> 'TASK_DISPLAY_LOCATION', p_lov => '.'||to_char(75242612126455451 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 956110817736502.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_validation_name => 'value is required', p_validation_sequence=> 20, p_validation => 'P17_TASK_NAME', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定文本。', p_validation_condition=> 'Create,Apply Changes', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 953917950736415.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 152718005693876831.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_validation_name => 'name not whitespace', p_validation_sequence=> 30, p_validation => 'replace(:P17_TASK_NAME,'' '',null) is not null', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '任务名不能为空白', p_validation_condition=> 'Apply Changes,Create', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 953917950736415.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 202090127032390388.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_validation_name => 'display sequence must be numeric', p_validation_sequence=> 40, p_validation => 'P17_DISPLAY_SEQUENCE', p_validation_type => 'ITEM_IS_NUMERIC', p_error_message => '值必须为数字。', p_validation_condition=> 'Create, Apply Changes', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 75234509655426344.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'F|#OWNER#:WWV_FLOW_CUSTOMIZED_TASKS:P17_ID:ID'; wwv_flow_api.create_page_process( p_id => 956523719736519.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_HEADER', p_process_type=> 'DML_FETCH_ROW', p_process_name=> 'Fetch Row from WWV_FLOW_CUSTOMIZED_TASKS', p_process_sql_clob => p, p_process_error_message=> '提取行时出错。', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||':P17_ID := wwv_flow_id.next_val;'; wwv_flow_api.create_page_process( p_id => 152749516531012440.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_process_sequence=> 11, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'set ID', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'P17_ID', p_process_when_type=>'ITEM_IS_NULL', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_CUSTOMIZED_TASKS:P17_ID:ID'; wwv_flow_api.create_page_process( p_id => 956903422736535.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 17.4056, p_process_sequence=> 21, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'DML_PROCESS_ROW', p_process_name=> 'Process Row of WWV_FLOW_CUSTOMIZED_TASKS', p_process_sql_clob => p, p_process_error_message=> '处理表 WWV_FLOW_CUSTOMIZED_TASKS 中的行时出错。', p_process_success_message=> '操作已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 17.4056 -- begin null; end; null; end; / --application/pages/page_18.40 prompt ...PAGE 18.4056: 站点特定的任务 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_tasklist.htm'; ph := null; wwv_flow_api.create_page( p_id => 18.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '站点特定的任务', p_step_title=> '站点特定的任务', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165704', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>18.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'这些链接以站点特定任务列表的形式显示在工作区主页和工作区登录页上。'; wwv_flow_api.create_page_plug ( p_id=> 960020599743353.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 18.4056, p_plug_name=> '站点特定的任务', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 960422841743364.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 18.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select id, '||chr(10)|| ' display_sequence, '||chr(10)|| ' task_name, '||chr(10)|| ' task_link, '||chr(10)|| ' decode('||chr(10)|| ' display_location,'||chr(10)|| ' ''WORKSPACE_HOME'','||chr(10)|| ' wwv_flow_lang.system_message(''F4050.WORKSPACE_HOME''),'||chr(10)|| ' ''WORKSPACE_LOGIN'','||chr(10)|| ' wwv_flow_lang.system_message(''F4050.WORKSPACE_LOGIN'')'||chr(10)|| ' ) display_location, '||chr(10)|| ' decode('||chr(10)|| ' displayed,'||chr(10)|| ' ''Y'','||chr(10)|| ' wwv_flow_lang.system_message(''F4000.YES''),'||chr(10)|| ' wwv_flow_lang.syste'; s:=s||'m_message(''F4000.NO'')'||chr(10)|| ' ) displayed'||chr(10)|| 'from wwv_flow_customized_tasks'; wwv_flow_api.create_report_region ( p_id=> 964406793756833.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 18.4056, p_name=> 'Site-Specific Tasks', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 50, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任务', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 75164114382143826.4056 + wwv_flow_api.g_id_offset, p_region_id=> 964406793756833.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> '', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 965130942757270.4056 + wwv_flow_api.g_id_offset, p_region_id=> 964406793756833.4056 + 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=> 'DISPLAY_SEQUENCE', p_column_display_sequence=> 3, p_column_heading=> '序列', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 964932084757269.4056 + wwv_flow_api.g_id_offset, p_region_id=> 964406793756833.4056 + 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=> 'TASK_NAME', p_column_display_sequence=> 2, p_column_heading=> '名称', p_column_link=>'f?p=&APP_ID.:17:&SESSION.::&DEBUG.:17:P17_ID:#ID#', p_column_linktext=>'#TASK_NAME#', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 965011042757269.4056 + wwv_flow_api.g_id_offset, p_region_id=> 964406793756833.4056 + 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=> 'TASK_LINK', p_column_display_sequence=> 5, p_column_heading=> '任务链接', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 965232430757270.4056 + wwv_flow_api.g_id_offset, p_region_id=> 964406793756833.4056 + 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=> 'DISPLAY_LOCATION', p_column_display_sequence=> 4, p_column_heading=> '页面显示', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', 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=> 965320533757270.4056 + wwv_flow_api.g_id_offset, p_region_id=> 964406793756833.4056 + 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=> 'DISPLAYED', p_column_display_sequence=> 6, p_column_heading=> '显示', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 200723903023857946.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 18.4056, p_plug_name=> 'Buttons', p_region_name=>'', p_plug_template=> 182507118036154586.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 961500556743430.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 18.4056, p_button_sequence=> 10, p_button_plug_id => 200723903023857946+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 961902894743435.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 18.4056, p_button_sequence=> 6, p_button_plug_id => 200723903023857946+wwv_flow_api.g_id_offset, p_button_name => 'CREATE_ROW', p_button_image_alt=> '创建 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>962710881743501.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 18.4056, p_branch_action=> '17', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 1, p_branch_condition_type=> 'REQUEST_EQUALS_CONDITION', p_branch_condition=> 'CREATE_ROW', p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>963118584743503.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 18.4056, p_branch_action=> '5', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 962412919743490.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 18.4056, p_computation_sequence => 1, p_computation_item=> 'P17_ID', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'STATIC_ASSIGNMENT', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> '', p_computation_comment=> 'Set the value of the item conainting the primary key to null when asked to create a new row.', p_compute_when => 'CREATE_ROW', p_compute_when_type=>'REQUEST_EQUALS_CONDITION'); null; end; / begin --------------------------------------- -- ...updatable report columns for page 18.4056 -- begin null; end; null; end; / --application/pages/page_19.40 prompt ...PAGE 19.4056: 管理开发者活动日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 19.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理开发者活动日志', p_step_title=> '管理开发者活动日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165704', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>19.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' c_dev pls_integer := 0;'||chr(10)|| ''||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'htp.p('''');'||chr(10)|| 'select count(*) into c_dev from wwv_flow_builder_audit_trail;'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(''4050_19_LOG_ENTRIES'')||''''|| to_char(c_dev,''999,999,999,990'') || ''
'');'||chr(10)|| ''||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 19799503430565082.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 19.4056, p_plug_name=> '删除开发者活动日志条目', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 19886413585776250.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 19.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 19847614137691252.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 19.4056, p_button_sequence=> 10, p_button_plug_id => 19799503430565082+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:68:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 19803315335578026.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 19.4056, p_button_sequence=> 10, p_button_plug_id => 19799503430565082+wwv_flow_api.g_id_offset, p_button_name => 'DELETE_ENTRIES', p_button_image_alt=> '删除条目', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>19803703152578047.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 19.4056, p_branch_action=> '19', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>19803315335578026.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'删除存在时间大于标识天数的活动日志中的条目。'; wwv_flow_api.create_page_item( p_id=>19801228364572352.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 19.4056, p_name=>'P19_TIME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 19799503430565082.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'删除条目, 其存在的天数超过或等于:', p_source=>'31', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'TIME_INTERVALS', p_lov => '.'||to_char(87720511660244788 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'delete from WWV_FLOW_BUILDER_AUDIT_TRAIL where AUDIT_DATE < (sysdate - nvl(:p19_time,31))'; wwv_flow_api.create_page_process( p_id => 19880014493766985.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 19.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete rows', p_process_sql_clob => p, p_process_error_message=> '处理开发者活动日志时出错。', p_process_when_button_id=>19803315335578026.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '开发者活动日志已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 19.4056 -- begin null; end; null; end; / --application/pages/page_20.40 prompt ...PAGE 20.4056: 编辑方案到工作区的分配 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 20.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '编辑方案到工作区的分配', p_step_title=> '编辑方案到工作区的分配', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165704', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>20.4056,p_text=>h); 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=> 680521474522216.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 20.4056, p_plug_name=> '工作区方案分配', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'Unable to show report. #SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'generated 10-MAR-2001 10:51:46'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 13888724699867646.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 20.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 680801594522218.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 20.4056, p_button_sequence=> 1, p_button_plug_id => 680521474522216+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 681208267522219.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 20.4056, p_button_sequence=> 3, p_button_plug_id => 680521474522216+wwv_flow_api.g_id_offset, p_button_name => 'Apply_Changes', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 681404738522220.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 20.4056, p_button_sequence=> 4, p_button_plug_id => 680521474522216+wwv_flow_api.g_id_offset, p_button_name => 'Create', p_button_image_alt=> '创建', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'F4050_P20_ID', p_button_condition_type=> 'ITEM_IS_NULL', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 681012794522218.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 20.4056, p_button_sequence=> 2, p_button_plug_id => 680521474522216+wwv_flow_api.g_id_offset, p_button_name => 'Delete', p_button_image_alt=> '删除', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> ':F4050_P20_ID is not null and :P20_IS_FIRST_SCHEMA = ''N''', p_button_condition_type=> 'PLSQL_EXPRESSION', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>680228915522216.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_branch_action=> '21', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>274506709117217135.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_branch_action=> 'f?p=&APP_ID.:78:&SESSION.::&DEBUG.::P78_PROVISIONING_COMPANY_ID:&F4050_P20_SECURITY_GROUP_ID.', p_branch_point=> 'BEFORE_COMPUTATION', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_branch_condition_type=> 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_branch_condition=> 'F4050_P20_SECURITY_GROUP_ID', p_branch_condition_text=>'10', p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 31-JUL-2004 03:52 by SSPADAFO'); wwv_flow_api.create_page_branch( p_id=>680427844522216.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_branch_action=> '21', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_branch_condition_type=> 'REQUEST_EQUALS_CONDITION', p_branch_condition=> 'Cancel', p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>681626422522223.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_name=>'F4050_P20_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 100, p_item_plug_id => 680521474522216.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_prompt=>'Id', p_source=>'ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区。'; wwv_flow_api.create_page_item( p_id=>681827271522225.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_name=>'F4050_P20_SECURITY_GROUP_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 680521474522216.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source=>'SECURITY_GROUP_ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_DEVELOPER_WORKSPACES_NO_NULL_OPTION', p_lov => 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识相应方案。'; wwv_flow_api.create_page_item( p_id=>682001271522225.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_name=>'F4050_P20_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 680521474522216.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'数据库方案', p_source=>'SCHEMA', p_source_type=> 'DB_COLUMN', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_ALL_DATABASE_SCHEMAS', p_lov => 'declare q varchar2(32767);'||chr(10)|| ' l_flows_schema varchar2(30) := wwv_flow.g_flow_schema_owner;'||chr(10)|| 'begin'||chr(10)|| ' q := ''select name n, name r from sys.user$ u where type#=1 and name <> ''''''||l_flows_schema||'''''' and name not in (''''HTMLDB_PUBLIC_USER'''',''''PUBLIC_USER'''',''''FLOWS_FILES'''',''''SCHEDULER'''',''''PEOPLE'''',''''APEX_PUBLIC_USER'''')'';'||chr(10)|| ' q := q||'' and name not in (select schema from wwv_flow_restricted_schemas where not exists (select 1 from wwv_flow_rschema_exceptions where schema_id = (select id from wwv_flow_restricted_schemas where schema = u.name))) '';'||chr(10)|| ' q := q ||'' order by 1'';'||chr(10)|| ' return q;'||chr(10)|| 'end;', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>135418406612396046.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_name=>'P20_IS_FIRST_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 110, p_item_plug_id => 680521474522216.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> null, p_cMaxlength=> 2000, p_cHeight=> null, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 135422609644415804.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 20.4056, p_computation_sequence => 10, p_computation_item=> 'P20_IS_FIRST_SCHEMA', p_computation_point=> 'BEFORE_BOX_BODY', p_computation_type=> 'FUNCTION_BODY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'for c1 in (select a.schema, b.first_schema_provisioned'||chr(10)|| ' from wwv_flow_company_schemas a, wwv_flow_companies b'||chr(10)|| ' where a.security_group_id = b.provisioning_company_id'||chr(10)|| ' and a.id = :F4050_P20_ID ) loop'||chr(10)|| ' if c1.schema = c1.first_schema_provisioned then'||chr(10)|| ' return ''Y'';'||chr(10)|| ' else '||chr(10)|| ' return ''N'';'||chr(10)|| ' end if;'||chr(10)|| ' exit;'||chr(10)|| 'end loop;', p_compute_when => '', p_compute_when_type=>''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_COMPANY_SCHEMAS:F4050_P20_ID:ID'; wwv_flow_api.create_page_process( p_id => 682212029522226.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 20.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_HEADER', p_process_type=> 'DML_FETCH_ROW', p_process_name=> 'Fetch Row from WWV_FLOW_COMPANY_SCHEMAS', p_process_sql_clob => p, p_process_error_message=> '提取行时出错。', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'if wwv_flow_provisioning.reserved_schema(p_schema => :F4050_P20_SCHEMA)'||chr(10)|| ' or '||chr(10)|| ' (wwv_flow_provisioning.site_admin_is_restricted and '||chr(10)|| ' wwv_flow_provisioning.restricted_schema('||chr(10)|| ' p_schema => :F4050_P20_SCHEMA, '||chr(10)|| ' p_workspace_name => wwv_flow_security.find_company_name(:F4050_P20_SECURITY_GROUP_ID))) then'||chr(10)|| ' :F4050_P20_SCHEMA := ''INVALID'';'||chr(10)|| 'end if;'; wwv_flow_api.create_page_process( p_id => 274482203755203147.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 20.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'check schema', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_COMPANY_SCHEMAS:F4050_P20_ID:ID'; wwv_flow_api.create_page_process( p_id => 682401703522227.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 20.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'DML_PROCESS_ROW', p_process_name=> 'Process Row of WWV_FLOW_COMPANY_SCHEMAS', p_process_sql_clob => p, p_process_error_message=> '处理行时出错。', p_process_success_message=> '操作已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 20.4056 -- begin null; end; null; end; / --application/pages/page_21.40 prompt ...PAGE 21.4056: 管理工作区到方案的分配 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_schema_assign.htm'; ph := null; wwv_flow_api.create_page( p_id => 21.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理工作区到方案的分配', p_step_title=> '管理工作区到方案的分配', p_step_sub_title => 'Report', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165705', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>21.4056,p_text=>h); 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=> 19712704963515408.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 21.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 19712909520515410.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 21.4056, p_plug_name=> 'Provisioned Schemas', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| ' cs.SCHEMA,'||chr(10)|| ' c.short_name,'||chr(10)|| ' cs.SECURITY_GROUP_ID,'||chr(10)|| ' cs.id'||chr(10)|| 'from WWV_FLOW_COMPANY_SCHEMAS cs,'||chr(10)|| ' wwv_flow_companies c'||chr(10)|| 'where (:P21_FIND_SCHEMA is null or '||chr(10)|| ' instr(upper(cs.schema),upper(:P21_FIND_SCHEMA)) > 0 or'||chr(10)|| ' instr(upper(c.short_name),upper(:f4050_p21_find_schema)) > 0) and'||chr(10)|| ' cs.security_group_id = c.PROVISIONING_COMPANY_ID(+) and'||chr(10)|| ' ((:P21_COMPANY = ''0'' or :P21_'; s:=s||'COMPANY is null) or c.provisioning_company_id = :P21_COMPANY)'||chr(10)|| 'and short_name != ''INTERNAL'''; wwv_flow_api.create_report_region ( p_id=> 19713132168515411.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 21.4056, p_name=> 'Schemas Provisioned by Workspace', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '1', p_query_no_data_found=> '未找到方案。', p_query_num_rows_item=> 'P21_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_break_type_flag=> 'DEFAULT_BREAK_FORMATTING', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_plug_query_strip_html=> 'Y', p_comment=>'generated 25-FEB-2001 17:06:34'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 19713427221515412.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19713132168515411.4056 + 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=> 'SCHEMA', p_column_display_sequence=> 2, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', 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=> 19713530990515413.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19713132168515411.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_link=>'f?p=&APP_ID.:20:&SESSION.::&DEBUG.::F4050_P20_ID:#ID#', p_column_linktext=>'#SHORT_NAME#', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 19713607336515413.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19713132168515411.4056 + 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=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 3, p_column_heading=> 'Workspace', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 175968612447519614.4056 + wwv_flow_api.g_id_offset, p_region_id=> 19713132168515411.4056 + 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=> 'ID', p_column_display_sequence=> 4, p_column_heading=> 'ID', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

此报表列出指定工作区可内置的方案。当开发者创建新应用程序时, 他们必须从分配给工作区的方案列表中选择“内置”方案作为 SQL "语法分析f方案"。

'; wwv_flow_api.create_page_plug ( p_id=> 19713719462515413.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 21.4056, p_plug_name=> '工作区方案', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':P106_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32859321338800843.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 21.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 19713915330515414.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 21.4056, p_button_sequence=> 10, p_button_plug_id => 19712909520515410+wwv_flow_api.g_id_offset, p_button_name => 'Create', p_button_image_alt=> '创建 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:105:&SESSION.::&DEBUG.:105,106,107::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>19715800116515426.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 21.4056, p_branch_action=> '21', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的方案名查询, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>19714121904515416.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 21.4056, p_name=>'P21_FIND_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 19712909520515410.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'方案', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 15, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择所有工作区。'; wwv_flow_api.create_page_item( p_id=>19714602679515419.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 21.4056, p_name=>'P21_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1.5, p_item_plug_id => 19712909520515410.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_DEVELOPER_WORKSPACES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 25, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要在报表中显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>19715100356515422.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 21.4056, p_name=>'P21_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 2, p_item_plug_id => 19712909520515410.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source=>'15', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_lov => 'STATIC2:1,2,3,4,5,6,7,8,9,10,15,20,30,40,50,100,1000,5000', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>19715631170515422.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 21.4056, p_name=>'P21_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 3, p_item_plug_id => 19712909520515410.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', 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; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 104329223708762143.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 21.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>19715631170515422.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 21.4056 -- begin null; end; null; end; / --application/pages/page_22.40 prompt ...PAGE 22.4056: 管理工作区数据库权限 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc_privs.htm'; ph := null; wwv_flow_api.create_page( p_id => 22.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理工作区数据库权限', p_step_title=> '管理工作区数据库权限', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165705', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>22.4056,p_text=>h); 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=> 8781520672978158.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 22.4056, p_plug_name=> 'Breadcrumb', p_region_name=>'', p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 8782817687986777.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 22.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| ' cs.SCHEMA,'||chr(10)|| ' c.short_name,'||chr(10)|| ' cs.SECURITY_GROUP_ID,'||chr(10)|| ' cs.id, p.privilege, p.admin_option'||chr(10)|| 'from '||chr(10)|| ' WWV_FLOW_COMPANY_SCHEMAS cs, '||chr(10)|| ' wwv_flow_companies c, '||chr(10)|| ' DBA_SYS_PRIVS p'||chr(10)|| 'where '||chr(10)|| 'cs.schema = p.grantee and'||chr(10)|| '(:P22_FIND is null or '||chr(10)|| ' instr(p.privilege,upper(:P22_FIND)) > 0 or'||chr(10)|| ' instr(upper(cs.schema),upper(:P22_FIND)) > 0 or'||chr(10)|| ' instr(upper(c.short_name),upper(:P22_FIND)) > 0) and'||chr(10)|| 'cs.security_group'; s:=s||'_id = c.PROVISIONING_COMPANY_ID(+)'; wwv_flow_api.create_report_region ( p_id=> 8784826606008242.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 22.4056, p_name=> 'Workspace Privileges', p_region_name=>'', p_template=> 0+ 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_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '1', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'P22_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_break_type_flag=> 'DEFAULT_BREAK_FORMATTING', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 10313629055754565.4056 + wwv_flow_api.g_id_offset, p_region_id=> 8784826606008242.4056 + 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=> 'SCHEMA', p_column_display_sequence=> 2, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', 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=> 10313726515754566.4056 + wwv_flow_api.g_id_offset, p_region_id=> 8784826606008242.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_link=>'f?p=4050:14:&SESSION.:REPORT:NO:14:SGID:#SECURITY_GROUP_ID#', p_column_linktext=>'#SHORT_NAME#', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 10313825682754566.4056 + wwv_flow_api.g_id_offset, p_region_id=> 8784826606008242.4056 + 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=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 3, p_column_heading=> '', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 10313925109754567.4056 + wwv_flow_api.g_id_offset, p_region_id=> 8784826606008242.4056 + 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=> 'ID', p_column_display_sequence=> 4, p_column_heading=> '', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 10314526762763331.4056 + wwv_flow_api.g_id_offset, p_region_id=> 8784826606008242.4056 + 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=> 'PRIVILEGE', p_column_display_sequence=> 5, p_column_heading=> '权限', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', 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=> 10314607537763333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 8784826606008242.4056 + 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=> 'ADMIN_OPTION', p_column_display_sequence=> 6, p_column_heading=> '管理选项', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', 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=>8790031024028450.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 22.4056, p_branch_action=> 'f?p=&APP_ID.:22:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 25-JAN-2006 00:12 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>8786501803010525.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 22.4056, p_name=>'P22_FIND', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 8782817687986777.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'查找', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>8788201934020094.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 22.4056, p_name=>'P22_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 8782817687986777.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source=>'15', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_A', p_lov => '.'||to_char(87504531900192794 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>8790618342034215.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 22.4056, p_name=>'P22_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 8782817687986777.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 8796107438068988.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 22.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>':REQUEST is null or :REQUEST = ''GO''', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 22.4056 -- begin null; end; null; end; / --application/pages/page_23.40 prompt ...PAGE 23.4056: 创建/编辑用户 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_users.htm'; ph := null; wwv_flow_api.create_page( p_id => 23.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建/编辑用户', p_step_title=> '创建/编辑用户', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_group_id => 216787602191653217+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165705', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>23.4056,p_text=>h); 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=> 4789806742494505.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> '开发者权限', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 35, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_plug_display_when_condition => 'P23_IS_ADMIN', p_plug_display_when_cond2=>'N', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 12492516163001293.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> '帐户控件', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 50, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_plug_display_when_condition => 'P23_IS_ADMIN', p_plug_display_when_cond2=>'N', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':F4050_P23_WEB_PASSWORD := null;'||chr(10)|| ':F4050_P23_CONFIRM_PASSWD := null;'; wwv_flow_api.create_page_plug ( p_id=> 20502200062918881.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 70, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 39295419295089129.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 43032554506866236.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> '用户属性', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings => 'UserID:Security
GroupID:Company:Web
Password', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 15, p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_no_data_found=>'尚未定义基于 cookie 的用户。请单击“添加”图标创建新用户。', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_header=> '&PRODUCT_NAME. 服务的管理员可以管理任何工作区的用户帐户。', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'generated 16-MAR-2001 11:21:01'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 61303115419117985.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> '口令', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||' '; wwv_flow_api.create_page_plug ( p_id=> 161703707200871657.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> 'Links', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 5, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 182517420179163788.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> 'Users', p_region_name=>'', p_plug_template=> 4888405638168833.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 190667230101179100.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 23.4056, p_plug_name=> '用户组', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 60, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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 => ' :Flow:User:Developer Role(s)', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 500, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => 'FUNCTION_BODY', p_plug_display_when_condition => 'declare'||chr(10)|| ' l_fnd boolean default false;'||chr(10)|| 'begin'||chr(10)|| 'for c1 in ('||chr(10)|| 'select 1'||chr(10)|| 'from wwv_flow_fnd_user_groups'||chr(10)|| 'where security_group_id = :F4050_P23_SECURITY_GROUP_ID ) loop'||chr(10)|| ' l_fnd := true;'||chr(10)|| 'end loop;'||chr(10)|| 'return l_fnd and :P23_IS_ADMIN = ''N'';'||chr(10)|| 'end;', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 43032820185866237.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_button_sequence=> 10, p_button_plug_id => 182517420179163788+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:12:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 43033257856866238.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_button_sequence=> 30, p_button_plug_id => 182517420179163788+wwv_flow_api.g_id_offset, p_button_name => 'Apply_Changes', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'F4050_P23_USER_ID', p_button_condition_type=> 'ITEM_IS_NOT_NULL', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 43033414946866238.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_button_sequence=> 40, p_button_plug_id => 182517420179163788+wwv_flow_api.g_id_offset, p_button_name => 'CREATE', p_button_image_alt=> '创建', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'F4050_P23_USER_ID', p_button_condition_type=> 'ITEM_IS_NULL', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 39279805171990401.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_button_sequence=> 50, p_button_plug_id => 182517420179163788+wwv_flow_api.g_id_offset, p_button_name => 'CREATE_ANOTHER', p_button_image_alt=> '创建和创建另一个', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'F4050_P23_USER_ID', p_button_condition_type=> 'ITEM_IS_NULL', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 43033071157866237.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_button_sequence=> 25, p_button_plug_id => 182517420179163788+wwv_flow_api.g_id_offset, p_button_name => 'Delete', p_button_image_alt=> '删除用户', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'javascript:confirmDelete(''&DELETE_MSG.'');', p_button_condition=> ':F4050_P23_USER_ID is not null and :F4050_P23_USER_ID != wwv_flow_user_api.get_user_id(:FLOW_USER)', p_button_condition_type=> 'PLSQL_EXPRESSION', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>43031812037866231.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_branch_action=> '12', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 20, p_branch_condition_type=> 'REQUEST_EQUALS_CONDITION', p_branch_condition=> 'Create', p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>39280113672990404.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_branch_action=> 'f?p=&APP_ID.:23:&SESSION.::&DEBUG.:23,EDIT_USER_PRIVS::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>39279805171990401.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 30, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>43032215890866234.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_branch_action=> '12', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入此用户的默认方案。'; wwv_flow_api.create_page_item( p_id=>2691628386326712.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_DEFAULT_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'默认方案', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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_read_only_when=>'P23_IS_ADMIN', p_read_only_when2=>'Y', p_read_only_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_read_only_disp_attr=>'class="fielddatabold"', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>12480015129149970.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_ACCOUNT_EXPIRY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 170, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> null, p_cMaxlength=> 2000, p_cHeight=> null, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'可用选项:'||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>12480931059154603.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_ACCOUNT_LOCKED', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 180, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'帐户可用性', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'ACCOUNT_LOCK_STATUS', p_lov => '.'||to_char(12506800188785204 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>12481506257156915.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_FAILED_ACCESS_ATTEMPTS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 220, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> null, p_cMaxlength=> 2000, p_cHeight=> null, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可要求用户在首次使用当前临时口令登录时立即更改口令。 '||chr(10)|| '

此规则适用于使用此帐户的开发者和工作区管理员。它还适用于使用此帐户登录到开发的应用程序的所有用户。'; wwv_flow_api.create_page_item( p_id=>12482115260159568.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_CHANGE_PWD_ON_FIRST_USE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 225, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'需要在首次使用时更改口令', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>12482722533161601.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_FIRST_PWD_USE_OCCURRED', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 230, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> null, p_cMaxlength=> 2000, p_cHeight=> null, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>12496823435353552.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_SHOW_EXPIRE_FLAG', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 200, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'指示对于开发者登录或管理员登录, 口令是失效还是保持有效。'; wwv_flow_api.create_page_item( p_id=>12498809783385770.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_EXPIRATION_STATUS1', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 190, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'开发者/管理员口令:', p_source_type=> 'STATIC', p_display_as=> 'DISPLAY_ONLY_ESCAPE_SC', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold" ', 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_display_when=>':F4050_P23_USER_ID is not null and :P23_EXPIRATION_STATUS1 <> ''NA''', p_display_when_type=>'PLSQL_EXPRESSION', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'指示对于最终用户登录, 口令是失效还是保持有效。'; wwv_flow_api.create_page_item( p_id=>12499022628385770.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_EXPIRATION_STATUS2', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 195, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'最终用户口令:', p_source_type=> 'STATIC', p_display_as=> 'DISPLAY_ONLY_ESCAPE_SC', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> 'nowrap', p_tag_attributes => 'class="fielddatabold" ', 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_display_when=>':F4050_P23_USER_ID is not null and :P23_EXPIRATION_STATUS2 <> ''NA''', p_display_when_type=>'PLSQL_EXPRESSION', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选中此项可使用户口令失效。这将影响用户的开发者/管理员作为最终用户登录和访问。如果口令失效, 则在下次访问此帐户时, 用户必须提供旧口令以及一个新口令才能登录。'; wwv_flow_api.create_page_item( p_id=>12501217642408601.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_EXPIRE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 210, p_item_plug_id => 12492516163001293.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'口令失效', p_source_type=> 'STATIC', p_display_as=> 'CHECKBOX', p_lov => 'select null d, ''Y'' r from dual', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_display_when=>':P23_SHOW_EXPIRE_FLAG = ''Y'' and :F4050_P23_USER_ID is not null', p_display_when_type=>'PLSQL_EXPRESSION', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>43033620636866241.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_USER_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 90, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'User ID', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入用户名。'; wwv_flow_api.create_page_item( p_id=>43033813964866242.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_USER_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'用户名', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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_read_only_when=>'P23_IS_ADMIN', p_read_only_when2=>'Y', p_read_only_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_read_only_disp_attr=>'class="fielddatabold"', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入用户的名字。'; wwv_flow_api.create_page_item( p_id=>43034067641866243.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_FIRST_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'名', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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_read_only_when=>'P23_IS_ADMIN', p_read_only_when2=>'Y', p_read_only_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_read_only_disp_attr=>'class="fielddatabold"', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入用户的姓氏。'; wwv_flow_api.create_page_item( p_id=>43034227119866244.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_LAST_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 60, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'姓', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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_read_only_when=>'P23_IS_ADMIN', p_read_only_when2=>'Y', p_read_only_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_read_only_disp_attr=>'class="fielddatabold"', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入此用户的可选说明。'; wwv_flow_api.create_page_item( p_id=>43035819093866248.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_DESCRIPTION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 70, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'说明', p_source_type=> 'STATIC', p_display_as=> 'TEXTAREA-AUTO-HEIGHT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 3, p_cAttributes=> 'valign="top"', 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_read_only_when=>'P23_IS_ADMIN', p_read_only_when2=>'Y', p_read_only_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_read_only_disp_attr=>'class="fielddatabold"', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入用户的电子邮件地址。'; wwv_flow_api.create_page_item( p_id=>43037241672866252.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_EMAIL_ADDRESS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'电子邮件地址', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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_read_only_when=>'P23_IS_ADMIN', p_read_only_when2=>'Y', p_read_only_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_read_only_disp_attr=>'class="fielddatabold"', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'请输入口令 (除非您在创建带有口令的新帐户, 或者更新现有帐户的口令, 否则请勿输入)。'; wwv_flow_api.create_page_item( p_id=>43037870063866254.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_WEB_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 80, p_item_plug_id => 61303115419117985.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'口令', p_post_element_text=>' 口令区分大小写', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'PASSWORD_DNSS', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'ABOVE', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'从弹出式列表中为此用户选择一个工作区。'; wwv_flow_api.create_page_item( p_id=>43042986599987259.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_SECURITY_GROUP_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES_NO_NULL_OPTION', p_lov => 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_read_only_when=>'P23_IS_ADMIN', p_read_only_when2=>'Y', p_read_only_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_read_only_disp_attr=>'class="fielddatabold"', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>68678531660411621.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_IS_ADMIN', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 140, p_item_plug_id => 43032554506866236.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> null, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'指定此用户是否应具有开发者权限。'; wwv_flow_api.create_page_item( p_id=>157994413889601615.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_DEVELOPER', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 150, p_item_plug_id => 4789806742494505.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'用户是开发者:', p_source_type=> 'STATIC', p_display_as=> 'RADIOGROUP', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'onClick="javascript:if (document.forms[0].P23_ADMIN_0.checked) document.forms[0].P23_DEVELOPER_0.checked = true;"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'指定此用户是否应具有管理员权限 (如创建新用户的权限)。'; wwv_flow_api.create_page_item( p_id=>157996406317627808.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'P23_ADMIN', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 160, p_item_plug_id => 4789806742494505.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'用户是管理员:', p_source_type=> 'STATIC', p_display_as=> 'RADIOGROUP', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'onClick="javascript:if (document.forms[0].P23_ADMIN_0.checked) document.forms[0].P23_DEVELOPER_0.checked = true;"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>182810818563091386.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_DEV_PRIVS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 120, p_item_plug_id => 4789806742494505.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Developer Privileges (Click only ADMIN to receive all privileges)', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_named_lov=> 'DEVELOPER.PRIVS', p_lov => '.'||to_char(182796815771077530 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 3, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="fieldtitleleft"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识此用户所属的组。'; wwv_flow_api.create_page_item( p_id=>190665205313175398.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_GROUPS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 130, p_item_plug_id => 190667230101179100.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'组', p_source_type=> 'STATIC', p_display_as=> 'MULTIPLESELECT', p_named_lov=> 'USER.GROUPS', p_lov => 'select htf.escape_sc(group_name) d, id r'||chr(10)|| 'from wwv_flow_fnd_user_groups'||chr(10)|| 'where security_group_id = :F4050_P23_SECURITY_GROUP_ID order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 8, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'再次输入口令以确认 (除非您在创建新帐户和口令, 或者更新现有帐户的口令, 否则请勿输入)。'; wwv_flow_api.create_page_item( p_id=>240387620119665972.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_name=>'F4050_P23_CONFIRM_PASSWD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 82, p_item_plug_id => 61303115419117985.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'确认口令', p_post_element_text=>' 口令区分大小写', p_source=>'F4050_P23_WEB_PASSWORD', p_source_type=> 'ITEM', p_display_as=> 'PASSWORD_DNSS', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'ABOVE', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 61308415871133351.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_computation_sequence => 10, p_computation_item=> 'F4050_P23_WEB_PASSWORD', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'PLSQL_EXPRESSION', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'ltrim(rtrim(:F4050_P23_WEB_PASSWORD))', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_computation( p_id=> 316540319552589525.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_computation_sequence => 20, p_computation_item=> 'F4050_P23_DEFAULT_SCHEMA', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'PLSQL_EXPRESSION', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'replace(:F4050_P23_DEFAULT_SCHEMA,''%''||''null%'',null)', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_computation( p_id=> 240393507137700064.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_computation_sequence => 30, p_computation_item=> 'F4050_P23_CONFIRM_PASSWD', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'PLSQL_EXPRESSION', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'ltrim(rtrim(:F4050_P23_CONFIRM_PASSWD))', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_computation( p_id=> 12553531088759090.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_computation_sequence => 40, p_computation_item=> 'P23_CHANGE_PWD_ON_FIRST_USE', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'FUNCTION_BODY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'if nvl(:P23_CHANGE_PWD_ON_FIRST_USE,''N'') <> ''Y'' then'||chr(10)|| ' return ''N'';'||chr(10)|| 'else'||chr(10)|| ' return ''Y'';'||chr(10)|| 'end if;'||chr(10)|| '', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_computation( p_id=> 12554726371767163.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_computation_sequence => 50, p_computation_item=> 'P23_EXPIRE', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'FUNCTION_BODY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'if nvl(:P23_EXPIRE,''N'') <> ''Y'' then'||chr(10)|| ' return ''N'';'||chr(10)|| 'else'||chr(10)|| ' return ''Y'';'||chr(10)|| 'end if;', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_computation( p_id=> 12555506070770774.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 23.4056, p_computation_sequence => 60, p_computation_item=> 'P23_ACCOUNT_LOCKED', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'FUNCTION_BODY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'if nvl(:P23_ACCOUNT_LOCKED,''N'') <> ''Y'' then'||chr(10)|| ' return ''N'';'||chr(10)|| 'else'||chr(10)|| ' return ''Y'';'||chr(10)|| 'end if;', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 182742403109007422.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'F4050_P23_EMAIL_ADDRESS Not Null', p_validation_sequence=> 1, p_validation => 'F4050_P23_EMAIL_ADDRESS', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定电子邮件地址。', p_validation_condition=> ':REQUEST IN (''Apply_Changes'',''CREATE'',''CREATE_ANOTHER'') and'||chr(10)|| ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 43037241672866252.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 22-FEB-2002 12:40'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 182745532211009071.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'F4050_P23_USER_NAME Not Null', p_validation_sequence=> 1, p_validation => 'F4050_P23_USER_NAME', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定用户名。', p_validation_condition=> ':REQUEST in (''Apply_Changes'',''CREATE'',''CREATE_ANOTHER'') and'||chr(10)|| ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 43033813964866242.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 22-FEB-2002 12:40'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 182742730875007426.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'F4050_P23_WEB_PASSWORD Not Null', p_validation_sequence=> 2, p_validation => 'F4050_P23_WEB_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定口令**', p_validation_condition=> 'CREATE,CREATE_ANOTHER', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 43037870063866254.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 22-FEB-2002 12:40'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 240392628824696884.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'Confirm PAssword', p_validation_sequence=> 3, p_validation => '( :F4050_P23_WEB_PASSWORD = :F4050_P23_CONFIRM_PASSWD ) '||chr(10)|| 'or ( :REQUEST = ''Apply_Changes'' '||chr(10)|| ' AND :F4050_P23_WEB_PASSWORD is null '||chr(10)|| ' and :F4050_P23_CONFIRM_PASSWD is null )', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '口令不匹配。', p_validation_condition=> 'CREATE,CREATE_ANOTHER,Apply_Changes', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 39286930629035660.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'workspace not null', p_validation_sequence=> 10, p_validation => 'F4050_P23_SECURITY_GROUP_ID', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定工作区。', p_validation_condition=> ':REQUEST in (''Apply_Changes'',''CREATE'',''CREATE_ANOTHER'') and'||chr(10)|| ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 43042986599987259.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 149174714581321552.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'WorkspaceNumeric', p_validation_sequence=> 15, p_validation => 'F4050_P23_SECURITY_GROUP_ID', p_validation_type => 'ITEM_IS_NUMERIC', p_error_message => '工作区必须为数字。', p_validation_condition=> ':REQUEST in (''Apply_Changes'',''CREATE'',''CREATE_ANOTHER'') and'||chr(10)|| ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 43042986599987259.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'ON_ERROR_PAGE', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 149172103583299374.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'WorkspaceValid', p_validation_sequence=> 20, p_validation => 'select ''1'' '||chr(10)|| ' from WWV_FLOW_COMPANIES'||chr(10)|| ' where provisioning_company_id > 0'||chr(10)|| ' and :F4050_P23_SECURITY_GROUP_ID = PROVISIONING_COMPANY_ID', p_validation_type => 'EXISTS', p_error_message => '必须选择一个有效的工作区。', p_validation_condition=> ':REQUEST in (''Apply_Changes'',''CREATE'',''CREATE_ANOTHER'') and'||chr(10)|| ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'NEVER', p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 159991611582821049.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'cannot remove admin from yourself', p_validation_sequence=> 30, p_validation => 'if :F4050_P23_USER_ID = wwv_flow_user_api.get_user_id(:FLOW_USER) and :P23_ADMIN = ''N'' then'||chr(10)|| ' return false;'||chr(10)|| 'else'||chr(10)|| ' return true;'||chr(10)|| 'end if;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '您无法自己删除管理员权限。', p_validation_condition=> ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 43033257856866238.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 157996406317627808.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 161251407978152754.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'default schema required', p_validation_sequence=> 40, p_validation => 'F4050_P23_DEFAULT_SCHEMA', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定默认方案。', p_validation_condition=> ':REQUEST in (''Apply_Changes'',''CREATE'',''CREATE_ANOTHER'') and'||chr(10)|| ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 2691628386326712.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 164285025826484749.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'prevent duplicate username', p_validation_sequence=> 50, p_validation => 'select 1 r'||chr(10)|| ' from wwv_flow_fnd_user'||chr(10)|| ' where user_name = upper(:F4050_P23_USER_NAME)'||chr(10)|| ' and security_group_id = :F4050_P23_SECURITY_GROUP_ID', p_validation_type => 'NOT_EXISTS', p_error_message => '用户名在工作区中必须是唯一的。', p_validation_condition=> ':REQUEST in (''CREATE'',''CREATE_ANOTHER'') and'||chr(10)|| ':P23_IS_ADMIN != ''Y''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 43033813964866242.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 111539302381125034.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'Invalid characters in username', p_validation_sequence=> 70, p_validation => 'F4050_P23_USER_NAME', p_validation2 => '<>', p_validation_type => 'ITEM_IN_VALIDATION_CONTAINS_NO_CHAR_IN_STRING2', p_error_message => '用户名无效。', p_validation_condition=> 'Apply_Changes,CREATE,CREATE_ANOTHER', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 43033813964866242.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 23877827234193982.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_validation_name => 'strong password verification', p_validation_sequence=> 80, p_validation => 'declare '||chr(10)|| ' l_use_strong_rules boolean;'||chr(10)|| 'begin'||chr(10)|| ' if :F4050_P23_SECURITY_GROUP_ID = 10 and nvl(wwv_flow_platform.get_preference(''STRONG_SITE_ADMIN_PASSWORD''),''N'') = ''Y'' then'||chr(10)|| ' l_use_strong_rules := true;'||chr(10)|| ' else'||chr(10)|| ' l_use_strong_rules := false;'||chr(10)|| ' end if;'||chr(10)|| ' '||chr(10)|| ' return wwv_flow_security.strong_password_validation('||chr(10)|| ' p_username => :F4050_P23_USER_NAME,'||chr(10)|| ' p_password => :F4050_P23_WEB_PASSWORD,'||chr(10)|| ' p_old_password => null,'||chr(10)|| ' p_workspace_name => wwv_flow_security.find_company_name(:F4050_P23_SECURITY_GROUP_ID),'||chr(10)|| ' p_use_strong_rules => l_use_strong_rules);'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '错误', p_validation_condition=> ':F4050_P23_WEB_PASSWORD is not null and'||chr(10)|| ':REQUEST IN (''Apply_Changes'',''CREATE'',''CREATE_ANOTHER'')', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 43037870063866254.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_admin_api.fetch_user ( '||chr(10)|| ' p_user_id => :F4050_P23_USER_ID, '||chr(10)|| ' p_user_name => :F4050_P23_USER_NAME,'||chr(10)|| ' p_first_name => :F4050_P23_FIRST_NAME,'||chr(10)|| ' p_last_name => :F4050_P23_LAST_NAME, '||chr(10)|| ' p_email_address => :F4050_P23_EMAIL_ADDRESS, '||chr(10)|| ' p_groups => :F4050_P23_GROUPS,'||chr(10)|| ' p_developer_role => :F4050_P23_DEV_PRIVS,'||chr(10)|| ' p_defau'; p:=p||'lt_schema => :F4050_P23_DEFAULT_SCHEMA,'||chr(10)|| ' p_description => :F4050_P23_DESCRIPTION,'||chr(10)|| ' p_account_expiry => :P23_ACCOUNT_EXPIRY,'||chr(10)|| ' p_account_locked => :P23_ACCOUNT_LOCKED,'||chr(10)|| ' p_failed_access_attempts => :P23_FAILED_ACCESS_ATTEMPTS,'||chr(10)|| ' p_change_password_on_first_use => :P23_CHANGE_PWD_ON_FIRST_USE, '||chr(10)|| ' p_first_password_use_occurred => :P23_FIRST_PWD_USE_OCCURRED'; p:=p||','||chr(10)|| ' p_security_group_id => :F4050_P23_SECURITY_GROUP_ID'||chr(10)|| ' );'||chr(10)|| ''||chr(10)|| 'if :F4050_P23_DEV_PRIVS is null then'||chr(10)|| ' :P23_DEVELOPER := ''N'';'||chr(10)|| ' :P23_ADMIN := ''N'';'||chr(10)|| 'elsif instr(:F4050_P23_DEV_PRIVS,''ADMIN'') > 0 then'||chr(10)|| ' :P23_DEVELOPER := ''Y'';'||chr(10)|| ' :P23_ADMIN := ''Y'';'||chr(10)|| 'else'||chr(10)|| ' :P23_DEVELOPER := ''Y'';'||chr(10)|| ' :P23_ADMIN := ''N'';'||chr(10)|| 'end if;'; wwv_flow_api.create_page_process( p_id => 43038016537866257.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_HEADER', p_process_type=> 'PLSQL', p_process_name=> 'fetch user information', p_process_sql_clob => p, p_process_error_message=> '提取行时出错。', p_process_when=>'F4050_P23_USER_ID', p_process_when_type=>'ITEM_IS_NOT_NULL', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_site_account_lifetime number := '||chr(10)|| ' nvl(wwv_flow_platform.get_preference(''ACCOUNT_LIFETIME_DAYS''),45);'||chr(10)|| ' l_workspace_account_lifetime number;'||chr(10)|| ' l_account_last_updated date;'||chr(10)|| ' l_dev_admin_expired boolean := false;'||chr(10)|| ' l_end_user_expired boolean := false;'||chr(10)|| ' l_found boolean := false;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'if :F4050_P23_SECURITY_GROUP_ID = ''10'' and :F4050_P23_USER_NAME = ''ADMIN'' then'||chr(10)|| ' :P23_IS_ADMIN := ''Y'; p:=p||''';'||chr(10)|| 'else'||chr(10)|| ' :P23_IS_ADMIN := ''N'';'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| '--'||chr(10)|| '-- account expiration notices'||chr(10)|| '--'||chr(10)|| 'l_account_last_updated := nvl(:P23_ACCOUNT_EXPIRY, trunc(sysdate));'||chr(10)|| 'for c1 in (select ACCOUNT_LIFETIME_DAYS from WWV_FLOW_COMPANIES'||chr(10)|| ' where provisioning_company_id = :F4050_P23_SECURITY_GROUP_ID) loop'||chr(10)|| ' l_workspace_account_lifetime := c1.account_lifetime_days;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| ':P23_SHOW_EXPIRE_FLAG := ''N'';'||chr(10)|| 'if :P23_DEVE'; p:=p||'LOPER = ''Y'' then'||chr(10)|| ' if l_account_last_updated + l_site_account_lifetime < sysdate then'||chr(10)|| ' l_dev_admin_expired := true;'||chr(10)|| ' :P23_EXPIRATION_STATUS1 := wwv_flow_lang.system_message(''EXPIRED'');'||chr(10)|| ' else'||chr(10)|| ' :P23_EXPIRATION_STATUS1 := wwv_flow_lang.system_message(''VALID'');'||chr(10)|| ' :P23_SHOW_EXPIRE_FLAG := ''Y'';'||chr(10)|| ' end if;'||chr(10)|| 'else'||chr(10)|| ' :P23_EXPIRATION_STATUS1 := ''NA'';'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'for c1 in (select ACCOUNT_LIFETIME_DAYS'; p:=p||' from WWV_FLOW_COMPANIES'||chr(10)|| ' where EXPIRE_FND_USER_ACCOUNTS = ''Y'''||chr(10)|| ' and provisioning_company_id = :F4050_P23_SECURITY_GROUP_ID) loop'||chr(10)|| ' l_found := true;'||chr(10)|| ' if l_account_last_updated + l_workspace_account_lifetime < sysdate then'||chr(10)|| ' l_end_user_expired := true;'||chr(10)|| ' :P23_EXPIRATION_STATUS2 := wwv_flow_lang.system_message(''EXPIRED'');'||chr(10)|| ' else'||chr(10)|| ' :P23_EXPIRATION_STATUS2 := wwv_flow_lang.sy'; p:=p||'stem_message(''VALID'');'||chr(10)|| ' :P23_SHOW_EXPIRE_FLAG := ''Y'';'||chr(10)|| ' end if;'||chr(10)|| 'end loop;'||chr(10)|| 'if not l_found then'||chr(10)|| ' :P23_EXPIRATION_STATUS2 := ''NA'';'||chr(10)|| 'end if;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 68692203366535952.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_HEADER', p_process_type=> 'PLSQL', p_process_name=> 'set values', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_admin_api.remove_user (p_user_id => :F4050_P23_USER_ID,'||chr(10)|| ' p_security_group_id => :F4050_P23_SECURITY_GROUP_ID);'; wwv_flow_api.create_page_process( p_id => 182690830061736577.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'cascade delete to developer privs', p_process_sql_clob => p, p_process_error_message=> '删除用户时出错。', p_process_when_button_id=>43033071157866237.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '用户 &F4050_P23_USER_NAME. 已删除。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare '||chr(10)|| ' l_p1 varchar2(256) := v(''F4050_P23_WEB_PASSWORD'');'||chr(10)|| ' l_p2 varchar2(256) := v(''F4050_P23_CONFIRM_PASSWD'');'||chr(10)|| ' l_site_account_lifetime number := '||chr(10)|| ' nvl(wwv_flow_platform.get_preference(''ACCOUNT_LIFETIME_DAYS''),45);'||chr(10)|| ' l_workspace_account_lifetime number;'||chr(10)|| ' l_account_last_updated date;'||chr(10)|| ' l_account_next_updated date;'||chr(10)|| ' l_new_expiry date;'||chr(10)|| 'begin'||chr(10)|| ' l_account_last_updated := nvl(:P23_ACCOUNT_EX'; p:=p||'PIRY, trunc(sysdate));'||chr(10)|| ' for c1 in (select ACCOUNT_LIFETIME_DAYS from WWV_FLOW_COMPANIES'||chr(10)|| ' where provisioning_company_id = :F4050_P23_SECURITY_GROUP_ID) loop'||chr(10)|| ' l_workspace_account_lifetime := nvl(c1.account_lifetime_days,l_site_account_lifetime);'||chr(10)|| ' end loop;'||chr(10)|| ' l_account_next_updated := trunc(sysdate) -'||chr(10)|| ' greatest(l_workspace_account_lifetime,l_site_account_lifetime); '||chr(10)|| ' if v(''P23_EXPI'; p:=p||'RE'') = ''N'' then'||chr(10)|| ' l_new_expiry := l_account_last_updated;'||chr(10)|| ' else'||chr(10)|| ' l_new_expiry := l_account_next_updated;'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P23_WEB_PASSWORD'',null);'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P23_CONFIRM_PASSWD'',null);'||chr(10)|| ' '||chr(10)|| 'wwv_flow_admin_api.edit_user_and_group ('||chr(10)|| ' p_user_id => :F4050_P23_USER_ID, '||chr(10)|| ' p_security_group_id => :F4050_P23_SECU'; p:=p||'RITY_GROUP_ID,'||chr(10)|| ' p_user_name => :F4050_P23_USER_NAME,'||chr(10)|| ' p_first_name => :F4050_P23_FIRST_NAME,'||chr(10)|| ' p_last_name => :F4050_P23_LAST_NAME,'||chr(10)|| ' p_web_password => l_p1,'||chr(10)|| ' p_new_password => l_p2,'||chr(10)|| ' p_email_address => :F4050_P23_EMAIL_ADDRESS, '||chr(10)|| ' p_default_schema => :F4050_P23_DEFAULT_SCHEMA, '||chr(10)|| ' p_group_ids => :F4050_P23_'; p:=p||'GROUPS, '||chr(10)|| ' p_description => :F4050_P23_DESCRIPTION,'||chr(10)|| ' p_account_expiry => l_new_expiry,'||chr(10)|| ' p_account_locked => :P23_ACCOUNT_LOCKED,'||chr(10)|| ' p_failed_access_attempts => 0, '||chr(10)|| ' p_change_password_on_first_use => :P23_CHANGE_PWD_ON_FIRST_USE, '||chr(10)|| ' p_first_password_use_occurred => :P23_FIRST_PWD_USE_OCCURRED);'||chr(10)|| '--'||chr(10)|| '-- Developer and Admin roles'||chr(10)|| '--'||chr(10)|| 'if :P23_ADMIN = ''N'' and'; p:=p||' :P23_DEVELOPER = ''N'' then'||chr(10)|| ' delete from wwv_flow_developers where user_id = :F4050_P23_USER_ID;'||chr(10)|| 'elsif :P23_ADMIN = ''Y'' then'||chr(10)|| ' wwv_flow_admin_api.edit_developer_role('||chr(10)|| ' p_id => 1,'||chr(10)|| ' p_user_id => :F4050_P23_USER_ID,'||chr(10)|| ' p_security_group_id => :F4050_P23_SECURITY_GROUP_ID,'||chr(10)|| ' p_user_name => :F4050_P23_USER_NAME,'||chr(10)|| ' p_developer_roles => ''ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL'');'||chr(10)|| 'else'||chr(10)|| ' '; p:=p||'wwv_flow_admin_api.edit_developer_role('||chr(10)|| ' p_id => 1,'||chr(10)|| ' p_user_id => :F4050_P23_USER_ID,'||chr(10)|| ' p_security_group_id => :F4050_P23_SECURITY_GROUP_ID,'||chr(10)|| ' p_user_name => :F4050_P23_USER_NAME,'||chr(10)|| ' p_developer_roles => ''CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL'');'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'commit;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 43038214859866258.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_process_sequence=> 30, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'edit user', p_process_sql_clob => p, p_process_error_message=> '更新用户时出错。', p_process_when_button_id=>43033257856866238.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '用户 &F4050_P23_USER_NAME. 已更新。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_user_id number := wwv_flow_id.next_val;'||chr(10)|| ' l_p varchar2(256) := v(''F4050_P23_WEB_PASSWORD'');'||chr(10)|| 'begin'||chr(10)|| 'wwv_flow.update_cache_with_write(''F4050_P23_WEB_PASSWORD'',null);'||chr(10)|| 'wwv_flow_admin_api.create_user ( '||chr(10)|| ' p_user_id => l_user_id,'||chr(10)|| ' p_security_group_id => :F4050_P23_SECURITY_GROUP_ID,'||chr(10)|| ' p_user_name => :F4050_P23_USER_NAME,'||chr(10)|| ' p_first'; p:=p||'_name => :F4050_P23_FIRST_NAME,'||chr(10)|| ' p_last_name => :F4050_P23_LAST_NAME,'||chr(10)|| ' p_description => :F4050_P23_DESCRIPTION,'||chr(10)|| ' p_email_address => :F4050_P23_EMAIL_ADDRESS,'||chr(10)|| ' p_default_schema => :F4050_P23_DEFAULT_SCHEMA, '||chr(10)|| ' p_web_password => l_p, '||chr(10)|| ' p_group_ids => :F4050_P23_G'; p:=p||'ROUPS,'||chr(10)|| ' p_developer_privs => :F4050_P23_DEV_PRIVS,'||chr(10)|| ' p_account_expiry => :P23_ACCOUNT_EXPIRY, '||chr(10)|| ' p_account_locked => :P23_ACCOUNT_LOCKED, '||chr(10)|| ' p_failed_access_attempts => :P23_FAILED_ACCESS_ATTEMPTS, '||chr(10)|| ' p_change_password_on_first_use => :P23_CHANGE_PWD_ON_FIRST_USE,'||chr(10)|| ' p_first_password_use_occurred => :P23_FIR'; p:=p||'ST_PWD_USE_OCCURRED'||chr(10)|| ' );'||chr(10)|| '--'||chr(10)|| '-- Developer and Admin roles'||chr(10)|| '--'||chr(10)|| 'if :P23_ADMIN = ''N'' and :P23_DEVELOPER = ''N'' then'||chr(10)|| ' null;'||chr(10)|| 'elsif :P23_ADMIN = ''Y'' then'||chr(10)|| ' wwv_flow_admin_api.edit_developer_role('||chr(10)|| ' p_id => 1,'||chr(10)|| ' p_user_id => l_user_id,'||chr(10)|| ' p_security_group_id => :F4050_P23_SECURITY_GROUP_ID,'||chr(10)|| ' p_user_name => :F4050_P23_USER_NAME,'||chr(10)|| ' p_developer_roles => ''ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:'; p:=p||'SQL'');'||chr(10)|| 'else'||chr(10)|| ' wwv_flow_admin_api.edit_developer_role('||chr(10)|| ' p_id => 1,'||chr(10)|| ' p_user_id => l_user_id,'||chr(10)|| ' p_security_group_id => :F4050_P23_SECURITY_GROUP_ID,'||chr(10)|| ' p_user_name => :F4050_P23_USER_NAME,'||chr(10)|| ' p_developer_roles => ''CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL'');'||chr(10)|| 'end if;'||chr(10)|| 'end;'||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 190972529902954165.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_process_sequence=> 40, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'create user', p_process_sql_clob => p, p_process_error_message=> '创建用户时出错。', p_process_when=>'CREATE,CREATE_ANOTHER', p_process_when_type=>'REQUEST_IN_CONDITION', p_process_success_message=> '用户 &F4050_P23_USER_NAME. 已创建。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'23'; wwv_flow_api.create_page_process( p_id => 359753732687409302.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 23.4056, p_process_sequence=> 60, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'CREATE,CREATE_ANOTHER,Apply_Changes', p_process_when_type=>'REQUEST_IN_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 23.4056 -- begin null; end; null; end; / --application/pages/page_24.40 prompt ...PAGE 24.4056: 登录尝试 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 24.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '登录尝试', p_step_title=> '登录尝试', p_step_sub_title => 'Login Access Log', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165705', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>24.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' q varchar2(32767) := null;'||chr(10)|| 'begin'||chr(10)|| ' q := ''select login_name,'';'||chr(10)|| ' q := q||'' application,'';'||chr(10)|| ' q := q||'' owner,'';'||chr(10)|| ' q := q||'' decode(authentication_method,''''FND_ACCOUNT'''',v(''''PRODUCT_NAME''''),'||chr(10)|| ' ''''CUSTOM'''',wwv_flow_lang.system_message(''''CUSTOM_AUTH_SCHEME_DESC''''),'||chr(10)|| ' ''''$SITE_INTERNAL$'''',wwv_flow_lang.system_message(''''SERVICE_LOGIN''''),'||chr(10)|| ' ''''$WORKSPACE_INTERNAL$'''',wwv_flow_lang.system_message(''''W'; s:=s||'ORKSPACE_LOGIN''''),'||chr(10)|| ' ''''DB ACCOUNT'''',wwv_flow_lang.system_message(''''DBACCOUNT_AUTH_SCHEME_DESC''''),'||chr(10)|| ' ''''LDAP'''',wwv_flow_lang.system_message(''''LDAP_AUTH_SCHEME_DESC''''),'||chr(10)|| ' authentication_method) authentication_method,'';'||chr(10)|| ' q := q||'' access_date,'';'||chr(10)|| ' q := q||'' access_date access_time,'';'||chr(10)|| ' q := q||'' decode(nvl(authentication_result,0),'||chr(10)|| '0,wwv_flow_lang.system_message(''''AUTH_SUCCESS''''),'||chr(10)|| '1,wwv_flow_lang.sy'; s:=s||'stem_message(''''AUTH_UNKNOWN_USER''''),'||chr(10)|| '2,wwv_flow_lang.system_message(''''AUTH_ACCOUNT_LOCKED''''),'||chr(10)|| '3,wwv_flow_lang.system_message(''''AUTH_ACCOUNT_EXPIRED''''),'||chr(10)|| '4,wwv_flow_lang.system_message(''''AUTH_PASSWORD_INCORRECT''''),'||chr(10)|| '5,wwv_flow_lang.system_message(''''AUTH_PASSWORD_FIRST_USE''''),'||chr(10)|| '6,wwv_flow_lang.system_message(''''AUTH_ATTEMPTS_EXCEEDED''''),'||chr(10)|| '7,wwv_flow_lang.system_message(''''AUTH_INTERNAL_ERROR''''),'||chr(10)|| '8,wwv_flo'; s:=s||'w_lang.system_message(''''AUTH_UNKNOWN_WORKSPACE''''),'||chr(10)|| 'authentication_result) authentication_result'||chr(10)|| ','';'||chr(10)|| ' q := q||'' custom_status_text,'';'||chr(10)|| ' q := q||'' wwv_flow_security.find_company_name(security_group_id) workspace'';'||chr(10)|| ' q := q||'' from wwv_flow_user_access_log_v'';'||chr(10)|| ''||chr(10)|| ' if :P24_COMPANY is not null and :P24_COMPANY != ''0'' then'||chr(10)|| ' q := q||'' where security_group_id = ''||:P24_COMPANY;'||chr(10)|| ' else'||chr(10)|| ' q := q||'' '; s:=s||'where 1 = 1 '';'||chr(10)|| ' end if;'||chr(10)|| ' if :P24_APPLICATION is not null then'||chr(10)|| ' q := q||'' and application like ''''%''''||:P24_APPLICATION||''''%'''''';'||chr(10)|| ' end if;'||chr(10)|| ' if :P24_USER is not null then'||chr(10)|| ' q := q||'' and lower(login_name) like ''''%''''||lower(:P24_USER)||''''%'''''';'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' return q;'||chr(10)|| 'end;'; wwv_flow_api.create_report_region ( p_id=> 12732211904664458.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 24.4056, p_name=> 'Logins', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'FUNCTION_RETURNING_SQL_QUERY', p_display_error_message=> 'Unable to render report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_num_rows_item=> 'P24_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_plug_query_strip_html=> 'Y', p_comment=>'generated 19-APR-2001 17:42:20'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12740121331793087.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + 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=> 'LOGIN_NAME', p_column_display_sequence=> 1, p_column_heading=> '登录名', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12740302850793087.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + 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=> 'APPLICATION', p_column_display_sequence=> 3, p_column_heading=> '应用程序', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12740427964793087.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + 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=> 'OWNER', p_column_display_sequence=> 4, p_column_heading=> '所有者', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12740223417793087.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + 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=> 'AUTHENTICATION_METHOD', p_column_display_sequence=> 6, p_column_heading=> '验证
方法', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12740527623793087.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + 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=> 'ACCESS_DATE', p_column_display_sequence=> 7, p_column_heading=> '日期', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49028319172363424.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + 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=> 'ACCESS_TIME', p_column_display_sequence=> 8, p_column_heading=> '时间', p_column_format=> 'SINCE', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12740820924793088.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'AUTHENTICATION_RESULT', p_column_display_sequence=> 5, p_column_heading=> '验证
结果', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12740903748793088.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'CUSTOM_STATUS_TEXT', p_column_display_sequence=> 9, p_column_heading=> '定制
状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 12743232469900392.4056 + wwv_flow_api.g_id_offset, p_region_id=> 12732211904664458.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'WORKSPACE', p_column_display_sequence=> 2, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 12733116132664460.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 24.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'此报表显示最近对工作区和应用程序的登录。它记录所有对 &PRODUCT_NAME 服务的登录, 开发者对工作区的登录以及在其验证方案中使用 &PRODUCT_NAME. 登录 API 的最终用户对应用程序的登录。从工作区弹出列表中选择工作区, 然后按“开始”按钮。'; wwv_flow_api.create_page_plug ( p_id=> 12733303372664460.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 24.4056, p_plug_name=> '登录尝试', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 12733513865664460.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 24.4056, p_plug_name=> 'Login Access Log', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>13265308543834693.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 24.4056, p_branch_action=> 'f?p=&APP_ID.:24:&SESSION.::&DEBUG.:RP::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>12734905755664462.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 28-NOV-2006 01:38 by SSPADAFO'); wwv_flow_api.create_page_branch( p_id=>12735921894664463.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 24.4056, p_branch_action=> '24', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择显示所有工作区。'; wwv_flow_api.create_page_item( p_id=>12734417988664461.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 24.4056, p_name=>'P24_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 12733116132664460.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>12734905755664462.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 24.4056, p_name=>'P24_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 12733116132664460.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>12735103841664462.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 24.4056, p_name=>'P24_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 12733116132664460.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按应用程序过滤, 请输入应用程序 ID, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>13259223322630763.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 24.4056, p_name=>'P24_APPLICATION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 12, p_item_plug_id => 12733116132664460.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'应用程序', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 5, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按登录名过滤, 请输入登录名, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>13263107439654575.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 24.4056, p_name=>'P24_USER', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 13, p_item_plug_id => 12733116132664460.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'登录名', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 5, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 12735624079664462.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 24.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'GO', p_process_when_type=>'REQUEST_EQUALS_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 24.4056 -- begin null; end; null; end; / --application/pages/page_25.40 prompt ...PAGE 25.4056: 上次使用的工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 25.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '上次使用的工作区', p_step_title=> '上次使用的工作区', p_step_sub_title => 'Workspace Usage', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165706', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>25.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select'||chr(10)|| ' short_name,'||chr(10)|| ' last_login,'||chr(10)|| ' LAST_LOGIN since'||chr(10)|| 'from WWV_FLOW_COMPANIES c '||chr(10)|| 'where short_name <> ''Unknown'' and'||chr(10)|| '(:P25_WS is null or instr(upper(short_name),upper(:P25_WS))>0)'; wwv_flow_api.create_report_region ( p_id=> 98185303352171218.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 25.4056, p_name=> 'Workspace Usage', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'P25_DISPLAY', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 98185622875171220.4056 + wwv_flow_api.g_id_offset, p_region_id=> 98185303352171218.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '40', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 98185723504171220.4056 + wwv_flow_api.g_id_offset, p_region_id=> 98185303352171218.4056 + 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=> 'LAST_LOGIN', p_column_display_sequence=> 2, p_column_heading=> '最后一个清除的会话', p_column_format=> '&DATE_FORMAT.', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '30', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 98194523077209522.4056 + wwv_flow_api.g_id_offset, p_region_id=> 98185303352171218.4056 + 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=> 'SINCE', p_column_display_sequence=> 3, p_column_heading=> '日期', p_column_format=> 'SINCE', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '30', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 98196718968236724.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 25.4056, p_plug_name=> 'Breadcrumb', p_region_name=>'', p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 108281618782868953.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 25.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>98190327061192901.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 25.4056, p_branch_action=> 'f?p=&FLOW_ID.:25:&SESSION.', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>98188419006189456.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 25.4056, p_name=>'P25_DISPLAY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 108281618782868953.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>98190130780192898.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 25.4056, p_name=>'P25_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 108281618782868953.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'Go', p_prompt=>'开始', 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 => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询标准, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>138300821896262474.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 25.4056, p_name=>'P25_WS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 108281618782868953.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 40, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 98191003899194539.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 25.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>98190130780192898.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 25.4056 -- begin null; end; null; end; / --application/pages/page_26.40 prompt ...PAGE 26.4056: 工作区请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_ser_rqst.htm'; ph := null; wwv_flow_api.create_page( p_id => 26.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '工作区请求', p_step_title=> '工作区请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165706', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>26.4056,p_text=>h); 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=> 4600315504229141.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 26.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 25375627955410651.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 26.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' q varchar2(5000) := null;'||chr(10)|| ''||chr(10)|| ' l_provision varchar2(200);'||chr(10)|| ' l_adjust varchar2(200);'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'select wwv_flow_lang.system_message(''F4050.PROVISION'')'||chr(10)|| ' into l_provision'||chr(10)|| ' from dual;'||chr(10)|| ''||chr(10)|| 'select wwv_flow_lang.system_message(''F4050.ADJUST'')'||chr(10)|| ' into l_adjust'||chr(10)|| ' from dual;'||chr(10)|| ''||chr(10)|| ''||chr(10)|| 'q := ''select '||chr(10)|| ' htf.anchor(''''f?p=4050:6:''''||:flow_session||''''::NO::F4050_P6_ID:''''||'||chr(10)|| ' id ,''''&EDIT.'''') edit_me,'||chr(10)|| ' COMPANY_NAME,'||chr(10)|| ' schema_name,'||chr(10)|| ' lower(ADMIN_userid),'||chr(10)|| ' ''''''''||htf.escape_sc(admin_email)||'''''''' admin_email,'||chr(10)|| ' DATABASE_SIZE,'||chr(10)|| ' country,'||chr(10)|| ' request_date,'||chr(10)|| ' project_status,'||chr(10)|| ' decode(project_status,''''REQUESTED'''','||chr(10)|| ' htf.anchor(''''f?p=4050:4:''''||:flow_session||''''::NO::PROVISION_ID:''''||id,''''''||l_p'; s:=s||'rovision||''''''),'||chr(10)|| ' ''''APPROVED'''','||chr(10)|| ' htf.anchor(''''f?p=4050:7:''''||:flow_session||''''::NO::T_PROVISION_ID:''''||id,''''''||l_adjust||''''''),'||chr(10)|| ' ''''ACCEPTED'''','||chr(10)|| ' htf.anchor(''''f?p=4050:7:''''||:flow_session||''''::NO::T_PROVISION_ID:''''||id,''''''||l_adjust||''''''),'||chr(10)|| ' htf.anchor(''''f?p=4050:7:''''||:flow_session||''''::NO::T_PROVISION_ID:''''||id,''''''||l_adjust||'''''')'||chr(10)|| ' ) action'||chr(10)|| 'from WWV_FLOW_PROVISION_COMPANY'; s:=s||' '';'||chr(10)|| ''||chr(10)|| 'if :F4050_P26_STATUS is not null and :F4050_P26_STATUS != ''0'' then'||chr(10)|| ' q := q||'' where project_status = :F4050_P26_STATUS '';'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'if :P26_SEARCH is not null then'||chr(10)|| ' if :F4050_P26_STATUS is not null and :F4050_P26_STATUS != ''0'' then'||chr(10)|| ' q := q || '' and '';'||chr(10)|| ' else'||chr(10)|| ' q := q || '' where '';'||chr(10)|| ' end if;'||chr(10)|| ' q := q || '' upper(company_name) like ''''%''''||upper(:P26_SEARCH)||'''''; s:=s||'%'''' '';'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'return q;'||chr(10)|| 'end;'; wwv_flow_api.create_report_region ( p_id=> 50768516306471803.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 26.4056, p_name=> 'Workspace Requests', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'FUNCTION_RETURNING_SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_plug_query_max_columns=> 12, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '25', p_query_options=> 'GENERIC_REPORT_COLUMNS', p_query_show_nulls_as=> '-', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'F4050_P26_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48488413392770349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + 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=> 'COL01', p_column_display_sequence=> 1, p_column_heading=> ' ', p_column_alignment=>'LEFT', p_heading_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=> 48488526197770349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + 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=> 'COL02', p_column_display_sequence=> 2, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48488609984770349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + 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=> 'COL03', p_column_display_sequence=> 3, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48488730465770349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + 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=> 'COL04', p_column_display_sequence=> 4, p_column_heading=> '管理用户', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48488816498770349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + 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=> 'COL05', p_column_display_sequence=> 5, p_column_heading=> '电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48488920740770349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + 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=> 'COL06', p_column_display_sequence=> 6, p_column_heading=> '数据库大小', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', 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=> 48489029515770350.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'COL07', p_column_display_sequence=> 7, p_column_heading=> 'Country', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48489113472770350.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'COL08', p_column_display_sequence=> 8, p_column_heading=> '请求', p_column_format=> 'SINCE', p_column_css_style=>'white-space: nowrap;', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48489200744770350.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'COL09', p_column_display_sequence=> 9, p_column_heading=> '状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>87755726864223308 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', 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=> 48489327877770350.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'COL10', p_column_display_sequence=> 10, p_column_heading=> '操作', p_column_alignment=>'LEFT', p_heading_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=> 48489425157770350.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 11, p_form_element_id=> null, p_column_alias=> 'COL11', p_column_display_sequence=> 11, p_column_heading=> 'COL11', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', 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=> 48489507194770350.4056 + wwv_flow_api.g_id_offset, p_region_id=> 50768516306471803.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 12, p_form_element_id=> null, p_column_alias=> 'COL12', p_column_display_sequence=> 12, p_column_heading=> 'COL12', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_column_comment=>''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>51343812293251966.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 26.4056, p_branch_action=> '26', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 29-MAR-2001 17:45 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按状态过滤报表, 请从列表中进行选择, 然后单击开始 '; wwv_flow_api.create_page_item( p_id=>227233099194.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 26.4056, p_name=>'F4050_P26_STATUS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 25375627955410651.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'状态', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'SERVICE.REQUEST.STATUS', p_lov => '.'||to_char(87755726864223308 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'YES', p_lov_translated=> 'N', p_lov_null_text=>'- 全部 -', p_lov_null_value=> '0', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>227237125731.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 26.4056, p_name=>'F4050_P26_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 25375627955410651.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>133654704904602400.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 26.4056, p_name=>'F4050_P26_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 25375627955410651.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '20', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_C', p_lov => '.'||to_char(87727319971247226 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询, 然后单击“开始”。'; wwv_flow_api.create_page_item( p_id=>135655632650273356.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 26.4056, p_name=>'P26_SEARCH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 3, p_item_plug_id => 25375627955410651.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'搜索', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 133663005970617117.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 26.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>227237125731.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 26.4056 -- begin null; end; null; end; / --application/pages/page_27.40 prompt ...PAGE 27.4056: 创建工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 27.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建工作区', p_step_title=> '创建工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165706', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>27.4056,p_text=>h); 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=> 4607802392253720.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 27.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: auto.provision.progress'; wwv_flow_api.create_page_plug ( p_id=> 12052824814385644.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 27.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 12048115202363924 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':F4050_P79_SCHEMA_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32847912999571331.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 27.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 51837012095286656.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 27.4056, p_plug_name=> '创建 &COMPANY_NAME.', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 51838114075301402.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_button_sequence=> 10, p_button_plug_id => 51837012095286656+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 12005721821568003.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_button_sequence=> 10, p_button_plug_id => 51837012095286656+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>12006017199568012.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 27.4056, p_branch_action=> '79', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>12005721821568003.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>56575929733626519.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 27.4056, p_branch_action=> '27', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 02-APR-2001 14:30 by MIKE'); wwv_flow_api.create_page_branch( p_id=>51838415724301406.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 27.4056, p_branch_action=> '10', p_branch_point=> 'BEFORE_COMPUTATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>51838114075301402.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入工作区的名称。工作区是多个开发者创建应用程序的共享工作区域。'; wwv_flow_api.create_page_item( p_id=>51839319663316706.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 27.4056, p_name=>'F4050_P27_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 51837012095286656.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区名称', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入此工作区的说明。'; wwv_flow_api.create_page_item( p_id=>52809911597500660.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 27.4056, p_name=>'F4050_P27_PROJDESC', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 51837012095286656.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区说明', p_source_type=> 'STATIC', p_display_as=> 'TEXTAREA', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 50, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 3, p_rowspan => 1, p_label_alignment => 'ABOVE', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>102040200715981237.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 27.4056, p_name=>'F4050_P27_SECURITY_GROUP_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 51837012095286656.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Security Group ID', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 175961730770991651.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_validation_name => 'F4050_P27_COMPANY Not Null', p_validation_sequence=> 1, p_validation => 'F4050_P27_COMPANY', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定工作区。', p_associated_item=> 51839319663316706.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 15-FEB-2002 13:56'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 13102508023008244.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_validation_name => 'security group id is numeric', p_validation_sequence=> 10, p_validation => 'F4050_P27_SECURITY_GROUP_ID', p_validation_type => 'ITEM_IS_NUMERIC', p_error_message => '安全组 ID 必须为数字。', p_validation_condition=> 'F4050_P27_SECURITY_GROUP_ID', p_validation_condition_type=> 'ITEM_IS_NOT_NULL', p_associated_item=> 102040200715981237.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 13103125946032313.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_validation_name => 'security group id not exists', p_validation_sequence=> 10, p_validation => 'select null'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where provisioning_company_id = :F4050_P27_SECURITY_GROUP_ID', p_validation_type => 'NOT_EXISTS', p_error_message => '安全组 ID 已存在。', p_validation_condition=> 'declare'||chr(10)|| ' l_num number;'||chr(10)|| 'begin'||chr(10)|| ' l_num := to_number(nvl(:F4050_P27_SECURITY_GROUP_ID,''1''));'||chr(10)|| ' return true;'||chr(10)|| 'exception when others then'||chr(10)|| ' return false;'||chr(10)|| 'end;', p_validation_condition_type=> 'FUNCTION_BODY', p_when_button_pressed=> 12005721821568003.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 102040200715981237.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 72385310766234746.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_validation_name => 'reserved company name', p_validation_sequence=> 20, p_validation => 'nvl(upper(:F4050_P27_COMPANY),''x'') not in (''INTERNAL'',''UNKNOWN'',''CSS'',''JAVASCRIPT'',''THEMES'',''TUTORIAL'',''XML'',''DOC'',''DP'',''TEMPLATES'')', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '工作区是保留名称, 请求被拒绝。', p_associated_item=> 51839319663316706.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 14411726317427900.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_validation_name => 'company already exists or requested', p_validation_sequence=> 30, p_validation => 'for c1 in (select null'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where company_name = upper(:F4050_P27_COMPANY)) loop'||chr(10)|| ' return false;'||chr(10)|| ' exit;'||chr(10)|| 'end loop;'||chr(10)|| 'for c1 in (select null'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where short_name = upper(:F4050_P27_COMPANY) ) loop'||chr(10)|| ' return false;'||chr(10)|| ' exit;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'if not nvl(length(trim(:F4050_P27_COMPANY)),0) > 0 then'||chr(10)|| ' return false;'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'return true;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '工作区名称已存在', p_validation_condition=> 'F4050_P27_COMPANY', p_validation_condition_type=> 'ITEM_IS_NOT_NULL', p_when_button_pressed=> 12005721821568003.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 51839319663316706.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 111441226211952153.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 27.4056, p_validation_name => 'Invalid characters in workspace name', p_validation_sequence=> 40, p_validation => 'F4050_P27_COMPANY', p_validation2 => '<>', p_validation_type => 'ITEM_IN_VALIDATION_CONTAINS_NO_CHAR_IN_STRING2', p_error_message => '工作区名称无效。', p_when_button_pressed=> 12005721821568003.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 51839319663316706.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 27.4056 -- begin null; end; null; end; / --application/pages/page_28.40 prompt ...PAGE 28.4056: 更改请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_chg_rqst.htm'; ph := null; wwv_flow_api.create_page( p_id => 28.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '更改请求', p_step_title=> '更改请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165706', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>28.4056,p_text=>h); 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=> 4603017713239216.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 28.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'此页列出了对现有服务进行更改的请求。要复查请求, 请单击查看请求。单击将对要处理的特定工作区执行的操作。作为不执行操作列出的操作是已经完成的操作, 因此并不需要任何操作。'; wwv_flow_api.create_page_plug ( p_id=> 59534981464167587.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 28.4056, p_plug_name=> '更改请求', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', p_plug_source=> s, p_plug_source_type=> 'STATIC_TEXT', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 81008210556197147.4056+ wwv_flow_api.g_id_offset, p_plug_query_headings => 'blue_arrow_down.gif::blue_arrow_up.gif:|2,3\1,9|'||chr(10)|| ''||chr(10)|| ' :'||chr(10)|| ''||chr(10)|| 'Company:'||chr(10)|| ''||chr(10)|| 'Schema:'||chr(10)|| ''||chr(10)|| 'AdminUserID:'||chr(10)|| ''||chr(10)|| 'Email:'||chr(10)|| ''||chr(10)|| 'DBsize:'||chr(10)|| ''||chr(10)|| 'Requested:'||chr(10)|| ''||chr(10)|| 'Status:'||chr(10)|| ''||chr(10)|| 'Action', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 25, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_no_data_found=>'未找到任何数据。', p_plug_query_show_nulls_as => '-', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' q varchar2(5000) := null;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| '/*'||chr(10)|| ' * CURRENT TITLE ACCORDING TO THIS SELECT, AS NOTED BELOW IN QUERY HEADINGS FIELD'||chr(10)|| ' * Company:Requested Change:Value for Change:Requested:Requested By:Status:Action'||chr(10)|| ' */'||chr(10)|| ''||chr(10)|| ' q := ''select c.short_name company_name,'||chr(10)|| ' m.service_name requested_change,'||chr(10)|| ' m.service_attribute_1 value,'||chr(10)|| ' m.requested_on requested_on,'||chr(10)|| ' '; s:=s||' m.requested_by,'||chr(10)|| ' m.request_status status,'||chr(10)|| ' decode(m.request_status,''''REQUESTED'''','||chr(10)|| ' htf.anchor(''''f?p=4050:110:''||:flow_session||''::NO:110:P110_REQUEST_ID,P110_SGID:''''||m.id||'''',''''||m.security_group_id,''''''||wwv_flow_lang.system_message(''F4050.VIEW_REQUEST'')||''''''),'||chr(10)|| ' ''''APPROVED'''', ''''''||wwv_flow_lang.system_message(''F4050.NO_ACTION'')||'''''','||chr(10)|| ' htf.anchor(''''f?p=40'; s:=s||'50:110:''||:flow_session||''::NO:110,RP:P110_REQUEST_ID,P110_SGID:''''||m.id||'''',''''||m.security_group_id,''''''||wwv_flow_lang.system_message(''F4050.VIEW_REQUEST'')||'''''')) '||chr(10)|| ' action'||chr(10)|| ' from wwv_flow_provision_serice_mod m, wwv_flow_companies c'||chr(10)|| ' where m.security_group_id = c.provisioning_company_id '';'||chr(10)|| ''||chr(10)|| ' if :F4050_P28_STATUS is not null and :F4050_P28_STATUS != ''0'' then'||chr(10)|| ' q := q||'' and reque'; s:=s||'st_status = :F4050_P28_STATUS '';'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' if :P28_SEARCH is not null then'||chr(10)|| ' q := q || '' and upper(short_name) like ''''%''''||upper(:P28_SEARCH)||''''%'''' '';'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' return q;'||chr(10)|| 'end;'; wwv_flow_api.create_report_region ( p_id=> 59535312500167589.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 28.4056, p_name=> 'Service Change Requests', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'FUNCTION_RETURNING_SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '25', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> '-', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'P28_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48525928245770622.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59535312500167589.4056 + 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=> 'COMPANY_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48526011074770622.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59535312500167589.4056 + 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=> 'REQUESTED_CHANGE', p_column_display_sequence=> 2, p_column_heading=> '请求的更改', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>110368323210290856 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48526119186770622.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59535312500167589.4056 + 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=> 'VALUE', p_column_display_sequence=> 3, p_column_heading=> '用于更改的值', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48526211732770622.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59535312500167589.4056 + 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=> 'REQUESTED_ON', p_column_display_sequence=> 4, p_column_heading=> '请求', p_column_format=> 'SINCE', p_column_css_style=>'white-space: nowrap;', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48526303311770622.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59535312500167589.4056 + 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=> 'REQUESTED_BY', p_column_display_sequence=> 5, p_column_heading=> '请求者', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48526401366770622.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59535312500167589.4056 + 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=> 'STATUS', p_column_display_sequence=> 6, p_column_heading=> '状态', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>87755726864223308 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', 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=> 48526504734770622.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59535312500167589.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'ACTION', p_column_display_sequence=> 7, p_column_heading=> '操作', p_column_alignment=>'CENTER', p_heading_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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 190884725848636908.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 28.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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 => 'blue_arrow_down.gif::blue_arrow_up.gif:|3,3,4\1,2|'||chr(10)|| ''||chr(10)|| ' :'||chr(10)|| ''||chr(10)|| 'CompanyShortName:'||chr(10)|| ''||chr(10)|| 'Users:'||chr(10)|| ''||chr(10)|| 'Developers:'||chr(10)|| ''||chr(10)|| 'Flows:ProvStatus:'||chr(10)|| ''||chr(10)|| 'CompanyID:', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 25, p_plug_query_num_rows_item => 'F4050_P1_ROWS', p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_query_col_allignments => 'L:L:L:L:R:R:R:L', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>59534110308167581.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 28.4056, p_branch_action=> '28', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 29-MAR-2001 17:45 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按状态过滤报表, 请从列表中进行选择, 然后单击开始 '; wwv_flow_api.create_page_item( p_id=>59534316415167582.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 28.4056, p_name=>'F4050_P28_STATUS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 190884725848636908.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'状态', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'SERVICE.REQUEST.STATUS', p_lov => '.'||to_char(87755726864223308 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'YES', p_lov_translated=> 'N', p_lov_null_text=>'- 全部 -', p_lov_null_value=> '0', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>59534516416167583.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 28.4056, p_name=>'F4050_P28_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 190884725848636908.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询, 然后单击“开始”。'; wwv_flow_api.create_page_item( p_id=>135738826107574190.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 28.4056, p_name=>'P28_SEARCH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 3, p_item_plug_id => 190884725848636908.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'搜索', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击“开始”。'; wwv_flow_api.create_page_item( p_id=>135986716551006681.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 28.4056, p_name=>'P28_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 25, p_item_plug_id => 190884725848636908.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '20', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_C', p_lov => '.'||to_char(87727319971247226 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 108330122937220232.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 28.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>59534516416167583.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 28.4056 -- begin null; end; null; end; / --application/pages/page_29.40 prompt ...PAGE 29.4056: 监视活动 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 29.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '监视活动', p_step_title=> '监视活动', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165706', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>29.4056,p_text=>h); 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=> 4617524125278866.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 29.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 14723216460004096.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 29.4056, p_plug_name=> '日历报表', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 14738731575074699 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 14755429806121434.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 29.4056, p_plug_name=> '开发者活动', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 3, p_plug_display_column=> 2, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 206097723808588940 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'49036204543378170'; wwv_flow_api.create_page_plug ( p_id=> 49038908699379385.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 29.4056, p_plug_name=> '登录尝试', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 50, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 49036204543378170 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 82696814914931381.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 29.4056, p_plug_name=> '页访问量', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 159973015345793688 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

使用此页中的链接可查看所有工作区中应用程序, 开发者和会话活动的不同报表。

'; wwv_flow_api.create_page_plug ( p_id=> 179853623006946463.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 29.4056, p_plug_name=> '监视报表', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 206100700867601271.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 29.4056, p_plug_name=> '环境报表', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 2, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 14750409028115431 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 29.4056 -- begin null; end; null; end; / --application/pages/page_30.40 prompt ...PAGE 30.4056: 按页访问量统计的活动 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 30.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按页访问量统计的活动', p_step_title=> '按页访问量统计的活动', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165706', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>30.4056,p_text=>h); 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=> 4762011488013280.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 30.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| 'time_stamp page_view,'||chr(10)|| 'time_stamp t2,'||chr(10)|| ' lower(l.userid) userid,'||chr(10)|| ' upper(c.short_name) company,'||chr(10)|| ' COMPONENT_ATTRIBUTE,'||chr(10)|| ' elap,'||chr(10)|| ' flow_id,'||chr(10)|| ' step_id page_id,'||chr(10)|| ' cached_regions,'||chr(10)|| ' decode(page_mode,'||chr(10)|| ' ''A'',m.m_PAGE_PROCESSING,'||chr(10)|| ' ''C'',m.m_CACHE_CREATED,'||chr(10)|| ' ''D'',m.m_DYNAMIC,'||chr(10)|| ' ''P'',m.m_PARTIAL_PAGE, '||chr(10)|| ' ''R'',m.m_CACHED,'||chr(10)|| ' page_mode) page_mode'||chr(10)|| ' from ('||chr(10)|| 'select '||chr(10)|| ' security_group'; s:=s||'_id,'||chr(10)|| ' time_stamp,'||chr(10)|| ' userid,'||chr(10)|| ' COMPONENT_ATTRIBUTE,'||chr(10)|| ' elap,'||chr(10)|| ' cached_regions,'||chr(10)|| ' flow_id,'||chr(10)|| 'step_id,'||chr(10)|| ' page_mode'||chr(10)|| 'from #OWNER#.wwv_flow_activity_log'||chr(10)|| 'where (:F4050_P30_COMPANY is null or :F4050_P30_COMPANY = ''0'' or security_group_id = :F4050_P30_COMPANY) and'||chr(10)|| ' time_stamp > (sysdate - :P30_SINCE) and'||chr(10)|| '(nvl(:P30_PAGE_MODE,''0'')=''0'' or page_mode = :P30_PAGE_MODE)'||chr(10)|| 'order by time_stamp desc) l,'||chr(10)|| 'wwv_flow_compa'; s:=s||'nies c,'||chr(10)|| ' (select wwv_flow_lang.system_message(''PAGE_PROCESSING'') m_PAGE_PROCESSING,'||chr(10)|| ' wwv_flow_lang.system_message(''CACHE_CREATED'') m_CACHE_CREATED,'||chr(10)|| ' wwv_flow_lang.system_message(''F4000.DYNAMIC'') m_DYNAMIC,'||chr(10)|| ' wwv_flow_lang.system_message(''PARTIAL_PAGE'') m_PARTIAL_PAGE,'||chr(10)|| ' wwv_flow_lang.system_message(''CACHED'') m_CACHED'||chr(10)|| ' from dual) m'||chr(10)|| 'where security_group_id '; s:=s||'= provisioning_company_id'; wwv_flow_api.create_report_region ( p_id=> 59663210606281249.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 30.4056, p_name=> 'Recent Page Views', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> 'Unable to render chart. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> '(null)', p_query_break_cols=> '0', p_query_num_rows_item=> 'F4050_P30_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12" alt=""', p_plug_query_strip_html=> 'Y', p_comment=>'generated 19-APR-2001 17:42:20'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48455219902770111.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + 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=> 'PAGE_VIEW', p_column_display_sequence=> 1, p_column_heading=> '时间', p_column_format=> 'Dy &DATE_TIME_FORMAT.', p_column_css_style=>'white-space: nowrap;', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', 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=> 47132723423237435.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + 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=> 'T2', p_column_display_sequence=> 2, p_column_heading=> ' ', p_column_format=> 'SINCE', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48455325472770111.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + 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=> 'USERID', p_column_display_sequence=> 3, p_column_heading=> '用户', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48455413492770112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + 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=> 'COMPANY', p_column_display_sequence=> 5, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48455518040770112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + 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=> 'COMPONENT_ATTRIBUTE', p_column_display_sequence=> 8, p_column_heading=> '页名', p_column_alignment=>'LEFT', p_heading_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=> 48455619272770112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + 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=> 'ELAP', p_column_display_sequence=> 7, p_column_heading=> '用时', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48455705676770112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'FLOW_ID', p_column_display_sequence=> 4, p_column_heading=> '应用程序', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48455823869770112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'PAGE_ID', p_column_display_sequence=> 6, p_column_heading=> '页', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 58083524886620303.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'CACHED_REGIONS', p_column_display_sequence=> 9, p_column_heading=> '高速缓存
区域', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 131019027924701075.4056 + wwv_flow_api.g_id_offset, p_region_id=> 59663210606281249.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'PAGE_MODE', p_column_display_sequence=> 10, p_column_heading=> '页模式', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>131020216973707367 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 190796222078501880.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 30.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 3130130253431532.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 30.4056, p_button_sequence=> 10, p_button_plug_id => 59663210606281249+wwv_flow_api.g_id_offset, p_button_name => 'FLOW_NEXT_PAGE', p_button_image => 'smv.gif', p_button_image_alt=> '下一页', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3131511337435555.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 30.4056, p_button_sequence=> 10, p_button_plug_id => 59663210606281249+wwv_flow_api.g_id_offset, p_button_name => 'FLOW_PREVIOUS_PAGE', p_button_image => 'srmv.gif', p_button_image_alt=> '上一页', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>131026017582726466.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 30.4056, p_branch_action=> 'f?p=&APP_ID.:30:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 05-DEC-2007 14:03 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>47128703206222148.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 30.4056, p_name=>'P30_SINCE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 11, p_item_plug_id => 190796222078501880.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'始自', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'YES', p_lov_translated=> 'N', p_lov_null_text=>'', p_lov_null_value=> '', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择显示所有工作区。'; wwv_flow_api.create_page_item( p_id=>59664512389385377.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 30.4056, p_name=>'F4050_P30_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 190796222078501880.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>59665949535463099.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 30.4056, p_name=>'F4050_P30_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 190796222078501880.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识已记录的页事件'; wwv_flow_api.create_page_item( p_id=>131028006285732714.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 30.4056, p_name=>'P30_PAGE_MODE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 12, p_item_plug_id => 190796222078501880.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '0', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'页模式', p_source=>'0', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'PAGE VIEW MODE', p_lov => '.'||to_char(131020216973707367 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'YES', p_lov_translated=> 'N', p_lov_null_text=>'- 全部 -', p_lov_null_value=> '0', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择每页显示的最大行数。'; wwv_flow_api.create_page_item( p_id=>133015926403696373.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 30.4056, p_name=>'F4050_P30_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 190796222078501880.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 59664916506391552.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 30.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'GO', p_process_when_type=>'REQUEST_EQUALS_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 30.4056 -- begin null; end; null; end; / --application/pages/page_31.40 prompt ...PAGE 31.4056: 管理登录访问日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 31.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理登录访问日志', p_step_title=> '管理登录访问日志', p_step_sub_title => 'Manage Login Access Log', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165707', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>31.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' c_dev pls_integer := 0;'||chr(10)|| ''||chr(10)|| 'begin'||chr(10)|| ' htp.p('''');'||chr(10)|| ' select count(*) into c_dev from wwv_flow_user_access_log_v;'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_31_LOG_COUNT'')||'''');'||chr(10)|| ' htp.p(to_char(c_dev,''999,999,999,990''));'||chr(10)|| ' htp.p(''
'');'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 15366007090981094.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 31.4056, p_plug_name=> '删除登录访问日志条目', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 15366424092981097.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 31.4056, p_plug_name=> 'Manage Login Access Log', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 15366901763981105.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 31.4056, p_button_sequence=> 10, p_button_plug_id => 15366007090981094+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:68:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 15367111801981107.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 31.4056, p_button_sequence=> 10, p_button_plug_id => 15366007090981094+wwv_flow_api.g_id_offset, p_button_name => 'DELETE_ENTRIES', p_button_image_alt=> '删除条目', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>15368103316981118.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 31.4056, p_branch_action=> '31', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>15367111801981107.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'清除存在时间大于此天数的条目。'; wwv_flow_api.create_page_item( p_id=>15367328334981108.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 31.4056, p_name=>'P31_TIME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 15366007090981094.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'删除条目, 其存在的天数超过或等于:', p_source=>'31', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'TIME_INTERVALS', p_lov => '.'||to_char(87720511660244788 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'delete from wwv_flow_user_access_log1$'||chr(10)|| 'where access_date < (sysdate - nvl(:p31_time,31));'||chr(10)|| 'delete from wwv_flow_user_access_log2$'||chr(10)|| 'where access_date < (sysdate - nvl(:p31_time,31));'; wwv_flow_api.create_page_process( p_id => 15367807877981115.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 31.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete rows', p_process_sql_clob => p, p_process_error_message=> '清除登录访问日志时出错。', p_process_when_button_id=>15367111801981107.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '登录访问日志已清除。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 31.4056 -- begin null; end; null; end; / --application/pages/page_32.40 prompt ...PAGE 32.4056: 登录访问日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 32.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '登录访问日志', p_step_title=> '登录访问日志', p_step_sub_title => 'Login Access Log', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165707', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>32.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' c_dev pls_integer := 0;'||chr(10)|| 'begin'||chr(10)|| ' htp.p('''');'||chr(10)|| ' select count(*) into c_dev from wwv_flow_user_access_log_v;'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_31_LOG_COUNT'')||'': '');'||chr(10)|| ' htp.p(to_char(c_dev,''999,999,999,990''));'||chr(10)|| ' htp.p(''
'');'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 15371009700023708.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 32.4056, p_plug_name=> '登录访问日志', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'此表记录验证事件, 其服务对象既包括访问 &PRODUCT_NAME. 环境的开发者和管理员, 也包括使用供开发者使用的内置登录 API 的 &PRODUCT_NAME. 应用程序最终用户。日志条目在日志表中有一定的生存期, 因而将定期清除。'; wwv_flow_api.create_page_plug ( p_id=> 15371221700023709.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 32.4056, p_plug_name=> '登录访问日志', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 15371605299023709.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 32.4056, p_plug_name=> 'Login Access Log', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 15372100384023710.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 32.4056, p_button_sequence=> 10, p_button_plug_id => 15371009700023708+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:68:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 15372326450023710.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 32.4056, p_button_sequence=> 10, p_button_plug_id => 15371009700023708+wwv_flow_api.g_id_offset, p_button_name => 'MANAGE', p_button_image_alt=> '管理 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:31:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 32.4056 -- begin null; end; null; end; / --application/pages/page_33.40 prompt ...PAGE 33.4056: 按工作区统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 33.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按工作区统计的页访问量', p_step_title=> '按工作区统计的页访问量', p_step_sub_title => 'Chart 1', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165707', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>33.4056,p_text=>h); 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=> 4753811788985055.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 33.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with total_views as ('||chr(10)|| 'select count(*) tv '||chr(10)|| 'from WWV_FLOW_ACTIVITY_LOG '||chr(10)|| ' where time_stamp>=(select sysdate - to_number(:P33_DAYS) from dual) )'||chr(10)|| 'select c.short_name workspace, count(*) page_views, sum(elap) elapsed, count(distinct ip_address) ip_addresses, sum(num_rows) report_rows, 100*count(*)/max(tv) pct, round(300*count(*)/max(tv)) graph'||chr(10)|| 'from WWV_FLOW_ACTIVITY_LOG l, wwv_flow_companies c, total_vi'; s:=s||'ews'||chr(10)|| 'where l.security_group_id = c.provisioning_company_id(+)'||chr(10)|| 'and l.page_mode != ''A'''||chr(10)|| 'and l.time_stamp>=(select sysdate - to_number('||chr(10)|| ':P33_DAYS) x from dual ) '||chr(10)|| 'group by c.short_name'; wwv_flow_api.create_report_region ( p_id=> 7654425481341918.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 33.4056, p_name=> 'Page Views by Workspace', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 30, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_item=> 'P33_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '5000000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 7654704708341922.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7654425481341918.4056 + 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=> 'WORKSPACE', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '21', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7654812792341922.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7654425481341918.4056 + 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=> 'PAGE_VIEWS', p_column_display_sequence=> 2, p_column_heading=> '页访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7668703542401871.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7654425481341918.4056 + 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=> 'ELAPSED', p_column_display_sequence=> 5, p_column_heading=> '用时', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7668806599401871.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7654425481341918.4056 + 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=> 'IP_ADDRESSES', p_column_display_sequence=> 6, p_column_heading=> 'IP 地址', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '21', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7671503111420608.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7654425481341918.4056 + 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=> 'REPORT_ROWS', p_column_display_sequence=> 7, p_column_heading=> '报表行', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7655825265351339.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7654425481341918.4056 + 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=> 'PCT', p_column_display_sequence=> 3, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G990D0000', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7656203926354662.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7654425481341918.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'GRAPH', p_column_display_sequence=> 4, p_column_heading=> '页访问量百分比', p_column_html_expression=>'

'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 61103509800592682.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 33.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 5, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'此图形显示在指定时间按工作区汇总的页访问的数量。'; wwv_flow_api.create_page_plug ( p_id=> 248929631244283875.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 33.4056, p_plug_name=> '按工作区统计的页访问量', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>138316905713314612.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 33.4056, p_branch_action=> 'f?p=&APP_ID.:33:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 12-DEC-2007 19:56 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>7666001333391733.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 33.4056, p_name=>'P33_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 61103509800592682.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>61104914087603350.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 33.4056, p_name=>'P33_DAYS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 61103509800592682.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'to_number(.000694444)', p_item_default_type => 'PLSQL_EXPRESSION', p_prompt=>'包含', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>61106528978607676.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 33.4056, p_name=>'P33_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 61103509800592682.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 7662327390380352.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 33.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>61106528978607676.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 33.4056 -- begin null; end; null; end; / --application/pages/page_35.40 prompt ...PAGE 35.4056: 开发者上次登录时间 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 35.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '开发者上次登录时间', p_step_title=> '开发者上次登录时间', p_step_sub_title => 'Developer Last Login', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165707', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>35.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select u.USER_NAME, u.EMAIL_ADDRESS, u.LAST_LOGIN, u.LAST_IP, u.LAST_AGENT, w.short_name'||chr(10)|| 'from WWV_FLOW_FND_USER u,'||chr(10)|| ' WWV_FLOW_COMPANIES w'||chr(10)|| 'where u.security_group_id = w.PROVISIONING_COMPANY_ID and'||chr(10)|| '(:P35_COMPANY is null or :P35_COMPANY = 0 or u.security_group_id = :P35_COMPANY) and u.last_login is not null'; wwv_flow_api.create_report_region ( p_id=> 47180117495860052.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 35.4056, p_name=> 'Developer Last Login', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_num_rows_item=> 'P35_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 47189018958888947.4056 + wwv_flow_api.g_id_offset, p_region_id=> 47180117495860052.4056 + 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=> 'USER_NAME', p_column_display_sequence=> 2, p_column_heading=> '用户', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 47189128048888947.4056 + wwv_flow_api.g_id_offset, p_region_id=> 47180117495860052.4056 + 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=> 'EMAIL_ADDRESS', p_column_display_sequence=> 3, p_column_heading=> '电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '16', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 47189213748888947.4056 + wwv_flow_api.g_id_offset, p_region_id=> 47180117495860052.4056 + 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=> 'LAST_LOGIN', p_column_display_sequence=> 4, p_column_heading=> '登录', p_column_format=> 'SINCE', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '16', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 47189309594888947.4056 + wwv_flow_api.g_id_offset, p_region_id=> 47180117495860052.4056 + 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=> 'LAST_IP', p_column_display_sequence=> 5, p_column_heading=> 'IP 地址', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 47189416703888947.4056 + wwv_flow_api.g_id_offset, p_region_id=> 47180117495860052.4056 + 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=> 'LAST_AGENT', p_column_display_sequence=> 6, p_column_heading=> '代理', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '32', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 47192329047920292.4056 + wwv_flow_api.g_id_offset, p_region_id=> 47180117495860052.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '11', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 47180820085860052.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 35.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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 => 'blue_arrow_down.gif::blue_arrow_up.gif:|3,3,4\1,2|'||chr(10)|| ''||chr(10)|| ' :'||chr(10)|| ''||chr(10)|| 'CompanyShortName:'||chr(10)|| ''||chr(10)|| 'Users:'||chr(10)|| ''||chr(10)|| 'Developers:'||chr(10)|| ''||chr(10)|| 'Flows:ProvStatus:'||chr(10)|| ''||chr(10)|| 'CompanyID:', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 25, p_plug_query_num_rows_item => 'F4050_P1_ROWS', p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_query_col_allignments => 'L:L:L:L:R:R:R:L', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 47181016431860053.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 35.4056, p_plug_name=> 'Developer Last Login', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>47183931696860057.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 35.4056, p_branch_action=> '35', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 29-NOV-2001 21:40 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择每页显示的最大行数。'; wwv_flow_api.create_page_item( p_id=>47181514966860054.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 35.4056, p_name=>'P35_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 47180820085860052.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>47182525953860055.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 35.4056, p_name=>'P35_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 47180820085860052.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择所有工作区。'; wwv_flow_api.create_page_item( p_id=>47182703982860055.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 35.4056, p_name=>'P35_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 5, p_item_plug_id => 47180820085860052.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '0', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_DEVELOPER_WORKSPACES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 47183610973860056.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 35.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg ', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>47182525953860055.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 35.4056 -- begin null; end; null; end; / --application/pages/page_36.40 prompt ...PAGE 36.4056: 按工作区和用户统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 36.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按工作区和用户统计的页访问量', p_step_title=> '按工作区和用户统计的页访问量', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090528134451', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>36.4056,p_text=>h); 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=> 4767432051028719.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 36.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with messages as ('||chr(10)|| 'select wwv_flow_lang.system_message(''AUTH.LOGIN_PAGE'') login_page,'||chr(10)|| 'wwv_flow_lang.system_message(''UNAUTHENTICATED_USER'') unauth_user,'||chr(10)|| '(select count(*) tv'||chr(10)|| 'from wwv_flow_activity_log l'||chr(10)|| 'where l.time_stamp>=(select sysdate - to_number('||chr(10)|| ':F4050_P36_DAYS) x from dual ) ) tv'||chr(10)|| 'from dual)'||chr(10)|| 'select '||chr(10)|| 'decode(upper(l.userid),null,'||chr(10)|| ' messages.login_page,''NOBODY'','||chr(10)|| ' messages.unauth_user,upper(l.us'; s:=s||'erid))'||chr(10)|| ' user_name,'||chr(10)|| 'lower(c.short_name) workspace,'||chr(10)|| ' count(*) page_views, 100*count(*)/tv pct, sum(num_rows) report_rows, count(distinct(ip_address)) ip_addresses, sum(elap) total_elapsed, avg(elap) average_elapsed, count(distinct to_char(time_stamp,''YYYYMMDDHH24'')) distinct_hours, count(distinct to_char(time_stamp,''YYYYMMDD'')) distinct_days'||chr(10)|| 'from wwv_flow_activity_log l, wwv_flow_companies c, mess'; s:=s||'ages'||chr(10)|| 'where l.security_group_id = c.provisioning_company_id (+)'||chr(10)|| 'and page_mode != ''A'''||chr(10)|| 'and l.time_stamp>=(select sysdate - to_number('||chr(10)|| ':F4050_P36_DAYS) x from dual ) '||chr(10)|| 'and (c.PROVISIONING_COMPANY_ID = :F4050_P36_COMPANY or :F4050_P36_COMPANY = 0)'||chr(10)|| 'group by decode(upper(l.userid),null,'||chr(10)|| ' login_page,''NOBODY'','||chr(10)|| ' unauth_user,upper(l.userid)),'||chr(10)|| ' lower(c.short_name),'||chr(10)|| ' tv'; wwv_flow_api.create_report_region ( p_id=> 7636510665243086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 36.4056, p_name=> 'Page Views by User', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 60, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_item=> 'P36_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_plug_query_strip_html=> 'Y', p_comment=>'with messages as ('||chr(10)|| 'select wwv_flow_lang.system_message(''AUTH.LOGIN_PAGE'') login_page,'||chr(10)|| 'wwv_flow_lang.system_message(''UNAUTHENTICATED_USER'') unauth_user,'||chr(10)|| '(select count(*) tv'||chr(10)|| 'from wwv_flow_activity_log l'||chr(10)|| 'where l.time_stamp>=(select sysdate - to_number('||chr(10)|| ':F4050_P36_DAYS) x from dual ) ) tv'||chr(10)|| 'from dual)'||chr(10)|| 'select '||chr(10)|| 'decode(upper(l.userid),null,'||chr(10)|| ' messages.login_page,''NOBODY'','||chr(10)|| ' messages.unauth_user,upper(l.userid))'||chr(10)|| ' user_name,'||chr(10)|| 'lower(c.short_name) workspace,'||chr(10)|| ' count(*) page_views, 100*count(*)/tv pct, round(300*count(*)/tv) graph, sum(num_rows) report_rows, count(distinct(ip_address)) ip_addresses, sum(elap) total_elapsed, avg(elap) average_elapsed'||chr(10)|| 'from wwv_flow_activity_log l, wwv_flow_companies c, messages'||chr(10)|| 'where l.security_group_id = c.provisioning_company_id (+)'||chr(10)|| 'and l.time_stamp>=(select sysdate - to_number('||chr(10)|| ':F4050_P36_DAYS) x from dual ) '||chr(10)|| 'and (c.PROVISIONING_COMPANY_ID = :F4050_P36_COMPANY or :F4050_P36_COMPANY = 0)'||chr(10)|| 'group by decode(upper(l.userid),null,'||chr(10)|| ' login_page,''NOBODY'','||chr(10)|| ' unauth_user,upper(l.userid)),'||chr(10)|| ' lower(c.short_name)'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7636821388243091.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + 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=> 'USER_NAME', p_column_display_sequence=> 2, p_column_heading=> '用户名', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>3, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7640317984273571.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + 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=> 'WORKSPACE', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7636928194243092.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + 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=> 'PAGE_VIEWS', p_column_display_sequence=> 3, p_column_heading=> '页
访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7642526903295033.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + 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=> 'PCT', p_column_display_sequence=> 4, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7677422289435613.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + 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=> 'REPORT_ROWS', p_column_display_sequence=> 6, p_column_heading=> '报表
行', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7680928307446895.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + 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=> 'IP_ADDRESSES', p_column_display_sequence=> 7, p_column_heading=> 'IP
地址', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7681912508451781.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'TOTAL_ELAPSED', p_column_display_sequence=> 8, p_column_heading=> '总
用时', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7682030057451781.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'AVERAGE_ELAPSED', p_column_display_sequence=> 9, p_column_heading=> '平均
用时', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 58048303097491041.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'DISTINCT_HOURS', p_column_display_sequence=> 10, p_column_heading=> '不同
小时数', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 248797519246004353.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'DERIVED$01', p_column_display_sequence=> 5, p_column_heading=> '页访问量百分比', p_column_html_expression=>'

'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_derived_column=> 'Y', p_include_in_export=> 'Y', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 58049321451496359.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7636510665243086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'DISTINCT_DAYS', p_column_display_sequence=> 11, p_column_heading=> '不同
天数', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 190804631770512632.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 36.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>138371731264766571.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 36.4056, p_branch_action=> 'f?p=&APP_ID.:36:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 12-DEC-2007 21:11 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>7649410328318622.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 36.4056, p_name=>'P36_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 18, p_item_plug_id => 190804631770512632.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>78411482361787247.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 36.4056, p_name=>'F4050_P36_DAYS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 190804631770512632.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'to_number(.000694444)', p_item_default_type => 'PLSQL_EXPRESSION', p_prompt=>'始自', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>78416586194793694.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 36.4056, p_name=>'P36_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 190804631770512632.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'开始', 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=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>78541219898279373.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 36.4056, p_name=>'F4050_P36_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 190804631770512632.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '50', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Rows', p_source=>'50', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_named_lov=> 'MAX_ROWS_F', p_lov => '.'||to_char(87736221141257059 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择显示所有工作区。'; wwv_flow_api.create_page_item( p_id=>193027223918115371.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 36.4056, p_name=>'F4050_P36_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 5, p_item_plug_id => 190804631770512632.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '0', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 40, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 138372404383768262.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 36.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>78416586194793694.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 36.4056 -- begin null; end; null; end; / --application/pages/page_37.40 prompt ...PAGE 37.4056: 按用户, 应用程序和天统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 37.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按用户, 应用程序和天统计的页访问量', p_step_title=> '按用户, 应用程序和天统计的页访问量', p_step_sub_title => 'Calendar of Page Views', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165707', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>37.4056,p_text=>h); 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=> 4760431789009756.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 37.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select trunc(TIME_STAMP) ts, '||chr(10)|| ' ''''||'||chr(10)|| ' wwv_flow_lang.system_message(''views'')||'':''||'||chr(10)|| ' to_char(count(*),''999,999,999,999,990'') ||''
''||'||chr(10)|| ' wwv_flow_lang.system_message(''users'')||'':''||'||chr(10)|| ' count(distinct upper(USERID)) ||''
''||'||chr(10)|| ' wwv_flow_lang.system_message(''applications'')||'':''||'||chr(10)|| ' count(distinct flow_id) ||'''; s:=s||'
''||'||chr(10)|| ' wwv_flow_lang.system_message(''pages'')||'':''||'||chr(10)|| ' count(distinct step_id)||''
'' display'||chr(10)|| ' from WWV_FLOW_ACTIVITY_LOG'||chr(10)|| 'group by trunc(time_stamp)'; wwv_flow_api.create_calendar ( p_id=> 291645413029240107.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 37.4056, p_plug_name=> 'Calendar of Page Views', p_region_name=>'', p_plug_source=> s, p_plug_source_type => 'CALENDAR', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column => 1, p_plug_display_point => 'AFTER_SHOW_ITEMS', p_plug_display_error_message=> '', p_plug_display_condition_type => '', p_plug_display_when_condition => '', p_plug_display_when_cond2=>'', p_plug_caching => 'NOT_CACHED', p_plug_header=> '', p_plug_footer=> '', p_plug_override_reg_pos=>'', p_plug_customized=>'0', p_plug_customized_name=>'', p_translate_title=>'', p_plug_comment=> '', p_cal_id=>291645601238240116.4056 + wwv_flow_api.g_id_offset, p_start_date=>'', p_end_date=>'', p_begin_at_start_of_interval=>'Y', p_date_item=>'P37_CALENDAR_DATE', p_display_as=>'M', p_display_item=>'P37_CALENDAR_DISPLAY', p_display_type=>'COL', p_item_format=>'', p_easy_sql_owner=>'', p_easy_sql_table=>'', p_date_column=>'TS', p_display_column=>'DISPLAY', p_start_of_week=>'', p_day_link=>'', p_item_link=>'', p_start_time=>'', p_end_time=>'', p_time_format=>'', p_week_start_day=>'', p_week_end_day=>'', p_date_type_column=>'', p_template_id=>291623505663181263.4056 + wwv_flow_api.g_id_offset, p_calendar_comments=>''); end; / begin wwv_flow_api.create_page_button( p_id => 291645904273240125.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 37.4056, p_button_sequence=> 30, p_button_plug_id => 291645413029240107+wwv_flow_api.g_id_offset, p_button_name => 'Previous', p_button_image_alt=> '上一页', p_button_position=> 'TOP', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 291646113484240158.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 37.4056, p_button_sequence=> 30, p_button_plug_id => 291645413029240107+wwv_flow_api.g_id_offset, p_button_name => 'Today', p_button_image_alt=> '今天', p_button_position=> 'TOP', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 291646311615240158.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 37.4056, p_button_sequence=> 30, p_button_plug_id => 291645413029240107+wwv_flow_api.g_id_offset, p_button_name => 'Next', p_button_image_alt=> '下一页', p_button_position=> 'TOP', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>291646529995240159.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 37.4056, p_branch_action=> 'f?p=&FLOW_ID.:37:&SESSION.', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>291645819139240122.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 37.4056, p_name=>'P37_CALENDAR_DATE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 291645413029240107.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> '', p_item_default => 'return to_char(sysdate,''YYYYMMDD'');', p_item_default_type => 'PLSQL_FUNCTION_BODY', p_prompt=>'P37_CALENDAR_DATE', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> null, p_cHeight=> null, p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_item_comment => 'Generated by Calendar wizard on 06-AUG-04'); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||' wwv_flow_utilities.decrement_calendar;'; wwv_flow_api.create_page_process( p_id => 291646014277240138.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 37.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Adjust Calendar Date -Previous', p_process_sql_clob => p, p_process_error_message=> '更改日历日期时出错。', p_process_when_button_id=>291645904273240125.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>'Generated 06-AUG-04'); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||' wwv_flow_utilities.today_calendar;'; wwv_flow_api.create_page_process( p_id => 291646229414240158.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 37.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Adjust Calendar Date -Today', p_process_sql_clob => p, p_process_error_message=> '更改日历日期时出错。', p_process_when_button_id=>291646113484240158.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>'Generated 06-AUG-04'); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||' wwv_flow_utilities.increment_calendar;'; wwv_flow_api.create_page_process( p_id => 291646406278240158.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 37.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Adjust Calendar Date -Next', p_process_sql_clob => p, p_process_error_message=> '更改日历日期时出错。', p_process_when_button_id=>291646311615240158.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>'Generated 06-AUG-04'); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 37.4056 -- begin null; end; null; end; / --application/pages/page_38.40 prompt ...PAGE 38.4056: 按用户代理统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 38.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按用户代理统计的页访问量', p_step_title=> '按用户代理统计的页访问量', p_step_sub_title => 'Browsers', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165707', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>38.4056,p_text=>h); 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=> 4645611583369955.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 38.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with total_views as ('||chr(10)|| 'select count(*) tv from wwv_flow_activity_log where :P38_SEARCH is null or instr(upper(user_agent),upper(:P38_SEARCH))>0)'||chr(10)|| 'select user_agent, count(distinct ip_address) ip_addresses, sum(the_count) page_views, 100*sum(the_count)/max(tv) pct, round(300*sum(the_count)/max(tv)) graph'||chr(10)|| ' from'||chr(10)|| ' (select session_id, max(nvl(user_agent,'' Unknown'')) user_agent, count(*) the_count,max('; s:=s||'ip_address) ip_address'||chr(10)|| ' from wwv_flow_activity_log'||chr(10)|| 'where time_stamp >= (select sysdate - to_number(:p38_include) x from dual)'||chr(10)|| 'and (:P38_SEARCH is null or instr(upper(user_agent),upper(:P38_SEARCH))>0)'||chr(10)|| ' group by session_id) l,'||chr(10)|| 'total_views'||chr(10)|| ' group by user_agent'; wwv_flow_api.create_report_region ( p_id=> 7598527877115551.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 38.4056, p_name=> 'Page Views by User Agent', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 50, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_item=> 'P38_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 7598801442115555.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7598527877115551.4056 + 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=> 'USER_AGENT', p_column_display_sequence=> 1, p_column_heading=> '用户代理', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '70', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7598920151115555.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7598527877115551.4056 + 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=> 'IP_ADDRESSES', p_column_display_sequence=> 2, p_column_heading=> 'IP 地址', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7599005653115555.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7598527877115551.4056 + 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=> 'PAGE_VIEWS', p_column_display_sequence=> 3, p_column_heading=> '页访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7607614203149434.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7598527877115551.4056 + 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=> 'PCT', p_column_display_sequence=> 4, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7607726638149434.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7598527877115551.4056 + 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=> 'GRAPH', p_column_display_sequence=> 5, p_column_heading=> ' ', p_column_html_expression=>'

'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 7600207230119070.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 38.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>81196032551905007.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 38.4056, p_branch_action=> '38', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Generated 10-AUG-2001 12:39:10'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>7601517273121938.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 38.4056, p_name=>'P38_INCLUDE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 7600207230119070.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'包含', p_source=>'1', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>7602421428123133.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 38.4056, p_name=>'P38_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 7600207230119070.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>7603526623124696.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 38.4056, p_name=>'P38_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 7600207230119070.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询标准, 然后按开始。'; wwv_flow_api.create_page_item( p_id=>92476023253515802.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 38.4056, p_name=>'P38_SEARCH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 4, p_item_plug_id => 7600207230119070.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'搜索', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin --------------------------------------- -- ...updatable report columns for page 38.4056 -- begin null; end; null; end; / --application/pages/page_42.40 prompt ...PAGE 42.4056: 编辑公共主题 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_themes_public.htm'; ph:=ph||''; wwv_flow_api.create_page( p_id => 42.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '编辑公共主题', p_step_title=> '编辑公共主题', p_step_sub_title => 'Edit Workspace Theme', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => ' ', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165708', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>42.4056,p_text=>h); wwv_flow_api.set_html_page_header(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>42.4056,p_text=>ph); 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=> 138031028642631493.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 42.4056, p_plug_name=> '公共主题', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138031232143631493.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 42.4056, p_plug_name=> 'Edit Public Theme', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 138032120818631497.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_button_sequence=> 30, p_button_plug_id => 138031028642631493+wwv_flow_api.g_id_offset, p_button_name => 'SAVE', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CHANGE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'P42_ID', p_button_condition_type=> 'ITEM_IS_NOT_NULL', p_database_action=>'UPDATE', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138031725433631494.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_button_sequence=> 10, p_button_plug_id => 138031028642631493+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:555:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138031909392631497.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_button_sequence=> 20, p_button_plug_id => 138031028642631493+wwv_flow_api.g_id_offset, p_button_name => 'DELETE', p_button_image_alt=> '删除', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'javascript:confirmDelete(htmldb_delete_message,''DELETE'');', p_button_condition=> 'P42_ID', p_button_condition_type=> 'ITEM_IS_NOT_NULL', p_database_action=>'DELETE', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>138035131295631504.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 42.4056, p_branch_action=> 'f?p=&APP_ID.:555:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 1, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>138032320063631498.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 42.4056, p_name=>'P42_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 138031028642631493.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_prompt=>'Id', p_source=>'ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN_PROTECTED', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 255, p_cHeight=> null, 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 => 148842116797733609.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'在工作区中唯一标识主题的编号。必须输入一个大于 100 的值。'; wwv_flow_api.create_page_item( p_id=>138032507109631498.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 42.4056, p_name=>'P42_THEME_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 138031028642631493.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'序号', p_source=>'THEME_ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区主题。'; wwv_flow_api.create_page_item( p_id=>138033017002631498.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 42.4056, p_name=>'P42_THEME_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 138031028642631493.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'名称', p_source=>'THEME_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'主题的简短说明。'; wwv_flow_api.create_page_item( p_id=>138033530776631499.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 42.4056, p_name=>'P42_THEME_DESCRIPTION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 320, p_item_plug_id => 138031028642631493.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'说明', p_source=>'THEME_DESCRIPTION', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXTAREA', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 4000, p_cHeight=> 4, p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 2, p_rowspan => 1, p_label_alignment => 'ABOVE', p_field_alignment => 'LEFT', p_field_template => 148842116797733609.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 138034118219631500.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_validation_name => 'P42_THEME_ID not null', p_validation_sequence=> 30, p_validation => 'P42_THEME_ID', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '主题号必须具有某个值。', p_associated_item=> 138032507109631498.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 138034321549631503.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_validation_name => 'P42_THEME_NAME not null', p_validation_sequence=> 50, p_validation => 'P42_THEME_NAME', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '主题名必须具有某个值。', p_associated_item=> 138033017002631498.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'F|#OWNER#:WWV_FLOW_THEMES:P42_ID:ID'; wwv_flow_api.create_page_process( p_id => 138034819862631504.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_HEADER', p_process_type=> 'DML_FETCH_ROW', p_process_name=> 'Fetch Row from WWV_FLOW_THEMES', p_process_sql_clob => p, p_process_error_message=> '无法提取行。', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_theme_manager.change_public_theme ('||chr(10)|| ' p_id => :P42_ID,'||chr(10)|| ' p_theme_name => :P42_THEME_NAME,'||chr(10)|| ' p_theme_number => :P42_THEME_ID,'||chr(10)|| ' p_theme_desc => :P42_THEME_DESCRIPTION);'; wwv_flow_api.create_page_process( p_id => 138034431628631503.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'apply changes', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>138032120818631497.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '操作已处理', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_theme_manager.delete_public_theme ('||chr(10)|| 'p_id=>:P42_ID);'; wwv_flow_api.create_page_process( p_id => 138034606078631504.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 42.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete theme', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>138031909392631497.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '操作已处理', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 42.4056 -- begin null; end; null; end; / --application/pages/page_43.40 prompt ...PAGE 43.4056: 按开发者统计的应用程序更改 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 43.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按开发者统计的应用程序更改', p_step_title=> '按开发者统计的应用程序更改', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165708', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>43.4056,p_text=>h); 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=> 4770703916039472.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 43.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| 'a.flow_user uu, '||chr(10)|| 'c.short_name, '||chr(10)|| 'count(*) c ,'||chr(10)|| 'min(a.audit_date) first_change,'||chr(10)|| 'max(a.audit_date) last_change,'||chr(10)|| 'count(distinct FLOW_ID) applications,'||chr(10)|| 'count(distinct page_id) pages,'||chr(10)|| 'count(distinct FLOW_TABLE) components'||chr(10)|| 'from '||chr(10)|| ' wwv_flow_builder_audit_trail a, '||chr(10)|| ' wwv_flow_companies c '||chr(10)|| 'where '||chr(10)|| ' c.provisioning_company_id = a.security_group_id '||chr(10)|| ' and a.AUDIT_DATE > (sel'; s:=s||'ect sysdate - :F4050_P43_TIME_FILTER x from dual)'||chr(10)|| ' and (:F4050_P43_COMPANY is null or :F4050_P43_COMPANY = 0 or a.security_group_id = :F4050_P43_COMPANY ) '||chr(10)|| 'group by a.flow_user ,c.short_name'; wwv_flow_api.create_report_region ( p_id=> 133956016915800050.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 43.4056, p_name=> 'Application Changes by Workspace and Developer', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_num_rows_item=> 'P43_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 49064304767444446.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + 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=> 'UU', p_column_display_sequence=> 2, p_column_heading=> '用户', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49064412822444446.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49064522788444446.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + 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=> 'C', p_column_display_sequence=> 3, p_column_heading=> '计数', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49070919790458211.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + 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=> 'FIRST_CHANGE', p_column_display_sequence=> 4, p_column_heading=> '第一次更改', p_column_format=> 'SINCE', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49071015829458212.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + 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=> 'LAST_CHANGE', p_column_display_sequence=> 5, p_column_heading=> '上次更改', p_column_format=> 'SINCE', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49073914726466256.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + 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=> 'APPLICATIONS', p_column_display_sequence=> 6, p_column_heading=> '应用程序', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49074031344466256.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'PAGES', p_column_display_sequence=> 7, p_column_heading=> '页', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49075707585473603.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133956016915800050.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'COMPONENTS', p_column_display_sequence=> 8, p_column_heading=> '组件', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '12', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 133959431567808445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 43.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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 => 'blue_arrow_down.gif::blue_arrow_up.gif:|3,3,4\1,2|'||chr(10)|| ''||chr(10)|| ' :'||chr(10)|| ''||chr(10)|| 'CompanyShortName:'||chr(10)|| ''||chr(10)|| 'Users:'||chr(10)|| ''||chr(10)|| 'Developers:'||chr(10)|| ''||chr(10)|| 'Flows:ProvStatus:'||chr(10)|| ''||chr(10)|| 'CompanyID:', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 25, p_plug_query_num_rows_item => 'F4050_P1_ROWS', p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_query_col_allignments => 'L:L:L:L:R:R:R:L', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>138328232510331757.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 43.4056, p_branch_action=> 'f?p=&APP_ID.:43:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 12-DEC-2007 19:59 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>108265702066807320.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 43.4056, p_name=>'P43_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 133959431567808445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>133964907629819539.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 43.4056, p_name=>'F4050_P43_TIME_FILTER', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 133959431567808445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'始自', p_source=>'1', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>133966401375822439.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 43.4056, p_name=>'F4050_P43_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 133959431567808445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择所有工作区。'; wwv_flow_api.create_page_item( p_id=>193300101475204568.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 43.4056, p_name=>'F4050_P43_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 5, p_item_plug_id => 133959431567808445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '0', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_DEVELOPER_WORKSPACES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>198070200195476999.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 43.4056, p_name=>'F4050_P43_COMPANY_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 133959431567808445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'F4050_P43_COMPANY_NAME', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_is_persistent=> 'N', p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 198074201261491716.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 43.4056, p_computation_sequence => 10, p_computation_item=> 'F4050_P43_COMPANY_NAME', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'FUNCTION_BODY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'declare'||chr(10)|| ''||chr(10)|| ' l_company varchar2(255) := null;'||chr(10)|| ''||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| ' for c1 in (select short_name'||chr(10)|| ''||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ''||chr(10)|| ' where provisioning_company_id = :F4050_P43_COMPANY) loop'||chr(10)|| ''||chr(10)|| ' l_company := c1.short_name;'||chr(10)|| ''||chr(10)|| ' end loop;'||chr(10)|| ''||chr(10)|| ' if l_company is null then'||chr(10)|| ''||chr(10)|| ' l_company := ''All Companies'';'||chr(10)|| ''||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' return l_company;'||chr(10)|| ''||chr(10)|| 'end;', p_compute_when => '', p_compute_when_type=>''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 133971420340828824.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 43.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg ', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>133966401375822439.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 43.4056 -- begin null; end; null; end; / --application/pages/page_44.40 prompt ...PAGE 44.4056: 按应用程序统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 44.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按应用程序统计的页访问量', p_step_title=> '按应用程序统计的页访问量', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165708', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>44.4056,p_text=>h); 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=> 4623632221290709.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 44.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with total_views as (select count(*) tv from wwv_flow_activity_log'||chr(10)|| 'where time_stamp >= (select sysdate - to_number(:F4050_P44_DAYS) x from dual) and page_mode != ''A'')'||chr(10)|| 'select f.name, x.flow_id application, x.c page_views, f.security_group_id, 100*x.c/tv pct, round(300*x.c/tv ) graph, c.short_name'||chr(10)|| 'from ('||chr(10)|| 'select flow_id, count(*) c'||chr(10)|| 'from wwv_flow_activity_log'||chr(10)|| 'where time_stamp >= (select sysdate -'; s:=s||' to_number(:F4050_P44_DAYS) x from dual) and page_mode != ''A'''||chr(10)|| 'group by flow_id) x, '||chr(10)|| 'wwv_flows f,'||chr(10)|| 'total_views,'||chr(10)|| 'wwv_flow_companies c'||chr(10)|| 'where x.flow_id = f.id and f.security_group_id = c.provisioning_company_id and'||chr(10)|| '(:P44_FIND is null or instr(upper(c.short_name),upper(:P44_FIND)) >0 or instr(upper(f.name),upper(:P44_FIND))> 0)'; wwv_flow_api.create_report_region ( p_id=> 7574232454022265.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 44.4056, p_name=> 'Page Views by Application', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 60, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_item=> 'P44_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 7574506045022274.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7574232454022265.4056 + 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=> 'NAME', p_column_display_sequence=> 3, p_column_heading=> '应用程序名称', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7574620666022274.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7574232454022265.4056 + 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=> 'APPLICATION', p_column_display_sequence=> 2, p_column_heading=> '应用程序', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '21', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7574726854022274.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7574232454022265.4056 + 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=> 'PAGE_VIEWS', p_column_display_sequence=> 5, p_column_heading=> '页访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7575315962026973.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7574232454022265.4056 + 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=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 4, p_column_heading=> 'Workspace', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7578416571046077.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7574232454022265.4056 + 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=> 'PCT', p_column_display_sequence=> 6, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7578520254046077.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7574232454022265.4056 + 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=> 'GRAPH', p_column_display_sequence=> 7, p_column_heading=> ' ', p_column_html_expression=>'

'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7590024714086279.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7574232454022265.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '21', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 134117404639991595.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 44.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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 => 'blue_arrow_down.gif::blue_arrow_up.gif:|3,3,4\1,2|'||chr(10)|| ''||chr(10)|| ' :'||chr(10)|| ''||chr(10)|| 'CompanyShortName:'||chr(10)|| ''||chr(10)|| 'Users:'||chr(10)|| ''||chr(10)|| 'Developers:'||chr(10)|| ''||chr(10)|| 'Flows:ProvStatus:'||chr(10)|| ''||chr(10)|| 'CompanyID:', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 25, p_plug_query_num_rows_item => 'F4050_P1_ROWS', p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_query_col_allignments => 'L:L:L:L:R:R:R:L', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>134124518861000187.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 44.4056, p_branch_action=> '44', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 30-NOV-2001 09:16 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>7592515494093063.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 44.4056, p_name=>'P44_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 134117404639991595.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>108337423807258362.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 44.4056, p_name=>'P44_FIND', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 134117404639991595.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'搜索', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>134120128565995681.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 44.4056, p_name=>'F4050_P44_DAYS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 134117404639991595.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'包含', p_source=>'1', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>134122621233999084.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 44.4056, p_name=>'F4050_P44_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 134117404639991595.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 134126812822002989.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 44.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>134122621233999084.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 44.4056 -- begin null; end; null; end; / --application/pages/page_45.40 prompt ...PAGE 45.4056: 按外部站点统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 45.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按外部站点统计的页访问量', p_step_title=> '按外部站点统计的页访问量', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165708', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>45.4056,p_text=>h); 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=> 4756101530991492.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 45.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with total_clicks as ('||chr(10)|| 'select count(*) tc'||chr(10)|| 'from wwv_flow_clickthru_log_v '||chr(10)|| 'where clickdate >= (sysdate - (select :F4050_P45_DAYS from dual)) )'||chr(10)|| 'select category, count(*) clicks, 100*count(*)/max(tc) pct, 300*count(*)/max(tc) graph'||chr(10)|| 'from wwv_flow_clickthru_log_v , total_clicks'||chr(10)|| 'where clickdate >= (sysdate - (select :F4050_P45_DAYS from dual)) '||chr(10)|| 'group by category'; wwv_flow_api.create_report_region ( p_id=> 7686024329483531.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 45.4056, p_name=> 'Page Views by External Site', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 40, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '报表没有返回数据', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 7686327013483538.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7686024329483531.4056 + 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=> 'CATEGORY', p_column_display_sequence=> 1, p_column_heading=> '类别', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>2, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7686410853483538.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7686024329483531.4056 + 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=> 'CLICKS', p_column_display_sequence=> 2, p_column_heading=> '点击', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7690220436501333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7686024329483531.4056 + 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=> 'PCT', p_column_display_sequence=> 3, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G990D0000', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7690321393501333.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7686024329483531.4056 + 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=> 'GRAPH', p_column_display_sequence=> 4, p_column_heading=> ' ', p_column_html_expression=>'

'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'本页报告对外部站点链接的用户点击数。这些点击数是使用 &PRODUCT_NAME. 的 HTMLDB_UTIL.COUNT_CLICK 过程捕获的。'; wwv_flow_api.create_page_plug ( p_id=> 145277907592163494.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 45.4056, p_plug_name=> '外部点击计数', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 190854513377597141.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 45.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>145361011387268162.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 45.4056, p_branch_action=> '45', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 10-DEC-2001 15:30 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>145345501048257700.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 45.4056, p_name=>'F4050_P45_DAYS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 190854513377597141.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'包含', p_source=>'1', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>145349821954263192.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 45.4056, p_name=>'F4050_P45_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 190854513377597141.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 145358315269266332.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 45.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>145349821954263192.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 45.4056 -- begin null; end; null; end; / --application/pages/page_46.40 prompt ...PAGE 46.4056: SQL 工作室日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 46.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => 'SQL 工作室日志', p_step_title=> 'SQL 工作室日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165708', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>46.4056,p_text=>h); 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=> 22614318288619694.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 46.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.prn('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.prn('''')'; s:=s||';'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p(''
'');'||chr(10)|| 'htp.p(''''||wwv_flow_lang.system_message(''4050_46_SCRIPT_FILE'')||''''||'':'');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'for c1 in (select count(*) c from wwv_flow_sw_results) loop'||chr(10)|| ' htp.p(to_char(c1.c,''999,999,999,999,990''));'||chr(10)|| 'end loo'; s:=s||'p;'||chr(10)|| 'htp.prn(''
'');'||chr(10)|| 'htp.p(''''||wwv_flow_lang.system_message(''4050_46_AD_HOC'')||''''||'':'');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'for c1 in (select count(*) c from wwv_flow_sw_sql_cmds) loop'||chr(10)|| ' htp.p(to_char(c1.c,''999,999,999,999,990''));'||chr(10)|| 'end loop;'||chr(10)|| 'htp.prn(''
'');'; wwv_flow_api.create_page_plug ( p_id=> 22617807253644948.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 46.4056, p_plug_name=> 'SQL 工作室日志', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 11, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'SQL 工作室维护 SQL 语句的历史记录。SQL 工作室用户可以在历史记录实用程序中使用此历史记录。可以截断此表以减少使用的空间。'; wwv_flow_api.create_page_plug ( p_id=> 22619003706662819.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 46.4056, p_plug_name=> 'SQL 工作室日志', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 21, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 161897913639838567.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 46.4056, p_button_sequence=> 10, p_button_plug_id => 22617807253644948+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:68:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>22620213748665756.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 46.4056, p_branch_action=> '46', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 18-JAN-2003 12:59 by MIKE'); end; / begin --------------------------------------- -- ...updatable report columns for page 46.4056 -- begin null; end; null; end; / --application/pages/page_47.40 prompt ...PAGE 47.4056: 创建公共主题 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_themes_public.htm'; ph := null; wwv_flow_api.create_page( p_id => 47.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建公共主题', p_step_title=> '创建公共主题', p_step_sub_title => 'Create Workspace Theme', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165708', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>47.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'114829600122838504'; wwv_flow_api.create_page_plug ( p_id=> 138041907898643265.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 47.4056, p_plug_name=> 'Progress', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 138045104803643281 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138042300956643271.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 47.4056, p_plug_name=> '创建公共主题', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign=top', p_plug_display_condition_type => '', p_plug_header=> '公共主题是可供所有工作区使用的主题。创建应用程序时, 开发者可以根据需要在 &PRODUCT_NAME. 主题和任何工作区主题之外选择公共主题。 '||chr(10)|| '

'||chr(10)|| '标识拥有要复制到公共主题资料档案库的应用程序主题的工作区。'||chr(10)|| ''||chr(10)|| '

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138042501921643272.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 47.4056, p_plug_name=> 'Create Public Theme', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 138043401976643278.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 47.4056, p_button_sequence=> 10, p_button_plug_id => 138042300956643271+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:555:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138043000845643273.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 47.4056, p_button_sequence=> 20, p_button_plug_id => 138042300956643271+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>138044704585643280.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 47.4056, p_branch_action=> 'f?p=&APP_ID.:57:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>138043000845643273.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要复制的应用程序主题所在的工作区。'; wwv_flow_api.create_page_item( p_id=>138044131207643279.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 47.4056, p_name=>'P47_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 138042300956643271.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_DEVELOPER_WORKSPACES_NO_NULL_OPTION', p_lov => 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id not in (0,10,11)'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 50, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 138164321008022878.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 47.4056, p_validation_name => 'P47_WORKSPACE', p_validation_sequence=> 10, p_validation => 'P47_WORKSPACE', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定工作区。', p_when_button_pressed=> 138043000845643273.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 138044131207643279.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 47.4056 -- begin null; end; null; end; / --application/pages/page_48.40 prompt ...PAGE 48.4056: 创建公共主题 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_themes_public.htm'; ph := null; wwv_flow_api.create_page( p_id => 48.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建公共主题', p_step_title=> '创建公共主题', p_step_sub_title => 'Create Workspace Theme', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165708', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>48.4056,p_text=>h); 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=> 138052410467655077.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 48.4056, p_plug_name=> '创建公共主题', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign=top', p_plug_display_condition_type => '', p_plug_header=> '

您可以更改要创建的新公共主题的名称和编号。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'114829600122838504'; wwv_flow_api.create_page_plug ( p_id=> 138052802537655078.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 48.4056, p_plug_name=> 'Progress', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 138045104803643281 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select theme_id,'||chr(10)|| ' theme_name,'||chr(10)|| ' theme_description'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where theme_security_group_id is null'||chr(10)|| ' and security_group_id = 11'||chr(10)|| ' order by theme_id'; wwv_flow_api.create_report_region ( p_id=> 138053023370655078.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 48.4056, p_name=> '现有公共主题', p_region_name=>'', p_template=> 24425502725250282.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 30, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'select 1'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where theme_security_group_id is null'||chr(10)|| ' and security_group_id = 11', p_display_condition_type=> 'EXISTS', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '500', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_prn_output=> 'N', 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=> 138053207858655079.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138053023370655078.4056 + 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=> 'THEME_ID', p_column_display_sequence=> 1, p_column_heading=> '序号', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 138053325066655079.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138053023370655078.4056 + 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=> 'THEME_NAME', p_column_display_sequence=> 2, p_column_heading=> '名称', p_column_alignment=>'LEFT', p_heading_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=> 138053423313655079.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138053023370655078.4056 + 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=> 'THEME_DESCRIPTION', p_column_display_sequence=> 3, p_column_heading=> '说明', p_column_alignment=>'LEFT', p_heading_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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138053516657655079.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 48.4056, p_plug_name=> 'Create Public Theme', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 138054424254655080.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 48.4056, p_button_sequence=> 10, p_button_plug_id => 138052410467655077+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:555:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138054000479655080.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 48.4056, p_button_sequence=> 20, p_button_plug_id => 138052410467655077+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138054212644655080.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 48.4056, p_button_sequence=> 30, p_button_plug_id => 138052410467655077+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:58:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>138057525436655086.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 48.4056, p_branch_action=> 'f?p=&APP_ID.:51:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>138054000479655080.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要复制到工作区主题资料档案库的主题。'; wwv_flow_api.create_page_item( p_id=>138054611163655081.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 48.4056, p_name=>'P48_THEME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 138052410467655077.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'所选主题:', p_source=>'P58_THEME', p_source_type=> 'ITEM', p_display_as=> 'DISPLAY_ONLY_LOV', p_lov => 'select theme_id||''. '' ||htf.escape_sc(theme_name) d, theme_id'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and flow_id = :P57_APPLICATION'||chr(10)|| 'order by theme_id', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区主题, 此名称可以与应用程序主题名相同, 也可以不同。'; wwv_flow_api.create_page_item( p_id=>138055124156655081.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 48.4056, p_name=>'P48_THEME_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 138052410467655077.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'主题名称', p_source=>'select theme_name'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and flow_id = :P57_APPLICATION'||chr(10)|| ' and theme_id = :P58_THEME', p_source_type=> 'QUERY', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'在工作区中唯一标识主题的编号。必须输入一个大于 100 的值。'; wwv_flow_api.create_page_item( p_id=>138055609809655082.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 48.4056, p_name=>'P48_THEME_NUMBER', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 138052410467655077.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'主题号', p_source=>'select decode(greatest(theme_id,99),99,theme_id+100,theme_id) theme_id'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and flow_id = :P57_APPLICATION'||chr(10)|| ' and theme_id = :P58_THEME', p_source_type=> 'QUERY', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'主题的简短说明。'; wwv_flow_api.create_page_item( p_id=>138056117408655083.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 48.4056, p_name=>'P48_DESCRIPTION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 138052410467655077.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'说明', p_source=>'select THEME_DESCRIPTION'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and flow_id = :P57_APPLICATION'||chr(10)|| ' and theme_id = :P58_THEME', p_source_type=> 'QUERY', p_display_as=> 'TEXTAREA', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 50, p_cMaxlength=> 2000, p_cHeight=> 3, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 2, p_rowspan => 1, p_label_alignment => 'ABOVE', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要复制的应用程序主题所在的工作区。'; wwv_flow_api.create_page_item( p_id=>138251117956901802.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 48.4056, p_name=>'P48_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 138052410467655077.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区:', p_source=>'P47_WORKSPACE', p_source_type=> 'ITEM', p_display_as=> 'DISPLAY_ONLY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES_NO_NULL_OPTION', p_lov => 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要复制的主题所在的应用程序。'; wwv_flow_api.create_page_item( p_id=>138252024536903773.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 48.4056, p_name=>'P48_APPLICATION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 2, p_item_plug_id => 138052410467655077.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'应用程序:', p_source=>'P57_APPLICATION', p_source_type=> 'ITEM', p_display_as=> 'DISPLAY_ONLY_LOV', p_named_lov=> 'PUBLIC.THEME.APP.SELECTOR', p_lov => 'select id || '' - '' || name d, id v'||chr(10)|| ' from WWV_FLOWS'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and security_group_id not in (0,10,11)'||chr(10)|| ' order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 138057110365655085.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 48.4056, p_validation_name => 'P48_THEME_NAME Not Null', p_validation_sequence=> 1, p_validation => 'P48_THEME_NAME', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定值。', p_associated_item=> 138055124156655081.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 28-NOV-2007 17:59'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 138057314081655085.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 48.4056, p_validation_name => 'P48_THEME_NUMBER Not Null', p_validation_sequence=> 2, p_validation => 'P48_THEME_NUMBER', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定值。', p_associated_item=> 138055609809655082.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 28-NOV-2007 17:59'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 138056920473655085.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 48.4056, p_validation_name => 'valid theme number', p_validation_sequence=> 10, p_validation => 'begin'||chr(10)|| 'if :P48_THEME_NUMBER < 100 then'||chr(10)|| ' return false;'||chr(10)|| 'else '||chr(10)|| ' return true;'||chr(10)|| 'end if;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须为 100 或更大。', p_when_button_pressed=> 138054000479655080.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 138055609809655082.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 138056707385655083.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 48.4056, p_validation_name => 'theme number unique (edit me)', p_validation_sequence=> 20, p_validation => 'select 1'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where theme_id = :P48_THEME_NUMBER'||chr(10)|| ' and security_group_id = 11'||chr(10)|| ' and theme_security_group_id = :WORKSPACE_ID', p_validation_type => 'NOT_EXISTS', p_error_message => '该编号在工作区中必须唯一。', p_when_button_pressed=> 138054000479655080.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 138055609809655082.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 48.4056 -- begin null; end; null; end; / --application/pages/page_49.40 prompt ...PAGE 49.4056: 按应用程序和用户统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 49.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按应用程序和用户统计的页访问量', p_step_title=> '按应用程序和用户统计的页访问量', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>49.4056,p_text=>h); 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=> 4625800969300608.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 49.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| ' w.short_name,'||chr(10)|| ' l.flow_id,'||chr(10)|| ' l.userid,'||chr(10)|| ' avg(l.elap) avg_elap,'||chr(10)|| ' max(l.elap) max_elap,'||chr(10)|| ' min(l.elap) min_elap,'||chr(10)|| ' count(*) c'||chr(10)|| 'from WWV_FLOW_ACTIVITY_LOG l, wwv_flow_companies w '||chr(10)|| 'where (l.security_group_id = :F4050_P49_COMPANY or :F4050_P49_COMPANY = 0) and'||chr(10)|| ' l.time_stamp > (sysdate - :F4050_P49_SINCE)'||chr(10)|| ' and w.provisioning_company_id=l.security_group_id'||chr(10)|| ' and page_mode != '; s:=s||'''A'''||chr(10)|| 'group by l.userid,l.flow_id,w.short_name'; wwv_flow_api.create_report_region ( p_id=> 68940909781757192.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 49.4056, p_name=> 'Page Views by Workspace, Application and User', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '100', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' ', p_query_break_cols=> '0', p_query_no_data_found=> '未找到页访问。', p_query_num_rows_item=> 'F4050_P49_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_plug_query_strip_html=> 'Y', p_comment=>'generated 08-JUL-2002 11:03:09'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 166308431623124448.4056 + wwv_flow_api.g_id_offset, p_region_id=> 68940909781757192.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48852732254772559.4056 + wwv_flow_api.g_id_offset, p_region_id=> 68940909781757192.4056 + 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=> 'FLOW_ID', p_column_display_sequence=> 2, p_column_heading=> '应用程序', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48852814072772559.4056 + wwv_flow_api.g_id_offset, p_region_id=> 68940909781757192.4056 + 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=> 'USERID', p_column_display_sequence=> 3, p_column_heading=> '用户', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48852924787772559.4056 + wwv_flow_api.g_id_offset, p_region_id=> 68940909781757192.4056 + 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=> 'AVG_ELAP', p_column_display_sequence=> 4, p_column_heading=> '平均
用时', p_column_format=> '999G999G990D000', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48853017847772559.4056 + wwv_flow_api.g_id_offset, p_region_id=> 68940909781757192.4056 + 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=> 'MAX_ELAP', p_column_display_sequence=> 5, p_column_heading=> '最长访问
时间', p_column_format=> '999G999G990D000', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48853120468772559.4056 + wwv_flow_api.g_id_offset, p_region_id=> 68940909781757192.4056 + 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=> 'MIN_ELAP', p_column_display_sequence=> 6, p_column_heading=> '最短访问
时间', p_column_format=> '999G999G990D000', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48853203950772559.4056 + wwv_flow_api.g_id_offset, p_region_id=> 68940909781757192.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'C', p_column_display_sequence=> 7, p_column_heading=> '页访问量', p_column_format=> '999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 68967412200798364.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 49.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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 => 'Company:Flow:User:Avg:Max:Min:Count', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 500, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_query_col_allignments => 'L:L:L:R:R:R:R', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>68941914162757201.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 49.4056, p_branch_action=> '49', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'按工作区过滤。输入或选择工作区, 然后单击开始。要返回所有工作区的结果, 请从列表中选择显示所有工作区。'; wwv_flow_api.create_page_item( p_id=>68970603574802334.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 49.4056, p_name=>'F4050_P49_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 68967412200798364.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '0', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES', p_lov => 'select ''- ''||'||chr(10)|| 'wwv_flow_lang.system_message(''F4050_SHOW_ALL_WORKSPACES'')||'||chr(10)|| ''' -'' d, 0 r from dual union all'||chr(10)|| 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>68978320814809562.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 49.4056, p_name=>'F4050_P49_SINCE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 68967412200798364.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'始自', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'YES', p_lov_translated=> 'N', p_lov_null_text=>'', p_lov_null_value=> '', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>68983926625822046.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 49.4056, p_name=>'F4050_P49_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 68967412200798364.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>69007628110851673.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 49.4056, p_name=>'F4050_P49_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 25, p_item_plug_id => 68967412200798364.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '100', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_G', p_lov => '.'||to_char(87738929453259457 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 276960020312903140.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 49.4056, p_computation_sequence => 10, p_computation_item=> 'F4050_P49_COMPANY', p_computation_point=> 'BEFORE_HEADER', p_computation_type=> 'STATIC_ASSIGNMENT', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> '0', p_compute_when => 'F4050_P49_COMPANY', p_compute_when_type=>'ITEM_IS_NULL'); null; end; / begin wwv_flow_api.create_page_computation( p_id=> 276960932086906566.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 49.4056, p_computation_sequence => 10, p_computation_item=> 'F4050_P49_SINCE', p_computation_point=> 'BEFORE_HEADER', p_computation_type=> 'STATIC_ASSIGNMENT', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> '1', p_compute_when => 'F4050_P49_SINCE', p_compute_when_type=>'ITEM_IS_NULL'); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 38536518152143458.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 49.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'rest pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'GO', p_process_when_type=>'REQUEST_EQUALS_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 49.4056 -- begin null; end; null; end; / --application/pages/page_51.40 prompt ...PAGE 51.4056: 创建公共主题 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_themes_public.htm'; ph := null; wwv_flow_api.create_page( p_id => 51.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建公共主题', p_step_title=> '创建公共主题', p_step_sub_title => 'Create Workspace Theme', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>51.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'114829600122838504'; wwv_flow_api.create_page_plug ( p_id=> 138063615372663615.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 51.4056, p_plug_name=> 'Progress', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 138045104803643281 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138063831884663615.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 51.4056, p_plug_name=> '创建公共主题', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_header=> '

任何模板类缺失均指示所选主题不完整。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138064230767663616.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 51.4056, p_plug_name=> 'Create Public Theme', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 138064919629663617.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 51.4056, p_button_sequence=> 10, p_button_plug_id => 138063831884663615+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138065416670663617.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 51.4056, p_button_sequence=> 30, p_button_plug_id => 138063831884663615+wwv_flow_api.g_id_offset, p_button_name => 'CREATE', p_button_image_alt=> '创建公共主题', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138065123623663617.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 51.4056, p_button_sequence=> 20, p_button_plug_id => 138063831884663615+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:48:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>138067408337663624.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 51.4056, p_branch_action=> 'f?p=&APP_ID.:555:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 28-NOV-2007 17:53 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识在创建应用程序向导中用于选择主题的图像。'; wwv_flow_api.create_page_item( p_id=>138065613840663618.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 51.4056, p_name=>'P51_IMAGE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 23, p_item_plug_id => 138063831884663615.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'主题图像:', p_source=>'select decode(nvl(CUSTOM_IMAGE,''N''),''N'','''','||chr(10)|| ' '''')'||chr(10)|| ' i'||chr(10)|| 'from wwv_flow_themes t,'||chr(10)|| ' (select v(''IMAGE_PREFIX'') ip from dual) m'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and flow_id = :P57_APPLICATION'||chr(10)|| ' and theme_id = :P58_THEME', p_source_type=> 'QUERY', p_display_as=> 'DISPLAY_ONLY_HTML', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区主题的名称。'; wwv_flow_api.create_page_item( p_id=>138066127066663621.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 51.4056, p_name=>'P51_THEME_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 138063831884663615.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'主题名:', p_source=>'&P48_THEME_NAME.', p_source_type=> 'STATIC', p_display_as=> 'DISPLAY_ONLY_ESCAPE_SC', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区主题的主题号。这些编号用于在工作区中唯一标识主题。'; wwv_flow_api.create_page_item( p_id=>138066630251663622.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 51.4056, p_name=>'P51_THEME_NUMBER', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> .7, p_item_plug_id => 138063831884663615.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'主题号:', p_source=>'&P48_THEME_NUMBER.', p_source_type=> 'STATIC', p_display_as=> 'DISPLAY_ONLY_ESCAPE_SC', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_theme_manager.create_new_public_theme ('||chr(10)|| ' p_workspace_id => :P47_WORKSPACE,'||chr(10)|| ' p_app_id => :P57_APPLICATION,'||chr(10)|| ' p_app_theme_id => :P58_THEME,'||chr(10)|| ' p_theme_name => :P48_THEME_NAME,'||chr(10)|| ' p_theme_number => :P48_THEME_NUMBER,'||chr(10)|| ' p_theme_desc => :P48_DESCRIPTION);'; wwv_flow_api.create_page_process( p_id => 138067113086663622.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 51.4056, p_process_sequence=> 2, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'create public theme', p_process_sql_clob => p, p_process_error_message=> '错误', p_process_when_button_id=>138065416670663617.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '公共主题已创建', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 51.4056 -- begin null; end; null; end; / --application/pages/page_53.40 prompt ...PAGE 53.4056: 重设口令 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_users.htm'; ph := null; wwv_flow_api.create_page( p_id => 53.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '重设口令', p_step_title=> '重设口令', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_group_id => 216787602191653217+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>53.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':F4050_P53_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32843107317484526.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 53.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 63533018192931899.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 53.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select user_name,'||chr(10)|| 'first_name,'||chr(10)|| 'last_name,'||chr(10)|| 'description,'||chr(10)|| 'email_address,'||chr(10)|| 'default_schema,'||chr(10)|| 'security_group_id'||chr(10)|| 'from wwv_flow_fnd_user'||chr(10)|| 'where user_id = :F4050_P53_USER_ID'; wwv_flow_api.create_report_region ( p_id=> 71892807988288321.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 53.4056, p_name=> '用户信息', p_region_name=>'', p_template=> 24425502725250282.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 3, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> '(null)', p_query_break_cols=> '0', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48946423742773239.4056 + wwv_flow_api.g_id_offset, p_region_id=> 71892807988288321.4056 + 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=> 'USER_NAME', p_column_display_sequence=> 1, p_column_heading=> '用户名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48946512249773239.4056 + wwv_flow_api.g_id_offset, p_region_id=> 71892807988288321.4056 + 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=> 'FIRST_NAME', p_column_display_sequence=> 2, p_column_heading=> '名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48946614685773239.4056 + wwv_flow_api.g_id_offset, p_region_id=> 71892807988288321.4056 + 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=> 'LAST_NAME', p_column_display_sequence=> 3, p_column_heading=> '姓', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48946718700773239.4056 + wwv_flow_api.g_id_offset, p_region_id=> 71892807988288321.4056 + 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=> 'DESCRIPTION', p_column_display_sequence=> 4, p_column_heading=> '说明', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48946830175773239.4056 + wwv_flow_api.g_id_offset, p_region_id=> 71892807988288321.4056 + 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=> 'EMAIL_ADDRESS', p_column_display_sequence=> 5, p_column_heading=> '电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48946902018773239.4056 + wwv_flow_api.g_id_offset, p_region_id=> 71892807988288321.4056 + 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=> 'DEFAULT_SCHEMA', p_column_display_sequence=> 6, p_column_heading=> '默认方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48947006063773239.4056 + wwv_flow_api.g_id_offset, p_region_id=> 71892807988288321.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 7, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 71896102812290746.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 53.4056, p_plug_name=> '确认更改口令', p_region_name=>'', p_plug_template=> 162417015526175958.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 8, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'通过获取默认随机口令值或输入新的口令来更改口令。将向用户发送电子邮件, 通知口令已经更改。'; wwv_flow_api.create_page_plug ( p_id=> 71920520447343310.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 53.4056, p_plug_name=> '重设口令', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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 => 'User Name:First Name:Last Name:Description:Email:Default Schema:Security Group ID', p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 15, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 71928331765356926.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 53.4056, p_button_sequence=> 10, p_button_plug_id => 71896102812290746+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 71930910079360146.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 53.4056, p_button_sequence=> 10, p_button_plug_id => 71896102812290746+wwv_flow_api.g_id_offset, p_button_name => 'Save', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>71931303937360148.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 53.4056, p_branch_action=> '12', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>71928726280356929.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 53.4056, p_branch_action=> '12', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>71928331765356926.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入新口令。'; wwv_flow_api.create_page_item( p_id=>71898928679293879.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 53.4056, p_name=>'F4050_P53_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 71896102812290746.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'新口令', p_source=>'wwv_flow_provision.get_random_password(6)', p_source_type=> 'FUNCTION', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>71906923922311296.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 53.4056, p_name=>'F4050_P53_USER_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 71892807988288321.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'F4050_P53_USER_ID', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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_is_persistent=> 'Y', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 71901726307295001.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 53.4056, p_validation_name => 'F4050_P53_PASSWORD Not Null', p_validation_sequence=> 1, p_validation => 'F4050_P53_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定新口令。', p_associated_item=> 71898928679293879.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 11-JUL-2002 09:59'); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'begin'||chr(10)|| ' wwv_flow_api.g_fnd_user_password_action := true;'||chr(10)|| ' update wwv_flow_fnd_user '||chr(10)|| ' set web_password = :F4050_P53_PASSWORD,'||chr(10)|| ' change_password_on_first_use = ''Y'', first_password_use_occurred = ''N'''||chr(10)|| ' where user_id = :F4050_P53_USER_ID;'||chr(10)|| ' wwv_flow_api.g_fnd_user_password_action := false;'||chr(10)|| 'exception when others then'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P53_PASSWORD'',null);'||chr(10)|| ' raise_applicati'; p:=p||'on_error(-20001,wwv_flow_lang.system_message(''WWV_FLOW_CHANGE_PASSWORD.PSSWD_ERR''));'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 71891512517286221.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 53.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'update passwd', p_process_sql_clob => p, p_process_error_message=> '重设口令时出错。', p_process_when=>'nvl(:REQUEST,''Save'') = ''Save''', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '口令已重设。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_msg varchar2(4000);'||chr(10)|| ' l_subj varchar2(255);'||chr(10)|| ' l_p varchar2(256) := v(''F4050_P53_PASSWORD''); '||chr(10)|| 'begin'||chr(10)|| 'wwv_flow.update_cache_with_write(''F4050_P53_PASSWORD'',null);'||chr(10)|| 'for c1 in (select user_name, last_name, first_name, email_address'||chr(10)|| ' from wwv_flow_fnd_user'||chr(10)|| ' where user_id = :F4050_P53_USER_ID) '||chr(10)|| 'loop'||chr(10)|| ' l_subj:= wwv_flow_lang.system_message(''F4050_EMAIL_SUBJECT'; p:=p||'_PASSWORD_CHANGED'');'||chr(10)|| ' l_msg:=l_msg || wwv_flow_lang.system_message(''F4050_EMAIL_BODY_PASSWORD_CHANGED'',c1.user_name) || '||chr(10)|| ' chr(10) || chr(10);'||chr(10)|| ' l_msg:=l_msg || wwv_flow_lang.system_message(''F4050_EMAIL_BODY_NEW_PASSWORD'')||'': '' || l_p || chr(10) || chr(10); '||chr(10)|| ''||chr(10)|| ' wwv_flow_mail.send(p_to => c1.email_address, '||chr(10)|| ' p_from => nvl(wwv_flow_platform.get_'; p:=p||'preference(''SMTP_FROM''),c1.email_address),'||chr(10)|| ' p_body => l_msg,'||chr(10)|| ' p_subj => l_subj,'||chr(10)|| ' p_cc => null);'||chr(10)|| 'end loop;'||chr(10)|| 'wwv_flow_mail.push_queue_background;'||chr(10)|| ''||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 71951012622422885.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 53.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'send email', p_process_sql_clob => p, p_process_error_message=> '发送电子邮件时出错。', p_process_when=>'nvl(:REQUEST,''Save'') = ''Save''', p_process_when_type=>'', p_process_success_message=> '电子邮件已发送。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'53'; wwv_flow_api.create_page_process( p_id => 359769230375616804.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 53.4056, p_process_sequence=> 30, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 53.4056 -- begin null; end; null; end; / --application/pages/page_54.40 prompt ...PAGE 54.4056: 按天统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 54.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按天统计的页访问量', p_step_title=> '按天统计的页访问量', p_step_sub_title => 'views by day', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>54.4056,p_text=>h); 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=> 4764227764017997.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 54.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'with total_views as'||chr(10)|| '(select count(*) tv from wwv_flow_activity_log where page_mode != ''A'')'||chr(10)|| 'select to_char(time_stamp,''YYYY.MM.DD Day'') day, count(*) page_views, 100*count(*) / max(tv) percentage, round(300*count(*) / max(tv)) graph'||chr(10)|| 'from wwv_flow_activity_log, total_views'||chr(10)|| 'where page_mode != ''A'''||chr(10)|| 'group by to_char(time_stamp,''YYYY.MM.DD Day'')'||chr(10)|| 'order by 1 desc'; wwv_flow_api.create_report_region ( p_id=> 7621621091198791.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 54.4056, p_name=> 'Page Views by Day', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 30, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_item=> 'P54_ROWS', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 7622004942198795.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7621621091198791.4056 + 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=> 'DAY', p_column_display_sequence=> 1, p_column_heading=> '天', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_include_in_export=> 'Y', p_print_col_width=> '35', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7622100479198795.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7621621091198791.4056 + 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=> 'PAGE_VIEWS', p_column_display_sequence=> 2, p_column_heading=> '页访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '35', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7623512218205681.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7621621091198791.4056 + 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=> 'PERCENTAGE', p_column_display_sequence=> 3, p_column_heading=> '百分比', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '30', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 7623603740205681.4056 + wwv_flow_api.g_id_offset, p_region_id=> 7621621091198791.4056 + 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=> 'GRAPH', p_column_display_sequence=> 4, p_column_heading=> ' ', p_column_html_expression=>'
'||chr(10)|| '
', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'N', p_print_col_width=> '0', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 7628032089220900.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 54.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'这是此实例按天聚集的所有页访问的图形。'; wwv_flow_api.create_page_plug ( p_id=> 248917204401238233.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 54.4056, p_plug_name=> '按天统计的页访问量', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>138319825799320354.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 54.4056, p_branch_action=> 'f?p=&APP_ID.:54:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 12-DEC-2007 19:57 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>7630416290225766.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 54.4056, p_name=>'P54_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 7628032089220900.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>7631320099226887.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 54.4056, p_name=>'P54_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 7628032089220900.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 7634612958234274.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 54.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>7631320099226887.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 54.4056 -- begin null; end; null; end; / --application/pages/page_55.40 prompt ...PAGE 55.4056: 批准预配请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 55.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '批准预配请求', p_step_title=> '批准预配请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>55.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'批准请求将创建数据库方案, 创建工作区管理员的登录帐户, 并发送批准电子邮件。请最多设定 30 秒的帐户创建时间。'; wwv_flow_api.create_page_plug ( p_id=> 225164729934.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 55.4056, p_plug_name=> '批准', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_INITCAP', p_plug_query_num_rows => 15, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 40439019767667530.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 55.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 72893511420289265.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 55.4056, p_plug_name=> '审批消息', p_region_name=>'', p_plug_template=> 24544226211.4056+ 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_INITCAP', p_plug_query_num_rows => 15, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 72907718093301317.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 55.4056, p_plug_name=> 'topbar', p_region_name=>'', p_plug_template=> 182507118036154586.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 5, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 72933229308047993.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 55.4056, p_button_sequence=> 10, p_button_plug_id => 72907718093301317+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 72938202558059173.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 55.4056, p_button_sequence=> 10, p_button_plug_id => 72907718093301317+wwv_flow_api.g_id_offset, p_button_name => 'Approve', p_button_image_alt=> '批准和发送电子邮件', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>72938612794059175.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 55.4056, p_branch_action=> '26', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>72938202558059173.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>72933609072048017.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 55.4056, p_branch_action=> '4', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>72933229308047993.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>22117323900740039.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 55.4056, p_name=>'F4050_P55_ACCEPT_MSG', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 72893511420289265.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'电子邮件:', p_source=>'declare '||chr(10)|| ' l_msg varchar2(4000); '||chr(10)|| ' l_url varchar2(4000):= null; '||chr(10)|| ' l_temp_url varchar2(4000):=null; '||chr(10)|| ' l_direct_url varchar2(4000):=trim(wwv_flow_platform.get_preference(''DEVELOPMENT_SERVICE_URL'')); '||chr(10)|| 'begin '||chr(10)|| ' for c1 in (select company_name, admin_userid, admin_email '||chr(10)|| ' from wwv_flow_provision_company '||chr(10)|| ' where id = :PROVISION_ID) '||chr(10)|| ' loop '||chr(10)|| ' l_temp_url := ''f?p=4350:73:::::PROVISION_ID,E_ID:''||:PROVISION_ID || '','' || c1.admin_email; '||chr(10)|| ' if l_direct_url is not null then '||chr(10)|| ' if (substr(l_direct_url,-1,1) <> ''/'') then '||chr(10)|| ' l_temp_url := ''/'' || l_temp_url; '||chr(10)|| ' end if; '||chr(10)|| ' l_url := l_direct_url || l_temp_url; '||chr(10)|| ' else '||chr(10)|| ' l_url := wwv_flow_utilities.host_url( p_option => ''SCRIPT'') || l_temp_url; '||chr(10)|| ' end if; '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''F4050.APPROVED_ACCOUNT_REQ_EMAIL_BODY'') || '||chr(10)|| ' chr(10) || chr(10); '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''WORKSPACE_INIT_CAP'')||'' :'' || c1.company_name || chr(10); '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''USERID'')||'' :'' || c1.admin_userid || chr(10) || chr(10); '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(p_name=>''F4050.EMAIL_CLICK_ON_LINK'', '||chr(10)|| ' p0=>l_url) || chr(10) || chr(10) ; '||chr(10)|| ' end loop; '||chr(10)|| ' return l_msg; '||chr(10)|| 'end;', p_source_type=> 'FUNCTION_BODY', p_display_as=> 'TEXTAREA_WITH_SPELL_CHECK', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 2000, p_cHeight=> 15, p_cAttributes=> 'nowrap', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'ABOVE', p_field_alignment => 'LEFT', p_display_when=>'begin'||chr(10)|| 'for c1 in (select value from wwv_flow_platform_prefs where name = ''SERVICE_REQUEST_FLOW'')loop'||chr(10)|| ' if c1.value = ''EMAIL'' then'||chr(10)|| ' return true;'||chr(10)|| ' else'||chr(10)|| ' return false;'||chr(10)|| ' end if;'||chr(10)|| 'end loop;'||chr(10)|| 'end;', p_display_when_type=>'FUNCTION_BODY', p_field_template => 111844628719872228.4056+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=>72898300637294240.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 55.4056, p_name=>'F4050_P55_APPROVE_MSG', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 72893511420289265.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'电子邮件', p_source=>'declare '||chr(10)|| ' l_msg varchar2(4000); '||chr(10)|| ' l_pw varchar2(100) := ''******''; '||chr(10)|| 'begin '||chr(10)|| ' for c1 in (select company_name, admin_userid '||chr(10)|| ' from wwv_flow_provision_company '||chr(10)|| ' where id = :PROVISION_ID) '||chr(10)|| ' loop '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''F4050.APPROVED_ACCOUNT_REQ_EMAIL_BODY'') || '||chr(10)|| ' chr(10) || chr(10); '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''WORKSPACE_INIT_CAP'')||'' :'' || c1.company_name || chr(10); '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''USERID'')||'' :'' || c1.admin_userid || chr(10); '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''WWV_FLOW_FND_USER_API.T_PASSWORD'')||'' :'' || l_pw || chr(10) || chr(10); '||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(p_name=>''F4050.EMAIL_GETSTARTED'', '||chr(10)|| ' p0=>nvl(wwv_flow_platform.get_preference(''DEVELOPMENT_SERVICE_URL''), '||chr(10)|| ' wwv_flow_utilities.host_url( p_option => ''SCRIPT'')))|| chr(10) || chr(10); '||chr(10)|| ' end loop; '||chr(10)|| ' return l_msg; '||chr(10)|| 'end;', p_source_type=> 'FUNCTION_BODY', p_display_as=> 'TEXTAREA_WITH_SPELL_CHECK', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 2000, p_cHeight=> 15, 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 => 'ABOVE', p_field_alignment => 'LEFT', p_display_when=>'begin'||chr(10)|| 'for c1 in (select value from wwv_flow_platform_prefs where name = ''SERVICE_REQUEST_FLOW'')loop'||chr(10)|| ' if c1.value = ''4700'' then'||chr(10)|| ' return true;'||chr(10)|| ' else'||chr(10)|| ' return false;'||chr(10)|| ' end if;'||chr(10)|| 'end loop;'||chr(10)|| 'end;', p_display_when_type=>'FUNCTION_BODY', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_fnd_developer_api.f4050_55_provision_workspace ('||chr(10)|| ' p_provision_id => :PROVISION_ID,'||chr(10)|| ' p_approval_message => :F4050_P55_APPROVE_MSG,'||chr(10)|| ' p_acceptance_message => :F4050_P55_ACCEPT_MSG );'; wwv_flow_api.create_page_process( p_id => 213504146316.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 55.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'provision company now', p_process_sql_clob => p, p_process_error_message=> '预配工作区 &P4_COMPANY_NAME. 时出错。', p_process_when_button_id=>72938202558059173.4056 + wwv_flow_api.g_id_offset, p_process_when=>'declare l_schema varchar2(30) := null;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select upper(schema_name) sa1'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID) loop'||chr(10)|| ' l_schema := c1.sa1;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' if l_schema is not null then '||chr(10)|| ' for c1 in ('||chr(10)|| ' select 1 from dual'||chr(10)|| ' where wwv_flow_provisioning.restricted_schema_i(l_schema,'||chr(10)|| ' :P4_COMPANY_NAME) = 1'||chr(10)|| ' and wwv_flow_provisioning.site_admin_is_restricted_i = 1) loop'||chr(10)|| ' return false;'||chr(10)|| ' end loop;'||chr(10)|| ' return true;'||chr(10)|| ' else'||chr(10)|| ' return false;'||chr(10)|| ' end if;'||chr(10)|| 'end;', p_process_when_type=>'FUNCTION_BODY', p_process_success_message=> '工作区 &P4_COMPANY_NAME. 已接受且审批电子邮件已发送。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'55'; wwv_flow_api.create_page_process( p_id => 359770518516632382.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 55.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 55.4056 -- begin null; end; null; end; / --application/pages/page_56.40 prompt ...PAGE 56.4056: 拒绝预配请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 56.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '拒绝预配请求', p_step_title=> '拒绝预配请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>56.4056,p_text=>h); 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=> 40440129464670341.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 56.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 73108300635357821.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 56.4056, p_plug_name=> '拒绝消息', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'拒绝请求将请求状态设置为 "拒绝" 并发送拒绝电子邮件。'; wwv_flow_api.create_page_plug ( p_id=> 73109631246358846.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 56.4056, p_plug_name=> '拒绝', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 73110928874359896.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 56.4056, p_plug_name=> 'topbar', p_region_name=>'', p_plug_template=> 182507118036154586.4056+ 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_INITCAP', p_plug_query_num_rows => 15, p_plug_query_num_rows_type => 'ROWS_X_TO_Y_OF_Z', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => '(null)', p_plug_display_condition_type => '', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 73113102942362154.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 56.4056, p_button_sequence=> 10, p_button_plug_id => 73110928874359896+wwv_flow_api.g_id_offset, p_button_name => 'Cancel', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 73116915409365767.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 56.4056, p_button_sequence=> 10, p_button_plug_id => 73110928874359896+wwv_flow_api.g_id_offset, p_button_name => 'Decline', p_button_image_alt=> '拒绝和发送电子邮件', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>73117322203365771.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 56.4056, p_branch_action=> '26', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>73116915409365767.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>73113502282362159.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 56.4056, p_branch_action=> '4', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>73113102942362154.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识电子邮件地址。'; wwv_flow_api.create_page_item( p_id=>73135015059381475.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 56.4056, p_name=>'F4050_P56_DECLINE_MSG', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 73108300635357821.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'电子邮件', p_source=>'declare'||chr(10)|| ' l_msg varchar2(4000);'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select company_name, admin_userid'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where id = :PROVISION_ID)'||chr(10)|| ' loop'||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''F4050.DECLINED_ACCOUNT_REQ_EMAIL_BODY'') ||'||chr(10)|| ' chr(10) || chr(10);'||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''WORKSPACE_INIT_CAP'')||'' :'' || c1.company_name || chr(10);'||chr(10)|| ' l_msg:= l_msg || wwv_flow_lang.system_message(''USERID'')||'' :'' || c1.admin_userid;'||chr(10)|| ' end loop;'||chr(10)|| ' return l_msg;'||chr(10)|| 'end;', p_source_type=> 'FUNCTION_BODY', p_display_as=> 'TEXTAREA_WITH_SPELL_CHECK', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 2000, p_cHeight=> 15, 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 => 'ABOVE', p_field_alignment => 'LEFT', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_subj varchar2(255);'||chr(10)|| ' l_msg varchar2(4000) := null;'||chr(10)|| ' l_body_html varchar2(32767) := null;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'wwv_flow_provisioning.deny_request (p_id => :PROVISION_ID);'||chr(10)|| ''||chr(10)|| 'for c1 in (select prov.admin_email, prov.admin_first_name, prov.admin_last_name'||chr(10)|| ' from wwv_flow_provision_company prov'||chr(10)|| ' where prov.id = :PROVISION_ID'||chr(10)|| ' and prov.PROJECT_STATUS = ''DECLIN'; p:=p||'ED'') '||chr(10)|| ' loop'||chr(10)|| ' l_msg := chr(10) || :F4050_P56_DECLINE_MSG || chr(10) || chr(10);'||chr(10)|| ' l_msg := l_msg || wwv_flow_utilities.host_url(''SCRIPT'') || chr(10);'||chr(10)|| ' l_body_html := wwv_flow_fnd_developer_api.convert_txt_to_html(l_msg);'||chr(10)|| ' l_subj := wwv_flow_lang.system_message(p_name=>''F4050.DECLINED_ACCOUNT_REQ_EMAIL_SUBJ'',p0=>c1.ADMIN_FIRST_NAME || '' '' ||c1.ADMIN_LAST_NAME); '; p:=p||' '||chr(10)|| ''||chr(10)|| ' wwv_flow_mail.send(p_to => c1.admin_email,'||chr(10)|| ' p_from => nvl(wwv_flow_platform.get_preference(''SMTP_FROM''),c1.admin_email),'||chr(10)|| ' p_body => l_msg,'||chr(10)|| ' p_body_html => l_body_html,'||chr(10)|| ' p_subj => l_subj,'||chr(10)|| ' p_cc => null);'||chr(10)|| ' end loop;'||chr(10)|| ' wwv_flow_mail.push_qu'; p:=p||'eue_background;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 225170763161.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 56.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'decline request', p_process_sql_clob => p, p_process_error_message=> '处理请求时出错。', p_process_when_button_id=>73116915409365767.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '请求 &P4_COMPANY_NAME. 的状态已设置为“拒绝”并且电子邮件已发送。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 56.4056 -- begin null; end; null; end; / --application/pages/page_57.40 prompt ...PAGE 57.4056: 创建公共主题 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_themes_public.htm'; ph := null; wwv_flow_api.create_page( p_id => 57.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建公共主题', p_step_title=> '创建公共主题', p_step_sub_title => 'Create Public Theme', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>57.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'114829600122838504'; wwv_flow_api.create_page_plug ( p_id=> 138136012726914164.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 57.4056, p_plug_name=> 'Progress', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 138045104803643281 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138136215748914164.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 57.4056, p_plug_name=> '创建公共主题', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign=top', p_plug_display_condition_type => '', p_plug_header=> '

标识所选工作区中要复制的主题所在的应用程序。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138136626408914165.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 57.4056, p_plug_name=> 'Create Public Theme', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 138137300856914177.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 57.4056, p_button_sequence=> 10, p_button_plug_id => 138136215748914164+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:555:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138137124005914175.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 57.4056, p_button_sequence=> 20, p_button_plug_id => 138136215748914164+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138153021345947268.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 57.4056, p_button_sequence=> 30, p_button_plug_id => 138136215748914164+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:47:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>138139124623914184.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 57.4056, p_branch_action=> 'f?p=&APP_ID.:58:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>138137124005914175.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要复制的主题所在的应用程序。'; wwv_flow_api.create_page_item( p_id=>138137503839914178.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 57.4056, p_name=>'P57_APPLICATION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 2, p_item_plug_id => 138136215748914164.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'应用程序', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'PUBLIC.THEME.APP.SELECTOR', p_lov => 'select id || '' - '' || name d, id v'||chr(10)|| ' from WWV_FLOWS'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and security_group_id not in (0,10,11)'||chr(10)|| ' order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要复制的应用程序主题所在的工作区。'; wwv_flow_api.create_page_item( p_id=>138175212575086624.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 57.4056, p_name=>'P57_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 138136215748914164.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区:', p_source=>'P47_WORKSPACE', p_source_type=> 'ITEM', p_display_as=> 'DISPLAY_ONLY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES_NO_NULL_OPTION', p_lov => 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 138209025445194385.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 57.4056, p_validation_name => 'P57_APPLICATION', p_validation_sequence=> 10, p_validation => 'P57_APPLICATION', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定应用程序。', p_when_button_pressed=> 138137124005914175.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 138137503839914178.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 57.4056 -- begin null; end; null; end; / --application/pages/page_58.40 prompt ...PAGE 58.4056: 创建公共主题 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_themes_public.htm'; ph := null; wwv_flow_api.create_page( p_id => 58.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建公共主题', p_step_title=> '创建公共主题', p_step_sub_title => 'Create Public Theme', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165709', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>58.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'114829600122838504'; wwv_flow_api.create_page_plug ( p_id=> 138140920605918465.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 58.4056, p_plug_name=> 'Progress', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 138045104803643281 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138141116387918465.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 58.4056, p_plug_name=> '创建公共主题', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign=top', p_plug_display_condition_type => '', p_plug_header=> '

标识要复制到公共主题资料档案库中的主题。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 138141527837918466.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 58.4056, p_plug_name=> 'Create Public Theme', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 138142223665918467.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 58.4056, p_button_sequence=> 10, p_button_plug_id => 138141116387918465+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:555:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138142002007918467.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 58.4056, p_button_sequence=> 20, p_button_plug_id => 138141116387918465+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 138158100614969669.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 58.4056, p_button_sequence=> 30, p_button_plug_id => 138141116387918465+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:57:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>138144008862918469.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 58.4056, p_branch_action=> 'f?p=&APP_ID.:48:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>138142002007918467.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要复制到公共主题资料档案库的主题。'; wwv_flow_api.create_page_item( p_id=>138142915903918468.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 58.4056, p_name=>'P58_THEME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 3, p_item_plug_id => 138141116387918465.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'要复制的主题', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_lov => 'select theme_id||''. '' ||htf.escape_sc(theme_name) d, theme_id'||chr(10)|| ' from wwv_flow_themes'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and flow_id = :P57_APPLICATION'||chr(10)|| 'order by theme_id', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要复制的应用程序主题所在的工作区。'; wwv_flow_api.create_page_item( p_id=>138192524789146971.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 58.4056, p_name=>'P58_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 138141116387918465.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区:', p_source=>'P47_WORKSPACE', p_source_type=> 'ITEM', p_display_as=> 'DISPLAY_ONLY_LOV', p_named_lov=> 'LIST_ALL_COMPANIES_NO_NULL_OPTION', p_lov => 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要复制的主题所在的应用程序。'; wwv_flow_api.create_page_item( p_id=>138194511068152390.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 58.4056, p_name=>'P58_APPLICATION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 2, p_item_plug_id => 138141116387918465.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'应用程序:', p_source=>'P57_APPLICATION', p_source_type=> 'ITEM', p_display_as=> 'DISPLAY_ONLY_LOV', p_named_lov=> 'PUBLIC.THEME.APP.SELECTOR', p_lov => 'select id || '' - '' || name d, id v'||chr(10)|| ' from WWV_FLOWS'||chr(10)|| ' where security_group_id = :P47_WORKSPACE'||chr(10)|| ' and security_group_id not in (0,10,11)'||chr(10)|| ' order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin --------------------------------------- -- ...updatable report columns for page 58.4056 -- begin null; end; null; end; / --application/pages/page_60.40 prompt ...PAGE 60.4056: 更改口令 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h := null; ph := null; wwv_flow_api.create_page( p_id => 60.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '更改口令', p_step_title=> '更改口令', p_step_sub_title => 'Change Password', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_group_id => 216787602191653217+ wwv_flow_api.g_id_offset, p_help_text => '', p_html_page_header => '', p_step_template => 20939016234587158.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'Y', 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=> 8155924868870308.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 60.4056, p_plug_name=> 'Return to Application', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, 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 => 'REQUEST_EQUALS_CONDITION', p_plug_display_when_condition => 'CONFIRM', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':P60_PASSWORD := null;'||chr(10)|| ':P60_CONFIRM_PASSWORD := null;'||chr(10)|| ':P60_ENTER_CURRENT_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 8156126956870310.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 60.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 8156307899870310.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 60.4056, p_plug_name=> '更改口令', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => 'REQUEST_NOT_EQUAL_CONDITION', p_plug_display_when_condition => 'CONFIRM', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 8156708906870312.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_button_sequence=> 20, p_button_plug_id => 8156307899870310+wwv_flow_api.g_id_offset, p_button_name => 'Save', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 8156914748870312.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_button_sequence=> 10, p_button_plug_id => 8155924868870308+wwv_flow_api.g_id_offset, p_button_name => 'RETURN', p_button_image_alt=> '返回', p_button_position=> 'TOP', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>8179316884067939.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_branch_action=> 'f?p=&APP_ID.:60:&SESSION.:CONFIRM:&DEBUG.:60::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_branch_condition_type=> 'REQUEST_IN_CONDITION', p_branch_condition=> 'P60_CONFIRM_PASSWORD,Save', p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 20-NOV-2006 22:03 by SSPADAFO'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要更改口令的用户的名称'; wwv_flow_api.create_page_item( p_id=>8157104633870313.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_name=>'P60_USER_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 8156307899870310.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'用户名:', p_source_type=> 'STATIC', p_display_as=> 'DISPLAY_ONLY_HTML', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'I', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入新口令'; wwv_flow_api.create_page_item( p_id=>8157624556870315.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_name=>'P60_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 8156307899870310.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'请输入新口令', p_source_type=> 'STATIC', p_display_as=> 'PASSWORD_DNSS', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'重新输入新口令'; wwv_flow_api.create_page_item( p_id=>8158108037870315.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_name=>'P60_CONFIRM_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 8156307899870310.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'请确认新口令', p_source_type=> 'STATIC', p_display_as=> 'PASSWORD_WITH_SUBMIT_DNSS', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'请输入您的当前口令。'; wwv_flow_api.create_page_item( p_id=>8158623021870316.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_name=>'P60_ENTER_CURRENT_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 8156307899870310.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'请输入当前口令', p_source_type=> 'STATIC', p_display_as=> 'PASSWORD_DNSS', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>12371025948321673.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_name=>'P60_USER_SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 8156307899870310.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 12366201775403856.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_computation_sequence => 10, p_computation_item=> 'P60_USER_NAME', p_computation_point=> 'BEFORE_HEADER', p_computation_type=> 'FUNCTION_BODY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'return wwv_flow_security.get_expired_user_name;', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_computation( p_id=> 12372916513337863.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 60.4056, p_computation_sequence => 10, p_computation_item=> 'P60_USER_SGID', p_computation_point=> 'BEFORE_HEADER', p_computation_type=> 'FUNCTION_BODY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'return wwv_flow_security.get_expired_user_sgid;', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 8159201565870318.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_validation_name => 'P60_ENTER_CURRENT_PASSWORD', p_validation_sequence=> 10, p_validation => 'P60_ENTER_CURRENT_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定口令。', p_validation_condition=> 'P60_CONFIRM_PASSWORD,Save', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 8158623021870316.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 8159407041870318.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_validation_name => 'P60_PASSWORD Not Null', p_validation_sequence=> 20, p_validation => 'P60_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定口令。', p_validation_condition=> 'P60_CONFIRM_PASSWORD,Save', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 8157624556870315.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 07-AUG-2002 16:59'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 8159625001870318.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_validation_name => 'P60_CONFIRM_PASSWORD Not Null', p_validation_sequence=> 30, p_validation => 'P60_CONFIRM_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定确认口令。', p_validation_condition=> 'P60_CONFIRM_PASSWORD,Save', p_validation_condition_type=> 'REQUEST_IN_CONDITION', p_associated_item=> 8158108037870315.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> 'generated 07-AUG-2002 16:59'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 8159816351870319.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_validation_name => 'passwd = confirm passwd', p_validation_sequence=> 40, p_validation => 'if :P60_PASSWORD != :P60_CONFIRM_PASSWORD then'||chr(10)|| ' :P60_PASSWORD := null;'||chr(10)|| ' :P60_CONFIRM_PASSWORD := null;'||chr(10)|| ' return false;'||chr(10)|| 'else'||chr(10)|| ' return true;'||chr(10)|| 'end if;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '确认口令与口令不匹配。', p_validation_condition=> ':P60_PASSWORD is not null and :P60_CONFIRM_PASSWORD is not null '||chr(10)|| 'and :REQUEST in (''P60_CONFIRM_PASSWORD'',''Save'')', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 8158108037870315.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 8160009482870319.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_validation_name => 'min password length', p_validation_sequence=> 50, p_validation => 'length(:P60_PASSWORD) > 3', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '口令至少应有 4 个字符。', p_validation_condition=> ':P60_PASSWORD is not null '||chr(10)|| 'and :REQUEST in (''P60_CONFIRM_PASSWORD'',''Save'')', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 8157624556870315.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 8160202229870319.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_validation_name => 'Validate Current Password', p_validation_sequence=> 60, p_validation => 'wwv_flow_security.g_security_group_id := :P60_USER_SGID;'||chr(10)|| 'return wwv_flow_user_api.is_login_password_valid('||chr(10)|| ' p_username=>:P60_USER_NAME,'||chr(10)|| ' p_password=>:P60_ENTER_CURRENT_PASSWORD);', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '口令无效', p_validation_condition=> ':P60_ENTER_CURRENT_PASSWORD is not null'||chr(10)|| 'and :REQUEST in (''P60_CONFIRM_PASSWORD'',''Save'')', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 8158623021870316.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 25728006402768591.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_validation_name => 'strong password validation', p_validation_sequence=> 70, p_validation => 'declare '||chr(10)|| ' l_use_strong_rules boolean;'||chr(10)|| 'begin'||chr(10)|| ' if nvl(wwv_flow_platform.get_preference(''STRONG_SITE_ADMIN_PASSWORD''),''N'')'||chr(10)|| ' = ''Y'' then'||chr(10)|| ' l_use_strong_rules := true;'||chr(10)|| ' else'||chr(10)|| ' l_use_strong_rules := false;'||chr(10)|| ' end if;'||chr(10)|| ' return wwv_flow_security.strong_password_validation('||chr(10)|| ' p_username => :P60_USER_NAME,'||chr(10)|| ' p_password => :P60_PASSWORD,'||chr(10)|| ' p_old_password => :P60_ENTER_CURRENT_PASSWORD,'||chr(10)|| ' p_workspace_name =>'||chr(10)|| ' wwv_flow_security.find_company_name(:WORKSPACE_ID),'||chr(10)|| ' p_use_strong_rules => l_use_strong_rules);'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '错误', p_validation_condition=> ':P60_PASSWORD is not null'||chr(10)|| 'and :REQUEST in (''P60_CONFIRM_PASSWORD'',''Save'')', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 8157624556870315.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare '||chr(10)|| ' l_p varchar2(256) := v(''P60_PASSWORD'');'||chr(10)|| 'begin'||chr(10)|| ' wwv_flow_security.g_security_group_id := :P60_USER_SGID;'||chr(10)|| ' wwv_flow.update_cache_with_write(''P60_PASSWORD'',null);'||chr(10)|| ' wwv_flow.update_cache_with_write(''P60_CONFIRM_PASSWORD'',null);'||chr(10)|| ' wwv_flow.update_cache_with_write(''P60_ENTER_CURRENT_PASSWORD'',null);'||chr(10)|| ' wwv_flow_api.g_fnd_user_password_action := true;'||chr(10)|| ' update wwv_flow_fnd_user '||chr(10)|| ' set web_'; p:=p||'password = l_p, first_password_use_occurred = ''Y'', account_expiry = sysdate'||chr(10)|| ' where security_group_id = wwv_flow_security.g_security_group_id'||chr(10)|| ' and user_id = (select user_id '||chr(10)|| ' from wwv_flow_fnd_user '||chr(10)|| ' where security_group_id = wwv_flow_security.g_security_group_id '||chr(10)|| ' and user_name = upper(:P60_USER_NAME));'||chr(10)|| ' wwv_flow_api.g_fnd_user_password'; p:=p||'_action := false;'||chr(10)|| ' wwv_flow_security.purge_expired_user_header;'||chr(10)|| ' commit;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 8160323013870320.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'change password', p_process_sql_clob => p, p_process_error_message=> '更改口令时出错。', p_process_when=>':P60_PASSWORD = :P60_CONFIRM_PASSWORD'||chr(10)|| 'and :REQUEST in (''P60_CONFIRM_PASSWORD'',''Save'')', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '口令已更改。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'60'; wwv_flow_api.create_page_process( p_id => 8160509729870321.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'P60_CONFIRM_PASSWORD,Save', p_process_when_type=>'REQUEST_IN_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow.g_unrecoverable_error := true;'||chr(10)|| 'owa_util.redirect_url(''f?p=4550:10:&SESSION.'');'; wwv_flow_api.create_page_process( p_id => 8168309518008972.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_process_sequence=> 30, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'return', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>8156914748870312.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'if nvl(:REQUEST,''xy5993-'') <> ''CONFIRM'' then '||chr(10)|| ' wwv_flow.g_notification := wwv_flow_lang.system_message(''PASSWORD_MUST_BE_CHANGED'');'||chr(10)|| 'end if;'; wwv_flow_api.create_page_process( p_id => 12359720551314583.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 60.4056, p_process_sequence=> 40, p_process_point=> 'BEFORE_HEADER', p_process_type=> 'PLSQL', p_process_name=> 'set notification', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 60.4056 -- begin null; end; null; end; / --application/pages/page_61.40 prompt ...PAGE 61.4056: 页访问活动日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 61.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '页访问活动日志', p_step_title=> '页访问活动日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>61.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'for c1 in (select min(time_stamp) f, max(time_stamp) l, count(*) c'||chr(10)|| ' from wwv_flow_activity_log1$) loop'||chr(10)|| ' htp.p(''
'');'||chr(10)|| ' htp.bold(wwv_flow_lang.system_message(''LOG'',''Log'')||'' 1: wwv_flow_activity_log1$'');'||chr(10)|| ' htp.br; htp.p(wwv_flow_lang.system_message(''FIRST_ENTRY'')||'': ''||to_char(c1.f,''&LONG_DATE_FORMAT. &TIME_FORMAT.''));'||chr(10)|| ' htp.br; htp.p(wwv_flow_lang.system_message(''LAST_ENTRY'')||'; s:=s||''': ''||to_char(c1.l,''&LONG_DATE_FORMAT. &TIME_FORMAT.''));'||chr(10)|| ' htp.br; htp.p(wwv_flow_lang.system_message(''COUNT'')||'': ''||to_char(c1.c,''999,999,999,999,990''));'||chr(10)|| 'end loop;'||chr(10)|| 'for c1 in (select min(time_stamp) f, max(time_stamp) l, count(*) c'||chr(10)|| ' from wwv_flow_activity_log2$) loop'||chr(10)|| ' htp.br; htp.br; '||chr(10)|| ' htp.bold(wwv_flow_lang.system_message(''LOG'',''Log'')||'' 2: wwv_flow_activity_log2$'');'||chr(10)|| ' htp.br; ht'; s:=s||'p.p(wwv_flow_lang.system_message(''FIRST_ENTRY'')||'': ''||to_char(c1.f,''&LONG_DATE_FORMAT. &TIME_FORMAT.''));'||chr(10)|| ' htp.br; htp.p(wwv_flow_lang.system_message(''LAST_ENTRY'')||'': ''||to_char(c1.l,''&LONG_DATE_FORMAT. &TIME_FORMAT.''));'||chr(10)|| ' htp.br; htp.p(wwv_flow_lang.system_message(''COUNT'')||'': ''||to_char(c1.c,''999,999,999,999,990''));'||chr(10)|| 'end loop;'||chr(10)|| 'for c1 in (select * from WWV_FLOW_ACTIVITY_LOG_NUMBER$) loop'||chr(10)|| ' ht'; s:=s||'p.br; htp.br;'||chr(10)|| ' htp.bold(wwv_flow_lang.system_message(''4050_61_ACTIVE_LOG''));'||chr(10)|| ' htp.br; htp.p(wwv_flow_lang.system_message(''4050_61_CURRENT_LOG_NO'')||'': ''||c1.CURRENT_LOG_NUMBER);'||chr(10)|| ' htp.br; htp.p(wwv_flow_lang.system_message(''4050_61_CUR_LOG_TIME'')||'': ''||'||chr(10)|| ' to_char(c1.CURRENT_LOG_timestamp,''&LONG_DATE_FORMAT. &TIME_FORMAT.''));'||chr(10)|| ' htp.p(''
 
''||wwv_flow_lang.system_message(''LOG'; s:=s||'_INTERVAL'')||'':
'');'||chr(10)|| ' htp.p(wwv_flow_lang.system_message(''4050_61_INTERVAL_DAYS'')||'': ''||wwv_flow_log.g_log_interval_in_days);'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_61_NEXT_LOG_SWITCH'')||'': ''||'||chr(10)|| ' to_char(c1.CURRENT_LOG_timestamp + wwv_flow_log.g_log_interval_in_days,'||chr(10)|| ' ''&LONG_DATE_FORMAT. &TIME_FORMAT.''));'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_61_HOURS'; s:=s||'_UNTIL'')||'': ''||to_char('||chr(10)|| ' ((c1.CURRENT_LOG_timestamp + wwv_flow_log.g_log_interval_in_days) - sysdate) * 24,''999,999,990.000''));'||chr(10)|| 'end loop;'; wwv_flow_api.create_page_plug ( p_id=> 3365221264702845.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 61.4056, p_plug_name=> '日志状态', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'选择日志条目的所有应用程序将在每次页访问中插入一行。&PRODUCT_NAME. 引擎使用两个日志, 其中一个日志当前位于任何时间点上。所有事件记录都将作为 "当前日志" 执行。以此页上列出的静态间隔进行日志切换。在进行日志切换时, 将截断非当前日志, 然后设为当前状态。'; wwv_flow_api.create_page_plug ( p_id=> 3365902695706940.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 61.4056, p_plug_name=> '页访问活动日志', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_query_options => 'DERIVED_REPORT_COLUMNS', p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4651917086418787.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 61.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 37832832720730254.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 61.4056, p_button_sequence=> 10, p_button_plug_id => 3365221264702845+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=4050:68:&SESSION.', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3380119972759223.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 61.4056, p_button_sequence=> 10, p_button_plug_id => 3365221264702845+wwv_flow_api.g_id_offset, p_button_name => 'MANAGE_LOGS', p_button_image_alt=> '截断日志 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:62:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 61.4056 -- begin null; end; null; end; / --application/pages/page_62.40 prompt ...PAGE 62.4056: 截断日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 62.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '截断日志', p_step_title=> '截断日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>62.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'截断活动日志表。此操作将删除所有记录的页访问活动。'; wwv_flow_api.create_page_plug ( p_id=> 3377612223747560.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 62.4056, p_plug_name=> '截断日志', p_region_name=>'', p_plug_template=> 160718619893151437.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'截断日志表将删除所有日志条目。日志条目是由以 "事件记录模式" 运行的应用程序生成的。'; wwv_flow_api.create_page_plug ( p_id=> 3378319841749695.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 62.4056, p_plug_name=> '日志截断', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_query_options => 'DERIVED_REPORT_COLUMNS', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4653228860422229.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 62.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 3379103350754380.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 62.4056, p_button_sequence=> 1, p_button_plug_id => 3377612223747560+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:61:&SESSION.', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3382006251764735.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 62.4056, p_button_sequence=> 2, p_button_plug_id => 3377612223747560+wwv_flow_api.g_id_offset, p_button_name => 'TRUNCATE_LOG_1', p_button_image_alt=> '截断日志 1', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3386510192775267.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 62.4056, p_button_sequence=> 10, p_button_plug_id => 3377612223747560+wwv_flow_api.g_id_offset, p_button_name => 'TRUNCATE_LOG_2', p_button_image_alt=> '截断日志 2', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>3386829123775269.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 62.4056, p_branch_action=> '61', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'execute immediate ''truncate table wwv_flow_activity_log1$'';'; wwv_flow_api.create_page_process( p_id => 3384323220769569.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 62.4056, p_process_sequence=> 5, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'truncate log 1', p_process_sql_clob => p, p_process_error_message=> '截断日志 1 时出错。', p_process_when_button_id=>3382006251764735.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '日志 1 已截断。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'execute immediate ''truncate table wwv_flow_activity_log2$'';'; wwv_flow_api.create_page_process( p_id => 3392115864786425.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 62.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'truncate log 2', p_process_sql_clob => p, p_process_error_message=> '截断日志 2 时出错。', p_process_when_button_id=>3386510192775267.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '日志 2 已截断。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 62.4056 -- begin null; end; null; end; / --application/pages/page_63.40 prompt ...PAGE 63.4056: 会话状态 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_session.htm'; ph := null; wwv_flow_api.create_page( p_id => 63.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '会话状态', p_step_title=> '会话状态', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216784004831644541+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>63.4056,p_text=>h); 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=> 3414400551876616.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 63.4056, p_plug_name=> 'Session State Management', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 3417102067886535 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

单击此页上的链接可监视和管理会话状态资料档案库。

'; wwv_flow_api.create_page_plug ( p_id=> 3416327217884305.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 63.4056, p_plug_name=> '会话状态', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4718502747679639.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 63.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 63.4056 -- begin null; end; null; end; / --application/pages/page_64.40 prompt ...PAGE 64.4056: 会话状态统计信息 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_session.htm'; ph := null; wwv_flow_api.create_page( p_id => 64.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '会话状态统计信息', p_step_title=> '会话状态统计信息', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216784004831644541+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>64.4056,p_text=>h); 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=> 4728514933862900.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 64.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select (select count(*) from wwv_flow_sessions$) thecount,'||chr(10)|| ' (select count(*) from wwv_flow_data) cache_entries,'||chr(10)|| ' (select count(*) from wwv_flow_data)/(select count(*) from wwv_flow_sessions$) avg_per_session'||chr(10)|| ' from dual'; wwv_flow_api.create_report_region ( p_id=> 26076915239076069.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 64.4056, p_name=> '会话状态统计信息', p_region_name=>'', p_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_header=> '

应用程序会话维护应用程序页访问之间的会话状态。每个会话可拥有零个或多个用于维护会话状态的高速缓存条目 (项)。每个用户可有一个或多个会话。

', p_customized=> '0', p_query_row_template=> 2, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 26077314226076090.4056 + wwv_flow_api.g_id_offset, p_region_id=> 26076915239076069.4056 + 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=> 'THECOUNT', p_column_display_sequence=> 1, p_column_heading=> '会话', p_column_format=> '999G999G999G999G990', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', 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=> 26077427148076090.4056 + wwv_flow_api.g_id_offset, p_region_id=> 26076915239076069.4056 + 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=> 'CACHE_ENTRIES', p_column_display_sequence=> 2, p_column_heading=> '高速缓存条目总数', p_column_format=> '999G999G999G999G990', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', 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=> 26077613945076090.4056 + wwv_flow_api.g_id_offset, p_region_id=> 26076915239076069.4056 + 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=> 'AVG_PER_SESSION', p_column_display_sequence=> 3, p_column_heading=> '每个会话的平均高速缓存条目数', p_column_format=> '999G999G999G999G990', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_column_comment=>''); end; / begin wwv_flow_api.create_page_button( p_id => 19629412621244661.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 64.4056, p_button_sequence=> 10, p_button_plug_id => 26076915239076069+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:63:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3481228031168376.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 64.4056, p_button_sequence=> 10, p_button_plug_id => 26076915239076069+wwv_flow_api.g_id_offset, p_button_name => 'PURGE_SESSIONS', p_button_image_alt=> '清除会话 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:66:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 64.4056 -- begin null; end; null; end; / --application/pages/page_65.40 prompt ...PAGE 65.4056: 最近的会话 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_session.htm'; ph := null; wwv_flow_api.create_page( p_id => 65.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '最近的会话', p_step_title=> '最近的会话', p_step_sub_title => 'Recent Sessions', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216784004831644541+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>65.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| ' ''''||id||'''' id,'||chr(10)|| ' created_by,'||chr(10)|| ' created_on,'||chr(10)|| ' cookie'||chr(10)|| 'from WWV_FLOW_SESSIONS$'||chr(10)|| 'where (:P65_FIND is null or'||chr(10)|| 'instr(upper(cookie),upper(:P65_FIND)) > 0 or'||chr(10)|| 'instr(upper(created_by),upper(:P65_FIND))>0)'; wwv_flow_api.create_report_region ( p_id=> 3424511015912192.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 65.4056, p_name=> 'Recent Sessions', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_no_data_found=> '报表中不包含数据', p_query_num_rows_item=> 'P65_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_plug_query_strip_html=> 'Y', p_comment=>'generated 04-DEC-2002 11:00:23'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48672319723771583.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3424511015912192.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> '会话编号', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', 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=> 48672531766771583.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3424511015912192.4056 + 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=> 'CREATED_BY', p_column_display_sequence=> 2, p_column_heading=> '数据库用户', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48672610894771583.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3424511015912192.4056 + 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=> 'CREATED_ON', p_column_display_sequence=> 3, p_column_heading=> '创建时间', p_column_format=> '&DATE_FORMAT. HH24:MI:SS Day', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', 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=> 48672709848771583.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3424511015912192.4056 + 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=> 'COOKIE', p_column_display_sequence=> 4, p_column_heading=> '用户', p_column_format=> 'MI', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

此页列出了此服务管理的所有工作区的所有会话。

'; wwv_flow_api.create_page_plug ( p_id=> 3426218737919742.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 65.4056, p_plug_name=> '最近的会话', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_query_options => 'DERIVED_REPORT_COLUMNS', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4721909242700448.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 65.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 108311224257040802.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 65.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 12972718023191610.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 65.4056, p_button_sequence=> 10, p_button_plug_id => 3424511015912192+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:63:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3484821928176079.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 65.4056, p_button_sequence=> 10, p_button_plug_id => 108311224257040802+wwv_flow_api.g_id_offset, p_button_name => 'PURGE_SESSIONS', p_button_image_alt=> '清除会话 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:66:&SESSION.', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>3493521876204105.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 65.4056, p_branch_action=> '65', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>3493220590204104.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>3424913014912195.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 65.4056, p_branch_action=> '65', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询标准, 然后按开始。'; wwv_flow_api.create_page_item( p_id=>108312300970053001.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 65.4056, p_name=>'P65_FIND', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 108311224257040802.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'查找', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>108314727074070039.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 65.4056, p_name=>'P65_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 108311224257040802.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'Go', p_prompt=>'开始', 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 h := null; h:=h||'选择每页显示的最大行数。'; wwv_flow_api.create_page_item( p_id=>108319016048170974.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 65.4056, p_name=>'P65_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 108311224257040802.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 25337511380084159.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 65.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>108314727074070039.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 65.4056 -- begin null; end; null; end; / --application/pages/page_66.40 prompt ...PAGE 66.4056: 清除会话 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_session.htm'; ph := null; wwv_flow_api.create_page( p_id => 66.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '清除会话', p_step_title=> '清除会话', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216784004831644541+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>66.4056,p_text=>h); 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=> 3449327235035686.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 66.4056, p_plug_name=> '清除会话', p_region_name=>'', p_plug_template=> 162417015526175958.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 4720217638683879.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 66.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 3456216462079941.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 66.4056, p_button_sequence=> 10, p_button_plug_id => 3449327235035686+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:63:&SESSION.', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3467901665132376.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 66.4056, p_button_sequence=> 30, p_button_plug_id => 3449327235035686+wwv_flow_api.g_id_offset, p_button_name => 'PURGE_SESSIONS', p_button_image_alt=> '清除会话', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 3478906560162244.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 66.4056, p_button_sequence=> 20, p_button_plug_id => 3449327235035686+wwv_flow_api.g_id_offset, p_button_name => 'COUNT_SESSIONS', p_button_image_alt=> '会话计数', p_button_position=> 'REGION_TEMPLATE_EDIT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:64:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>3468212665132377.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 66.4056, p_branch_action=> '66', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>3467901665132376.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>3468906167133685.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 66.4056, p_branch_action=> '63', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 04-DEC-2002 11:37 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要删除的最大会话数。'; wwv_flow_api.create_page_item( p_id=>3451813299050623.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 66.4056, p_name=>'P66_MAX_SESSIONS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 3449327235035686.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1000', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'要清除的最大会话数', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'删除存在时间至少为此天数的会话。'; wwv_flow_api.create_page_item( p_id=>3453000270056286.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 66.4056, p_name=>'P66_AGE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 3449327235035686.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'只清除以下会话, 其存在时间大于', p_source=>'1', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 149034515911867765.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 66.4056, p_validation_name => 'MaxSessionsNumeric', p_validation_sequence=> 10, p_validation => 'P66_MAX_SESSIONS', p_validation_type => 'ITEM_IS_NUMERIC', p_error_message => '最大会话数必须为数字。', p_when_button_pressed=> 3467901665132376.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 3451813299050623.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_cache.purge_oldest_sessions ('||chr(10)|| 'p_num_sessions_to_purge => :P66_MAX_SESSIONS,'||chr(10)|| 'p_purge_sess_older_then_hrs => :P66_AGE * 24);'; wwv_flow_api.create_page_process( p_id => 3469927637139934.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 66.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'purge sessions', p_process_sql_clob => p, p_process_error_message=> '清除会话时出错。', p_process_when_button_id=>3467901665132376.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '会话已清除。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 66.4056 -- begin null; end; null; end; / --application/pages/page_67.40 prompt ...PAGE 67.4056: 会话详细资料 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_session.htm'; ph := null; wwv_flow_api.create_page( p_id => 67.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '会话详细资料', p_step_title=> '会话详细资料', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216784004831644541+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165710', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>67.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select ID, CREATED_BY, CREATED_ON,'||chr(10)|| ' COOKIE, ON_NEW_INSTANCE_FIRED_FOR, '||chr(10)|| ' replace(passed_sec_checks,'':'','': '') PASSED_SEC_CHECKS,'||chr(10)|| ' FAILED_SEC_CHECKS, SESSION_ID_HASHED, SECURITY_GROUP_ID'||chr(10)|| ' from WWV_FLOW_SESSIONS$'||chr(10)|| 'where id = :P67_SESSION_ID'; wwv_flow_api.create_report_region ( p_id=> 3500119382241626.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 67.4056, p_name=> 'Session', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 2, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到会话数据。', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48918208799773092.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> '会话编号', p_column_alignment=>'LEFT', p_heading_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=> 48918421783773093.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + 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=> 'CREATED_BY', p_column_display_sequence=> 2, p_column_heading=> '创建者', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48918511397773093.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + 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=> 'CREATED_ON', p_column_display_sequence=> 3, p_column_heading=> '创建时间', p_column_format=> 'SINCE', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48918609820773093.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + 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=> 'COOKIE', p_column_display_sequence=> 4, p_column_heading=> 'Cookie (用户)', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48918702625773093.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + 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=> 'ON_NEW_INSTANCE_FIRED_FOR', p_column_display_sequence=> 5, p_column_heading=> '“新建实例时”触发事件', p_column_alignment=>'LEFT', p_heading_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=> 48918825037773093.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + 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=> 'PASSED_SEC_CHECKS', p_column_display_sequence=> 6, p_column_heading=> '已通过安全性检查', p_column_alignment=>'LEFT', p_heading_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=> 48918907531773093.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'FAILED_SEC_CHECKS', p_column_display_sequence=> 7, p_column_heading=> '安全性检查失败', p_column_alignment=>'LEFT', p_heading_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=> 72927402476653707.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'SESSION_ID_HASHED', p_column_display_sequence=> 9, p_column_heading=> 'Session Number Hashed', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 48919009084773093.4056 + wwv_flow_api.g_id_offset, p_region_id=> 3500119382241626.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'SECURITY_GROUP_ID', p_column_display_sequence=> 8, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 63706723086661877.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 67.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| ' ITEM_NAME, '||chr(10)|| ' decode(dbms_lob.getlength(d.item_value),0,null,'||chr(10)|| ' decode(d.IS_ENCRYPTED,''Y'',''*****'',d.item_value)) item_value,'||chr(10)|| ' ITEM_ID,'||chr(10)|| ' SESSION_STATE_STATUS,'||chr(10)|| ' FLOW_ID'||chr(10)|| ' from WWV_FLOW_DATA d'||chr(10)|| 'where flow_instance = :P67_SESSION_ID'||chr(10)|| 'order by item_name'; wwv_flow_api.create_report_region ( p_id=> 63711628758673020.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 67.4056, p_name=> 'Session State', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 50, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_condition_type=> 'NOT_DISPLAYING_INLINE_VALIDATION_ERRORS', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '500', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '50000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 63712013520673027.4056 + wwv_flow_api.g_id_offset, p_region_id=> 63711628758673020.4056 + 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=> 'ITEM_NAME', p_column_display_sequence=> 1, p_column_heading=> '项名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 63712127853673028.4056 + wwv_flow_api.g_id_offset, p_region_id=> 63711628758673020.4056 + 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=> 'ITEM_VALUE', p_column_display_sequence=> 2, p_column_heading=> '会话状态值', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 63712221869673028.4056 + wwv_flow_api.g_id_offset, p_region_id=> 63711628758673020.4056 + 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=> 'ITEM_ID', p_column_display_sequence=> 3, p_column_heading=> 'Item Number', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 63712321394673029.4056 + wwv_flow_api.g_id_offset, p_region_id=> 63711628758673020.4056 + 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=> 'SESSION_STATE_STATUS', p_column_display_sequence=> 4, p_column_heading=> '会话状态的状态', p_column_alignment=>'LEFT', p_heading_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=> 63712400748673029.4056 + wwv_flow_api.g_id_offset, p_region_id=> 63711628758673020.4056 + 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=> 'FLOW_ID', p_column_display_sequence=> 5, p_column_heading=> '应用程序', p_column_alignment=>'LEFT', p_heading_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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 72939501718823858.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 67.4056, p_plug_name=> 'Select', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 5, 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>3505105446256528.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 67.4056, p_branch_action=> '67', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 04-DEC-2002 11:57 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识会话 ID。'; wwv_flow_api.create_page_item( p_id=>3500824577243155.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 67.4056, p_name=>'P67_SESSION_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 72939501718823858.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'会话编号', p_source_type=> 'STATIC', p_display_as=> 'POPUP', p_lov => 'select id||'' - ''||nvl(cookie,wwv_flow_lang.system_message(''NULL_IN_PAREN''))||'' ''||security_group_id a, id from wwv_flow_sessions$ order by created_on desc', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>3503225747252936.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 67.4056, p_name=>'P67_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 72939501718823858.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 72924925155622381.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 67.4056, p_computation_sequence => 10, p_computation_item=> 'P67_SESSION_ID', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'PLSQL_EXPRESSION', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'trim(:P67_SESSION_ID)', p_compute_when => '', p_compute_when_type=>''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 72925505893626312.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 67.4056, p_validation_name => 'session numeric', p_validation_sequence=> 10, p_validation => 'P67_SESSION_ID', p_validation_type => 'ITEM_IS_NUMERIC', p_error_message => '会话 ID 必须是数字。', p_associated_item=> 3500824577243155.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 3503931288254475.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 67.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'GO', p_process_when_type=>'REQUEST_EQUALS_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 67.4056 -- begin null; end; null; end; / --application/pages/page_68.40 prompt ...PAGE 68.4056: 日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 68.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '日志', p_step_title=> '日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>68.4056,p_text=>h); 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=> 5020723148559030.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 68.4056, p_plug_name=> 'Manage Logs and Files', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 5021913929565780 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '
&PRODUCT_NAME.', p_plug_footer=> '
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 5025214537584906.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 68.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

&PRODUCT_NAME. 使用多个日志表捕获活动。请选择日志类型来查看信息并管理日志。

'; wwv_flow_api.create_page_plug ( p_id=> 5081222942644142.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 68.4056, p_plug_name=> '事件记录', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 68.4056 -- begin null; end; null; end; / --application/pages/page_69.40 prompt ...PAGE 69.4056: 按小时统计的页访问量 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_activity.htm'; ph := null; wwv_flow_api.create_page( p_id => 69.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '按小时统计的页访问量', p_step_title=> '按小时统计的页访问量', p_step_sub_title => 'Page Views By Hour', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216662902659587159+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>69.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select '||chr(10)|| ' to_char(time_stamp,''YYYY.MM.DD HH24'') ts, '||chr(10)|| 'count(*), '||chr(10)|| 'sum(decode(page_mode,''A'',0,1)) page_views,'||chr(10)|| 'sum(decode(page_mode,''A'',1,0)) page_processing,'||chr(10)|| 'max(elap) max_elap, '||chr(10)|| 'min(elap) min_elap, '||chr(10)|| 'avg(elap) avg_elap,'||chr(10)|| 'count(distinct flow_id) distinct_applications,'||chr(10)|| 'count(distinct flow_id||''.''||step_id) distinct_pages,'||chr(10)|| 'sum(cached_regions) cached_regions,'||chr(10)|| 'count(distinct to_char(time_stamp,''YYYYMMDDH'; s:=s||'H24MI'')) distinct_minutes,'||chr(10)|| 'count(distinct userid) distinct_users'||chr(10)|| 'from WWV_FLOW_ACTIVITY_LOG'||chr(10)|| 'where time_stamp >= sysdate - nvl(:P69_TIME,1)'||chr(10)|| 'group by to_char(time_stamp,''YYYY.MM.DD HH24'')'; wwv_flow_api.create_report_region ( p_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 69.4056, p_name=> 'Page Views by Hour', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> 'Unable to show report. #SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_num_rows_item=> 'P69_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'Y', p_csv_output_link_text=> '下载', p_prn_output=> 'Y', p_prn_format=> 'PDF', p_prn_output_show_link=> 'Y', p_prn_output_link_text=> '打印', p_prn_units=> 'INCHES', p_prn_paper_size=> 'LETTER', p_prn_width=> 11, p_prn_height=> 8.5, p_prn_orientation=> 'HORIZONTAL', p_prn_page_header=> '&PRODUCT_NAME.', p_prn_page_header_font_color=> '#000000', p_prn_page_header_font_family=> 'Helvetica', p_prn_page_header_font_weight=> 'normal', p_prn_page_header_font_size=> '12', p_prn_page_footer_font_color=> '#000000', p_prn_page_footer_font_family=> 'Helvetica', p_prn_page_footer_font_weight=> 'normal', p_prn_page_footer_font_size=> '12', p_prn_header_bg_color=> '#9bafde', p_prn_header_font_color=> '#ffffff', p_prn_header_font_family=> 'Helvetica', p_prn_header_font_weight=> 'normal', p_prn_header_font_size=> '10', p_prn_body_bg_color=> '#efefef', p_prn_body_font_color=> '#000000', p_prn_body_font_family=> 'Helvetica', p_prn_body_font_weight=> 'normal', p_prn_body_font_size=> '10', p_prn_border_width=> .5, p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', p_plug_query_strip_html=> 'Y', p_comment=>'generated 10-DEC-2002 17:32:14'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 275554421573990720.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + 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=> 'TS', p_column_display_sequence=> 1, p_column_heading=> '小时', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 275554506199990722.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + 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=> 'COUNT(*)', p_column_display_sequence=> 2, p_column_heading=> '页
事件', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 275554608808990722.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + 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=> 'MAX_ELAP', p_column_display_sequence=> 5, p_column_heading=> '最长访问
时间', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 275554725075990722.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + 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=> 'MIN_ELAP', p_column_display_sequence=> 6, p_column_heading=> '最短访问
时间', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_pk_col_source=> s, p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 275554806004990722.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'AVG_ELAP', p_column_display_sequence=> 7, p_column_heading=> '平均
用时', p_column_format=> '999G999G999G999G990D00', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 56748603432448866.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'DISTINCT_APPLICATIONS', p_column_display_sequence=> 11, p_column_heading=> '不同
应用程序', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 56748732251448866.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'DISTINCT_PAGES', p_column_display_sequence=> 12, p_column_heading=> '不同
页', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 49052525237403070.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'CACHED_REGIONS', p_column_display_sequence=> 8, p_column_heading=> '高速缓存
区域', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 56745213774423415.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 11, p_form_element_id=> null, p_column_alias=> 'DISTINCT_MINUTES', p_column_display_sequence=> 10, p_column_heading=> '不同
分钟数', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 138289210636221349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 11, p_form_element_id=> null, p_column_alias=> 'PAGE_VIEWS', p_column_display_sequence=> 3, p_column_heading=> '页
访问量', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 56747631913438085.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 12, p_form_element_id=> null, p_column_alias=> 'DISTINCT_USERS', p_column_display_sequence=> 9, p_column_heading=> '不同
用户', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_print_col_width=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 138289308817221349.4056 + wwv_flow_api.g_id_offset, p_region_id=> 10129009034220992.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 12, p_form_element_id=> null, p_column_alias=> 'PAGE_PROCESSING', p_column_display_sequence=> 4, p_column_heading=> '页
处理', p_column_format=> '999G999G999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'Y', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 10132005673229343.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 69.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 23251413763556683.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 69.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'此报表可列出在某天的指定时段所有工作区中所有应用程序的页访问的数量, 最短时间和所有页访问的平均时间。'; wwv_flow_api.create_page_plug ( p_id=> 247015914210099185.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 69.4056, p_plug_name=> '按小时统计的页访问量', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>138297312761250354.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 69.4056, p_branch_action=> 'f?p=&APP_ID.:69:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 12-DEC-2007 19:45 by MIKE'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'将报表限制在特定的时间范围内。标识要报告的时间范围, 然后单击开始

'||chr(10)|| '如果选择 1 天, 则只显示过去的 24 小时。 '; wwv_flow_api.create_page_item( p_id=>10139722558253165.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 69.4056, p_name=>'P69_TIME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 1, p_item_plug_id => 23251413763556683.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '1', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'始自', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'RECENT_TIME', p_lov => 'select ''10 ''||wwv_flow_lang.system_message(initcap(''SECONDS'')) d, 10/(24*60*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''MINUTE'')) d, 1/(24*60) t from dual union all'||chr(10)|| 'select ''5 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 5/(24*60) t from dual union all'||chr(10)|| 'select ''15 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 15/(24*60) t from dual union all'||chr(10)|| 'select ''30 ''||wwv_flow_lang.system_message(initcap(''MINUTES'')) d, 30/(24*60) t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''HOUR'')) d, 1/24 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 1/12 t from dual union all'||chr(10)|| 'select ''6 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 6/24 t from dual union all'||chr(10)|| 'select ''8 ''||wwv_flow_lang.system_message(initcap(''HOURS'')) d, 8/24 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''DAY'')) d, 1 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''DAYS'')) d, 2 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''WEEK'')) d, 7 t from dual union all'||chr(10)|| 'select ''2 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 14 t from dual union all'||chr(10)|| 'select ''4 ''||wwv_flow_lang.system_message(initcap(''WEEKS'')) d, 28 t from dual union all'||chr(10)|| 'select ''1 ''||wwv_flow_lang.system_message(initcap(''YEAR'')) d, 365 t from dual order by 2', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>10154323915376546.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 69.4056, p_name=>'P69_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 3, p_item_plug_id => 23251413763556683.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'GO', p_prompt=>'开始', 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_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择每页显示的最大行数。'; wwv_flow_api.create_page_item( p_id=>138293712976240969.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 69.4056, p_name=>'P69_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 2, p_item_plug_id => 23251413763556683.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '15', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_D', p_lov => '.'||to_char(87730331399250507 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 10165123148470953.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 69.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'reset pg', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>10154323915376546.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 69.4056 -- begin null; end; null; end; / --application/pages/page_70.40 prompt ...PAGE 70.4056: 开发者活动日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 70.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '开发者活动日志', p_step_title=> '开发者活动日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>70.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' c_dev pls_integer := 0;'||chr(10)|| 'begin'||chr(10)|| ' htp.p('''');'||chr(10)|| ' -- wwv_flow_builder_audit_trail '||chr(10)|| ' select count(*) into c_dev from wwv_flow_builder_audit_trail ;'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 5073705711620192.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 70.4056, p_plug_name=> '开发者活动日志', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'此表用于记录对应用程序的更改。'; wwv_flow_api.create_page_plug ( p_id=> 5075415408622996.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 70.4056, p_plug_name=> '开发者活动日志', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 5077425104625852.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 70.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 161762309044080347.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 70.4056, p_button_sequence=> 10, p_button_plug_id => 5073705711620192+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:68:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 19856805788736075.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 70.4056, p_button_sequence=> 10, p_button_plug_id => 5073705711620192+wwv_flow_api.g_id_offset, p_button_name => 'MANAGE', p_button_image_alt=> '管理 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:19:&SESSION.', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 70.4056 -- begin null; end; null; end; / --application/pages/page_71.40 prompt ...PAGE 71.4056: 外部点击计数日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 71.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '外部点击计数日志', p_step_title=> '外部点击计数日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>71.4056,p_text=>h); 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=> 5087615801651525.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 71.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' c_click pls_integer := 0;'||chr(10)|| 'begin'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_70_DEV_ACT'')||'': '');'||chr(10)|| ' htp.p(to_char(c_dev,''999,999,999,990''));'||chr(10)|| ' htp.p(''
'');'||chr(10)|| ' -- WWV_FLOW_CLICKTHRU_LOG$'||chr(10)|| ' select count(*) into c_click from WWV_FLOW_CLICKTHRU_LOG_V;'||chr(10)|| ' htp.p('''');'||chr(10)|| ''||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_71_CLICK'')||'''');'||chr(10)|| ' htp.p(c_click);'||chr(10)|| ' htp.p(''
'');'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 5149427014664185.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 71.4056, p_plug_name=> '外部点击计数日志', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 11, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'可以使用 Z 过程统计与外部 URL 的链接数。'; wwv_flow_api.create_page_plug ( p_id=> 5153211907669343.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 71.4056, p_plug_name=> '点击计数', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 21, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_query_options => 'DERIVED_REPORT_COLUMNS', p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 161869810419705202.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 71.4056, p_button_sequence=> 10, p_button_plug_id => 5149427014664185+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:68:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 65001724476956746.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 71.4056, p_button_sequence=> 10, p_button_plug_id => 5149427014664185+wwv_flow_api.g_id_offset, p_button_name => 'MANAGE', p_button_image_alt=> '管理 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:85:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 71.4056 -- begin null; end; null; end; / --application/pages/page_72.40 prompt ...PAGE 72.4056: 创建工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 72.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建工作区', p_step_title=> '创建工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>72.4056,p_text=>h); 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=> 12012705423629513.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 72.4056, p_plug_name=> '创建 &COMPANY_NAME.', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 13869012813656018.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 72.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 187657525264854490.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 72.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 12048115202363924 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 13216515182502313.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_button_sequence=> 10, p_button_plug_id => 12012705423629513+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 12021900060665808.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_button_sequence=> 10, p_button_plug_id => 12012705423629513+wwv_flow_api.g_id_offset, p_button_name => 'next', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 12022102892665810.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_button_sequence=> 20, p_button_plug_id => 12012705423629513+wwv_flow_api.g_id_offset, p_button_name => 'previous', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>12023517029670675.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_branch_action=> '73', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>12021900060665808.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 1, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 15-DEC-2002 12:40 by MIKE'); wwv_flow_api.create_page_branch( p_id=>12024121877672100.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_branch_action=> '79', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>12022102892665810.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 2, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 15-DEC-2002 12:40 by MIKE'); wwv_flow_api.create_page_branch( p_id=>13216829929502321.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_branch_action=> '10', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>13216515182502313.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 3, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入工作区管理员的用户名。'; wwv_flow_api.create_page_item( p_id=>12014129318636436.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_name=>'F4050_P72_ADMINNAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 12012705423629513.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理员用户名', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入工作区管理员的电子邮件地址。'; wwv_flow_api.create_page_item( p_id=>12020406163658104.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_name=>'F4050_P72_EMAIL', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 12012705423629513.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'电子邮件', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区管理员的口令。'; wwv_flow_api.create_page_item( p_id=>12850829056207052.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_name=>'F4050_P72_ADMIN_PASS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 12012705423629513.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理员口令', p_source_type=> 'STATIC', p_display_as=> 'PASSWORD', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_encrypt_session_state_yn=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识管理员的名字。'; wwv_flow_api.create_page_item( p_id=>13027609755658621.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_name=>'F4050_P72_FIRSTNAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 12012705423629513.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'名', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识管理员的姓氏。'; wwv_flow_api.create_page_item( p_id=>13029600189665308.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 72.4056, p_name=>'F4050_P72_LASTNAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 12012705423629513.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'姓', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 12975203588136370.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_validation_name => 'username required', p_validation_sequence=> 10, p_validation => 'F4050_P72_ADMINNAME', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定用户名。', p_when_button_pressed=> 12021900060665808.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12014129318636436.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 12987418375358280.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_validation_name => 'admin password not null', p_validation_sequence=> 10, p_validation => 'F4050_P72_ADMIN_PASS', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定管理员口令。', p_when_button_pressed=> 12021900060665808.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12850829056207052.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 12989708941374516.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_validation_name => 'validate email', p_validation_sequence=> 10, p_validation => 'declare'||chr(10)|| ' l_at number;'||chr(10)|| ' l_dot number;'||chr(10)|| 'begin'||chr(10)|| ' l_at := instr(nvl(:F4050_P72_EMAIL,''x''),''@'');'||chr(10)|| ' l_dot := instr(nvl(:F4050_P72_EMAIL,''x''),''.'',l_at);'||chr(10)|| ' return l_at > 1 and l_dot > 1 and (l_dot - l_at) > 1;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '电子邮件地址无效。', p_when_button_pressed=> 12021900060665808.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12020406163658104.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 111257629778385447.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_validation_name => 'strong password', p_validation_sequence=> 20, p_validation => 'return wwv_flow_security.strong_password_validation('||chr(10)|| ' p_username => :F4050_P72_ADMINNAME,'||chr(10)|| ' p_password => :F4050_P72_ADMIN_PASS,'||chr(10)|| ' p_old_password => null,'||chr(10)|| ' p_workspace_name => :F4050_P27_COMPANY);', p_validation_type => 'FUNC_BODY_RETURNING_ERR_TEXT', p_error_message => '错误', p_validation_condition=> 'F4050_P72_ADMIN_PASS', p_validation_condition_type=> 'ITEM_IS_NOT_NULL', p_when_button_pressed=> 12021900060665808.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12850829056207052.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'begin'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P72_ADMINNAME'', :FLOW_USER);'||chr(10)|| ' for c1 in (select * '||chr(10)|| ' from wwv_flow_fnd_user'||chr(10)|| ' where user_name = upper(:FLOW_USER)'||chr(10)|| ' and security_group_id = :FLOW_SECURITY_GROUP_ID) loop'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P72_FIRSTNAME'', nvl(c1.FIRST_NAME,''''));'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P72_LASTNAME'','; p:=p||' nvl(c1.LAST_NAME,''''));'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P72_EMAIL'', c1.EMAIL_ADDRESS);'||chr(10)|| ' end loop;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 13033112918687930.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 72.4056, p_process_sequence=> 10, p_process_point=> 'BEFORE_HEADER', p_process_type=> 'PLSQL', p_process_name=> 'pop defaults', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'F4050_P72_ADMINNAME', p_process_when_type=>'ITEM_IS_NULL', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 72.4056 -- begin null; end; null; end; / --application/pages/page_73.40 prompt ...PAGE 73.4056: 创建工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 73.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建工作区', p_step_title=> '创建工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>73.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' l_ts_path varchar2(512);'||chr(10)|| ' l_omf boolean := FALSE;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select null'||chr(10)|| ' from v$parameter'||chr(10)|| ' where upper(name) = ''DB_CREATE_FILE_DEST'''||chr(10)|| ' and trim(value) is not null) loop'||chr(10)|| ' -- OMF is potentially in use'||chr(10)|| ' l_omf := TRUE;'||chr(10)|| ' exit;'||chr(10)|| ' end loop;'||chr(10)|| ''||chr(10)|| ''||chr(10)|| 'htp.p(''

'' || wwv_flow_lang.system_message(p_name=>''PROVISION_REQUE'; s:=s||'ST.NEW'',p0=>htf.escape_sc(:COMPANY_NAME))|| ''

'');'||chr(10)|| ''||chr(10)|| ''||chr(10)|| 'htp.p(''

''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.WORKSPACE_INFO'')||'':

'');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.NAME'')||''''||htf.escape'; s:=s||'_sc(:F4050_P27_COMPANY)||''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SGID'')||''''||nvl(htf.escape_sc(:F4050_P27_SECURITY_GROUP_ID),wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SYSTEM_ASSIGNED''))||''
''||wwv_flow_lang.system_message(p_name'; s:=s||'=>''PROVISION_REQUEST.DESCRIPTION'')||''''||substr(htf.escape_sc(:F4050_P27_PROJDESC),1,50)||''...
'');'||chr(10)|| ''||chr(10)|| 'htp.p(''

''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.ADMIN_INFO'')||'':

'');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p(''
''|'; s:=s||'|wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.USER_NAME'')||''''||htf.escape_sc(:F4050_P72_ADMINNAME)||''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.EMAIL'')||''''||htf.escape_sc(:F4050_P72_EMAIL)||''
'');'||chr(10)|| ''||chr(10)|| 'htp.p(''

'; s:=s||'''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SCHEMA_INFO'')||'':

'');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'if :F4050_P79_EXISTING = ''1'' then'||chr(10)|| ' htp.p('''');'||chr(10)|| 'else'||chr(10)|| ' htp.p('''');'||chr(10)|| 'end if;'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'if :F4050_P79_EXISTING = '; s:=s||'''0'' then'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' ---'||chr(10)|| ' -- Only compute the file path if OMF is not in use'||chr(10)|| ' -- '||chr(10)|| ' if l_omf = FALSE then'||chr(10)|| ' select replace(f.file_name,''\'',''/'')'||chr(10)|| ' into l_t'; s:=s||'s_path'||chr(10)|| ' from sys.dba_data_files f, sys.dba_tables t'||chr(10)|| ' where t.table_name = ''WWV_FLOWS'''||chr(10)|| ' and t.tablespace_name = f.tablespace_name'||chr(10)|| ' and rownum = 1;'||chr(10)|| ''||chr(10)|| ' <>'||chr(10)|| ' for i in reverse 1 .. length(l_ts_path) loop'||chr(10)|| ' if substr(l_ts_path,i,1) = ''/'' then'||chr(10)|| ' l_ts_path := substr(l_ts_path,1,i);'||chr(10)|| ' exit stripfilename;'||chr(10)|| ' end if;'||chr(10)|| ' end loop;'||chr(10)|| ' end if;'||chr(10)|| ' ---'||chr(10)|| ' '; s:=s||' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' if l_omf = TRUE then'||chr(10)|| ' htp.p('''');'||chr(10)|| ' else'||chr(10)|| ' htp.p('''');'||chr(10)|| ' end if;'; s:=s||''||chr(10)|| ' htp.p('''');'||chr(10)|| 'end if;'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.REUSE_SCHEMA'')||''''||wwv_flow_lang.system_message(p_name'; s:=s||'=>''PROVISION_REQUEST.YES'')||''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.NO'')||''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SCHEMA_NAME'')||''''||htf.escape_sc(:F4050_P79_SCHEMA)||''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.CREATE_TBLSPACE'')||''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.FLOW_XXX'')||''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.DATAFILE'')||''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SYSTEM_ASSIGNED'')|| ''''||l_ts_path||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.FLOW_XXX'')||''.DBF
'');'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 12009201436590500.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 73.4056, p_plug_name=> '确认请求', p_region_name=>'', p_plug_template=> 162417015526175958.4056+ 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=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: auto.provision.progress'; wwv_flow_api.create_page_plug ( p_id=> 12994410158412679.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 73.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 12048115202363924 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 13871021470658517.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 73.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 13260331814582778.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 73.4056, p_button_sequence=> 10, p_button_plug_id => 12009201436590500+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:10:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 12027721414687641.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 73.4056, p_button_sequence=> 20, p_button_plug_id => 12009201436590500+wwv_flow_api.g_id_offset, p_button_name => 'provision', p_button_image_alt=> '创建', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 12027510019687640.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 73.4056, p_button_sequence=> 10, p_button_plug_id => 12009201436590500+wwv_flow_api.g_id_offset, p_button_name => 'back', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>282434411208624614.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 73.4056, p_branch_action=> 'f?p=&APP_ID.:74:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 19-JUL-2005 12:49 by JOEL'); wwv_flow_api.create_page_branch( p_id=>12029125602692160.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 73.4056, p_branch_action=> '72', p_branch_point=> 'BEFORE_COMPUTATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>12027510019687640.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 15-DEC-2002 12:44 by MIKE'); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_p1 varchar2(256) := v(''F4050_P79_SCHEMA_PASSWORD'');'||chr(10)|| ' l_p2 varchar2(256) := v(''F4050_P72_ADMIN_PASS'');'||chr(10)|| 'begin'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P79_SCHEMA_PASSWORD'',null);'||chr(10)|| ' wwv_flow.update_cache_with_write(''F4050_P72_ADMIN_PASS'',null);'||chr(10)|| ' wwv_flow_provisioning.auto_provision_company('||chr(10)|| ' p_company_name => :F4050_P27_COMPANY,'||chr(10)|| ' p_schema_name => :F4050'; p:=p||'_P79_SCHEMA,'||chr(10)|| ' p_schema_password => l_p1,'||chr(10)|| ' p_admin_password => l_p2,'||chr(10)|| ' p_database_size => :F4050_P79_QUOTA,'||chr(10)|| ' --'||chr(10)|| ' p_admin_userid => :F4050_P72_ADMINNAME,'||chr(10)|| ' p_admin_first_name => :F4050_P72_FIRSTNAME,'||chr(10)|| ' p_admin_last_name => :F4050_P72_LASTNAME,'||chr(10)|| ' p_admin_title => :F4050_P72_TITLE,'||chr(10)|| ' p_admin_email '; p:=p||' => :F4050_P72_EMAIL,'||chr(10)|| ' --'||chr(10)|| ' p_project_description => :F4050_P27_PROJDESC,'||chr(10)|| ' p_security_group_id => :F4050_P27_SECURITY_GROUP_ID);'||chr(10)|| ''||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 12036710522324711.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 73.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'provision company', p_process_sql_clob => p, p_process_error_message=> '预配 &F4050_P27_COMPANY. 时出错。', p_process_when_button_id=>12027721414687641.4056 + wwv_flow_api.g_id_offset, p_process_when=>'wwv_flow_provisioning.reserved_schema(p_schema => upper(:F4050_P79_SCHEMA)) = false and '||chr(10)|| 'not (wwv_flow_provisioning.site_admin_is_restricted and wwv_flow_provisioning.restricted_schema(p_schema => upper(:F4050_P79_SCHEMA),p_workspace_name => :F4050_P27_COMPANY) )', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'F4050_P72_ADMIN_PASS,F4050_P79_SCHEMA_PASSWORD'; wwv_flow_api.create_page_process( p_id => 267835524796024753.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 73.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_ITEMS', p_process_name=> 'clear pw', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>12027721414687641.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 73.4056 -- begin null; end; null; end; / --application/pages/page_74.40 prompt ...PAGE 74.4056: 创建工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 74.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建工作区', p_step_title=> '创建工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>74.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'htp.p(''

''||wwv_flow_lang.system_message(''F4050_P74_PROVISION1'',htf.escape_sc(:F4050_P27_COMPANY),htf.escape_sc(:F4050_P72_ADMINNAME))||''

'');'||chr(10)|| ''||chr(10)|| 'if :F4050_P79_EXISTING = ''0'' then'||chr(10)|| ''||chr(10)|| ' for c1 in (select b.default_tablespace, a.file_name '||chr(10)|| ' from sys.dba_data_files a, sys.dba_users b'||chr(10)|| ' where b.default_tablespace = a.tablespace_name'||chr(10)|| ' and b.username = upper(:F405'; s:=s||'0_P79_SCHEMA) ) '||chr(10)|| ' loop'||chr(10)|| ' htp.p(''

''||wwv_flow_lang.system_message(''F4050_P74_PROVISION'',upper(htf.escape_sc(:F4050_P79_SCHEMA)),c1.default_tablespace,c1.file_name )||''

'');'||chr(10)|| ''||chr(10)|| ' end loop;'||chr(10)|| 'end if;'; wwv_flow_api.create_page_plug ( p_id=> 12026518199680536.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 74.4056, p_plug_name=> '工作区已创建', p_region_name=>'', p_plug_template=> 160718619893151437.4056+ 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=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '

工作区已成功预配。

'||chr(10)|| '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 13872527358660258.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 74.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 19144406840293644.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 74.4056, p_button_sequence=> 10, p_button_plug_id => 12026518199680536+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '完成', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>19144727378293649.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 74.4056, p_branch_action=> '10', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>19144406840293644.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / begin --------------------------------------- -- ...updatable report columns for page 74.4056 -- begin null; end; null; end; / --application/pages/page_75.40 prompt ...PAGE 75.4056: 清除日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 75.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '清除日志', p_step_title=> '清除日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>75.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' c pls_integer := 0;'||chr(10)|| 'begin'||chr(10)|| ' htp.p(''''); '||chr(10)|| ' if :P75_LOG_TYPE = ''SCRIPT'' then'||chr(10)|| ' select count(*) into c from wwv_flow_sw_results;'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_75_SCRIPT_FILE'')||'':'');'||chr(10)|| ' htp.p(to_char(c,''999,999,999,990'')); '||chr(10)|| ' elsif :P75_LOG_TYPE = ''HISTORY'' then'||chr(10)|| ' select count(*)'; s:=s||' into c from wwv_flow_sw_sql_cmds;'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_75_AD_HOC'')||'':'');'||chr(10)|| ' htp.p(to_char(c,''999,999,999,990'')); '||chr(10)|| ' end if;'||chr(10)|| ' htp.p(''
'');'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 23588620617408071.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 75.4056, p_plug_name=> '清除日志', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 23596509722518546.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 75.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'截断日志可删除所选日志中的所有条目。删除条目可删除存在时间长于所选天数的所有条目。'; wwv_flow_api.create_page_plug ( p_id=> 199174420727145797.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 75.4056, p_plug_name=> '清除日志', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 23590525942419157.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 75.4056, p_button_sequence=> 10, p_button_plug_id => 23588620617408071+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 23614222816410273.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 75.4056, p_button_sequence=> 20, p_button_plug_id => 23588620617408071+wwv_flow_api.g_id_offset, p_button_name => 'TRUNCATE', p_button_image_alt=> '截断日志', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 23589416938416560.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 75.4056, p_button_sequence=> 30, p_button_plug_id => 23588620617408071+wwv_flow_api.g_id_offset, p_button_name => 'Delete', p_button_image_alt=> '删除条目', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'javascript:confirmDelete(''&DELETE_MSG.'');', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>23589714883416570.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 75.4056, p_branch_action=> '75', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>23590809276419158.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 75.4056, p_branch_action=> '46', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>23590525942419157.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'删除存在时间至少为此天数的条目。'; wwv_flow_api.create_page_item( p_id=>23592027805429118.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 75.4056, p_name=>'P75_TIME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 23588620617408071.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '31', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'删除条目, 其存在的天数超过或等于:', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'TIME_INTERVALS', p_lov => '.'||to_char(87720511660244788 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>23593431183448977.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 75.4056, p_name=>'P75_LOG_TYPE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 23588620617408071.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'Log Type', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'delete from wwv_flow_sw_results '||chr(10)|| 'where started < (sysdate - nvl(:P75_TIME,31));'; wwv_flow_api.create_page_process( p_id => 23623509692409481.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 75.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete script logs', p_process_sql_clob => p, p_process_error_message=> '处理脚本文件执行日志时出错。', p_process_when_button_id=>23589416938416560.4056 + wwv_flow_api.g_id_offset, p_process_when=>'P75_LOG_TYPE', p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_process_when2=>'SCRIPT', p_process_when_type2=>'', p_process_success_message=> '脚本文件执行日志已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'delete from wwv_flow_sw_sql_cmds where created_on < (sysdate - nvl(:P75_TIME,31));'; wwv_flow_api.create_page_process( p_id => 23625811171466668.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 75.4056, p_process_sequence=> 30, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete history', p_process_sql_clob => p, p_process_error_message=> '处理 SQL 命令处理器历史记录时出错。', p_process_when_button_id=>23589416938416560.4056 + wwv_flow_api.g_id_offset, p_process_when=>'P75_LOG_TYPE', p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_process_when2=>'HISTORY', p_process_when_type2=>'', p_process_success_message=> 'SQL 命令处理器历史记录已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'delete from wwv_flow_sw_results;'||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 23628422693526797.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 75.4056, p_process_sequence=> 50, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'truncate script logs', p_process_sql_clob => p, p_process_error_message=> '截断脚本文件执行日志时出错。', p_process_when_button_id=>23614222816410273.4056 + wwv_flow_api.g_id_offset, p_process_when=>'P75_LOG_TYPE', p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_process_when2=>'SCRIPT', p_process_when_type2=>'', p_process_success_message=> '脚本文件执行日志已截断。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'execute immediate(''truncate table wwv_flow_sw_sql_cmds'');'; wwv_flow_api.create_page_process( p_id => 23630707811598252.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 75.4056, p_process_sequence=> 70, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'truncate history', p_process_sql_clob => p, p_process_error_message=> '截断 SQL 命令处理器历史记录时出错。', p_process_when_button_id=>23614222816410273.4056 + wwv_flow_api.g_id_offset, p_process_when=>'P75_LOG_TYPE', p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_process_when2=>'HISTORY', p_process_when_type2=>'', p_process_success_message=> 'SQL 命令处理器历史记录已截断。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 75.4056 -- begin null; end; null; end; / --application/pages/page_78.40 prompt ...PAGE 78.4056: 编辑工作区信息 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 78.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '编辑工作区信息', p_step_title=> '编辑工作区信息', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165711', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>78.4056,p_text=>h); 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=> 64856003162546445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 78.4056, p_plug_name=> '编辑工作区信息', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'Unable to display page region #SQLERRM#', 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 => 'VAL_OF_ITEM_IN_COND_NOT_EQ_COND2', p_plug_display_when_condition => 'P78_PROVISIONING_COMPANY_ID', p_plug_display_when_cond2=>'10', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> 'Region generated 20-JUN-2003 14:39:53'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 68454205884175473.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 78.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'警告
不能编辑内部表空间。'; wwv_flow_api.create_page_plug ( p_id=> 68662405051157913.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 78.4056, p_plug_name=> '内部工作区', p_region_name=>'', p_plug_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 30, 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_plug_display_when_condition => 'P78_PROVISIONING_COMPANY_ID', p_plug_display_when_cond2=>'10', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 64856327858546450.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_button_sequence=> 10, p_button_plug_id => 64856003162546445+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 68666010900206937.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_button_sequence=> 10, p_button_plug_id => 68662405051157913+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:14:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 64856416813546450.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_button_sequence=> 30, p_button_plug_id => 64856003162546445+wwv_flow_api.g_id_offset, p_button_name => 'SAVE', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> ':P78_ID is not null and :P78_PROVISIONING_COMPANY_ID != ''10''', p_button_condition_type=> 'PLSQL_EXPRESSION', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>64857217258546458.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 78.4056, p_branch_action=> 'f?p=&FLOW_ID.:14:&SESSION.&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 1, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Generated 20-JUN-2003 14:39:53'); wwv_flow_api.create_page_branch( p_id=>64856920957546454.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 78.4056, p_branch_action=> 'f?p=&FLOW_ID.:14:&SESSION.&success_msg=#SUCCESS_MSG#', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>64856327858546450.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 1, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Generated 20-JUN-2003 14:39:53'); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>64857525070546458.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 78.4056, p_name=>'P78_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 5, p_item_plug_id => 64856003162546445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_prompt=>'Id', p_source=>'ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'HIDDEN', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 255, p_cHeight=> null, 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_is_persistent=> 'Y', p_item_comment => 'Generated 20-JUN-2003 14:39:53'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区。'; wwv_flow_api.create_page_item( p_id=>64857823340546465.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 78.4056, p_name=>'P78_PROVISIONING_COMPANY_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 2, p_item_plug_id => 64856003162546445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区标识符:', p_source=>'PROVISIONING_COMPANY_ID', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_AND_SAVE', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => 'Generated 20-JUN-2003 14:39:53'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区名称。'; wwv_flow_api.create_page_item( p_id=>64858304246546470.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 78.4056, p_name=>'P78_SHORT_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 3, p_item_plug_id => 64856003162546445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区名称', p_source=>'SHORT_NAME', p_source_type=> 'DB_COLUMN', p_display_as=> 'TEXT', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 32, p_cMaxlength=> 255, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => 'Generated 20-JUN-2003 14:39:54'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识要预配的原始方案。'; wwv_flow_api.create_page_item( p_id=>64858932679546471.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 78.4056, p_name=>'P78_FIRST_SCHEMA_PROVISIONED', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 4, p_item_plug_id => 64856003162546445.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'第一个预配方案', p_source=>'FIRST_SCHEMA_PROVISIONED', p_source_type=> 'DB_COLUMN', p_display_as=> 'DISPLAY_AND_SAVE', p_lov_columns=> null, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 31, p_cMaxlength=> 255, p_cHeight=> 1, p_tag_attributes => 'class="fielddatabold"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => 'Generated 20-JUN-2003 14:39:54'); end; / begin wwv_flow_api.create_page_computation( p_id=> 64863709969555108.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 78.4056, p_computation_sequence => 10, p_computation_item=> 'P78_ID', p_computation_point=> 'BEFORE_HEADER', p_computation_type=> 'QUERY', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'select id from wwv_flow_companies where provisioning_company_id = :P78_PROVISIONING_COMPANY_ID', p_compute_when => '', p_compute_when_type=>'%null%'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 64858201225546468.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_validation_name => 'P78_PROVISIONING_COMPANY_ID not null', p_validation_sequence=> 2, p_validation => 'P78_PROVISIONING_COMPANY_ID', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定预配工作区。', p_associated_item=> 64857823340546465.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 64858728443546471.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_validation_name => 'P78_SHORT_NAME not null', p_validation_sequence=> 3, p_validation => 'P78_SHORT_NAME', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定短名称。', p_associated_item=> 64858304246546470.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 64859332313546472.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_validation_name => 'P78_FIRST_SCHEMA_PROVISIONED not null', p_validation_sequence=> 4, p_validation => 'P78_FIRST_SCHEMA_PROVISIONED', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定第一个预配方案。', p_associated_item=> 64858932679546471.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 111447707426965624.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_validation_name => 'Invalid characters in workspace name', p_validation_sequence=> 40, p_validation => 'P78_SHORT_NAME', p_validation2 => '<>', p_validation_type => 'ITEM_IN_VALIDATION_CONTAINS_NO_CHAR_IN_STRING2', p_error_message => '工作区名称无效。', p_when_button_pressed=> 64856416813546450.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 64858304246546470.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_COMPANIES:P78_ID:ID'; wwv_flow_api.create_page_process( p_id => 64859623535546474.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_HEADER', p_process_type=> 'DML_FETCH_ROW', p_process_name=> 'Fetch Row from WWV_FLOW_COMPANIES', p_process_sql_clob => p, p_process_error_message=> '提取行时出错。', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>'Generated 20-JUN-2003 14:39:54'); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_COMPANIES:P78_ID:ID|U'; wwv_flow_api.create_page_process( p_id => 64859916890546475.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 78.4056, p_process_sequence=> 1, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'DML_PROCESS_ROW', p_process_name=> 'Process Row of WWV_FLOW_COMPANIES', p_process_sql_clob => p, p_process_error_message=> '处理表 WWV_FLOW_COMPANIES 的行时出错。', p_process_success_message=> '操作已处理。', p_process_is_stateful_y_n=>'N', p_process_comment=>'Generated 20-JUN-2003 14:39:54'); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 78.4056 -- begin null; end; null; end; / --application/pages/page_79.40 prompt ...PAGE 79.4056: 创建工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_create_wkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 79.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '创建工作区', p_step_title=> '创建工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165712', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>79.4056,p_text=>h); 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=> 12534431790828540.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 79.4056, p_plug_name=> '创建 &COMPANY_NAME.', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '

选择方案是否已存在。如果方案存在, 请从列表中选择方案。如果方案不存在, 则输入名称和口令, 然后选择要创建的关联表空间的大小。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: auto.provision.progress'; wwv_flow_api.create_page_plug ( p_id=> 12661715260239327.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 79.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 12048115202363924 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 13873901169662162.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 79.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':F4050_P79_SCHEMA_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32845704425549915.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 79.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 12557314353889752.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_button_sequence=> 10, p_button_plug_id => 12534431790828540+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_button_sequence=> 10, p_button_plug_id => 12534431790828540+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 12562912752898723.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_button_sequence=> 10, p_button_plug_id => 12534431790828540+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>12557622294889762.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_branch_action=> '10', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>12557314353889752.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>12559510217895312.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_branch_action=> '72', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>12559200978895311.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>12563202884898724.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_branch_action=> '27', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>12562912752898723.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'如果要重用现有方案, 请从列表中选择此方案。如果要创建新方案, 请在此处输入名称。'; wwv_flow_api.create_page_item( p_id=>12536920970844342.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_name=>'F4050_P79_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 12534431790828540.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'方案名', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'POPUP', p_named_lov=> 'LIST_ALL_DATABASE_SCHEMAS', p_lov => 'declare q varchar2(32767);'||chr(10)|| ' l_flows_schema varchar2(30) := wwv_flow.g_flow_schema_owner;'||chr(10)|| 'begin'||chr(10)|| ' q := ''select name n, name r from sys.user$ u where type#=1 and name <> ''''''||l_flows_schema||'''''' and name not in (''''HTMLDB_PUBLIC_USER'''',''''PUBLIC_USER'''',''''FLOWS_FILES'''',''''SCHEDULER'''',''''PEOPLE'''',''''APEX_PUBLIC_USER'''')'';'||chr(10)|| ' q := q||'' and name not in (select schema from wwv_flow_restricted_schemas where not exists (select 1 from wwv_flow_rschema_exceptions where schema_id = (select id from wwv_flow_restricted_schemas where schema = u.name))) '';'||chr(10)|| ' q := q ||'' order by 1'';'||chr(10)|| ' return q;'||chr(10)|| 'end;', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入方案的口令。只有在创建新方案时才需要口令。'; wwv_flow_api.create_page_item( p_id=>12541530105856426.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_name=>'F4050_P79_SCHEMA_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 12534431790828540.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'方案口令', p_source_type=> 'STATIC', p_display_as=> 'PASSWORD', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_encrypt_session_state_yn=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'如果要创建新方案, 请选择要与该方案关联的表空间的最大大小。您可以在以后调整此限制。'; wwv_flow_api.create_page_item( p_id=>12543318462862552.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_name=>'F4050_P79_QUOTA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 12534431790828540.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'declare'||chr(10)|| ' l_default number;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select req_size'||chr(10)|| ' from wwv_flow_workspace_req_size'||chr(10)|| ' where request_type = ''C'''||chr(10)|| ' and default_size = ''Y'') loop'||chr(10)|| ' l_default := c1.req_size;'||chr(10)|| ' exit;'||chr(10)|| ' end loop;'||chr(10)|| ' return l_default;'||chr(10)|| 'end;', p_item_default_type => 'PLSQL_FUNCTION_BODY', p_prompt=>'空间限额 (MB)', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'COMBOBOX', p_lov => 'select req_size d, req_size r'||chr(10)|| ' from wwv_flow_workspace_req_size'||chr(10)|| ' where request_type = ''C'''||chr(10)|| 'order by to_number(req_size)'||chr(10)|| '', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'指示此工作区最初是使用现有数据库方案, 还是创建新方案。'; wwv_flow_api.create_page_item( p_id=>12579427045959576.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_name=>'F4050_P79_EXISTING', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 5, p_item_plug_id => 12534431790828540.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '0', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'是否重用现有方案?', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES.NO.RETURNS.1_OR_0', p_lov => '.'||to_char(87817312158083090 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'onChange="javascript:disableItems(''document.getElementById(\''F4050_P79_EXISTING\'').value==\''1\'''',''F4050_P79_SCHEMA_PASSWORD'',''F4050_P79_QUOTA'');"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>12725021054534353.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_name=>'P79_JAVASCRIPT', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 12534431790828540.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source=>'', p_source_type=> 'STATIC', p_display_as=> 'DISPLAY_ONLY_HTML', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 114756701339208327.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 79.4056, p_computation_sequence => 10, p_computation_item=> 'F4050_P79_SCHEMA', p_computation_point=> 'AFTER_SUBMIT', p_computation_type=> 'PLSQL_EXPRESSION', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> 'upper(:F4050_P79_SCHEMA)', p_compute_when => 'F4050_P79_SCHEMA', p_compute_when_type=>'ITEM_IS_NOT_NULL'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 12903312985817444.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'schema name is valid', p_validation_sequence=> 10, p_validation => 'wwv_flow_utilities.is_valid_identifier(p_identifier=>:F4050_P79_SCHEMA,p_quote=>true)', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '方案名必须为有效的 Oracle 标识符。', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 12907532640841968.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'check if schema exists', p_validation_sequence=> 10, p_validation => 'select null'||chr(10)|| ' from sys.dba_users'||chr(10)|| ' where username = upper(:F4050_P79_SCHEMA)', p_validation_type => 'EXISTS', p_error_message => '方案不存在。', p_validation_condition=> ':F4050_P79_EXISTING = ''1'' and :F4050_P79_SCHEMA is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12536920970844342.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 12920702259889987.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'password required', p_validation_sequence=> 10, p_validation => 'F4050_P79_SCHEMA_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定口令。', p_validation_condition=> ':F4050_P79_EXISTING = ''0''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12541530105856426.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 12941526463944301.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'quota not 0', p_validation_sequence=> 10, p_validation => 'F4050_P79_QUOTA', p_validation_type => 'ITEM_NOT_ZERO', p_error_message => '必须指定限额。', p_validation_condition=> ':F4050_P79_EXISTING = ''0''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12543318462862552.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 13051609305876166.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'check if schema doesn''t exist', p_validation_sequence=> 10, p_validation => 'select null'||chr(10)|| ' from sys.dba_users'||chr(10)|| ' where username = upper(:F4050_P79_SCHEMA)', p_validation_type => 'NOT_EXISTS', p_error_message => '方案已存在。', p_validation_condition=> ':F4050_P79_EXISTING = ''0'' and :F4050_P79_SCHEMA is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12536920970844342.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 68152924708064446.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'check existing schema not internal', p_validation_sequence=> 10, p_validation => 'select null'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where provisioning_company_id = 10'||chr(10)|| ' and first_schema_provisioned = upper(:F4050_P79_SCHEMA)', p_validation_type => 'NOT_EXISTS', p_error_message => '不能使用 INTERNAL 方案。', p_validation_condition=> ':F4050_P79_EXISTING = ''1'' and :F4050_P79_SCHEMA is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 114752711027135415.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'schema not reserved/restricted', p_validation_sequence=> 20, p_validation => 'wwv_flow_provisioning.reserved_schema(p_schema => :F4050_P79_SCHEMA) = false and '||chr(10)|| 'not (wwv_flow_provisioning.site_admin_is_restricted and wwv_flow_provisioning.restricted_schema(p_schema => :F4050_P79_SCHEMA,'||chr(10)|| ' p_workspace_name => :F4050_P27_COMPANY) )', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '保留或限制方案', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 56740204823780291.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 79.4056, p_validation_name => 'password format rules', p_validation_sequence=> 30, p_validation => 'if :F4050_P79_SCHEMA_PASSWORD is null then'||chr(10)|| ' return true; -- handled by earlier validation'||chr(10)|| 'end if;'||chr(10)|| 'if length(:F4050_P79_SCHEMA_PASSWORD) > 30 then'||chr(10)|| ' return false;'||chr(10)|| 'end if;'||chr(10)|| 'for i in 1..length(:F4050_P79_SCHEMA_PASSWORD) loop'||chr(10)|| ' if ascii(substr(:F4050_P79_SCHEMA_PASSWORD,i,1)) > 127 or'||chr(10)|| ' ascii(substr(:F4050_P79_SCHEMA_PASSWORD,i,1)) = 0 or'||chr(10)|| ' ascii(substr(:F4050_P79_SCHEMA_PASSWORD,i,1)) = 34 then'||chr(10)|| ' return false;'||chr(10)|| ' end if;'||chr(10)|| 'end loop;'||chr(10)|| 'return true;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '方案口令不能超过 30 个字符, 并且必须完全由 ASCII 码十进制的 1 到 33 和 35 到 127 之间的数字组成。', p_validation_condition=> ':F4050_P79_EXISTING = ''0''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 12559200978895311.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 12541530105856426.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 79.4056 -- begin null; end; null; end; / --application/pages/page_81.40 prompt ...PAGE 81.4056: 删除工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 81.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '删除工作区', p_step_title=> '删除工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165712', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>81.4056,p_text=>h); 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=> 14594219371324854.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 81.4056, p_plug_name=> '选择工作区', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 14690326979191615.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 81.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: company.admin.remove'; wwv_flow_api.create_page_plug ( p_id=> 14913329255048880.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 81.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 14571819699173520 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 14602029470431848.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 81.4056, p_button_sequence=> 10, p_button_plug_id => 14594219371324854+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 14602914018436860.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 81.4056, p_button_sequence=> 10, p_button_plug_id => 14594219371324854+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>14602323502431864.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 81.4056, p_branch_action=> '3', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>14602029470431848.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>14603212719436863.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 81.4056, p_branch_action=> '82', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_branch_condition_type=> 'PLSQL_EXPRESSION', p_branch_condition=> 'nvl(:REQUEST,''NEXT'') = ''NEXT''', p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'从列表中选择工作区。'; wwv_flow_api.create_page_item( p_id=>14614023639074072.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 81.4056, p_name=>'P81_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 14594219371324854.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST.WORKSPACES', p_lov => 'select short_name d, short_name v'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where (provisioning_company_id not in (0,10,11))'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>14614600006086241.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 81.4056, p_name=>'P81_SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 14594219371324854.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'Sgid', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 14617300446143134.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 81.4056, p_validation_name => 'valid company', p_validation_sequence=> 10, p_validation => 'declare'||chr(10)|| ' l_sgid number;'||chr(10)|| 'begin'||chr(10)|| 'for c1 in (select provisioning_company_id'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where short_name = upper(:P81_COMPANY) ) loop'||chr(10)|| ' l_sgid := c1.provisioning_company_id;'||chr(10)|| ' exit;'||chr(10)|| 'end loop;'||chr(10)|| ':P81_SGID := l_sgid;'||chr(10)|| 'return nvl(:P81_SGID,''0'') not in (''0'',''10'');'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '工作区无效。', p_validation_condition=> 'nvl(:REQUEST,''NEXT'') = ''NEXT''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 81.4056 -- begin null; end; null; end; / --application/pages/page_82.40 prompt ...PAGE 82.4056: 删除工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 82.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '删除工作区', p_step_title=> '删除工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165712', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>82.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' l_cc number;'||chr(10)|| ' l_uc number;'||chr(10)|| 'begin'||chr(10)|| ' select count(*)'||chr(10)|| ' into l_cc'||chr(10)|| ' from wwv_flows'||chr(10)|| ' where security_group_id = :P81_SGID;'||chr(10)|| ' --'||chr(10)|| ' select count(*)'||chr(10)|| ' into l_uc'||chr(10)|| ' from wwv_flow_fnd_user'||chr(10)|| ' where security_group_id = :P81_SGID;'||chr(10)|| ' --'||chr(10)|| ' htp.p(''

''||wwv_flow_lang.system_message(''4050_82_WORKSPACE'',null,htf.escape_sc(:P81_COMPANY),l_cc,l_uc)||''

'');'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 14593705173320764.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 82.4056, p_plug_name=> '应用程序和用户', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_header=> '请注意 &P81_COMPANY. 中应用程序和用户的数量。选择是否要继续操作, 以及是否要删除请求。', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 14691911526196572.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 82.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: company.admin.remove'; wwv_flow_api.create_page_plug ( p_id=> 14914429863067996.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 82.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 14571819699173520 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 14603914495446450.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 82.4056, p_button_sequence=> 10, p_button_plug_id => 14593705173320764+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 14604824538449331.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 82.4056, p_button_sequence=> 10, p_button_plug_id => 14593705173320764+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 14605700081451745.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 82.4056, p_button_sequence=> 10, p_button_plug_id => 14593705173320764+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>14604224784446451.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 82.4056, p_branch_action=> '3', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>14603914495446450.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>14605118530449332.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 82.4056, p_branch_action=> '83', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>14604824538449331.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>14606013354451746.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 82.4056, p_branch_action=> '81', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>14605700081451745.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'确认您要继续删除此工作区。'; wwv_flow_api.create_page_item( p_id=>14923621870188674.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 82.4056, p_name=>'P82_PROCEED', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 14593705173320764.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'CHECKBOX', p_named_lov=> 'CONFIRM.REMOVAL', p_lov => '.'||to_char(87818332243088870 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="instructiontext"', 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识您是否还将删除相关工作区的请求。'; wwv_flow_api.create_page_item( p_id=>14924614036195964.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 82.4056, p_name=>'P82_REQUEST', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 14593705173320764.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Yes', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source=>'Yes', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="instructiontext"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 14931826737341549.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 82.4056, p_validation_name => 'must check proceed', p_validation_sequence=> 10, p_validation => 'nvl(:P82_PROCEED,''No'') = ''Yes''', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '必须先检查才能继续执行。', p_when_button_pressed=> 14604824538449331.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 14923621870188674.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 82.4056 -- begin null; end; null; end; / --application/pages/page_83.40 prompt ...PAGE 83.4056: 删除工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 83.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '删除工作区', p_step_title=> '删除工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165712', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>83.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select a.name user_name, b.name tblspc_name'||chr(10)|| ' from sys.user$ a, sys.ts$ b, sys.seg$ c'||chr(10)|| ' where a.user# = c.user#'||chr(10)|| ' and b.ts# = c.ts#'||chr(10)|| ' and exists (select null '||chr(10)|| ' from wwv_flow_company_schemas'||chr(10)|| ' where schema = a.name'||chr(10)|| ' and security_group_id = :P81_SGID)'||chr(10)|| 'group by a.name, b.name'; wwv_flow_api.create_report_region ( p_id=> 14593004003310937.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 83.4056, p_name=> '数据库对象', p_region_name=>'', p_template=> 162417015526175958.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_header=> '

您可能希望使用首选的数据库管理工具来删除下列与工作区关联的数据库对象。单击“删除”按钮并不会从数据库中删除这些对象。

', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '1', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_break_type_flag=> 'DEFAULT_BREAK_FORMATTING', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48758313236772048.4056 + wwv_flow_api.g_id_offset, p_region_id=> 14593004003310937.4056 + 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=> 'USER_NAME', p_column_display_sequence=> 1, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_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=> 48758414533772048.4056 + wwv_flow_api.g_id_offset, p_region_id=> 14593004003310937.4056 + 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=> 'TBLSPC_NAME', p_column_display_sequence=> 2, p_column_heading=> '表空间', p_column_alignment=>'LEFT', p_heading_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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 14693320877199351.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 83.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: company.admin.remove'; wwv_flow_api.create_page_plug ( p_id=> 14917018912074297.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 83.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 14571819699173520 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select a.default_tablespace, a.username'||chr(10)|| ' from sys.dba_users a'||chr(10)|| ' where default_tablespace in (select default_tablespace '||chr(10)|| ' from sys.dba_users'||chr(10)|| ' where username in (select schema '||chr(10)|| ' from wwv_flow_company_schemas d'||chr(10)|| ' where d.security_group_id = :P81_SGID))'||chr(10)|| 'group by a.username, a.default_tablespace'; wwv_flow_api.create_report_region ( p_id=> 15181710710380687.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 83.4056, p_name=> '使用上述表空间的其他方案', p_region_name=>'', p_template=> 162426626171243866.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 30, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '500', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '1', p_query_no_data_found=> '

使用上述表空间未找到其他方案。', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_break_type_flag=> 'DEFAULT_BREAK_FORMATTING', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 27281122243677013.4056 + wwv_flow_api.g_id_offset, p_region_id=> 15181710710380687.4056 + 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=> 'DEFAULT_TABLESPACE', p_column_display_sequence=> 1, p_column_heading=> '表空间', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 27281231350677018.4056 + wwv_flow_api.g_id_offset, p_region_id=> 15181710710380687.4056 + 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=> 'USERNAME', p_column_display_sequence=> 2, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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; l_clob clob; l_length number := 1; begin s:=s||'

阅读此页上有关报表的信息。使用此信息决定是否使用数据库管理工具来删除与工作区关联的数据库对象。单击删除工作区可删除工作区。

'; wwv_flow_api.create_page_plug ( p_id=> 19230510658720488.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 83.4056, p_plug_name=> '数据库对象', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 14606702898020828.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 83.4056, p_button_sequence=> 10, p_button_plug_id => 14593004003310937+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 14608612726033126.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 83.4056, p_button_sequence=> 10, p_button_plug_id => 14593004003310937+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '删除工作区', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 14607701644029883.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 83.4056, p_button_sequence=> 10, p_button_plug_id => 14593004003310937+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>14607015917020918.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 83.4056, p_branch_action=> '3', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>14606702898020828.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>14608029060029885.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 83.4056, p_branch_action=> '82', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>14607701644029883.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>14608922159033128.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 83.4056, p_branch_action=> '84', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>14608612726033126.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_provisioning.terminate_service_by_sgid(:P81_SGID);'||chr(10)|| 'if :P82_REQUEST = ''Yes'' then'||chr(10)|| ' for c1 in (select id'||chr(10)|| ' from wwv_flow_provision_company'||chr(10)|| ' where security_group_id = :P81_SGID ) loop'||chr(10)|| ' wwv_flow_provisioning.delete_provision_request(c1.id);'||chr(10)|| ' exit;'||chr(10)|| ' end loop;'||chr(10)|| 'end if;'; wwv_flow_api.create_page_process( p_id => 15237905291663011.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 83.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'remove company', p_process_sql_clob => p, p_process_error_message=> '删除工作区时出错。', p_process_when_button_id=>14608612726033126.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '工作区已删除', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 83.4056 -- begin null; end; null; end; / --application/pages/page_84.40 prompt ...PAGE 84.4056: 删除工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 84.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '删除工作区', p_step_title=> '删除工作区', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165712', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>84.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||' '; wwv_flow_api.create_page_plug ( p_id=> 14592527767308349.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 84.4056, p_plug_name=> '成功', p_region_name=>'', p_plug_template=> 160718619893151437.4056+ 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 14694730919202177.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 84.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 19257111051749035.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 84.4056, p_button_sequence=> 10, p_button_plug_id => 14592527767308349+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '返回到内部管理', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>19257428301749040.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 84.4056, p_branch_action=> '3', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>19257111051749035.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / begin --------------------------------------- -- ...updatable report columns for page 84.4056 -- begin null; end; null; end; / --application/pages/page_85.40 prompt ...PAGE 85.4056: 管理点击计数日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_logs.htm'; ph := null; wwv_flow_api.create_page( p_id => 85.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '管理点击计数日志', p_step_title=> '管理点击计数日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216783731365642767+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165712', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>85.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'declare'||chr(10)|| ' c_dev pls_integer := 0;'||chr(10)|| ''||chr(10)|| 'begin'||chr(10)|| ' htp.p('''');'||chr(10)|| ' -- wwv_flow_builder_audit_trail '||chr(10)|| ' select count(*) into c_dev from wwv_flow_clickthru_log_v;'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''4050_85_CLICK_COUNT'')||'''');'||chr(10)|| ' htp.p(to_char(c_dev,''999,999,999,990''));'||chr(10)|| ' htp.p(''
'')'; s:=s||';'||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 64963723000904073.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 85.4056, p_plug_name=> '删除点击计数日志条目', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 64964001715904079.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 85.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 64964329194904080.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 85.4056, p_button_sequence=> 10, p_button_plug_id => 64963723000904073+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:68:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 64964604942904082.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 85.4056, p_button_sequence=> 10, p_button_plug_id => 64963723000904073+wwv_flow_api.g_id_offset, p_button_name => 'DELETE_ENTRIES', p_button_image_alt=> '删除条目', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>64965617138904089.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 85.4056, p_branch_action=> '85', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>64964604942904082.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'清除存在时间大于此天数的条目。'; wwv_flow_api.create_page_item( p_id=>64964910248904083.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 85.4056, p_name=>'P85_TIME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 64963723000904073.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'删除条目, 其存在的天数超过或等于:', p_source=>'31', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'TIME_INTERVALS', p_lov => '.'||to_char(87720511660244788 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'delete from wwv_flow_clickthru_log$'||chr(10)|| 'where clickdate < (sysdate - nvl(:p85_time,31));'||chr(10)|| 'delete from wwv_flow_clickthru_log2$'||chr(10)|| 'where clickdate < (sysdate - nvl(:p85_time,31));'; wwv_flow_api.create_page_process( p_id => 64965310351904088.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 85.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'delete rows', p_process_sql_clob => p, p_process_error_message=> '清除点击计数日志时出错。', p_process_when_button_id=>64964604942904082.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '点击计数日志已清除。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 85.4056 -- begin null; end; null; end; / --application/pages/page_88.40 prompt ...PAGE 88.4056: 工作区表空间使用情况详细资料 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph := null; wwv_flow_api.create_page( p_id => 88.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '工作区表空间使用情况详细资料', p_step_title=> '工作区表空间使用情况详细资料', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 20939016234587158.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165712', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>88.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||' select name, bytes, bytes-free used, free, (bytes-free)/bytes*100 pct_used from'||chr(10)|| '(select t.tablespace_name name,'||chr(10)|| ' ( select sum(user_blocks * t.block_size)'||chr(10)|| ' from sys.dba_data_files'||chr(10)|| ' where tablespace_name = t.tablespace_name ) bytes,'||chr(10)|| ' ( select sum(bytes)'||chr(10)|| ' from sys.dba_free_space'||chr(10)|| ' where tablespace_name = t.tablespace_name ) free'||chr(10)|| ' from sys.d'; s:=s||'ba_tablespaces t'||chr(10)|| ' where tablespace_name in (select default_tablespace'||chr(10)|| ' from sys.dba_users where username in (select schema from wwv_flow_company_schemas'||chr(10)|| ' where security_group_id= :P88_SGID )))'||chr(10)|| ' order by 1'; wwv_flow_api.create_report_region ( p_id=> 20473405904587601.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 88.4056, p_name=> '工作区表空间使用情况', p_region_name=>'', p_template=> 75821319588166981.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48758714618772055.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20473405904587601.4056 + 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=> 'NAME', p_column_display_sequence=> 1, p_column_heading=> '表空间名', p_column_alignment=>'LEFT', p_heading_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=> 48758816637772055.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20473405904587601.4056 + 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=> 'BYTES', p_column_display_sequence=> 2, p_column_heading=> '字节', p_column_format=> '999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48758922966772055.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20473405904587601.4056 + 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=> 'USED', p_column_display_sequence=> 3, p_column_heading=> '使用量', p_column_format=> '999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48759019303772055.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20473405904587601.4056 + 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=> 'FREE', p_column_display_sequence=> 4, p_column_heading=> '空闲量', p_column_format=> '999G999G999G999G990', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48759100469772055.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20473405904587601.4056 + 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=> 'PCT_USED', p_column_display_sequence=> 5, p_column_heading=> '已用百分比', p_column_format=> '999D99', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / begin null; end; / begin null; end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>20474119756591606.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 88.4056, p_name=>'P88_SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 20473405904587601.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'Sgid', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / begin --------------------------------------- -- ...updatable report columns for page 88.4056 -- begin null; end; null; end; / --application/pages/page_89.40 prompt ...PAGE 89.4056: 锁定工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc_lock.htm'; ph := null; wwv_flow_api.create_page( p_id => 89.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '锁定工作区', p_step_title=> '锁定工作区', p_step_sub_title => 'Lock Workspace', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>89.4056,p_text=>h); 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=> 74652808599025380.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 89.4056, p_plug_name=> '选择工作区', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 74653414909025410.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 89.4056, p_plug_name=> 'Lock Workspace', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

“锁定工作区”将锁定工作区中的所有工作区管理员, 开发者和用户的帐户。“锁定工作区”还会将工作区中的所有应用程序的状态更改为不可用。'; wwv_flow_api.create_page_plug ( p_id=> 85915716857846509.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 89.4056, p_plug_name=> '锁定工作区', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 74653918545025411.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 89.4056, p_button_sequence=> 10, p_button_plug_id => 74652808599025380+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:10:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 74654109803025411.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 89.4056, p_button_sequence=> 10, p_button_plug_id => 74652808599025380+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>74655525602025412.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 89.4056, p_branch_action=> '90', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_branch_condition_type=> 'PLSQL_EXPRESSION', p_branch_condition=> 'nvl(:REQUEST,''NEXT'') = ''NEXT''', p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入工作区的名称, 或从弹出式列表中选择一个工作区。'; wwv_flow_api.create_page_item( p_id=>74654301592025411.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 89.4056, p_name=>'P89_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 74652808599025380.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST.WORKSPACES', p_lov => 'select short_name d, short_name v'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where (provisioning_company_id not in (0,10,11))'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>74654819424025411.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 89.4056, p_name=>'P89_SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 74652808599025380.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'Workspace ID', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 74655127973025412.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 89.4056, p_validation_name => 'valid company', p_validation_sequence=> 10, p_validation => 'declare'||chr(10)|| ' l_sgid number;'||chr(10)|| 'begin'||chr(10)|| 'for c1 in (select provisioning_company_id'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where short_name = upper(:P89_COMPANY) ) loop'||chr(10)|| ' l_sgid := c1.provisioning_company_id;'||chr(10)|| ' exit;'||chr(10)|| 'end loop;'||chr(10)|| ':P89_SGID := l_sgid;'||chr(10)|| 'return nvl(:P89_SGID,''0'') not in (''0'',''10'');'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '工作区无效。', p_validation_condition=> 'nvl(:REQUEST,''NEXT'') = ''NEXT''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 74654301592025411.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 89.4056 -- begin null; end; null; end; / --application/pages/page_90.40 prompt ...PAGE 90.4056: 锁定工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc_lock.htm'; ph := null; wwv_flow_api.create_page( p_id => 90.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '锁定工作区', p_step_title=> '锁定工作区', p_step_sub_title => 'Lock Workspace', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>90.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

“锁定工作区”将锁定工作区中的所有工作区管理员, 开发者和用户帐户。“锁定工作区”还会将工作区中的所有应用程序的状态更改为“不可用”。'; wwv_flow_api.create_page_plug ( p_id=> 74669328104071891.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 90.4056, p_plug_name=> '锁定工作区', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 74669513489071892.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 90.4056, p_plug_name=> 'Lock Workspace', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 85653808387907448.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 90.4056, p_plug_name=> '锁定工作区', p_region_name=>'', p_plug_template=> 162417015526175958.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 5, 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select id, name, owner, flow_status'||chr(10)|| ' from wwv_flows'||chr(10)|| ' where security_group_id = :P90_SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 85674623437148366.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 90.4056, p_name=> '应用程序', p_region_name=>'', p_template=> 159419508372158325.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 50, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '5000', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_no_data_found=> '在工作区中找不到应用程序。', p_query_num_rows_type=> '0', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 85675011809148369.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85674623437148366.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> 'ID', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 85674820363148369.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85674623437148366.4056 + 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=> 'NAME', p_column_display_sequence=> 2, p_column_heading=> '名称', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', 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=> 85674919778148369.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85674623437148366.4056 + 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=> 'OWNER', p_column_display_sequence=> 3, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', 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=> 85780729736329933.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85674623437148366.4056 + 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=> 'FLOW_STATUS', p_column_display_sequence=> 4, p_column_heading=> '状态', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>85746300886317667 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select user_name, default_schema, email_address, nvl(account_locked,''N'') account_locked'||chr(10)|| ' from wwv_flow_fnd_user'||chr(10)|| ' where security_group_id = :P90_SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 85676332095150788.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 90.4056, p_name=> '&PRODUCT_NAME. 用户', p_region_name=>'', p_template=> 159419508372158325.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 60, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '5000', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_no_data_found=> '未找到用户。', p_query_num_rows_type=> '0', p_query_row_count_max=> '5000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 85676514972150788.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85676332095150788.4056 + 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=> 'USER_NAME', p_column_display_sequence=> 1, p_column_heading=> '用户', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', 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=> 85676628931150788.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85676332095150788.4056 + 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=> 'DEFAULT_SCHEMA', p_column_display_sequence=> 2, p_column_heading=> '默认方案', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', 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=> 85676726660150788.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85676332095150788.4056 + 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=> 'EMAIL_ADDRESS', p_column_display_sequence=> 3, p_column_heading=> '电子邮件', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', 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=> 85689614658212069.4056 + wwv_flow_api.g_id_offset, p_region_id=> 85676332095150788.4056 + 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=> 'ACCOUNT_LOCKED', p_column_display_sequence=> 4, p_column_heading=> '帐户可用性', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>12506800188785204 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / begin wwv_flow_api.create_page_button( p_id => 74670021900071892.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 90.4056, p_button_sequence=> 10, p_button_plug_id => 85653808387907448+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:10:&SESSION.::&DEBUG.:::', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 74670217088071892.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 90.4056, p_button_sequence=> 10, p_button_plug_id => 85653808387907448+wwv_flow_api.g_id_offset, p_button_name => 'LOCK', p_button_image_alt=> '锁定工作区', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 74670426220071893.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 90.4056, p_button_sequence=> 10, p_button_plug_id => 85653808387907448+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>74671131723071894.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 90.4056, p_branch_action=> '89', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>74670426220071893.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>85925801975917954.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 90.4056, p_branch_action=> 'f?p=&APP_ID.:10:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>74670217088071892.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 26-JAN-2007 08:22 by JOEL'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要锁定的工作区的名称。'; wwv_flow_api.create_page_item( p_id=>85656725141921763.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 90.4056, p_name=>'P90_SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 85653808387907448.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区:', p_source=>'P89_SGID', p_source_type=> 'ITEM', p_display_as=> 'DISPLAY_AND_SAVE_LOV', p_named_lov=> 'LIST_ALL_COMPANIES_NO_NULL_OPTION', p_lov => 'select short_name||'' (''||PROVISIONING_COMPANY_ID||'')'' d,'||chr(10)|| ' PROVISIONING_COMPANY_ID r'||chr(10)|| 'from WWV_FLOW_COMPANIES'||chr(10)|| 'where provisioning_company_id > 0'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes => 'class="fielddatabold" ', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'if nvl(:P89_SGID,''0'') not in (''0'',''10'') then'||chr(10)|| ' wwv_flow_admin_api.lock_workspace( p_security_group_id => :P89_SGID );'||chr(10)|| ' commit;'||chr(10)|| 'end if;'; wwv_flow_api.create_page_process( p_id => 74670619125071893.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 90.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'lock workspace', p_process_sql_clob => p, p_process_error_message=> '锁定工作区时出错。', p_process_when_button_id=>74670217088071892.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '工作区已锁定。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 90.4056 -- begin null; end; null; end; / --application/pages/page_100.4 prompt ...PAGE 100.4056: 已安装翻译 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_transl.htm'; ph := null; wwv_flow_api.create_page( p_id => 100.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '已安装翻译', p_step_title=> '已安装翻译', p_step_sub_title => 'Translations', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'AUTO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_help_text => ' ', p_html_page_header => '', p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>100.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select ''en'' l, nvl((select ''Y'' from wwv_flows where id = 4000),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''es'' l, nvl((select ''Y'' from wwv_flows where id = 4001),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''fr'' l, nvl((select ''Y'' from wwv_flows where id = 4002),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''de'' l, nvl((select ''Y'' from wwv_flows where id = 4003),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''it'' l, nvl((select ''Y'' from wwv_'; s:=s||'flows where id = 4004),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''pt-br'' l, nvl((select ''Y'' from wwv_flows where id = 4005),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''zh-cn'' l, nvl((select ''Y'' from wwv_flows where id = 4006),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''zh-tw'' l, nvl((select ''Y'' from wwv_flows where id = 4007),''N'') t from dual'||chr(10)|| 'union all'||chr(10)|| 'select ''ko'' l, nvl((select ''Y'' from wwv_flows where id = 4008),''N'') t f'; s:=s||'rom dual'||chr(10)|| 'union all'||chr(10)|| 'select ''ja'' l, nvl((select ''Y'' from wwv_flows where id = 4009),''N'') t from dual'; wwv_flow_api.create_report_region ( p_id=> 133331505031312990.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 100.4056, p_name=> 'Translations', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 10, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '500', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', 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=> 133331828742313002.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133331505031312990.4056 + 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=> 'L', p_column_display_sequence=> 1, p_column_heading=> '语言', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', 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=> 133331926110313002.4056 + wwv_flow_api.g_id_offset, p_region_id=> 133331505031312990.4056 + 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=> 'T', p_column_display_sequence=> 2, p_column_heading=> '加载的翻译', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>157992123774592395 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 133335919474336720.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 100.4056, p_plug_name=> 'Breadcrumb', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin null; end; / begin null; end; / begin --------------------------------------- -- ...updatable report columns for page 100.4056 -- begin null; end; null; end; / --application/pages/page_105.4 prompt ...PAGE 105.4056: 添加方案 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_schema_assign.htm'; ph := null; wwv_flow_api.create_page( p_id => 105.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '添加方案', p_step_title=> '添加方案', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>105.4056,p_text=>h); 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=> 18707931422356386.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 105.4056, p_plug_name=> '新方案或现有方案', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'Menu: internal.admin.menu'; wwv_flow_api.create_page_plug ( p_id=> 18713516671437328.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 105.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: company.admin.schema'; wwv_flow_api.create_page_plug ( p_id=> 18714129138440964.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 105.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 18701007817245520 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

指定是添加现有方案, 还是添加新的方案到工作区映射。选择新方案将创建数据库用户。请单击下一步可继续操作。

'; wwv_flow_api.create_page_plug ( p_id=> 19062129715751379.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 105.4056, p_plug_name=> '方案', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 18708408351359249.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 105.4056, p_button_sequence=> 10, p_button_plug_id => 18707931422356386+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 18712526930430865.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 105.4056, p_button_sequence=> 10, p_button_plug_id => 18707931422356386+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>18708711604359253.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 105.4056, p_branch_action=> '21', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>18708408351359249.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>18712821032430866.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 105.4056, p_branch_action=> '107', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>18712526930430865.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区要预配的方案是否存在。'; wwv_flow_api.create_page_item( p_id=>18709815193380164.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 105.4056, p_name=>'P105_NEW', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 18707931422356386.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Existing', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'方案是: ', p_source_type=> 'ALWAYS_NULL', p_display_as=> 'RADIOGROUP', p_named_lov=> 'NEW_OR_EXISTING', p_lov => '.'||to_char(87820927180096887 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin --------------------------------------- -- ...updatable report columns for page 105.4056 -- begin null; end; null; end; / --application/pages/page_106.4 prompt ...PAGE 106.4056: 添加方案 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_schema_assign.htm'; ph := null; wwv_flow_api.create_page( p_id => 106.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '添加方案', p_step_title=> '添加方案', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>106.4056,p_text=>h); 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=> 18717630140488489.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 106.4056, p_plug_name=> '标识方案', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: company.admin.schema'; wwv_flow_api.create_page_plug ( p_id=> 18722616297560221.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 106.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 18701007817245520 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 18723124262562486.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 106.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'if :P105_NEW = ''New'' then'||chr(10)|| ' htp.p(wwv_flow_lang.system_message(''4050_106_ENTER_SCHEMA_NAME''));'||chr(10)|| 'else'||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(''4050_106_EXISTING_SCHEMA''));'||chr(10)|| 'end if;'||chr(10)|| 'htp.p(wwv_flow_lang.system_message(''4050_106_WHEN_DONE''));'; wwv_flow_api.create_page_plug ( p_id=> 19066710285793152.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 106.4056, p_plug_name=> '方案信息', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top" align="right"', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':P106_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32849825297612790.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 106.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 50, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 18718107415491444.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_button_sequence=> 10, p_button_plug_id => 18717630140488489+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_button_sequence=> 10, p_button_plug_id => 18717630140488489+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 18719018150494496.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_button_sequence=> 10, p_button_plug_id => 18717630140488489+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>18718421414491445.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 106.4056, p_branch_action=> '21', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>18718107415491444.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>18719314728494497.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 106.4056, p_branch_action=> '107', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>18719018150494496.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>18720208258497525.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 106.4056, p_branch_action=> '108', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>18719928539497524.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入新方案名。'; wwv_flow_api.create_page_item( p_id=>18721014303540748.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 106.4056, p_name=>'P106_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 18717630140488489.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'方案', p_source_type=> 'STATIC', p_display_as=> 'POPUP', p_named_lov=> 'LIST_ALL_DATABASE_SCHEMAS', p_lov => 'declare q varchar2(32767);'||chr(10)|| ' l_flows_schema varchar2(30) := wwv_flow.g_flow_schema_owner;'||chr(10)|| 'begin'||chr(10)|| ' q := ''select name n, name r from sys.user$ u where type#=1 and name <> ''''''||l_flows_schema||'''''' and name not in (''''HTMLDB_PUBLIC_USER'''',''''PUBLIC_USER'''',''''FLOWS_FILES'''',''''SCHEDULER'''',''''PEOPLE'''',''''APEX_PUBLIC_USER'''')'';'||chr(10)|| ' q := q||'' and name not in (select schema from wwv_flow_restricted_schemas where not exists (select 1 from wwv_flow_rschema_exceptions where schema_id = (select id from wwv_flow_restricted_schemas where schema = u.name))) '';'||chr(10)|| ' q := q ||'' order by 1'';'||chr(10)|| ' return q;'||chr(10)|| 'end;', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入方案的口令。'; wwv_flow_api.create_page_item( p_id=>18721601275546427.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 106.4056, p_name=>'P106_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 18717630140488489.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'口令', p_source_type=> 'STATIC', p_display_as=> 'PASSWORD', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_display_when=>'P105_NEW', p_display_when2=>'New', p_display_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_encrypt_session_state_yn=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入预配方案的默认表空间, 或从弹出式列表中选择一个表空间。'; wwv_flow_api.create_page_item( p_id=>18783728660131536.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 106.4056, p_name=>'P106_DEFAULT_TS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 18717630140488489.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'默认表空间', p_display_as=> 'POPUP', p_named_lov=> 'DB.TABLESPACES', p_lov => 'select tablespace_name tname_disp, tablespace_name tname_ret'||chr(10)|| ' from sys.dba_tablespaces', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_display_when=>'P105_NEW', p_display_when2=>'New', p_display_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入预配方案的临时表空间, 或从弹出式列表中选择一个表空间。'; wwv_flow_api.create_page_item( p_id=>18784705242134205.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 106.4056, p_name=>'P106_TEMPORARY_TS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 18717630140488489.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'临时表空间', p_source_type=> 'STATIC', p_display_as=> 'POPUP', p_named_lov=> 'DB.TABLESPACES', p_lov => 'select tablespace_name tname_disp, tablespace_name tname_ret'||chr(10)|| ' from sys.dba_tablespaces', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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_display_when=>'P105_NEW', p_display_when2=>'New', p_display_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2', p_field_template => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 18726721885590232.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'schema not null', p_validation_sequence=> 10, p_validation => 'P106_SCHEMA', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定方案。', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18721014303540748.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18727325825600827.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'schema exists', p_validation_sequence=> 20, p_validation => 'select null'||chr(10)|| ' from sys.user$'||chr(10)|| ' where name = upper(:P106_SCHEMA)', p_validation_type => 'EXISTS', p_error_message => '方案必须存在。', p_validation_condition=> ':P106_SCHEMA is not null and :P105_NEW = ''Existing''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18721014303540748.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18727925263610141.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'schema does not exist', p_validation_sequence=> 30, p_validation => 'select null'||chr(10)|| ' from sys.user$'||chr(10)|| ' where name = upper(:P106_SCHEMA)', p_validation_type => 'NOT_EXISTS', p_error_message => '方案一定不存在。', p_validation_condition=> ':P106_SCHEMA is not null and :P105_NEW = ''New''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18721014303540748.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 73770513847184141.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'mapping doesn''t already exist', p_validation_sequence=> 35, p_validation => 'select null'||chr(10)|| ' from wwv_flow_company_schemas'||chr(10)|| ' where schema = upper(:P106_SCHEMA)'||chr(10)|| ' and security_group_id = :P107_SGID', p_validation_type => 'NOT_EXISTS', p_error_message => '方案映射已存在。', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18721014303540748.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18729518599627072.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'password not null', p_validation_sequence=> 40, p_validation => 'P106_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定口令。', p_validation_condition=> ':P105_NEW = ''New''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18721601275546427.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18797002781180853.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'defaut ts not null', p_validation_sequence=> 50, p_validation => 'P106_DEFAULT_TS', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定默认表空间。', p_validation_condition=> ':P105_NEW = ''New''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18783728660131536.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18799024944187246.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'temporary ts not null', p_validation_sequence=> 60, p_validation => 'P106_TEMPORARY_TS', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定临时表空间。', p_validation_condition=> ':P105_NEW = ''New''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18784705242134205.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18807120620223811.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'default ts exists', p_validation_sequence=> 70, p_validation => 'select null'||chr(10)|| ' from sys.dba_tablespaces'||chr(10)|| ' where tablespace_name = upper(:P106_DEFAULT_TS)', p_validation_type => 'EXISTS', p_error_message => '表空间不存在。', p_validation_condition=> ':P105_NEW = ''New'' and :P106_DEFAULT_TS is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18783728660131536.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18808118673232702.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'temporary tablespace exists', p_validation_sequence=> 80, p_validation => 'select null'||chr(10)|| ' from sys.dba_tablespaces'||chr(10)|| ' where tablespace_name = upper(:P106_TEMPORARY_TS)', p_validation_type => 'EXISTS', p_error_message => '表空间不存在。', p_validation_condition=> ':P105_NEW = ''New'' and :P106_TEMPORARY_TS is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18784705242134205.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 161245717628127122.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'cannot add internal schema', p_validation_sequence=> 90, p_validation => 'select null'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where first_schema_provisioned = upper(:P106_SCHEMA)'||chr(10)|| ' and provisioning_company_id = 10', p_validation_type => 'NOT_EXISTS', p_error_message => '无法映射内部方案。', p_validation_condition=> 'P105_NEW', p_validation_condition2=> 'Existing', p_validation_condition_type=> 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 18721014303540748.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 183395003986449179.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 106.4056, p_validation_name => 'schema not reserved/restricted', p_validation_sequence=> 100, p_validation => 'if (wwv_flow_provisioning.reserved_schema(p_schema => '||chr(10)|| ' upper(:P106_SCHEMA))) or'||chr(10)|| ' (wwv_flow_provisioning.site_admin_is_restricted and wwv_flow_provisioning.restricted_schema(upper(:P106_SCHEMA),:P107_COMPANY)) then'||chr(10)|| ' return false;'||chr(10)|| 'else'||chr(10)|| ' return true;'||chr(10)|| 'end if;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '请求的方案是保留方案或受限方案, 因此无法分配给工作区。', p_when_button_pressed=> 18719928539497524.4056 + wwv_flow_api.g_id_offset, p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin --------------------------------------- -- ...updatable report columns for page 106.4056 -- begin null; end; null; end; / --application/pages/page_107.4 prompt ...PAGE 107.4056: 添加方案 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_schema_assign.htm'; ph := null; wwv_flow_api.create_page( p_id => 107.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '添加方案', p_step_title=> '添加方案', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>107.4056,p_text=>h); 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=> 18731208472643073.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 107.4056, p_plug_name=> '选择工作区', p_region_name=>'', p_plug_template=> 2424107150426143.4056+ 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'List: company.admin.schema'; wwv_flow_api.create_page_plug ( p_id=> 18748418103816181.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 107.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 18701007817245520 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'Menu: internal.admin.menu'; wwv_flow_api.create_page_plug ( p_id=> 18748927107818789.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 107.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':P106_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32852404781625769.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 107.4056, p_plug_name=> 'reset', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_HEADER', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 18733414406673241.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 107.4056, p_button_sequence=> 10, p_button_plug_id => 18731208472643073+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:21:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 18735306011689736.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 107.4056, p_button_sequence=> 10, p_button_plug_id => 18731208472643073+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '下一步 >', p_button_position=> 'REGION_TEMPLATE_NEXT', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 18734429428687003.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 107.4056, p_button_sequence=> 10, p_button_plug_id => 18731208472643073+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>18735619743689738.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 107.4056, p_branch_action=> '106', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>18734725566687004.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 107.4056, p_branch_action=> '105', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>18734429428687003.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入工作区的名称, 或从弹出式列表中选择一个工作区。'; wwv_flow_api.create_page_item( p_id=>18731914968663934.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 107.4056, p_name=>'P107_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 18731208472643073.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP_KEY_LOV', p_named_lov=> 'LIST.WORKSPACES', p_lov => 'select short_name d, short_name v'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where (provisioning_company_id not in (0,10,11))'||chr(10)|| 'order by 1', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>18732521201665702.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 107.4056, p_name=>'P107_SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 18731208472643073.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'Sgid', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 18736308219699832.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 107.4056, p_validation_name => 'company not null', p_validation_sequence=> 10, p_validation => 'P107_COMPANY', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定工作区。', p_associated_item=> 18731914968663934.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 18736902809707708.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 107.4056, p_validation_name => 'company exists', p_validation_sequence=> 20, p_validation => 'select null'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where short_name = upper(:P107_COMPANY)', p_validation_type => 'EXISTS', p_error_message => '工作区必须存在。', p_validation_condition=> ':P107_COMPANY is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_associated_item=> 18731914968663934.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'for c1 in (select provisioning_company_id'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where short_name = upper(:P107_COMPANY)) loop'||chr(10)|| ' :P107_SGID := c1.provisioning_company_id;'||chr(10)|| ' exit;'||chr(10)|| 'end loop;'; wwv_flow_api.create_page_process( p_id => 18738207096718392.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 107.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'pop sgid', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 107.4056 -- begin null; end; null; end; / --application/pages/page_108.4 prompt ...PAGE 108.4056: 添加方案 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_schema_assign.htm'; ph := null; wwv_flow_api.create_page( p_id => 108.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '添加方案', p_step_title=> '添加方案', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216765317551591446+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_protection_level=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>108.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.'; s:=s||'p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| '---'||chr(10)|| 'if :P105_NEW = ''New'' then'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| ' htp.p('''');'||chr(10)|| 'end if;'||chr(10)|| '---'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp'; s:=s||'.p('''');'||chr(10)|| 'htp.p('''');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(''NEW_OR_EXISTING'')||''''||wwv_flow_item.text_from_lov(:P105_NEW,''NEW_OR_EXISTING'')||''
''||wwv_flow_lang.system_message(''DEMO_APPLICATION.SCHEMA'')||''''||htf.escape_sc(:P106_SCHEMA)||''
''||wwv_flow_lang.system_message(''SCHEMA_PASSWORD'')||''''||rpad(''*'',length(:P106_PASSWORD),''*'')||''
''||wwv_flow_lang.system_message(''DEFAULT_TABLESPACE_INIT'')||'''');'||chr(10)|| ' htp.p(''''||htf.escape_sc(:P106_DEFAULT_TS)||''
''||wwv_flow_lang.system_message(''TEMPORARY_TABLESPACE'')||''''||htf.escape_sc(:P106_TEMPORARY_TS)||''
''||wwv_flow_lang.system_message(''WORKSPACE_INIT_CAP'')||''''||htf.escape_sc(:P107_COMPANY)||''
'');'; wwv_flow_api.create_page_plug ( p_id=> 18742411345776408.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 108.4056, p_plug_name=> '确认', p_region_name=>'', p_plug_template=> 162417015526175958.4056+ 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=> 'PLSQL_PROCEDURE', p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 18746317972806666.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 108.4056, p_plug_name=> 'Navigation', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_01', p_plug_source=> s, p_plug_source_type=> 18701007817245520 + wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 18747128707809864.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 108.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_query_row_template=> 1, p_plug_query_headings_type=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

复查左侧表中的信息。

'||chr(10)|| '

如果信息正确, 请单击添加方案以将此方案添加到 &P107_COMPANY. 工作区。如果信息不正确, 请单击上一步

'; wwv_flow_api.create_page_plug ( p_id=> 19697422692474698.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 108.4056, p_plug_name=> '添加方案', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 18742925198780454.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 108.4056, p_button_sequence=> 10, p_button_plug_id => 18742411345776408+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 18745102950792918.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 108.4056, p_button_sequence=> 10, p_button_plug_id => 18742411345776408+wwv_flow_api.g_id_offset, p_button_name => 'CREATE', p_button_image_alt=> '添加方案', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 18743915978787185.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 108.4056, p_button_sequence=> 10, p_button_plug_id => 18742411345776408+wwv_flow_api.g_id_offset, p_button_name => 'PREVIOUS', p_button_image_alt=> '< 上一步', p_button_position=> 'REGION_TEMPLATE_PREVIOUS', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>18744206082787186.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 108.4056, p_branch_action=> '106', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_when_button_id=>18743915978787185.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); wwv_flow_api.create_page_branch( p_id=>18743220747780455.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 108.4056, p_branch_action=> '21', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare '||chr(10)|| ' l_p varchar2(256) := v(''P106_PASSWORD'');'||chr(10)|| 'begin'||chr(10)|| ' wwv_flow.update_cache_with_write(''P106_PASSWORD'',null);'||chr(10)|| ''||chr(10)|| 'wwv_flow_provision.create_user('||chr(10)|| ' p_username => :P106_SCHEMA,'||chr(10)|| ' p_password => l_p);'||chr(10)|| ''||chr(10)|| 'wwv_flow_provision.set_user_tablespace('||chr(10)|| ' p_username => :P106_SCHEMA,'||chr(10)|| ' p_default_ts => :P106_DEFAULT_TS,'||chr(10)|| ' p_temp_ts => :P106_TEMPORARY_TS);'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 18817308247277016.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 108.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'create schema', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>18745102950792918.4056 + wwv_flow_api.g_id_offset, p_process_when=>':P105_NEW = ''New'' and wwv_flow_provisioning.reserved_schema(p_schema => :P106_SCHEMA) = false and '||chr(10)|| 'not (wwv_flow_provisioning.site_admin_is_restricted and wwv_flow_provisioning.restricted_schema(p_schema => :P106_SCHEMA, p_workspace_name => :P107_COMPANY) )', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_provision.grant_initial_privs(:P106_SCHEMA);'; wwv_flow_api.create_page_process( p_id => 18818203529285103.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 108.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'grant privs', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>18745102950792918.4056 + wwv_flow_api.g_id_offset, p_process_when=>'wwv_flow_provisioning.reserved_schema(p_schema => :P106_SCHEMA) = false and '||chr(10)|| 'not (wwv_flow_provisioning.site_admin_is_restricted and wwv_flow_provisioning.restricted_schema(p_schema => :P106_SCHEMA,'||chr(10)|| ' p_workspace_name => :P107_COMPANY) )', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'insert into wwv_flow_company_schemas (security_group_id, schema)'||chr(10)|| 'values (:P107_SGID, upper(:P106_SCHEMA));'||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 18823010849315600.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 108.4056, p_process_sequence=> 30, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'create mapping', p_process_sql_clob => p, p_process_error_message=> '添加方案时出错。', p_process_when_button_id=>18745102950792918.4056 + wwv_flow_api.g_id_offset, p_process_when=>'wwv_flow_provisioning.reserved_schema(p_schema => :P106_SCHEMA) = false and '||chr(10)|| 'not (wwv_flow_provisioning.site_admin_is_restricted and wwv_flow_provisioning.restricted_schema(p_schema => :P106_SCHEMA,'||chr(10)|| ' p_workspace_name => :P107_COMPANY) )', p_process_when_type=>'PLSQL_EXPRESSION', p_process_success_message=> '方案已添加到 &P107_COMPANY.。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'106'; wwv_flow_api.create_page_process( p_id => 359762415297498901.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 108.4056, p_process_sequence=> 40, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_when=>'CANCEL,CREATE', p_process_when_type=>'REQUEST_IN_CONDITION', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 108.4056 -- begin null; end; null; end; / --application/pages/page_110.4 prompt ...PAGE 110.4056: 查看更改请求 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_chg_rqst.htm'; ph := null; wwv_flow_api.create_page( p_id => 110.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '查看更改请求', p_step_title=> '查看更改请求', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766430018595041+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165713', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>110.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select a.name schemas1, b.name tablespaces2'||chr(10)|| ' from sys.user$ a, sys.ts$ b, sys.seg$ c'||chr(10)|| ' where a.user# = c.user#'||chr(10)|| ' and b.ts# = c.ts#'||chr(10)|| ' and a.name in (select schema'||chr(10)|| ' from wwv_flow_company_schemas'||chr(10)|| ' where security_group_id = :P110_SGID)'||chr(10)|| 'group by a.name, b.name'; wwv_flow_api.create_report_region ( p_id=> 20489617348146909.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_name=> '工作区方案在表空间中的空间使用', p_region_name=>'', p_template=> 24425502725250282.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 30, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '1', p_query_no_data_found=> '未找到方案。', p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_break_type_flag=> 'DEFAULT_BREAK_FORMATTING', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 167797424959859102.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20489617348146909.4056 + 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=> 'SCHEMAS1', p_column_display_sequence=> 1, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 167797513180859103.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20489617348146909.4056 + 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=> 'TABLESPACES2', p_column_display_sequence=> 2, p_column_heading=> '表空间', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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; l_clob clob; l_length number := 1; begin s:=s||'select id, name, owner'||chr(10)|| ' from wwv_flows'||chr(10)|| ' where security_group_id = :P110_SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 20489920551146915.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_name=> '应用程序', p_region_name=>'', p_template=> 24425502725250282.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 40, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '在工作区中找不到应用程序。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48612729242771186.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20489920551146915.4056 + 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=> 'ID', p_column_display_sequence=> 1, p_column_heading=> 'ID', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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=> 48612823196771186.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20489920551146915.4056 + 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=> 'NAME', p_column_display_sequence=> 2, p_column_heading=> '名称', p_column_alignment=>'LEFT', p_heading_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=> 48612923298771186.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20489920551146915.4056 + 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=> 'OWNER', p_column_display_sequence=> 3, p_column_heading=> '所有者', p_column_alignment=>'LEFT', p_heading_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; l_clob clob; l_length number := 1; begin s:=s||'

单击对应于特定更改请求的相应操作的按钮。

'||chr(10)|| '

要拒绝并删除请求, 请选择如果拒绝, 是否删除此请求?, 然后单击拒绝请求

'; wwv_flow_api.create_page_plug ( p_id=> 20490805037146920.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_plug_name=> '更改请求', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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=> '', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 20491405043146924.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select a.schema schemas2, c.tablespace_name default_tablespaces, c.file_name'||chr(10)|| ' from wwv_flow_company_schemas a, sys.dba_users b , sys.dba_data_files c'||chr(10)|| ' where a.schema = b.username'||chr(10)|| ' and b.default_tablespace = c.tablespace_name'||chr(10)|| ' and a.security_group_id = :P110_SGID'||chr(10)|| 'order by 1'; wwv_flow_api.create_report_region ( p_id=> 20491723109146926.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_name=> '工作区方案和默认表空间', p_region_name=>'', p_template=> 24425502725250282.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 20, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'ROW_RANGES_IN_SELECT_LIST', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 167816703666890783.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20491723109146926.4056 + 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=> 'SCHEMAS2', p_column_display_sequence=> 1, p_column_heading=> '方案', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 167811004326878369.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20491723109146926.4056 + 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=> 'DEFAULT_TABLESPACES', p_column_display_sequence=> 2, p_column_heading=> '默认表空间', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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=> 110174408459314223.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20491723109146926.4056 + 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=> 'FILE_NAME', p_column_display_sequence=> 3, p_column_heading=> '文件名', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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; l_clob clob; l_length number := 1; begin s:=s||'select o.object_type,'||chr(10)|| ' count(*) cnt'||chr(10)|| ' from sys.dba_objects o, wwv_flow_company_schemas s'||chr(10)|| ' where o.owner = s.schema'||chr(10)|| ' and s.security_group_id = :P110_SGID'||chr(10)|| ' group by o.object_type'||chr(10)|| ' order by 1'; wwv_flow_api.create_report_region ( p_id=> 20492023928146928.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_name=> '工作区使用的对象', p_region_name=>'', p_template=> 24425502725250282.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 70, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到数据库对象。', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48555719955770792.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20492023928146928.4056 + 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=> 'OBJECT_TYPE', p_column_display_sequence=> 1, p_column_heading=> '对象类型', p_column_alignment=>'LEFT', p_heading_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=> 48555820934770792.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20492023928146928.4056 + 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=> 'CNT', p_column_display_sequence=> 2, p_column_heading=> '计数', p_column_alignment=>'RIGHT', p_heading_alignment=>'RIGHT', 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; l_clob clob; l_length number := 1; begin s:=s||'select service_name, service_attribute_1, requested_on, requested_by, request_status STATUS, request_work_log, request_comments'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where id = :P110_REQUEST_ID'; wwv_flow_api.create_report_region ( p_id=> 20514532353304920.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_name=> '更改请求', p_region_name=>'', p_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 8, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '1', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 48768306417772111.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20514532353304920.4056 + 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=> 'SERVICE_NAME', p_column_display_sequence=> 1, p_column_heading=> '服务名', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>110368323210290856 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48768422851772111.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20514532353304920.4056 + 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=> 'SERVICE_ATTRIBUTE_1', p_column_display_sequence=> 2, p_column_heading=> '服务属性', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48768515025772112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20514532353304920.4056 + 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=> 'REQUESTED_ON', p_column_display_sequence=> 3, p_column_heading=> '请求时间', p_column_format=> '&DATE_TIME_FORMAT. Day', p_column_alignment=>'LEFT', p_heading_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_lov_show_nulls=> 'NO', 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=> 48768631295772112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20514532353304920.4056 + 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=> 'REQUESTED_BY', p_column_display_sequence=> 4, p_column_heading=> '请求者', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 162850504660813639.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20514532353304920.4056 + 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=> 'STATUS', p_column_display_sequence=> 7, p_column_heading=> '状态', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'TEXT_FROM_LOV', p_named_lov=>87755726864223308 + wwv_flow_api.g_id_offset, p_lov_show_nulls=> 'NO', 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=> 48768807098772112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20514532353304920.4056 + 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=> 'REQUEST_WORK_LOG', p_column_display_sequence=> 5, p_column_heading=> '请求工作日志', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48768922367772112.4056 + wwv_flow_api.g_id_offset, p_region_id=> 20514532353304920.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'REQUEST_COMMENTS', p_column_display_sequence=> 6, p_column_heading=> 'Request Comments', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select short_name from wwv_flow_companies where provisioning_company_id in (select security_group_id from wwv_flow_company_schemas where schema = ('||chr(10)|| ' select upper(service_attribute_1)'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where id = :P110_REQUEST_ID))'; wwv_flow_api.create_report_region ( p_id=> 179770911638256315.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_name=> '使用请求的方案的工作区', p_region_name=>'', p_template=> 2424107150426143.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 15, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_display_when_condition=> 'select 1 from wwv_flow_company_schemas where schema = ('||chr(10)|| ' select upper(service_attribute_1)'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where id = :P110_REQUEST_ID)', p_display_condition_type=> 'EXISTS', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '15', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' - ', p_query_break_cols=> '0', p_query_num_rows_type=> 'NEXT_PREVIOUS_LINKS', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'blue_arrow_down.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'blue_arrow_up.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 179772831489470215.4056 + wwv_flow_api.g_id_offset, p_region_id=> 179770911638256315.4056 + 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=> 'SHORT_NAME', p_column_display_sequence=> 1, p_column_heading=> '工作区', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', 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; l_clob clob; l_length number := 1; begin s:=s||'declare '||chr(10)|| 'l_schema varchar2(30) := null;'||chr(10)|| 'l_schema_exists boolean := false;'||chr(10)|| 'l_schema_in_use boolean := false;'||chr(10)|| 'l_schema_restricted boolean := false;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'for c1 in (select upper(service_attribute_1) sa1'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_schema := c1.sa1;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from sys.user$ where name = l_sche'; s:=s||'ma) loop'||chr(10)|| ' l_schema_exists := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from wwv_flow_company_schemas '||chr(10)|| ' where schema = l_schema) loop'||chr(10)|| ' l_schema_in_use := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from dual'||chr(10)|| ' where wwv_flow_provisioning.reserved_schema_i(l_schema) = 1'||chr(10)|| ' or wwv_flow_provisioning.restricted_schema_i(l_schema,'||chr(10)|| ' wwv_flow_security.find_company_name(:P110_SGID)) = 1) loop'||chr(10)|| ' l_schema_res'; s:=s||'tricted := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'htp.p(''
''); htp.p(''
'');'||chr(10)|| ''||chr(10)|| 'if l_schema_exists then'||chr(10)|| ' htp.p(''

''||'||chr(10)|| ' wwv_flow_lang.system_message(''F4050.SCHEMA_EXISTS''));'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'if l_schema_in_use then'||chr(10)|| ' htp.p(''

''||'||chr(10)|| ' wwv_flow_lang.system_message(''F4050.SCHEMA_ASSIGNED''));'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'if l_schema_restricted then'||chr(10)|| ' htp.p(''

''||'||chr(10)|| ' wwv_flow_lang.system_message(''F4050.RESTRICTED_ADMIN''));'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'end;'; wwv_flow_api.create_page_plug ( p_id=> 179776307837681077.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 110.4056, p_plug_name=> '警告', p_region_name=>'', p_plug_template=> 162426626171243866.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', p_plug_source=> s, p_plug_source_type=> 'PLSQL_PROCEDURE', 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 => 'FUNCTION_BODY', p_plug_display_when_condition => 'declare '||chr(10)|| 'l_schema varchar2(30) := null;'||chr(10)|| 'l_schema_exists boolean := false;'||chr(10)|| 'l_schema_in_use boolean := false;'||chr(10)|| 'l_schema_restricted boolean := false;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'for c1 in (select upper(service_attribute_1) sa1'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_schema := c1.sa1;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from sys.user$ where name = l_schema) loop'||chr(10)|| ' l_schema_exists := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from wwv_flow_company_schemas '||chr(10)|| ' where schema = l_schema) loop'||chr(10)|| ' l_schema_in_use := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'for c1 in (select 1 from dual'||chr(10)|| ' where wwv_flow_provisioning.reserved_schema_i(l_schema) = 1'||chr(10)|| ' or wwv_flow_provisioning.restricted_schema_i(l_schema,'||chr(10)|| ' wwv_flow_security.find_company_name(:P110_SGID)) = 1) loop'||chr(10)|| ' l_schema_restricted := true;'||chr(10)|| 'end loop;'||chr(10)|| ''||chr(10)|| 'if l_schema_exists or l_schema_in_use or l_schema_restricted then'||chr(10)|| ' return true;'||chr(10)|| 'else'||chr(10)|| ' return false;'||chr(10)|| 'end if;'||chr(10)|| ''||chr(10)|| 'end;', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 361089923326552991.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_button_sequence=> 10, p_button_plug_id => 20489617348146909+wwv_flow_api.g_id_offset, p_button_name => 'UTIL_RPT', p_button_image_alt=> '工作区表空间使用情况详细资料', p_button_position=> 'BOTTOM', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'javascript:popUp2(''f?p=&APP_ID.:88:&APP_SESSION.::::P88_SGID:&P110_SGID.'',''1000'',''600'');', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 20596428918530967.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_button_sequence=> 10, p_button_plug_id => 20514532353304920+wwv_flow_api.g_id_offset, p_button_name => 'DENY', p_button_image_alt=> '拒绝请求', p_button_position=> 'REGION_TEMPLATE_CHANGE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_cattributes=>'class="BUTTON10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 20583005622467489.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_button_sequence=> 10, p_button_plug_id => 20514532353304920+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:28:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 20601325024548816.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_button_sequence=> 10, p_button_plug_id => 20514532353304920+wwv_flow_api.g_id_offset, p_button_name => 'CREATE', p_button_image_alt=> '创建方案', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'select 1'||chr(10)|| ' from WWV_FLOW_PROVISION_SERICE_MOD m'||chr(10)|| ' where id = :P110_REQUEST_ID'||chr(10)|| ' and service_name = ''NEW_SCHEMA'' '||chr(10)|| ' and not exists '||chr(10)|| ' (select 1 from sys.user$ where name = upper(m.SERVICE_ATTRIBUTE_1))'||chr(10)|| ' and not exists'||chr(10)|| ' (select 1 from dual where (wwv_flow_provisioning.reserved_schema_i(upper(m.SERVICE_ATTRIBUTE_1)) = 1)'||chr(10)|| ' or'||chr(10)|| ' (wwv_flow_provisioning.site_admin_is_restricted_i = 1'||chr(10)|| ' and'||chr(10)|| ' wwv_flow_provisioning.restricted_schema_i('||chr(10)|| ' upper(m.SERVICE_ATTRIBUTE_1),'||chr(10)|| ' wwv_flow_security.find_company_name(:P110_SGID)) = 1)'||chr(10)|| ' );', p_button_condition_type=> 'EXISTS', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 20603005069552511.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_button_sequence=> 10, p_button_plug_id => 20514532353304920+wwv_flow_api.g_id_offset, p_button_name => 'CREATE2', p_button_image_alt=> '添加空间', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'select null'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where service_name = ''CHANGE_DB_SIZE'''||chr(10)|| ' and id = :P110_REQUEST_ID', p_button_condition_type=> 'EXISTS', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 179763609196754195.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_button_sequence=> 10, p_button_plug_id => 20514532353304920+wwv_flow_api.g_id_offset, p_button_name => 'CREATE1', p_button_image_alt=> '分配方案', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'declare l_schema varchar2(30) := null;'||chr(10)|| 'l_sgid number := 0;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select upper(service_attribute_1) sa1,'||chr(10)|| ' security_group_id sgid'||chr(10)|| ' from wwv_flow_provision_serice_mod m'||chr(10)|| ' where id = :P110_REQUEST_ID'||chr(10)|| ' and service_name = ''NEW_SCHEMA'' '||chr(10)|| ' and exists '||chr(10)|| ' (select 1 from sys.user$ where name = '||chr(10)|| ' upper(m.SERVICE_ATTRIBUTE_1))) loop'||chr(10)|| ' l_schema := c1.sa1;'||chr(10)|| ' l_sgid := c1.sgid;'||chr(10)|| ' end loop;'||chr(10)|| ' if l_schema is not null then'||chr(10)|| ' for c1 in (select 1 from wwv_flow_company_schemas'||chr(10)|| ' where schema = l_schema and security_group_id ='||chr(10)|| ' l_sgid) loop'||chr(10)|| ' return false;'||chr(10)|| ' end loop; '||chr(10)|| ' for c1 in ('||chr(10)|| ' select 1 from dual'||chr(10)|| ' where'||chr(10)|| ' (wwv_flow_provisioning.reserved_schema_i(l_schema) = 1) '||chr(10)|| ' or (wwv_flow_provisioning.restricted_schema_i(l_schema,'||chr(10)|| ' wwv_flow_security.find_company_name(:P110_SGID)) = 1'||chr(10)|| ' and wwv_flow_provisioning.site_admin_is_restricted_i = 1)) loop'||chr(10)|| ' return false;'||chr(10)|| ' end loop;'||chr(10)|| ' return true;'||chr(10)|| ' else'||chr(10)|| ' return false;'||chr(10)|| ' end if;'||chr(10)|| 'end;', p_button_condition_type=> 'FUNCTION_BODY', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 20624429367663600.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_button_sequence=> 20, p_button_plug_id => 20514532353304920+wwv_flow_api.g_id_offset, p_button_name => 'TERMINATE', p_button_image_alt=> '终止服务', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'select null'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where service_name = ''REMOVE_EXISTING_SERVICE'''||chr(10)|| ' and id = :P110_REQUEST_ID', p_button_condition_type=> 'EXISTS', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>20583320688467496.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 110.4056, p_branch_action=> '28', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>20521406212335229.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 110.4056, p_name=>'P110_REQUEST_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 20514532353304920.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'Request Id', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>20523821449339566.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 110.4056, p_name=>'P110_SGID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 20514532353304920.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_prompt=>'Sgid', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> null, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'无可用的帮助文本'; wwv_flow_api.create_page_item( p_id=>20621819062641674.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 110.4056, p_name=>'P110_DELETE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 20514532353304920.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>' ', p_source_type=> 'STATIC', p_display_as=> 'CHECKBOX', p_named_lov=> 'CONFIRM.DELETE.DENIED.REQUEST', p_lov => '.'||to_char(87822015190102927 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入对此更改请求的注释。'; wwv_flow_api.create_page_item( p_id=>26721610368198076.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 110.4056, p_name=>'P110_COMMENTS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 25, p_item_plug_id => 20514532353304920.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'注释: ', p_source_type=> 'STATIC', p_display_as=> 'TEXTAREA', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT-TOP', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>109497808800721425.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 110.4056, p_name=>'P110_DROP', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 20514532353304920.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'CHECKBOX', p_lov => 'select wwv_flow_lang.system_message(''4050_110_DROP_USERS'', '''' || wwv_flow_provisioning.get_schemas_by_sgid(:P110_SGID,'', '') || '||chr(10)|| ''''') d, ''U'' r from dual'||chr(10)|| 'union all'||chr(10)|| 'select wwv_flow_lang.system_message(''4050_110_DROP_TABLESPACES'', '''' || wwv_flow_provisioning.get_tablespaces_by_sgid( :P110_SGID,'', '') || '''') d, ''T'' r from dual', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', 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-TOP', p_field_alignment => 'LEFT', p_display_when=>'declare'||chr(10)|| ' l_result boolean := FALSE;'||chr(10)|| ' l_security_group_id number;'||chr(10)|| 'begin'||chr(10)|| ' -- Show if service request is to terminate'||chr(10)|| ' for c1 in (select security_group_id'||chr(10)|| ' from wwv_flow_provision_serice_mod'||chr(10)|| ' where service_name = ''REMOVE_EXISTING_SERVICE'''||chr(10)|| ' and id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_security_group_id := c1.security_group_id;'||chr(10)|| ' l_result := TRUE;'||chr(10)|| ' exit;'||chr(10)|| ' end loop;'||chr(10)|| ' -- Don''t show if a restricted schema'||chr(10)|| ' if l_result = TRUE then'||chr(10)|| ' for c1 in (select null'||chr(10)|| ' from wwv_flow_company_schemas s'||chr(10)|| ' where security_group_id = l_security_group_id'||chr(10)|| ' and exists (select null'||chr(10)|| ' from wwv_flow_restricted_schemas r'||chr(10)|| ' where r.schema = s.schema)) loop'||chr(10)|| ' l_result := FALSE;'||chr(10)|| ' exit;'||chr(10)|| ' end loop;'||chr(10)|| ' end if;'||chr(10)|| ' -- Don''t show if a restricted tablespace'||chr(10)|| ' if l_result = TRUE then'||chr(10)|| ' for c1 in (select c.name'||chr(10)|| ' from wwv_flow_company_schemas a, sys.user$ b, sys.ts$ c'||chr(10)|| ' where a.schema = b.name'||chr(10)|| ' and b.datats# = c.ts#'||chr(10)|| ' and a.security_group_id = l_security_group_id) loop'||chr(10)|| ' if c1.name in (''SYSTEM'',''SYSAUX'',''TEMP'',''USERS'') then'||chr(10)|| ' l_result := FALSE;'||chr(10)|| ' exit;'||chr(10)|| ' end if;'||chr(10)|| ' end loop;'||chr(10)|| ' end if;'||chr(10)|| ' --'||chr(10)|| ' return l_result;'||chr(10)|| 'end;'||chr(10)|| '', p_display_when_type=>'FUNCTION_BODY', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_msg varchar2(4000);'||chr(10)|| ' l_email varchar2(4000) := null;'||chr(10)|| ' l_schema_exists boolean := false;'||chr(10)|| ' l_body_html varchar2(32767) := null;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select 1'||chr(10)|| ' from WWV_FLOW_PROVISION_SERICE_MOD m'||chr(10)|| ' where id = :P110_REQUEST_ID'||chr(10)|| ' and service_name = ''NEW_SCHEMA'' '||chr(10)|| ' and exists '||chr(10)|| ' (select 1 from sys.user$ where name = upper(m.SERVICE_ATTRIBUTE_1)) ) loop'||chr(10)|| ' l_schema_'; p:=p||'exists := true;'||chr(10)|| ' end loop; '||chr(10)|| ' '||chr(10)|| ' wwv_flow_provisioning.add_schema_by_request('||chr(10)|| ' p_request_id=>:P110_REQUEST_ID,'||chr(10)|| ' p_use_existing => l_schema_exists);'||chr(10)|| ' '||chr(10)|| ' for c1 in (select a.service_attribute_1, a.service_attribute_2 email_address, c.short_name'||chr(10)|| ' from wwv_flow_provision_serice_mod a,'||chr(10)|| ' wwv_flow_companies c'||chr(10)|| ' where a.secu'; p:=p||'rity_group_id = c.provisioning_company_id'||chr(10)|| ' and a.id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_msg := chr(10)||'||chr(10)|| ' wwv_flow_lang.system_message(p_name=>''F4050.PROV_SCHEMA_REQ_APPROVED'','||chr(10)|| ' p0=>c1.service_attribute_1,p1=>c1.short_name)||'||chr(10)|| ' chr(10)||chr(10);'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' l_msg := l_msg || :P110_Comments || chr(10) || c'; p:=p||'hr(10) || chr(10);'||chr(10)|| ' l_msg := l_msg || wwv_flow_utilities.host_url(''SCRIPT'') || chr(10);'||chr(10)|| ' l_body_html := wwv_flow_fnd_developer_api.convert_txt_to_html(l_msg);'||chr(10)|| ''||chr(10)|| ' if l_email is null then'||chr(10)|| ' for c1 in ( select '||chr(10)|| ' b.email_address from wwv_flow_provision_serice_mod a, wwv_flow_fnd_user b '||chr(10)|| ' where a.security_group_id = b.security_group_id'||chr(10)|| ' '; p:=p||' and a.requested_by = b.user_name'||chr(10)|| ' and a.id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ' end if;'||chr(10)|| ' '||chr(10)|| ' if l_email is not null then'||chr(10)|| ' wwv_flow_mail.send('||chr(10)|| ' p_to => l_email,'||chr(10)|| ' p_from => nvl(wwv_flow_platform.get_preference(''SMTP_FROM''),l_email),'||chr(10)|| ' p_subj => wwv_flow_lang.sys'; p:=p||'tem_message(''F4050.PROV_CHANGE_REQ_APPROVED''),'||chr(10)|| ' p_body => l_msg,'||chr(10)|| ' p_body_html => l_body_html); '||chr(10)|| ' wwv_flow_mail.push_queue_background;'||chr(10)|| ' end if; '||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 20698013240819860.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Create Schema', p_process_sql_clob => p, p_process_error_message=> '创建或分配方案时出错。', p_process_when=>'CREATE1,CREATE', p_process_when_type=>'REQUEST_IN_CONDITION', p_process_success_message=> '方案已创建或已分配。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_msg varchar2(4000);'||chr(10)|| ' l_email varchar2(4000) := null;'||chr(10)|| ' l_body_html varchar2(32767) := null;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| ' wwv_flow_provisioning.provision_storage_by_request(p_request_id=>:P110_REQUEST_ID );'||chr(10)|| ''||chr(10)|| ' for c1 in (select a.service_attribute_1, a.service_attribute_2 email_address, c.short_name'||chr(10)|| ' from wwv_flow_provision_serice_mod a, wwv_flow_companies c'||chr(10)|| ' where a.security_'; p:=p||'group_id = c.provisioning_company_id'||chr(10)|| ' and a.id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_msg := chr(10)||wwv_flow_lang.system_message('||chr(10)|| ' ''F4050.APPROVE_ADD_STORAGE_EMAIL'','||chr(10)|| ' p0=>c1.service_attribute_1,p1=>c1.short_name)||chr(10)||chr(10);'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ''||chr(10)|| ' l_msg := l_msg || :P110_Comments || chr(10) || chr(10) || chr(10);'||chr(10)|| ' l_msg := l_msg || wwv_f'; p:=p||'low_utilities.host_url(''SCRIPT'') || chr(10);'||chr(10)|| ' l_body_html := wwv_flow_fnd_developer_api.convert_txt_to_html(l_msg);'||chr(10)|| ''||chr(10)|| ' if l_email is null then'||chr(10)|| ' for c1 in ( select '||chr(10)|| ' b.email_address from wwv_flow_provision_serice_mod a, wwv_flow_fnd_user b '||chr(10)|| ' where a.security_group_id = b.security_group_id'||chr(10)|| ' and a.requested_by = b.user_na'; p:=p||'me'||chr(10)|| ' and a.id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ' end if;'||chr(10)|| ' '||chr(10)|| ' if l_email is not null then'||chr(10)|| ' wwv_flow_mail.send('||chr(10)|| ' p_to => l_email,'||chr(10)|| ' p_from => nvl(wwv_flow_platform.get_preference(''SMTP_FROM''),l_email),'||chr(10)|| ' p_subj => wwv_flow_lang.system_message(''F4050.CHANGE_APPROVED_EMAIL''),'||chr(10)|| ' p'; p:=p||'_body => l_msg,'||chr(10)|| ' p_body_html => l_body_html );'||chr(10)|| ' wwv_flow_mail.push_queue_background;'||chr(10)|| ' end if;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 20701804367826675.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Provision Space', p_process_sql_clob => p, p_process_error_message=> '添加空间时出错。', p_process_when_button_id=>20603005069552511.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '空间已添加。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_msg varchar2(4000);'||chr(10)|| ' l_email varchar2(4000) := null;'||chr(10)|| ' l_body_html varchar2(32767) := null;'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| ' wwv_flow_provisioning.reject_modification_request ('||chr(10)|| ' p_request_id => :P110_REQUEST_ID);'||chr(10)|| ''||chr(10)|| ' for c1 in (select a.service_attribute_1, a.service_name, '||chr(10)|| ' a.service_attribute_2 email_address, c.short_name'||chr(10)|| ' from wwv_flow_provision_serice_mod a, wwv_flow_co'; p:=p||'mpanies c'||chr(10)|| ' where a.security_group_id = c.provisioning_company_id'||chr(10)|| ' and a.id = :P110_REQUEST_ID) loop'||chr(10)|| ' if c1.service_name = ''NEW_SCHEMA'' then'||chr(10)|| ' l_msg := chr(10)||wwv_flow_lang.system_message(p_name=>''F4050.DENY_NEW_SCHEMA_EMAIL'','||chr(10)|| ' p0=>c1.service_attribute_1,p1=>c1.short_name)||chr(10)||chr(10); '||chr(10)|| ' elsif c1.service_name = ''REMOVE_EXISTING_SERVICE'' then'; p:=p||''||chr(10)|| ' l_msg := chr(10)||wwv_flow_lang.system_message(p_name=>''F4050.DENY_REMOVE_SERVICE_EMAIL'',p0=>c1.short_name)||chr(10)||chr(10);'||chr(10)|| ' else'||chr(10)|| ' l_msg := wwv_flow_lang.system_message(p_name=>''F4050.DENY_ADD_STORAGE_EMAIL'',p0=>c1.service_attribute_1,p1=>c1.short_name)||chr(10)||chr(10);'||chr(10)|| ' end if;'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' l_msg := l_msg || :P110_Comments || chr(10) || '; p:=p||'chr(10) || chr(10);'||chr(10)|| ' l_msg := l_msg || wwv_flow_utilities.host_url(''SCRIPT'') || chr(10);'||chr(10)|| ' l_body_html := wwv_flow_fnd_developer_api.convert_txt_to_html(l_msg);'||chr(10)|| ''||chr(10)|| ' if l_email is null then'||chr(10)|| ' for c1 in ( select '||chr(10)|| ' b.email_address from wwv_flow_provision_serice_mod a, wwv_flow_fnd_user b '||chr(10)|| ' where a.security_group_id = b.security_group_id'||chr(10)|| ' '; p:=p||' and a.requested_by = b.user_name'||chr(10)|| ' and a.id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ' end if;'||chr(10)|| ' '||chr(10)|| ' if :P110_DELETE = ''YES'' then'||chr(10)|| ' wwv_flow_provisioning.delete_modification_request(p_request_id=>:P110_REQUEST_ID);'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' if l_email is not null then'||chr(10)|| ' wwv_flow_mail.send('||chr(10)|| ' p_to => l_email,'||chr(10)|| ' p_from => n'; p:=p||'vl(wwv_flow_platform.get_preference(''SMTP_FROM''),l_email),'||chr(10)|| ' p_subj => wwv_flow_lang.system_message(''F4050.CHANGE_DENIED_EMAIL''),'||chr(10)|| ' p_body => l_msg,'||chr(10)|| ' p_body_html => l_body_html);'||chr(10)|| ' wwv_flow_mail.push_queue_background;'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 20696321420812715.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_process_sequence=> 30, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Reject Request', p_process_sql_clob => p, p_process_error_message=> '拒绝请求时出错。', p_process_when_button_id=>20596428918530967.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '请求被拒绝。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'declare'||chr(10)|| ' l_msg varchar2(4000);'||chr(10)|| ' l_email varchar2(4000) := null;'||chr(10)|| ' l_body_html varchar2(32767) := null;'||chr(10)|| ' l_drop_users varchar2(2);'||chr(10)|| ' l_drop_tablespaces varchar2(2);'||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| ' for c1 in (select a.service_attribute_2 email_address, c.short_name'||chr(10)|| ' from wwv_flow_provision_serice_mod a, wwv_flow_companies c'||chr(10)|| ' where a.security_group_id = c'; p:=p||'.provisioning_company_id'||chr(10)|| ' and a.id = :P110_REQUEST_ID) loop'||chr(10)|| ' l_msg := chr(10)||wwv_flow_lang.system_message(p_name=>''F4050.SERVICE_TERMINATED_EMAIL_BODY'','||chr(10)|| ' p0=>c1.short_name)||chr(10)||chr(10)||chr(10);'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ''||chr(10)|| ' l_msg := l_msg || :P110_Comments || chr(10) || chr(10) || chr(10);'||chr(10)|| ' l_msg := l_msg || wwv_flow_utilities.host_url(''SCRIPT'') |'; p:=p||'| chr(10);'||chr(10)|| ' l_body_html := wwv_flow_fnd_developer_api.convert_txt_to_html(l_msg);'||chr(10)|| ' '||chr(10)|| ' if l_email is null then'||chr(10)|| ' for c1 in ( select '||chr(10)|| ' b.email_address from wwv_flow_provision_serice_mod a, wwv_flow_fnd_user b '||chr(10)|| ' where a.security_group_id = b.security_group_id'||chr(10)|| ' and a.requested_by = b.user_name'||chr(10)|| ' and a.id = :P110_REQ'; p:=p||'UEST_ID) loop'||chr(10)|| ' l_email := c1.email_address;'||chr(10)|| ' end loop;'||chr(10)|| ' end if;'||chr(10)|| ' '||chr(10)|| ' if l_email is not null then'||chr(10)|| ' wwv_flow_mail.send('||chr(10)|| ' p_to => l_email,'||chr(10)|| ' p_from => nvl(wwv_flow_platform.get_preference(''SMTP_FROM''),l_email),'||chr(10)|| ' p_subj => wwv_flow_lang.system_message(''F4050.SERVICE_TERMINATED_EMAIL''),'||chr(10)|| ' p_body => l_msg,'||chr(10)|| ' p_body_html => l_body_html );'||chr(10)|| ' '; p:=p||'end if;'||chr(10)|| ''||chr(10)|| ' if instr(:P110_DROP,''U'') > 0 then'||chr(10)|| ' l_drop_users := ''Y'';'||chr(10)|| ' else'||chr(10)|| ' l_drop_users := ''N'';'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' if instr(:P110_DROP,''T'') > 0 then'||chr(10)|| ' l_drop_tablespaces := ''Y'';'||chr(10)|| ' else'||chr(10)|| ' l_drop_tablespaces := ''N'';'||chr(10)|| ' end if;'||chr(10)|| ''||chr(10)|| ' wwv_flow_provisioning.terminate_service_by_sgid('||chr(10)|| ' p_security_group_id => :P110_SGID,'||chr(10)|| ' p_drop_users => l_drop_users,'||chr(10)|| ' p_drop_tablespaces =>'; p:=p||' l_drop_tablespaces );'||chr(10)|| ''||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 20705626924861635.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 110.4056, p_process_sequence=> 40, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Terminate Service', p_process_sql_clob => p, p_process_error_message=> '终止服务时出错。', p_process_when_button_id=>20624429367663600.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '服务已终止。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 110.4056 -- begin null; end; null; end; / --application/pages/page_120.4 prompt ...PAGE 120.4056: 邮件队列 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_email.htm'; ph := null; wwv_flow_api.create_page( p_id => 120.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '邮件队列', p_step_title=> '邮件队列', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216784309333645873+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 19236405723931959.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165714', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>120.4056,p_text=>h); 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=> 48360219479205745.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 120.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 49446201769803487.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 120.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 15, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'

监视邮件队列中的电子邮件。可以从队列中删除单个邮件。

'; wwv_flow_api.create_page_plug ( p_id=> 50268723520030341.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 120.4056, p_plug_name=> '邮件队列', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select id, mail_to, mail_from, mail_subj, mail_cc, mail_bcc, last_updated_on, last_updated_by, mail_send_error'||chr(10)|| ' from wwv_flow_mail_queue'; wwv_flow_api.create_report_region ( p_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 120.4056, p_name=> 'Mail Queue', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 25, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'UPDATABLE_SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', p_query_num_rows=> '10', p_query_options=> 'DERIVED_REPORT_COLUMNS', p_query_show_nulls_as=> ' -', p_query_break_cols=> '0', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'P120_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '10000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 52079921055245360.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + 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=> 'CHECK$01', p_column_display_sequence=> 1, p_column_heading=> ' ', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'CHECKBOX', p_pk_col_source=> s, p_derived_column=> 'Y', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52072918944220953.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + 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=> 'ID', p_column_display_sequence=> 2, p_column_heading=> 'ID', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'Y', p_sum_column=> 'N', p_hidden_column=> 'Y', p_display_as=>'DISPLAY_AND_SAVE', p_lov_show_nulls=> 'NO', 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=> 52073024837220953.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + 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=> 'MAIL_TO', p_column_display_sequence=> 3, p_column_heading=> '发送至', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52073128821220954.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + 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=> 'MAIL_FROM', p_column_display_sequence=> 4, p_column_heading=> '从', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52073227085220954.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + 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=> 'MAIL_SUBJ', p_column_display_sequence=> 5, p_column_heading=> '主题', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52073318409220954.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + 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=> 'MAIL_CC', p_column_display_sequence=> 6, p_column_heading=> '抄送', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52073402357220954.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'MAIL_BCC', p_column_display_sequence=> 7, p_column_heading=> '密送', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52073505633220954.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'LAST_UPDATED_ON', p_column_display_sequence=> 8, p_column_heading=> '创建时间', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', 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=> 52073606743220954.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 9, p_form_element_id=> null, p_column_alias=> 'LAST_UPDATED_BY', p_column_display_sequence=> 9, p_column_heading=> '创建者', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 27759304778424826.4056 + wwv_flow_api.g_id_offset, p_region_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 10, p_form_element_id=> null, p_column_alias=> 'MAIL_SEND_ERROR', p_column_display_sequence=> 10, p_column_heading=> '错误', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_column_comment=>''); end; / begin wwv_flow_api.create_page_button( p_id => 19610007895177043.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 120.4056, p_button_sequence=> 10, p_button_plug_id => 49446201769803487+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 50605032251638488.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 120.4056, p_button_sequence=> 10, p_button_plug_id => 49446201769803487+wwv_flow_api.g_id_offset, p_button_name => 'SEND', p_button_image_alt=> '发送所有邮件', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 48462126508690371.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 120.4056, p_button_sequence=> 10, p_button_plug_id => 49446201769803487+wwv_flow_api.g_id_offset, p_button_name => 'DELETE', p_button_image_alt=> '删除', p_button_position=> 'REGION_TEMPLATE_DELETE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>49576529642473872.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 120.4056, p_branch_action=> 'f?p=&FLOW_ID.:120:&SESSION.::&DEBUG.:RP::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 10, p_branch_condition_type=> 'REQUEST_EQUALS_CONDITION', p_branch_condition=> 'Go', p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 07-JUN-2004 13:58 by JOEL'); wwv_flow_api.create_page_branch( p_id=>48515711186704875.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 120.4056, p_branch_action=> 'f?p=&FLOW_ID.:120:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 04-JUN-2004 14:23 by JOEL'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择要在每页中显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>49503429923294149.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 120.4056, p_name=>'P120_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 49446201769803487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '10', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_A', p_lov => '.'||to_char(87504531900192794 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> '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 => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>49539627246350197.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 120.4056, p_name=>'P120_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 49446201769803487.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'Go', p_prompt=>'开始', 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; / begin wwv_flow_api.create_page_validation( p_id => 61617713712144160.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 120.4056, p_validation_name => 'Something checked on delete', p_validation_sequence=> 10, p_validation => 'wwv_flow.g_f01.count > 0', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '没有选中任何要删除的消息。', p_when_button_pressed=> 48462126508690371.4056 + wwv_flow_api.g_id_offset, p_associated_item=> .4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_IN_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'#OWNER#:WWV_FLOW_MAIL_QUEUE:ID'; wwv_flow_api.create_page_process( p_id => 48518317897716201.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 120.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'MULTI_ROW_DELETE', p_process_name=> 'Delete Checked', p_process_sql_clob => p, p_process_error_message=> '从队列删除邮件时出错。', p_process_when_button_id=>48462126508690371.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '已成功从队列中删除邮件。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_mail.push_queue('||chr(10)|| ' wwv_flow_platform.get_preference(''SMTP_HOST_ADDRESS''),'||chr(10)|| ' wwv_flow_platform.get_preference(''SMTP_HOST_PORT'')'||chr(10)|| ');'||chr(10)|| '--'||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 50611232167657317.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 120.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Send Mail', p_process_sql_clob => p, p_process_error_message=> '发送邮件时出错。', p_process_when_button_id=>50605032251638488.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '已成功发送邮件。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 120.4056 -- begin wwv_flow_api.create_region_rpt_cols ( p_id => 52076517114234733.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 1, p_query_column_name=> 'ID', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 52076621951234734.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 2, p_query_column_name=> 'MAIL_TO', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 52076715067234734.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 3, p_query_column_name=> 'MAIL_FROM', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 52076807247234734.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 4, p_query_column_name=> 'MAIL_SUBJ', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 52076910607234734.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 5, p_query_column_name=> 'MAIL_CC', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 52077014613234734.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 6, p_query_column_name=> 'MAIL_BCC', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 52077106520234734.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 7, p_query_column_name=> 'LAST_UPDATED_ON', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 52077202857234734.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 8, p_query_column_name=> 'LAST_UPDATED_BY', p_display_as=> 'TEXT', p_column_comment=> ''); wwv_flow_api.create_region_rpt_cols ( p_id => 27759202939424825.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_plug_id=> 52072302092220942.4056 + wwv_flow_api.g_id_offset, p_column_sequence=> 9, p_query_column_name=> 'MAIL_SEND_ERROR', p_display_as=> 'TEXT', p_column_comment=> ''); null; end; null; end; / --application/pages/page_121.4 prompt ...PAGE 121.4056: 邮件日志 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_email.htm'; ph := null; wwv_flow_api.create_page( p_id => 121.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '邮件日志', p_step_title=> '邮件日志', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216784309333645873+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165714', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>121.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'通过邮件日志监视电子邮件, 该日志包含成功发送的所有邮件的邮件标头字段和日期。'; wwv_flow_api.create_page_plug ( p_id=> 50496401272341432.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 121.4056, p_plug_name=> '&PRODUCT_NAME. 邮件日志', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 30, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 50496812659341435.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 121.4056, p_plug_name=> 'Button Bar', p_region_name=>'', p_plug_template=> 107311831567346457.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 15, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_02', 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_row_count_max => 500, p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 50497223765341436.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 121.4056, p_plug_name=> 'Menu', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 10, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'QUERY_COLUMNS', 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_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select mail_to, mail_from, mail_subj, mail_cc, mail_bcc, last_updated_on, last_updated_by, mail_send_error'||chr(10)|| ' from wwv_flow_mail_log'||chr(10)|| ' where ( :P121_SEARCH is null '||chr(10)|| ' or upper(mail_to) like ''%''||upper(:P121_SEARCH)||''%'''||chr(10)|| ' or upper(mail_from) like ''%''||upper(:P121_SEARCH)||''%'''||chr(10)|| ' or upper(mail_subj) like ''%''||upper(:P121_SEARCH)||''%'''||chr(10)|| ' or upper(mail_cc) like ''%''||upper(:P12'; s:=s||'1_SEARCH)||''%'''||chr(10)|| ' or upper(mail_bcc) like ''%''||upper(:P121_SEARCH)||''%'''||chr(10)|| ' or upper(mail_send_error) like ''%''||upper(:P121_SEARCH)||''%'''||chr(10)|| ' )'; wwv_flow_api.create_report_region ( p_id=> 51965204798341743.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 121.4056, p_name=> 'Mail Log', p_region_name=>'', p_template=> 0+ wwv_flow_api.g_id_offset, p_display_sequence=> 40, p_display_column=> 1, p_display_point=> 'REGION_POSITION_02', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', p_query_row_template=> 6897002870390711.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_item=> 'P121_ROWS', p_query_num_rows_type=> 'ROW_RANGES_WITH_LINKS', p_query_row_count_max=> '100000', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', p_query_asc_image=> 'arrow_down_gray_dark.gif', p_query_asc_image_attr=> 'width="13" height="12"', p_query_desc_image=> 'arrow_up_gray_dark.gif', p_query_desc_image_attr=> 'width="13" height="12"', 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=> 51965814485341783.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + 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=> 'MAIL_TO', p_column_display_sequence=> 1, p_column_heading=> '到', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 51965902815341783.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + 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=> 'MAIL_FROM', p_column_display_sequence=> 2, p_column_heading=> '从', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 51966030877341783.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + 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=> 'MAIL_SUBJ', p_column_display_sequence=> 3, p_column_heading=> '主题', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 51966129806341783.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + 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=> 'MAIL_CC', p_column_display_sequence=> 4, p_column_heading=> '抄送', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 51966214297341783.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + 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=> 'MAIL_BCC', p_column_display_sequence=> 5, p_column_heading=> '密送', p_column_alignment=>'LEFT', p_heading_alignment=>'LEFT', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52130111190280303.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + 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=> 'LAST_UPDATED_ON', p_column_display_sequence=> 6, p_column_heading=> '创建时间', p_column_format=> '&DATE_TIME_FORMAT.', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_default_sort_dir=>'desc', p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'WITHOUT_MODIFICATION', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 52133310974289712.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 7, p_form_element_id=> null, p_column_alias=> 'LAST_UPDATED_BY', p_column_display_sequence=> 7, p_column_heading=> '创建者', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 27756910637409886.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51965204798341743.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_query_column_id=> 8, p_form_element_id=> null, p_column_alias=> 'MAIL_SEND_ERROR', p_column_display_sequence=> 8, p_column_heading=> '错误', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>0, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'N', p_display_as=>'ESCAPE_SC', p_lov_show_nulls=> 'NO', p_pk_col_source=> s, p_lov_display_extra=> 'YES', p_include_in_export=> 'Y', p_column_comment=>''); end; / begin wwv_flow_api.create_page_button( p_id => 108302731174967188.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 121.4056, p_button_sequence=> 10, p_button_plug_id => 50496812659341435+wwv_flow_api.g_id_offset, p_button_name => 'TRUNCATE', p_button_image_alt=> '截断', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>50500825272341463.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 121.4056, p_branch_action=> 'f?p=&FLOW_ID.:121:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 04-JUN-2004 14:23 by JOEL'); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>50499210292341444.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 121.4056, p_name=>'P121_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 50496812659341435.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default => 'Go', p_prompt=>'开始', 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 h := null; h:=h||'选择要在每页中显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>50499616171341450.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 121.4056, p_name=>'P121_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 50496812659341435.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '10', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'显示', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'MAX_ROWS_A', p_lov => '.'||to_char(87504531900192794 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入不区分大小写的查询, 然后单击“开始”。'; wwv_flow_api.create_page_item( p_id=>136375005065949465.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 121.4056, p_name=>'P121_SEARCH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 3, p_item_plug_id => 50496812659341435.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'搜索', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> 'nowrap', 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_field_template => 343399818250317904.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'delete from wwv_flow_mail_log;'||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 50542609292499337.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 121.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Truncate log', p_process_sql_clob => p, p_process_error_message=> '截断邮件日志时出错。', p_process_when_button_id=>108302731174967188.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '已成功截断邮件日志。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 108304121608973821.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 121.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'RESET_PAGINATION', p_process_name=> 'Reset Pagination', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>50499210292341444.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 121.4056 -- begin null; end; null; end; / --application/pages/page_130.4 prompt ...PAGE 130.4056: 安全性 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_env_sec_config.htm'; ph := null; wwv_flow_api.create_page( p_id => 130.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '安全性', p_step_title=> '安全性', p_step_sub_title => 'Password Requirements', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => '', p_group_id => 216766702444596508+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165714', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>130.4056,p_text=>h); 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=> 47633503888931997.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> 'Button Box', p_region_name=>'', p_plug_template=> 4888405638168833.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'以下环境设置控制 &PRODUCT_NAME. 配置。这些设置应用于所有工作区。'; wwv_flow_api.create_page_plug ( p_id=> 47633719229931998.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> '环境设置', p_region_name=>'', p_plug_template=> 79623830123907946.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1010, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', 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 => 'NEVER', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'169592700462495276'; wwv_flow_api.create_page_plug ( p_id=> 47633909124931998.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> 'Anchor', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 2, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 47742729985104776 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 47634100990931998.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> '安全性', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, 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_column_width => 'valign=top', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_header=> '

配置服务级别安全设置通常用于保护生产服务。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 47634329213931998.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> '工作区口令策略', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 100, 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_column_width => 'valign=top', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_header=> '

在所有工作区中管理 &PRODUCT_NAME. 用户 (工作区管理员, 开发者和最终用户) 的口令策略。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 47634507195931998.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> '帐户登录控件', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 60, 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_header=> '

管理工作区管理员和工作区开发者帐户的安全设置。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 47636118499932000.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> 'Security', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||''; wwv_flow_api.create_page_plug ( p_id=> 73979900344500446.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> 'End Div', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 110, 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=> 'Error displaying region', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 15, p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 89750720435909255.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> '服务管理员口令策略', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 102, 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_column_width => 'valign=top', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_header=> '

管理 &PRODUCT_NAME. 服务管理员的口令策略。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 91386804125361972.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> '区域和 Web 服务排除的域', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 40, 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_column_width => 'valign=top', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => '', p_pagination_display_position=>'BOTTOM_RIGHT', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 265060615421497554.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> '&PRODUCT_NAME. 的会话超时', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 21, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_header=> '

管理 Application Express 开发工具包的会话设置。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 269315927377914018.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 130.4056, p_plug_name=> 'HTTPS', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20.5, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_header=> '

警告: 如果将 "需要 HTTPS" 设置为 "是", 则将无法通过 HTTP 登录到 &PRODUCT_NAME.。将 "需要 HTTPS" 设置为 "是" 之前, 请确保服务器上启用了 HTTPS 协议。

', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 47636632210932000.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_button_sequence=> 10, p_button_plug_id => 47633503888931997+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_button_sequence=> 10, p_button_plug_id => 47633503888931997+wwv_flow_api.g_id_offset, p_button_name => 'APPLY_CHANGES', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>47662900087932034.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_branch_action=> '5', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可允许 &PRODUCT_NAME. 工作区登录页发送包含上次使用的工作区名称和用户名组合的持久 Cookie。选择可禁止发送此 Cookie。'||chr(10)|| '

此 Cookie 生存期为六个月, 用于填充 &PRODUCT_NAME. 工作区登录表单 (不是 &PRODUCT_NAME. 服务管理登录表单) 的“工作区”和“用户名”字段。 '||chr(10)|| '

如果计算机已经收到了此 Cookie, 您可以使用浏览器工具或系统实用工具将 Cookie 从它在磁盘上的持久位置中物理地删除。Cookie 的名称为 ORACLE_PLATFORM_REMEMBER_UN, 并且每个具有不同主机名和路径组件的, 已访问过的 &PRODUCT_NAME. 服务都存在该 Cookie。'||chr(10)|| ''||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>47637030913932004.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_WORKSPACE_NAME_USR_COOKIE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 135, p_item_plug_id => 47634100990931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'设置工作区 Cookie', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择通过禁止管理员登录来限制用户对 &PRODUCT_NAME. 的访问。禁止管理员登录到生产环境能够防止未授权的用户登录到 &PRODUCT_NAME. 管理服务, 并防止可能的用户登录身份证明泄密。'||chr(10)|| ''||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>47646415366932012.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_DISABLE_ADMIN_LOGIN', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 140, p_item_plug_id => 47634100990931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'禁用管理员登录', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'要将对 &PRODUCT_NAME. 实例的访问限制为特定的 IP 地址范围, 请输入逗号分隔的 IP 地址列表。'||chr(10)|| '

如有必要, 可以使用星号 (*) 作为通配符, 但请勿在通配符后包括其他数字值。例如, 138.*.41.2 不是有效值。'||chr(10)|| '

可以输入 1 到 4 个级别的 IP 地址。例如: '||chr(10)|| '

'; wwv_flow_api.create_page_item( p_id=>47646911123932013.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_RESTRICT_IP_RANGE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 150, p_item_plug_id => 47634100990931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'按 IP 地址限制访问', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择通过禁止工作区登录来限制用户对 &PRODUCT_NAME. 的访问。禁止工作区登录到生产环境能够防止用户运行 &PRODUCT_NAME. 应用程序, 例如应用程序构建器。'||chr(10)|| ''||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>47647419618932013.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_DISABLE_WORKSPACE_LOGIN', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 145, p_item_plug_id => 47634100990931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'禁用工作区登录', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入一个正整数作为开发者或管理员帐户口令在失效之前可以使用的最大天数。默认值为 45 天。 '||chr(10)|| ' '||chr(10)|| '

此设置仅适用于那些访问 &PRODUCT_NAME. 管理和开发环境时使用的帐户。它不适用于在 &PRODUCT_NAME. 中开发的应用程序所使用的最终用户帐户。 '||chr(10)|| ' '||chr(10)|| '

不过, 此设置用作默认工作区级别的 "最终用户帐户有效期" 首选项, 工作区管理员可对其进行更改。工作区级别的首选项用于该工作区内的最终用户帐户。'; wwv_flow_api.create_page_item( p_id=>47647919390932013.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_ACCOUNT_LIFETIME_DAYS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 230, p_item_plug_id => 47634507195931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'帐户口令有效期 (天)', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 3, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入一个正整数作为连续未成功验证尝试的最大次数, 超过此值, 将锁定开发者或管理员帐户。默认值为 4。 '||chr(10)|| ' '||chr(10)|| '

此设置仅适用于那些访问 &PRODUCT_NAME. 的管理和开发环境时使用的帐户。它不适用于在 &PRODUCT_NAME. 中开发的应用程序所使用的最终用户帐户。 '||chr(10)|| ' '||chr(10)|| '

不过, 此设置用作默认的工作区级别 "允许的最大登录失败次数" 首选项, 工作区管理员可对其进行更改。工作区级别的首选项适用于该工作区内的最终用户帐户。'; wwv_flow_api.create_page_item( p_id=>47649932493932015.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_USER_MAX_LOGIN_FAILURES', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 220, p_item_plug_id => 47634507195931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'允许的最大登录失败次数', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 10, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可在所有工作区中启用 &PRODUCT_NAME. 用户帐户失效和锁定功能。此选择可以防止在工作区级别禁用相同的功能。 '||chr(10)|| '

选择允许单个工作区独立地启用或禁用此功能。 '||chr(10)|| '

&PRODUCT_NAME. 用户帐户失效和锁定功能适用于使用 &PRODUCT_NAME. 最终用户帐户管理界面创建的最终用户帐户。'; wwv_flow_api.create_page_item( p_id=>47650422637932015.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_EXPIRE_FND_USER_ACCOUNTS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 210, p_item_plug_id => 47634507195931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'需要用户帐户失效和锁定', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入数字以设置工作区管理员, 开发者和最终用户帐户的最短口令长度。'; wwv_flow_api.create_page_item( p_id=>47650925096932015.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_MIN_LENGTH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 270, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'最小口令长度', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 3, p_cMaxlength=> 3, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可以要求工作区管理员, 开发者和最终用户帐户口令至少包含一个阿拉伯数字字母: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9。'; wwv_flow_api.create_page_item( p_id=>47651414651932016.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_ONE_NUMERIC', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 300, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'必须至少包含一个数字字符', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入新文本或编辑现有文本。这是用于口令验证所涉及的字母字符的字符集。'; wwv_flow_api.create_page_item( p_id=>47651903529932016.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_ALPHA_CHARS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 370, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'字母字符', p_source_type=> 'STATIC', p_display_as=> 'TEXTAREA', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 65, p_cMaxlength=> 2000, p_cHeight=> 2, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>47652418307932017.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_X2', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 365, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'STOP_AND_START_HTML_TABLE', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 'LEFT', p_field_alignment => 'LEFT', p_display_when_type=>'NEVER', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可防止工作区管理员, 开发者和最终用户帐户的口令中包含用户名 (无论大小写如何)。'; wwv_flow_api.create_page_item( p_id=>47652625102932017.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_NOT_LIKE_USERNAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 330, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'不能包含用户名', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 12, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可要求工作区管理员, 开发者和最终用户帐户的口令中至少包含一个小写字母字符。'; wwv_flow_api.create_page_item( p_id=>47653123193932018.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_ONE_LOWER_CASE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 325, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'必须至少包含一个小写字符', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可要求工作区管理员, 开发者和最终用户帐户的口令中至少包含一个在以下“字母字符”字段中指定的字母字符。'; wwv_flow_api.create_page_item( p_id=>47653613129932018.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_ONE_ALPHA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 290, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'必须至少包含一个字母字符', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入要求新旧口令之间的字符差异数量。口令将逐个字符进行比较, 对任意位置的字符差异计数, 并与要求的最小差异数对比。 '||chr(10)|| '

此设置适用于工作区管理员, 开发者和最终用户的帐户。'; wwv_flow_api.create_page_item( p_id=>47654118447932018.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_NEW_DIFFERS_BY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 280, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'最小口令不同数', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 3, p_cMaxlength=> 4, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可要求工作区管理员, 开发者和最终用户帐户的口令中至少包含一个在以下“标点字符”字段中指定的标点字符。'; wwv_flow_api.create_page_item( p_id=>47654617743932018.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_ONE_PUNCTUATION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 318, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'口令必须至少包含一个标点字符', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入新文本或编辑现有文本。这是用于口令验证所涉及的标点字符的字符集。'; wwv_flow_api.create_page_item( p_id=>47655120422932019.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_PUNCTUATION_CHARS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 380, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '!"#$%&()``*+,-/:;<=>?_', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'标点字符', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 25, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可要求工作区管理员, 开发者和最终用户帐户的口令中至少包含一个大写字母字符。'; wwv_flow_api.create_page_item( p_id=>47655613669932019.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_ONE_UPPER_CASE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 320, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'必须至少包含一个大写字符', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择可防止工作区管理员, 开发者和最终用户帐户的口令中包含工作区名称 (无论大小写如何)。'; wwv_flow_api.create_page_item( p_id=>47656132356932019.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_NOT_LIKE_WS_NAME', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 340, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'不能包含工作区名称', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入工作区管理员, 开发者和最终用户帐户的口令中不能包含的单词, 以冒号分隔。这些单词不能以任何大小写组合的形式出现在口令中。 '||chr(10)|| '

此功能通过防止创建一些如 "hello", "guest", "welcome" 之类的简单的, 易于推测的口令来增强安全性。'; wwv_flow_api.create_page_item( p_id=>47656601012932020.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_PW_NOT_LIKE_WORDS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 360, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'oracle:hello:welcome:guest:user:database', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'不能包含', p_source_type=> 'STATIC', p_display_as=> 'TEXTAREA-AUTO-HEIGHT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 80, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择口令策略:
'||chr(10)|| '

'; wwv_flow_api.create_page_item( p_id=>47657120063932020.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_STRONG_SITE_ADMIN_PWD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 265, p_item_plug_id => 89750720435909255.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'策略', p_source_type=> 'STATIC', p_display_as=> 'RADIOGROUP', p_named_lov=> 'SITE ADMIN PASSWORD OPTION', p_lov => '.'||to_char(25698924524085246 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_cattributes_element=>'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'ABOVE', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>47657630324932020.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_W', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 266, p_item_plug_id => 47634329213931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'STOP_AND_START_HTML_TABLE', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+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 h := null; h:=h||'输入在类型 URL 区域中不允许的或者不可作为 Web 服务访问的域 (不包括端口), 以冒号分隔。例如:'||chr(10)|| '
mycompany.com:yourcompany.com:abccompany.com
'; wwv_flow_api.create_page_item( p_id=>91387829059369221.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_BAD_URLS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 390, p_item_plug_id => 91386804125361972.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'域不能包含', p_source_type=> 'STATIC', p_display_as=> 'TEXTAREA-AUTO-HEIGHT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 80, p_cMaxlength=> 2000, p_cHeight=> 5, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入表示允许 &PRODUCT_NAME. 开发工具包应用程序 (应用程序构建器, SQL 工作室等) 会话存在的秒数的正整数值。保留该值为空值可以将该值还原为默认值 8 小时 (28800 秒)。此会话持续时间可以由作业操作推迟, 该作业每 8 小时运行一次, 用于删除超过 12 个小时的会话。'; wwv_flow_api.create_page_item( p_id=>265060912089506105.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_MAX_SESSION_LENGTH_SEC', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 400, p_item_plug_id => 265060615421497554.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'最大会话长度 (秒)', p_source_type=> 'STATIC', p_display_as=> 'POPUP', p_named_lov=> 'SECONDS', p_lov => '.'||to_char(265067300720195470 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'YES', p_lov_translated=> 'N', p_lov_null_text=>'', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入表示允许 &PRODUCT_NAME. 开发工具包应用程序 (应用程序构建器, SQL 工作室等) 会话保持空闲的秒数的正整数值。保留该值为空值可以将该值还原为默认值 1 小时 (3600 秒)。'; wwv_flow_api.create_page_item( p_id=>265061508411514495.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_MAX_SESSION_IDLE_SEC', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 410, p_item_plug_id => 265060615421497554.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'最长会话空闲时间 (秒)', p_source_type=> 'STATIC', p_display_as=> 'POPUP', p_named_lov=> 'SECONDS', p_lov => '.'||to_char(265067300720195470 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择使 &PRODUCT_NAME. 开发和管理应用程序中的已验证页仅在协议为 HTTPS 时使用。选择使这些应用程序页在协议为 HTTP 或 HTTPS 时均可使用。如果已将 Web 服务器配置为使用 SSL, 则将使用 HTTPS 协议。为此选项选择时, cookie 将与安全标记一起发送, 使它们仅在协议为 HTTPS 时方可使用。此设置不适用于使用 &PRODUCT_NAME. 开发的应用程序。要将开发的此类应用程序指定为需要 HTTPS 和安全 cookie, 请在各个应用程序的验证方案中设置 cookie 属性的对应属性。'||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>267420410559159407.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_REQUIRE_HTTPS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 420, p_item_plug_id => 269315927377914018.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'N', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'需要 HTTPS', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择 "是" 可允许未验证的用户在提供文件上载控件的应用程序中上载文件。选择 "否" 可阻止未验证的用户在提供文件上载控件的应用程序中上载文件。'; wwv_flow_api.create_page_item( p_id=>275609231761206045.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 130.4056, p_name=>'P130_ALLOW_PUBLIC_FILE_UPLOAD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 146, p_item_plug_id => 47634100990931998.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'Y', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'允许公共文件上载', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'YES_NO_RETURNS_Y_OR_N', p_lov => '.'||to_char(157992123774592395 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 47662111179932031.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_validation_name => 'P130_EXPIRE_FND_USER_ACCOUNTS', p_validation_sequence=> 70, p_validation => 'P130_EXPIRE_FND_USER_ACCOUNTS', p_validation2 => 'YN', p_validation_type => 'ITEM_IN_VALIDATION_IN_STRING2', p_error_message => '值超出范围。', p_when_button_pressed=> 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 47650422637932015.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 47661530661932030.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_validation_name => 'max login failures positive integer', p_validation_sequence=> 80, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P130_USER_MAX_LOGIN_FAILURES );'||chr(10)|| ' if l_number = abs(trunc(l_number)) and l_number > 0 then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_validation_condition=> 'P130_USER_MAX_LOGIN_FAILURES', p_validation_condition_type=> 'ITEM_IS_NOT_NULL', p_when_button_pressed=> 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 47649932493932015.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 47661914041932030.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_validation_name => 'account lifetime days positive integer', p_validation_sequence=> 90, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P130_ACCOUNT_LIFETIME_DAYS );'||chr(10)|| ' if l_number = abs(trunc(l_number)) and l_number > 0 then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_validation_condition=> 'P130_ACCOUNT_LIFETIME_DAYS', p_validation_condition_type=> 'ITEM_IS_NOT_NULL', p_when_button_pressed=> 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 47647919390932013.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 47661715832932030.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_validation_name => 'P130_PW_MIN_LENGTH positive integer', p_validation_sequence=> 100, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P130_PW_MIN_LENGTH );'||chr(10)|| ' if l_number >= 0 and l_number = abs(trunc(l_number)) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_validation_condition=> 'P130_PW_MIN_LENGTH', p_validation_condition_type=> 'ITEM_IS_NOT_NULL', p_when_button_pressed=> 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 47650925096932015.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 47661111116932029.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_validation_name => 'P130_NEW_DIFFERS_BY positive int or zero', p_validation_sequence=> 110, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P130_PW_NEW_DIFFERS_BY );'||chr(10)|| ' if l_number is null or l_number = abs(trunc(l_number)) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_when_button_pressed=> 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 47654118447932018.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 265062326034266987.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_validation_name => 'P130_MAX_SESSION_LENGTH_SEC', p_validation_sequence=> 120, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P130_MAX_SESSION_LENGTH_SEC );'||chr(10)|| ' if l_number is null or (l_number = abs(trunc(l_number)) and l_number > 0) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_when_button_pressed=> 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 265060912089506105.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin wwv_flow_api.create_page_validation( p_id => 265062415083273234.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_validation_name => 'P130_MAX_SESSION_IDLE_SEC', p_validation_sequence=> 130, p_validation => 'declare'||chr(10)|| ' l_number number;'||chr(10)|| 'begin'||chr(10)|| ' l_number := to_number( :P130_MAX_SESSION_IDLE_SEC );'||chr(10)|| ' if l_number is null or (l_number = abs(trunc(l_number)) and l_number > 0) then'||chr(10)|| ' return TRUE;'||chr(10)|| ' else '||chr(10)|| ' return FALSE;'||chr(10)|| ' end if;'||chr(10)|| 'exception'||chr(10)|| ' when others then'||chr(10)|| ' return FALSE;'||chr(10)|| 'end;', p_validation_type => 'FUNC_BODY_RETURNING_BOOLEAN', p_error_message => '值必须是正整数。', p_when_button_pressed=> 47636805241932002.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 265061508411514495.4056 + wwv_flow_api.g_id_offset, p_error_display_location=>'INLINE_WITH_FIELD_AND_NOTIFICATION', p_validation_comment=> ''); null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||':P130_WORKSPACE_NAME_USR_COOKIE :='||chr(10)|| ' nvl(wwv_flow_platform.get_preference(''WORKSPACE_NAME_USER_COOKIE''),''Y'');'||chr(10)|| ''||chr(10)|| ':P130_DISABLE_ADMIN_LOGIN := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''DISABLE_ADMIN_LOGIN'' );'||chr(10)|| ''||chr(10)|| ':P130_DISABLE_WORKSPACE_LOGIN := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''DISABLE_WORKSPACE_LOGIN'' );'||chr(10)|| ''||chr(10)|| ':P130_ALLOW_PUBLIC_FILE_UPLOAD := '||chr(10)|| ' wwv_flow_p'; p:=p||'latform.get_preference( p_preference_name => ''ALLOW_PUBLIC_FILE_UPLOAD'' );'||chr(10)|| ''||chr(10)|| ':P130_RESTRICT_IP_RANGE := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''RESTRICT_IP_RANGE'' );'||chr(10)|| ''||chr(10)|| ':P130_REQUIRE_HTTPS := '||chr(10)|| ' wwv_flow_platform.get_preference( p_preference_name => ''REQUIRE_HTTPS'' );'||chr(10)|| '--'||chr(10)|| '-- Account Login Control'||chr(10)|| '--'||chr(10)|| ':P130_EXPIRE_FND_USER_ACCOUNTS := wwv_flow_platform.get_preference(''EXPIRE_FND_U'; p:=p||'SER_ACCOUNTS'');'||chr(10)|| ':P130_USER_MAX_LOGIN_FAILURES := wwv_flow_platform.get_preference(''MAX_LOGIN_FAILURES'');'||chr(10)|| ':P130_ACCOUNT_LIFETIME_DAYS := wwv_flow_platform.get_preference(''ACCOUNT_LIFETIME_DAYS'');'||chr(10)|| ':P130_STRONG_SITE_ADMIN_PWD := wwv_flow_platform.get_preference(''STRONG_SITE_ADMIN_PASSWORD'');'||chr(10)|| ':P130_PW_MIN_LENGTH := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_MIN_LENGTH'');'||chr(10)|| ':P130_PW'; p:=p||'_NEW_DIFFERS_BY := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_NEW_DIFFERS_BY'');'||chr(10)|| ':P130_PW_ONE_ALPHA := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_ONE_ALPHA'');'||chr(10)|| ':P130_PW_ONE_NUMERIC := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_ONE_NUMERIC'');'||chr(10)|| ':P130_PW_ONE_PUNCTUATION := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_O'; p:=p||'NE_PUNCTUATION'');'||chr(10)|| ':P130_PW_ONE_UPPER_CASE := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_ONE_UPPER_CASE'');'||chr(10)|| ':P130_PW_ONE_LOWER_CASE := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_ONE_LOWER_CASE'');'||chr(10)|| ':P130_PW_NOT_LIKE_USERNAME := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_NOT_LIKE_USERNAME'');'||chr(10)|| ':P130_PW_NOT_LIKE_WS_NAME := wwv_flow_platform'; p:=p||'.get_preference( p_preference_name => ''PASSWORD_NOT_LIKE_WS_NAME'');'||chr(10)|| ':P130_PW_NOT_LIKE_WORDS := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_NOT_LIKE_WORDS'');'||chr(10)|| ':P130_PW_ALPHA_CHARS := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_ALPHA_CHARACTERS'');'||chr(10)|| ':P130_PW_PUNCTUATION_CHARS := wwv_flow_platform.get_preference( p_preference_name => ''PASSWORD_PUNCTUATION_CHARAC'; p:=p||'TERS'');'||chr(10)|| ':P130_BAD_URLS := wwv_flow_platform.get_preference( p_preference_name => ''BAD_URLS'');'||chr(10)|| ':P130_MAX_SESSION_IDLE_SEC := nvl(wwv_flow_platform.get_preference( p_preference_name => ''MAX_SESSION_IDLE_SEC''),3600);'||chr(10)|| ':P130_MAX_SESSION_LENGTH_SEC := nvl(wwv_flow_platform.get_preference( p_preference_name => ''MAX_SESSION_LENGTH_SEC''),28800);'; wwv_flow_api.create_page_process( p_id => 47662222355932032.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_HEADER', p_process_type=> 'PLSQL', p_process_name=> 'Fetch values from platform prefs table', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'wwv_flow_platform.set_preference( p_preference_name => ''WORKSPACE_NAME_USER_COOKIE'','||chr(10)|| ' p_preference_value => :P130_WORKSPACE_NAME_USR_COOKIE);'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''DISABLE_ADMIN_LOGIN'','||chr(10)|| ' p_preference_value => :P130_DISABLE_ADMIN_LOGIN );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''DISA'; p:=p||'BLE_WORKSPACE_LOGIN'','||chr(10)|| ' p_preference_value => :P130_DISABLE_WORKSPACE_LOGIN );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''ALLOW_PUBLIC_FILE_UPLOAD'','||chr(10)|| ' p_preference_value => :P130_ALLOW_PUBLIC_FILE_UPLOAD );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''RESTRICT_IP_RANGE'','||chr(10)|| ' p_pr'; p:=p||'eference_value => :P130_RESTRICT_IP_RANGE );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''REQUIRE_HTTPS'','||chr(10)|| ' p_preference_value => :P130_REQUIRE_HTTPS );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''EXPIRE_FND_USER_ACCOUNTS'','||chr(10)|| ' p_preference_value => :P130_EXPIRE_FND_USER_ACCOUNTS );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_prefer'; p:=p||'ence( p_preference_name => ''MAX_LOGIN_FAILURES'','||chr(10)|| ' p_preference_value => nvl(:P130_USER_MAX_LOGIN_FAILURES,4) );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''ACCOUNT_LIFETIME_DAYS'','||chr(10)|| ' p_preference_value => nvl(:P130_ACCOUNT_LIFETIME_DAYS,45) );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''STRONG_SITE_ADMIN_PASS'; p:=p||'WORD'','||chr(10)|| ' p_preference_value => nvl(:P130_STRONG_SITE_ADMIN_PWD,''N'') );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_MIN_LENGTH'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_MIN_LENGTH,0) );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_NEW_DIFFERS_BY'','||chr(10)|| ' p_preference_va'; p:=p||'lue => nvl(:P130_PW_NEW_DIFFERS_BY,0) );'||chr(10)|| ' '||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_ONE_ALPHA'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_ONE_ALPHA,''N'') );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_ONE_NUMERIC'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_ONE_NUMERIC'; p:=p||',''N'') ); '||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_ONE_PUNCTUATION'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_ONE_PUNCTUATION,''N'') ); '||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_ONE_UPPER_CASE'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_ONE_UPPER_CASE,''N'') ); '||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( '; p:=p||'p_preference_name => ''PASSWORD_ONE_LOWER_CASE'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_ONE_LOWER_CASE,''N'') ); '||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_NOT_LIKE_USERNAME'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_NOT_LIKE_USERNAME,''N'') ); '||chr(10)|| ' '||chr(10)|| 'wwv_flow_platform.set_preference( p_pref'; p:=p||'erence_name => ''PASSWORD_NOT_LIKE_WS_NAME'','||chr(10)|| ' p_preference_value => nvl(:P130_PW_NOT_LIKE_WS_NAME,''N'') ); '||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_NOT_LIKE_WORDS'','||chr(10)|| ' p_preference_value => substr(ltrim(rtrim(replace(replace(replace('||chr(10)|| ' :P130_PW_NOT_LIKE_WORDS,'' '',null),chr(10),null),chr(13),null))),1,4000));'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_prefer'; p:=p||'ence( p_preference_name => ''PASSWORD_PUNCTUATION_CHARACTERS'','||chr(10)|| ' p_preference_value => substr(ltrim(rtrim(replace(replace(replace('||chr(10)|| ' :P130_PW_PUNCTUATION_CHARS,'' '',null),chr(10),null),chr(13),null))),1,4000));'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''PASSWORD_ALPHA_CHARACTERS'','||chr(10)|| ' p_preference_value => substr(ltrim(rtrim(replace(replace(replace('||chr(10)|| ' :P130_PW_ALPHA_CHARS,'' '',null)'; p:=p||',chr(10),null),chr(13),null))),1,4000));'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''BAD_URLS'','||chr(10)|| ' p_preference_value => substr(ltrim(rtrim(replace(replace(replace('||chr(10)|| ' :P130_BAD_URLS,'' '',null),chr(10),null),chr(13),null))),1,4000));'||chr(10)|| ''||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''MAX_SESSION_IDLE_SEC'','||chr(10)|| ' p_preference_value => nvl(:P130_MAX_S'; p:=p||'ESSION_IDLE_SEC,3600) );'||chr(10)|| ''||chr(10)|| 'wwv_flow_platform.set_preference( p_preference_name => ''MAX_SESSION_LENGTH_SEC'','||chr(10)|| ' p_preference_value => nvl(:P130_MAX_SESSION_LENGTH_SEC,28800) );'||chr(10)|| ''||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 47662403843932033.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Apply Changes', p_process_sql_clob => p, p_process_error_message=> '无法保存安全设置。', p_process_when_button_id=>47636805241932002.4056 + wwv_flow_api.g_id_offset, p_process_success_message=> '安全设置已保存。', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'130'; wwv_flow_api.create_page_process( p_id => 47662604945932033.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 130.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_PAGES', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_success_message=> '', p_process_is_stateful_y_n=>'N', p_process_comment=>''); end; null; end; / begin --------------------------------------- -- ...updatable report columns for page 130.4056 -- begin null; end; null; end; / --application/pages/page_131.4 prompt ...PAGE 131.4056: 实例设置 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_env.htm'; ph := null; wwv_flow_api.create_page( p_id => 131.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '实例设置', p_step_title=> '实例设置', p_step_sub_title => 'Instance Settings', p_step_sub_title_type => 'TEXT_WITH_SUBSTITUTIONS', p_first_item=> 'NO_FIRST_ITEM', p_include_apex_css_js_yn=>'Y', p_autocomplete_on_off => 'OFF', p_group_id => 216766702444596508+ wwv_flow_api.g_id_offset, p_help_text => ' ', p_html_page_header => '', p_step_template => 12930201930057128.4056+ wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165715', p_page_is_public_y_n=> 'N', p_page_comment => ''); wwv_flow_api.set_page_help_text(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>131.4056,p_text=>h); 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=> 51160113641211250.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> '电子邮件', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 25, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 51160527136211251.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> '自助', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 20, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 51160911256211251.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> 'Button Box', p_region_name=>'', p_plug_template=> 4888405638168833.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 1, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'169592700462495276'; wwv_flow_api.create_page_plug ( p_id=> 51161302473211251.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> 'Anchor', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 2, p_plug_display_column=> 1, p_plug_display_point=> 'AFTER_SHOW_ITEMS', p_plug_source=> s, p_plug_source_type=> 51237106422289787 + wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select apex_item.hidden(5,s.id) || apex_item.text(6, s.req_size, 8) display_req_size,'||chr(10)|| ' apex_item.select_list_from_lov(7, s.display, ''YES_NO_RETURNS_Y_OR_N'',null,''NO'') display,'||chr(10)|| ' to_number(s.req_size),'||chr(10)|| ' apex_item.radiogroup(8,s.id,decode(s.default_size,''Y'',s.id,0)) default_selection'||chr(10)|| ' from wwv_flow_workspace_req_size s'||chr(10)|| ' where s.request_type = ''C'''; wwv_flow_api.create_report_region ( p_id=> 51162104747211252.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_name=> '工作区更改请求大小', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 190, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 81008210556197147.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', 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"', 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=> 51162400177211252.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51162104747211252.4056 + 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=> 'DISPLAY_REQ_SIZE', p_column_display_sequence=> 1, p_column_heading=> '大小 (MB)', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', 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=> 51162324177211252.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51162104747211252.4056 + 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=> 'DISPLAY', p_column_display_sequence=> 2, p_column_heading=> '显示', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', 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=> 51162514609211253.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51162104747211252.4056 + 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=> 'TO_NUMBER(S.REQ_SIZE)', p_column_display_sequence=> 3, p_column_heading=> 'To Number(S.Req Size)', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 51478902378846758.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51162104747211252.4056 + 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=> 'DEFAULT_SELECTION', p_column_display_sequence=> 4, p_column_heading=> '默认值', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 51162614555211253.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> '报表打印', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 33, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 51162800040211253.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> 'Wallet', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 30, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'select'||chr(10)|| ' apex_item.hidden(1,s.id) || apex_item.text(2, s.req_size, 8) display_req_size,'||chr(10)|| ' apex_item.select_list_from_lov(3, s.display, ''YES_NO_RETURNS_Y_OR_N'',null,''NO'') display,'||chr(10)|| ' to_number(s.req_size) req_size,'||chr(10)|| ' apex_item.radiogroup(4,s.id,decode(s.default_size,''Y'',s.id,0)) default_selection'||chr(10)|| ' from wwv_flow_workspace_req_size s'||chr(10)|| ' where s.request_type = ''N'''; wwv_flow_api.create_report_region ( p_id=> 51163027227211253.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_name=> '新工作区请求大小', p_region_name=>'', p_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_display_sequence=> 35, p_display_column=> 1, p_display_point=> 'AFTER_SHOW_ITEMS', p_source=> s, p_source_type=> 'SQL_QUERY', p_display_error_message=> '#SQLERRM#', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_query_row_template=> 81008210556197147.4056+ wwv_flow_api.g_id_offset, p_query_headings_type=> 'COLON_DELMITED_LIST', 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=> '未找到任何数据。', p_query_num_rows_type=> '0', p_query_row_count_max=> '500', p_pagination_display_position=> 'BOTTOM_RIGHT', p_csv_output=> 'N', 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"', 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=> 51163431134211253.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51163027227211253.4056 + 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=> 'DISPLAY_REQ_SIZE', p_column_display_sequence=> 1, p_column_heading=> '大小 (MB)', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', 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=> 51163223408211253.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51163027227211253.4056 + 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=> 'DISPLAY', p_column_display_sequence=> 2, p_column_heading=> '显示', p_column_alignment=>'CENTER', p_heading_alignment=>'CENTER', 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=> 51163314175211253.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51163027227211253.4056 + 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=> 'REQ_SIZE', p_column_display_sequence=> 4, p_column_heading=> '', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', p_default_sort_column_sequence=>1, p_disable_sort_column=>'N', p_sum_column=> 'N', p_hidden_column=> 'Y', 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=> 51474332113827028.4056 + wwv_flow_api.g_id_offset, p_region_id=> 51163027227211253.4056 + 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=> 'DEFAULT_SELECTION', p_column_display_sequence=> 3, p_column_heading=> '默认值', p_column_alignment=>'LEFT', p_heading_alignment=>'CENTER', 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; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 51163523141211253.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> 'Instance Settings', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 1, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_08', p_plug_source=> s, p_plug_source_type=> 'M'|| to_char(4585800473139662 + wwv_flow_api.g_id_offset), p_menu_template_id=> 4589126493175495.4056+ wwv_flow_api.g_id_offset, p_plug_display_error_message=> '#SQLERRM#', 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||''; wwv_flow_api.create_page_plug ( p_id=> 73982018016507538.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> 'Close Div', p_region_name=>'', p_plug_template=> 0, p_plug_display_sequence=> 200, 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=> 'Error displaying region', p_plug_query_row_template=> 1, p_plug_query_headings_type=> 'COLON_DELMITED_LIST', p_plug_query_num_rows => 15, p_plug_query_row_count_max => 500, p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 102772806051895487.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> '电子邮件预配', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 23, 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=> 'COLON_DELMITED_LIST', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign=top', p_plug_display_condition_type => '', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 103242102881123907.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 131.4056, p_plug_name=> '方案', p_region_name=>'', p_plug_template=> 24544226211.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 24, 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_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 51164000306211254.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 131.4056, p_button_sequence=> 10, p_button_plug_id => 51160911256211251+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:::', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 51164206531211254.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 131.4056, p_button_sequence=> 10, p_button_plug_id => 51160911256211251+wwv_flow_api.g_id_offset, p_button_name => 'APPLY_CHANGES', p_button_image_alt=> '应用更改', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>51190316305211273.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_branch_action=> '5', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'BRANCH_TO_STEP', p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'确定工作区预配 (或创建) 处理对于您的开发实例的工作方式。包括以下选项:'||chr(10)|| ''||chr(10)|| '注: 要使用户可使用“登录”页上的链接请求工作区, 必须选择请求电子邮件验证。如果选择了手动, 则“登录”页上不显示链接。'; wwv_flow_api.create_page_item( p_id=>51168829641211258.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_SERVICE_REQUEST_FLOW', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 51160527136211251.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'MANUAL', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'预配状态:', p_source_type=> 'STATIC', p_display_as=> 'RADIOGROUP', p_named_lov=> 'PROVISIONING.STATUS', p_lov => '.'||to_char(87819917137094037 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', p_begin_on_new_line => 'YES', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT-TOP', p_field_alignment => 'LEFT-TOP', p_field_template => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'如果在“预配状态”中选择了请求电子邮件验证, 请输入 URL。当请求批准后, 在电子邮件中使用输入的值。此设置定义服务的 URL。如果此设置不存在, 则从环境中派生 URL。'||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>51169324126211258.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_DEVELOPMENT_SERVICE_URL', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 51160527136211251.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'开发服务 URL', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 60, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'定义生成电子邮件的管理任务 (例如批准预配请求或重置口令) 的 "发件人" 地址。'; wwv_flow_api.create_page_item( p_id=>51169810102211258.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_SMTP_FROM', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 82, p_item_plug_id => 51160113641211250.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'管理电子邮件地址', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 40, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'定义 SMTP 服务器的服务器地址。默认情况下, 此地址设置为 localhost。如果使用其他服务器作为 SMTP 中继, 请将此参数更改为该服务器的地址。'; wwv_flow_api.create_page_item( p_id=>51170329748211259.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_SMTP_HOST_ADDRESS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 70, p_item_plug_id => 51160113641211250.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'SMTP 主机地址', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 40, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'定义 SMTP 服务器监听邮件请求的端口。默认设置为 25。'; wwv_flow_api.create_page_item( p_id=>51170811596211259.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_SMTP_HOST_PORT', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 80, p_item_plug_id => 51160113641211250.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'SMTP 主机端口', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 10, p_cMaxlength=> 4000, p_cHeight=> 1, p_cAttributes=> '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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'指定打印服务器转换引擎的主机地址。默认情况下, 此地址设置为 localhost。如果打印服务器安装在其他位置, 请输入适当的主机地址。'; wwv_flow_api.create_page_item( p_id=>51175812830211262.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_PRINT_SVR_HOST', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 240, p_item_plug_id => 51162614555211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'打印服务器主机地址', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'定义打印服务器引擎的端口。默认设置为 8888。'; wwv_flow_api.create_page_item( p_id=>51176319252211263.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_PRINT_SVR_PORT', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 250, p_item_plug_id => 51162614555211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'打印服务器端口', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'此设置定义打印服务器引擎的脚本。默认设置为:
/xmlpserver/convert
'; wwv_flow_api.create_page_item( p_id=>51176814346211263.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_PRINT_SVR_SCRIPT', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 260, p_item_plug_id => 51162614555211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'打印服务器脚本', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>51185211360211268.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_CHANGE_PWD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 405, p_item_plug_id => 51162800040211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>' ', p_source_type=> 'STATIC', p_display_as=> 'CHECKBOX', p_named_lov=> 'CONFIRM.PWD.REMOVAL', p_lov => '.'||to_char(35215801480283409 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 1, p_lov_display_null=> 'YES', p_lov_translated=> 'N', p_lov_null_text=>'', p_lov_null_value=> '', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'NO', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'RIGHT', p_field_alignment => 'LEFT', p_field_template => 111843720754869910.4056+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=>51185419369211268.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_WALLET_PWD_ENC', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 410, p_item_plug_id => 51162800040211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_source_type=> 'STATIC', p_display_as=> 'HIDDEN', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_begin_on_new_line => 'NO', p_begin_on_new_field=> 'YES', p_colspan => 1, p_rowspan => 1, p_label_alignment => 'LEFT', p_field_alignment => 'LEFT', p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'Wallet 是有口令保护的容器, 用于存储验证和签名身份证明。Oracle Wallet 供基于安全套接字层 (SSL) 的 HTTP 请求使用, 即 HTTPS。

'||chr(10)|| ''||chr(10)|| '输入文件系统上的 Wallet 的路径, 格式如下:'||chr(10)|| ''||chr(10)|| '

file:<目录路径>
'||chr(10)|| ''||chr(10)|| '示例:'||chr(10)|| ''; wwv_flow_api.create_page_item( p_id=>51185628873211268.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_WALLET_PATH', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 390, p_item_plug_id => 51162800040211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Wallet 路径', p_source_type=> 'STATIC', p_display_as=> 'TEXT', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 45, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'输入打开 Wallet 所需的口令。选择选中此项以确认要更改 Wallet 口令, 指示口令已更改。'; wwv_flow_api.create_page_item( p_id=>51185817336211269.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_WALLET_PWD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 400, p_item_plug_id => 51162800040211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'xxxx', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Wallet 口令', p_source_type=> 'STATIC', p_display_as=> 'PASSWORD_DNSS', p_lov_columns=> 1, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 35, p_cMaxlength=> 2000, p_cHeight=> 1, 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择打印服务器使用 HTTP 协议还是 HTTPS 协议。'; wwv_flow_api.create_page_item( p_id=>51186010724211269.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 131.4056, p_name=>'P131_PRINT_SVR_PROTOCOL', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 235, p_item_plug_id => 51162614555211253.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'http', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'打印服务器协议', p_source_type=> 'STATIC', p_display_as=> 'RADIOGROUP', p_named_lov=> 'P16.PRINTSVR.PROTOCOL', p_lov => '.'||to_char(41576101209699161 + wwv_flow_api.g_id_offset)||'.', p_lov_columns=> 2, p_lov_display_null=> 'NO', p_lov_translated=> 'N', p_cSize=> 30, p_cMaxlength=> 2000, p_cHeight=> 1, p_cAttributes=> 'nowrap="nowrap"', p_tag_attributes2=> 'class="fielddata"', 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 => 111843720754869910.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_protection_level => 'N', p_help_text => h, p_item_comment => ''); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'选择适当的选项:'||chr(10)|| '