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(''单击对应于要对特定工作区请求执行的操作的按钮。
'||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=> '', p_plug_footer=> ' |
', p_plug_footer=> ' |
', p_plug_footer=> ' |
编辑当前工作区请求。
'||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=> '此页使工作区管理员可以更改工作区请求的状态。
'||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=> '', p_plug_footer=> ' |
', p_plug_footer=> ' |
', p_plug_footer=> ' |
', p_plug_footer=> ' |
此报表显示所有工作区中应用程序的键属性。
'; 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)|| '要决定是否显示任务, 请从“显示”列表中选择是或否 。
'; 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_lang.system_message(''4050_19_LOG_ENTRIES'')||'' | '');'||chr(10)|| 'htp.p(''''|| to_char(c_dev,''999,999,999,990'') || '' |
此报表列出指定工作区可内置的方案。当开发者创建新应用程序时, 他们必须从分配给工作区的方案列表中选择“内置”方案作为 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此规则适用于使用此帐户的开发者和工作区管理员。它还适用于使用此帐户登录到开发的应用程序的所有用户。';
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_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=> '
', p_plug_footer=> ' |
', p_plug_footer=> ' |
', p_plug_footer=> ' |
', p_plug_footer=> ' |
使用此页中的链接可查看所有工作区中应用程序, 开发者和会话活动的不同报表。
'; 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=> '', p_plug_footer=> ' |
''||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('' |
''||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('' |
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(''''||wwv_flow_lang.system_message(''4050_46_SCRIPT_FILE'')||''''||'':'');'||chr(10)|| 'htp.p('' | '');'||chr(10)|| 'htp.prn('''');'||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(''
'');'||chr(10)|| 'htp.p(''''||wwv_flow_lang.system_message(''4050_46_AD_HOC'')||''''||'':'');'||chr(10)|| 'htp.p('' | '');'||chr(10)|| 'htp.prn('''');'||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('' | '')'; s:=s||';'||chr(10)|| 'htp.p(''
您可以更改要创建的新公共主题的名称和编号。
', 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_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=>'标识所选工作区中要复制的主题所在的应用程序。
', 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(''', p_plug_footer=> ' |
单击此页上的链接可监视和管理会话状态资料档案库。
'; 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=> '', p_plug_footer=> ' |
&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=> '页''||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('' |
''||wwv_flow_lang.system_message(''4050_71_CLICK'')||'' | '');'||chr(10)|| ' htp.p(c_click);'||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(''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.NAME'')||'' | '');'||chr(10)|| 'htp.p(''''||htf.escape'; s:=s||'_sc(:F4050_P27_COMPANY)||'' | '');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SGID'')||'' | '');'||chr(10)|| 'htp.p(''''||nvl(htf.escape_sc(:F4050_P27_SECURITY_GROUP_ID),wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SYSTEM_ASSIGNED''))||'' | '');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(p_name'; s:=s||'=>''PROVISION_REQUEST.DESCRIPTION'')||'' | '');'||chr(10)|| 'htp.p(''''||substr(htf.escape_sc(:F4050_P27_PROJDESC),1,50)||''... | '');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.ADMIN_INFO'')||'':
'');'||chr(10)|| 'htp.p(''''|'; s:=s||'|wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.USER_NAME'')||'' | '');'||chr(10)|| 'htp.p(''''||htf.escape_sc(:F4050_P72_ADMINNAME)||'' | '');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.EMAIL'')||'' | '');'||chr(10)|| 'htp.p(''''||htf.escape_sc(:F4050_P72_EMAIL)||'' | '');'||chr(10)|| 'htp.p(''
'; s:=s||'''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SCHEMA_INFO'')||'':
'');'||chr(10)|| 'htp.p(''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.REUSE_SCHEMA'')||'' | '');'||chr(10)|| 'if :F4050_P79_EXISTING = ''1'' then'||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(p_name'; s:=s||'=>''PROVISION_REQUEST.YES'')||'' | '');'||chr(10)|| 'else'||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.NO'')||'' | '');'||chr(10)|| 'end if;'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SCHEMA_NAME'')||'' | '');'||chr(10)|| 'htp.p(''''||htf.escape_sc(:F4050_P79_SCHEMA)||'' | '');'||chr(10)|| 'htp.p(''|
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.CREATE_TBLSPACE'')||'' | '');'||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.FLOW_XXX'')||'' | '');'||chr(10)|| ' htp.p(''|
''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.DATAFILE'')||'' | '');'||chr(10)|| ' if l_omf = TRUE then'||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.SYSTEM_ASSIGNED'')|| '' | '');'||chr(10)|| ' else'||chr(10)|| ' htp.p(''''||l_ts_path||wwv_flow_lang.system_message(p_name=>''PROVISION_REQUEST.FLOW_XXX'')||''.DBF | '');'||chr(10)|| ' end if;'; s:=s||''||chr(10)|| ' 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(''''||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('' |
选择方案是否已存在。如果方案存在, 请从列表中选择方案。如果方案不存在, 则输入名称和口令, 然后选择要创建的关联表空间的大小。
', 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(''''||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('' |
“锁定工作区”将锁定工作区中的所有工作区管理员, 开发者和用户的帐户。“锁定工作区”还会将工作区中的所有应用程序的状态更改为不可用。'; 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(''''||wwv_flow_lang.system_message(''NEW_OR_EXISTING'')||'' | '');'||chr(10)|| 'htp.p(''''||wwv_flow_item.text_from_lov(:P105_NEW,''NEW_OR_EXISTING'')||'' | '');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(''DEMO_APPLICATION.SCHEMA'')||'' | '');'||chr(10)|| 'htp.'; s:=s||'p(''''||htf.escape_sc(:P106_SCHEMA)||'' | '');'||chr(10)|| 'htp.p(''
''||wwv_flow_lang.system_message(''SCHEMA_PASSWORD'')||'' | '');'||chr(10)|| ' htp.p(''''||rpad(''*'',length(:P106_PASSWORD),''*'')||'' | '');'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''DEFAULT_TABLESPACE_INIT'')||'' | '');'||chr(10)|| ' htp.p(''''||htf.escape_sc(:P106_DEFAULT_TS)||'' | '');'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''TEMPORARY_TABLESPACE'')||'' | '');'||chr(10)|| ' htp.p(''''||htf.escape_sc(:P106_TEMPORARY_TS)||'' | '');'||chr(10)|| ' htp.p(''
''||wwv_flow_lang.system_message(''WORKSPACE_INIT_CAP'')||'' | '');'||chr(10)|| 'htp'; s:=s||'.p(''''||htf.escape_sc(:P107_COMPANY)||'' | '');'||chr(10)|| 'htp.p(''
复查左侧表中的信息。
'||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(''监视邮件队列中的电子邮件。可以从队列中删除单个邮件。
'; 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)|| '
此设置仅适用于那些访问 &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)||
'
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)|| '
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)|| '
file:c:\WINNT\Profiles\<username>\WALLETS
file:/home/<username>/wallets
如果要使用此文件进行安装, 请单击安装 >。否则, 单击取消。
', p_plug_customized=>'0', p_plug_caching=> 'NOT_CACHED', p_plug_comment=> ''); end; / begin wwv_flow_api.create_page_button( p_id => 53559826117651901.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 163.4056, p_button_sequence=> 10, p_button_plug_id => 165852216817050925+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 => 79848401947178315.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 163.4056, p_button_sequence=> 20, p_button_plug_id => 165852216817050925+wwv_flow_api.g_id_offset, p_button_name => 'BACK', 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 => 53562040315656070.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 163.4056, p_button_sequence=> 10, p_button_plug_id => 165852216817050925+wwv_flow_api.g_id_offset, p_button_name => 'INSTALL', p_button_image_alt=> '安装 >', p_button_position=> 'REGION_TEMPLATE_EDIT', 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=>53787635215429074.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 163.4056, p_branch_action=> 'f?p=&FLOW_ID.:277:&SESSION.::&DEBUG.:277,165:P277_FILE_ID:&P163_FILE_ID.', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>53562040315656070.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 20, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 03-JUN-2003 10:20 by CBCHO'); wwv_flow_api.create_page_branch( p_id=>79850822510193759.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 163.4056, p_branch_action=> 'f?p=&FLOW_ID.:460:&SESSION.::&DEBUG.:::', p_branch_point=> 'BEFORE_COMPUTATION', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>79848401947178315.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 10, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 14-JUL-2003 05:18 by SSPADAFO'); wwv_flow_api.create_page_branch( p_id=>53560120199651904.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 163.4056, p_branch_action=> 'f?p=&FLOW_ID.:173:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>53559826117651901.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=>53575939070740849.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 163.4056, p_name=>'P163_FILE_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=>'File 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 => 93372831129235626.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_item_comment => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 53792036385438823.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 163.4056, p_validation_name => 'only internal can import company', p_validation_sequence=> 10, p_validation => ':flow_security_group_id = 10', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '只有内部工作区才能安装工作区信息。', p_validation_condition=> 'P460_FILE_TYPE', p_validation_condition2=> 'COMPANY_EXPORT', p_validation_condition_type=> 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_when_button_pressed=> 53562040315656070.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 163.4056 -- begin null; end; null; end; / --application/pages/page_165.4 prompt ...PAGE 165.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 => 165.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 => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => '', p_last_upd_yyyymmddhh24miss => '20090409165716', 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=>165.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=> 47834934594717909.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 165.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=> '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=> 47835339096719184.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 165.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" 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=> 48022426693945759.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 165.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=> '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 => 47836225721724856.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_button_sequence=> 10, p_button_plug_id => 47834934594717909+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.:173:&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 => 47840213385730684.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_button_sequence=> 10, p_button_plug_id => 47834934594717909+wwv_flow_api.g_id_offset, p_button_name => 'INSTALL', p_button_image_alt=> '安装工作区', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'P165_WS_EXISTS', p_button_condition2=> 'N', p_button_condition_type=> 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 47838938188728411.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_button_sequence=> 10, p_button_plug_id => 47834934594717909+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_condition=> 'P165_WS_EXISTS', p_button_condition2=> 'N', 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=>47840534124730685.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_branch_action=> 'f?p=&FLOW_ID.:173:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>47840213385730684.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=>47839239084728413.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_branch_action=> 'f?p=&APP_ID.:278:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'BEFORE_VALIDATION', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>47838938188728411.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=>45255124812664433.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_WS_EXISTS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 60, p_item_plug_id => 47834934594717909.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_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; / declare h varchar2(32767) := null; begin h := null; h:=h||'您以此工作区的身份登录。'; wwv_flow_api.create_page_item( p_id=>47842236587737441.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_LOGGED_IN_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 47834934594717909.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => '&COMPANY.', 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_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_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||'这是从工作区导出文件中获取的工作区 ID。'; wwv_flow_api.create_page_item( p_id=>47844625075752996.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_IMP_COMPANY_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 47834934594717909.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=>'P277_IMP_COMPANY_ID', p_source_type=> 'ITEM', 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 => '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=>48276826242931230.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_IMP_COMPANY', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 47834934594717909.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_imp_parser.get_workspace_name(p_file_id => :P277_FILE_ID)', p_source_type=> 'FUNCTION', 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 => '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=>48413732634219929.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_COMPANY_EXISTS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 47834934594717909.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 => '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=>48414716835224801.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_COMPANY_ACTION', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 47834934594717909.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 => '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=>48421828918275617.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_IMP_COMPANY_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 25, p_item_plug_id => 47834934594717909.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_imp_parser.get_schema_provisioned (p_file_id => :P277_FILE_ID)', p_source_type=> 'FUNCTION', 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_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_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=>189039725972495323.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 165.4056, p_name=>'P165_PRIMARY_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 47834934594717909.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=>'P277_SCHEMA', p_source_type=> 'ITEM', p_source_post_computation => 'wwv_flow_provisioning.validate_schema_name(p_schema => :P277_SCHEMA,'||chr(10)|| ' p_workspace_name => wwv_flow_security.find_company_name(:P277_IMP_COMPANY_ID))', p_display_as=> 'DISPLAY_ONLY_HTML', 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_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 => ''); end; / begin wwv_flow_api.create_page_validation( p_id => 53852128186644629.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_validation_name => 'only internal can import company', p_validation_sequence=> 10, p_validation => ':flow_security_group_id = 10', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '只有内部工作区才能安装工作区信息。', p_when_button_pressed=> 47840213385730684.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||'declare'||chr(10)|| ' l_p varchar2(256) := v(''P277_SCHEMA_PASSWORD'');'||chr(10)|| ''||chr(10)|| ' function db_size (p_database_size in varchar2 default ''SMALL'') return number'||chr(10)|| ' is'||chr(10)|| ' begin'||chr(10)|| ' if p_DATABASE_SIZE = ''SMALL'' then'||chr(10)|| ' return 2;'||chr(10)|| ' elsif p_DATABASE_SIZE = ''MEDIUM'' then'||chr(10)|| ' return 5;'||chr(10)|| ' elsif p_DATABASE_SIZE = ''LARGE'' then'||chr(10)|| ' return 50;'||chr(10)|| ' elsif p_DATABASE_SIZE = ''VERYLARGE'' then'||chr(10)|| ' return 100;'||chr(10)|| ' else'||chr(10)|| ' '; p:=p||' return 5;'||chr(10)|| ' end if;'||chr(10)|| ' end;'||chr(10)|| 'begin'||chr(10)|| ' wwv_flow.update_cache_with_write(''P277_SCHEMA_PASSWORD'',null);'||chr(10)|| ' wwv_flow_provision.provision_company('||chr(10)|| ' p_company => :P277_SCHEMA,'||chr(10)|| ' p_password => l_p,'||chr(10)|| ' p_quota => db_size(:P277_QUOTA));'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 48219913570295031.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'create company schema', p_process_sql_clob => p, p_process_error_message=> '创建工作区方案时出错。', p_process_when_button_id=>47840213385730684.4056 + wwv_flow_api.g_id_offset, p_process_when=>':P277_EXISTING = ''0''', 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_imp_parser.parse ('||chr(10)|| ' p_file_id => :P277_FILE_ID,'||chr(10)|| ' p_parse_as_schema => wwv_flow.g_flow_schema_owner'||chr(10)|| ' );'; wwv_flow_api.create_page_process( p_id => 47863923943046073.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'import company', p_process_sql_clob => p, p_process_error_message=> '安装工作区时出错。', p_process_when_button_id=>47840213385730684.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_found boolean := false;'||chr(10)|| ' l_first_schema varchar2(30) := upper(:P277_SCHEMA);'||chr(10)|| 'begin'||chr(10)|| ' if wwv_flow_provisioning.site_admin_is_restricted and '||chr(10)|| ' wwv_flow_provisioning.restricted_schema(p_schema => l_first_schema,'||chr(10)|| ' p_workspace_name => wwv_flow_security.find_company_name(:P277_IMP_COMPANY_ID)) then'||chr(10)|| ' l_first_schema := ''INVALID'';'||chr(10)|| ' end if;'||chr(10)|| ' update wwv_flow_compa'; p:=p||'nies'||chr(10)|| ' set FIRST_SCHEMA_PROVISIONED = l_first_schema'||chr(10)|| ' where PROVISIONING_COMPANY_ID = :P277_IMP_COMPANY_ID;'||chr(10)|| ' for c1 in '||chr(10)|| ' (select schema from wwv_flow_company_schemas where security_group_id = :P277_IMP_COMPANY_ID '||chr(10)|| ' and schema = upper(:P277_SCHEMA)) loop'||chr(10)|| ' l_found := true;'||chr(10)|| ' end loop;'||chr(10)|| ' if not l_found then'||chr(10)|| ' insert into wwv_flow_company_schemas (security_group_id'; p:=p||',schema) '||chr(10)|| ' values(:P277_IMP_COMPANY_ID,:P277_SCHEMA);'||chr(10)|| ' end if;'||chr(10)|| ' if wwv_flow_provisioning.site_admin_is_restricted then'||chr(10)|| ' for c1 in '||chr(10)|| ' (select id from wwv_flow_company_schemas '||chr(10)|| ' where security_group_id = :P277_IMP_COMPANY_ID and'||chr(10)|| ' wwv_flow_provisioning.restricted_schema_i(schema,'||chr(10)|| ' wwv_flow_security.find_company_name(:P277_IMP_COMPA'; p:=p||'NY_ID)) = 1) loop'||chr(10)|| ' delete wwv_flow_company_schemas where id = c1.id; '||chr(10)|| ' end loop;'||chr(10)|| ' end if; '||chr(10)|| ' for c1 in '||chr(10)|| ' (select id from wwv_flow_company_schemas '||chr(10)|| ' where security_group_id = :P277_IMP_COMPANY_ID and'||chr(10)|| ' not exists (select 1 from sys.dba_users where username = schema)) loop'||chr(10)|| ' delete wwv_flow_company_schemas where id = c1.id; '||chr(10)|| ' '; p:=p||' end loop; '||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 48233814197465485.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_process_sequence=> 30, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'update provisioned schemas', p_process_sql_clob => p, p_process_error_message=> '设置预配方案时出错。', p_process_when_button_id=>47840213385730684.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||'P277_SCHEMA_PASSWORD'; wwv_flow_api.create_page_process( p_id => 359772209428648663.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 165.4056, p_process_sequence=> 40, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'CLEAR_CACHE_FOR_ITEMS', p_process_name=> 'clear', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>47840213385730684.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 165.4056 -- begin null; end; null; end; / --application/pages/page_173.4 prompt ...PAGE 173.4056: 已导入的工作区导出文件 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_mg_wrkspc.htm'; ph:=ph||''; wwv_flow_api.create_page( p_id => 173.4056, p_flow_id=> wwv_flow.g_flow_id, p_tab_set=> '', p_name => '已导入的工作区导出文件', p_step_title=> '已导入的工作区导出文件', p_step_sub_title => 'Exported Workspaces', 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 => '20090409165716', 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=>173.4056,p_text=>h); wwv_flow_api.set_html_page_header(p_flow_id=>wwv_flow.g_flow_id,p_flow_step_id=>173.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=> 6661439852162256.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 173.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=> '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||':P277_SCHEMA_PASSWORD := null;'||chr(10)|| ''; wwv_flow_api.create_page_plug ( p_id=> 32855528723661056.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 173.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=> 49518022356125296.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 173.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=> '', 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)|| ' q varchar2(32767) := null;'||chr(10)|| ' l_workspace_export varchar2(400);'||chr(10)|| ' l_install varchar2(200);'||chr(10)|| ''||chr(10)|| 'begin'||chr(10)|| ''||chr(10)|| 'select wwv_flow_lang.system_message(''F4050.WORKSPACE_EXPORT'')'||chr(10)|| ' into l_workspace_export'||chr(10)|| ' from dual;'||chr(10)|| ''||chr(10)|| 'select wwv_flow_lang.system_message(''F4050.INSTALL'')'||chr(10)|| ' into l_install'||chr(10)|| ' from dual;'||chr(10)|| ''||chr(10)|| ' l_workspace_export := replace(l_workspace_export,chr(39),chr(39)||chr(39));'||chr(10)|| ''||chr(10)|| ' q:=''select ''; '||chr(10)|| ' q:'; s:=s||'=q||'''''''''' cb, '';'||chr(10)|| ' q:=q||''title, '';'||chr(10)|| ' q:=q||''mime_type, '';'||chr(10)|| ' q:=q||''doc_size, '';'||chr(10)|| ' q:=q||''created_by, '';'||chr(10)|| ' q:=q||''created_on co, '';'||chr(10)|| ' q:=q||''decode(file_type,''''COMPANY_EXPORT'''',''''''||l_workspace_export||'''''') filetype, '';'||chr(10)|| ' q:=q||''id, '';'||chr(10)|| ' q:=q||''htf.anchor(''''f?p=&FLOW_ID.:277:&SESSION.:::277,165:P277_FILE_ID:''''||'||chr(10)|| ' id,''''''||l_install||'''''') actio'; s:=s||'n '';'||chr(10)|| ' q:=q||''from WWV_FLOW_FILE_OBJECTS$ '';'||chr(10)|| ' q:=q||''where /*security_group_id = :flow_security_group_id and*/ '';'||chr(10)|| ' q:=q||'' deleted_as_of = to_date(''''01.01.0001'''',''''MM.DD.YYYY'''') and '';'||chr(10)|| ' q:=q||'' file_type = ''''COMPANY_EXPORT'''''';'||chr(10)|| ' return q;'||chr(10)|| 'end;'; wwv_flow_api.create_report_region ( p_id=> 78240022072921217.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 173.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=> 'REGION_POSITION_02', 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_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_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_light.gif', p_query_asc_image_attr=> ' width="13" height="12" ', p_query_desc_image=> 'arrow_up_gray_light.gif', p_query_desc_image_attr=> ' width="13" height="12" ', p_plug_query_strip_html=> 'Y', p_comment=>'generated 31-JUL-2001 13:40:41'); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 48739309529422421.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'CB', 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=> 48739518518422421.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'TITLE', p_column_display_sequence=> 2, p_column_heading=> '导出标题', p_column_link=>'p?n=#ID#', p_column_linktext=>'#TITLE#', 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=> 48739636254422421.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'MIME_TYPE', p_column_display_sequence=> 3, p_column_heading=> 'MIME Type', 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=> 48739736741422421.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'DOC_SIZE', 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=>'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=> 48739836227422422.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'CREATED_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=>'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=> 48739914100422422.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'CO', p_column_display_sequence=> 6, p_column_heading=> '创建时间', p_column_format=> '&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=>'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=> 79831208892981636.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'FILETYPE', 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=>'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=> 48740121990422422.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> '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=>'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=> 53489613183364312.4056 + wwv_flow_api.g_id_offset, p_region_id=> 78240022072921217.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=> 'ACTION', 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_lov_show_nulls=> 'NO', 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=> 78242129508922453.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 173.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 => 78283825369247714.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 173.4056, p_button_sequence=> 1, p_button_plug_id => 49518022356125296+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(htmldb_delete_message,''Delete'');', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 47003309260720447.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 173.4056, p_button_sequence=> 2, p_button_plug_id => 49518022356125296+wwv_flow_api.g_id_offset, p_button_name => 'IMPORT_FILE', p_button_image_alt=> '导入文件 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:460:&SESSION.::&DEBUG.:460::', p_button_cattributes=>'class="button8_69c"', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>78241025735921225.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 173.4056, p_branch_action=> '173', 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_validation( p_id => 78294233672258872.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 173.4056, p_validation_name => 'File Selection Not Null', p_validation_sequence=> 10, p_validation => 'wwv_flow_utilities.table_to_string2(wwv_flow.g_f01) is not null', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '必须指定要删除的文件。', p_when_button_pressed=> 78283825369247714.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||'reset_pagination'; wwv_flow_api.create_page_process( p_id => 49561131144137374.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 173.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=>'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 declare p varchar2(32767) := null; l_clob clob; l_length number := 1; begin p:=p||'forall i in 1..wwv_flow.g_f01.count'||chr(10)|| ' delete from wwv_flow_file_objects$'||chr(10)|| ' where id = wwv_flow.g_f01(i)'||chr(10)|| ' and file_type in (''COMPANY_EXPORT'');'||chr(10)|| 'commit;'; wwv_flow_api.create_page_process( p_id => 78289512334253555.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 173.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'Delete Checked', p_process_sql_clob => p, p_process_error_message=> '删除文件时出错。', p_process_when_button_id=>78283825369247714.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 173.4056 -- begin null; end; null; end; / --application/pages/page_277.4 prompt ...PAGE 277.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 => 277.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 => '20090409165716', 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=>277.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||':P277_SCHEMA_PASSWORD := null;'; wwv_flow_api.create_page_plug ( p_id=> 32853819457639405.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 277.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=> 48175930061940254.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 277.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=> '#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:=s||'选择此工作区要使用的方案是否已存在, 然后输入方案名称。如果方案不存在, 则为其输入口令, 然后选择要创建的关联表空间的大小。单击下一步 > 按钮继续。'; wwv_flow_api.create_page_plug ( p_id=> 48176739757943065.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 277.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=> 48450532652371356.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 277.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=> '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 => 48177713223944782.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_button_sequence=> 10, p_button_plug_id => 48175930061940254+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.:173:&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 => 48179628114949129.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_button_sequence=> 10, p_button_plug_id => 48175930061940254+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=>48179934045949130.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_branch_action=> 'f?p=&FLOW_ID.:278:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>48179628114949129.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=>48180827899958515.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_name=>'P277_EXISTING', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 48175930061940254.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=> 'COMBOBOX', p_named_lov=> 'YES.NO.RETURNS.1_OR_0', p_lov => '.'||to_char(87817312158083090 + 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_attributes => 'onChange="javascript:disableItems(''document.getElementById(\''P277_EXISTING\'').value==\''1\'''',''P277_SCHEMA_PASSWORD'',''P277_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_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||'如果要重用工作区的现有方案, 请输入现有数据库方案的名称。如果要创建新方案并将其分配给工作区, 请输入要创建的数据库方案的名称。名称必须是有效的 Oracle 数据库方案名。某些特定的方案名不能分配给工作区。这是由 &PRODUCT_NAME. 站点管理员和每个站点的数据库管理员决定的。'; wwv_flow_api.create_page_item( p_id=>48182621104966064.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_name=>'P277_SCHEMA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 48175930061940254.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=>'wwv_flow_imp_parser.get_schema_provisioned (p_file_id => :P277_FILE_ID)', p_source_type=> 'FUNCTION', 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 => 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. 的运行。'; wwv_flow_api.create_page_item( p_id=>48183232878969473.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_name=>'P277_SCHEMA_PASSWORD', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 30, p_item_plug_id => 48175930061940254.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 => 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_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=>48184219503975036.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_name=>'P277_QUOTA', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 40, p_item_plug_id => 48175930061940254.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=> 'STATIC', 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)', 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=>48185810284981848.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_name=>'P277_JAVASCRIPT', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 50, p_item_plug_id => 48175930061940254.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; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>48315238971303971.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_name=>'P277_IMP_COMPANY_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 60, p_item_plug_id => 48175930061940254.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'NO', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'Imp Workspace Id', p_source=>'wwv_flow_imp_parser.get_security_group_id (p_file_id => :p277_file_id)', p_source_type=> 'FUNCTION', 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_protection_level => 'N', p_escape_on_http_input => 'Y', p_item_comment => ''); end; / declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>53807517254452276.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_name=>'P277_FILE_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 5, p_item_plug_id => 48175930061940254.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default_type => 'STATIC_TEXT_WITH_SUBSTITUTIONS', p_prompt=>'File 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_computation( p_id=> 48269636491849041.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 277.4056, p_computation_sequence => 10, p_computation_item=> 'P277_EXISTING', p_computation_point=> 'BEFORE_HEADER', p_computation_type=> 'STATIC_ASSIGNMENT', p_computation_processed=> 'REPLACE_EXISTING', p_computation=> '1', p_computation_error_message => '无法计算项值。', p_compute_when => 'select null'||chr(10)|| ' from sys.dba_users'||chr(10)|| ' where username = wwv_flow_imp_parser.get_schema_provisioned (:P277_file_ID)', p_compute_when_type=>'EXISTS'); null; end; / begin wwv_flow_api.create_page_validation( p_id => 48205936501206990.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.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(:P277_SCHEMA)', p_validation_type => 'EXISTS', p_error_message => '方案不存在。', p_validation_condition=> ':P277_EXISTING = ''1'' and :P277_SCHEMA is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 48179628114949129.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 48182621104966064.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 => 48206824858213114.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_validation_name => 'schema name required', p_validation_sequence=> 10, p_validation => 'P277_SCHEMA', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定方案。', p_when_button_pressed=> 48179628114949129.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 48182621104966064.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 => 48207414253219488.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.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(:P277_SCHEMA)', p_validation_type => 'NOT_EXISTS', p_error_message => '方案已存在。', p_validation_condition=> ':P277_EXISTING = ''0'' and :P277_SCHEMA is not null', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 48179628114949129.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 => 48208237109226103.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_validation_name => 'password required', p_validation_sequence=> 10, p_validation => 'P277_SCHEMA_PASSWORD', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定口令。', p_validation_condition=> ':P277_EXISTING = ''0''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 48179628114949129.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 48183232878969473.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 => 48208822695231456.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_validation_name => 'quota not 0', p_validation_sequence=> 10, p_validation => 'P277_QUOTA', p_validation_type => 'ITEM_NOT_ZERO', p_error_message => '必须指定限额。', p_validation_condition=> ':P277_EXISTING = ''0''', p_validation_condition_type=> 'PLSQL_EXPRESSION', p_when_button_pressed=> 48179628114949129.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 48184219503975036.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 => 79842714274096727.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_validation_name => 'is workspace export', p_validation_sequence=> 10, p_validation => 'wwv_flow_imp_parser.is_company_export(:P277_FILE_ID) = true', p_validation_type => 'PLSQL_EXPRESSION', p_error_message => '文件不是有效的工作区导出文件。', p_when_button_pressed=> 48179628114949129.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 => 183433405098755253.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_validation_name => 'schema not reserved', p_validation_sequence=> 20, p_validation => 'if wwv_flow_provisioning.reserved_schema(p_schema => '||chr(10)|| ' upper(:P277_SCHEMA)) 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=> 48179628114949129.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 => 183434421505769421.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_validation_name => 'schema not restricted', p_validation_sequence=> 30, p_validation => 'if (wwv_flow_provisioning.site_admin_is_restricted and'||chr(10)|| ' wwv_flow_provisioning.restricted_schema(upper(:P277_SCHEMA),'||chr(10)|| ' wwv_flow_security.find_company_name(:P277_IMP_COMPANY_ID))) 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=> 48179628114949129.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||'declare'||chr(10)|| ' l_done boolean := false;'||chr(10)|| ' l_company_cnt pls_integer := 0;'||chr(10)|| ' l_workspace_name varchar2(255) := upper(wwv_flow_imp_parser.get_workspace_name(:P277_FILE_ID));'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select count(*) cnt'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where provisioning_company_id = :P277_IMP_COMPANY_ID'||chr(10)|| ' or short_name = l_workspace_name)'||chr(10)|| ' loop'||chr(10)|| ' l_company_cnt := c1.cnt;'||chr(10)|| ' end l'; p:=p||'oop;'||chr(10)|| ' '||chr(10)|| ' if l_company_cnt = 0 then'||chr(10)|| ' :P165_COMPANY_EXISTS := wwv_flow_lang.system_message(''F4000.NO'');'||chr(10)|| ' :P165_COMPANY_ACTION := wwv_flow_lang.system_message(''F4050.WS_TOBE_CREATED'');'||chr(10)|| ' :P165_WS_EXISTS := ''N'';'||chr(10)|| ' else '||chr(10)|| ' :P165_COMPANY_EXISTS := wwv_flow_lang.system_message(''F4000.YES''); '||chr(10)|| ' :P165_WS_EXISTS := ''Y'';'||chr(10)|| ' for c1 in (select 1'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' '; p:=p||' where provisioning_company_id = :P277_IMP_COMPANY_ID'||chr(10)|| ' and short_name = l_workspace_name)'||chr(10)|| ' loop'||chr(10)|| ' l_done := true;'||chr(10)|| ' :P165_COMPANY_ACTION := wwv_flow_lang.system_message(''F4050.WS_EXISTS'');'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' if not l_done then'||chr(10)|| ' for c1 in (select 1'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where provisioning_c'; p:=p||'ompany_id != :P277_IMP_COMPANY_ID'||chr(10)|| ' and short_name = l_workspace_name)'||chr(10)|| ' loop'||chr(10)|| ' l_done := true;'||chr(10)|| ' :P165_COMPANY_ACTION := wwv_flow_lang.system_message(''F4050.WSNAME_EXISTS'');'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' if not l_done then'||chr(10)|| ' for c1 in (select 1'||chr(10)|| ' from wwv_flow_companies'||chr(10)|| ' where prov'; p:=p||'isioning_company_id = :P277_IMP_COMPANY_ID'||chr(10)|| ' and short_name != l_workspace_name)'||chr(10)|| ' loop'||chr(10)|| ' :P165_COMPANY_ACTION := wwv_flow_lang.system_message(''F4050.WSID_EXISTS'');'||chr(10)|| ' end loop; '||chr(10)|| ' end if;'||chr(10)|| ' end if; '||chr(10)|| ' end if;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 48416722507235934.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 277.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'determine company import action', 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 277.4056 -- begin null; end; null; end; / --application/pages/page_278.4 prompt ...PAGE 278.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 => 278.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 => '20090409165717', 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=>278.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=> 73838324203869610.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 278.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=> 73838711357869610.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 278.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||'declare '||chr(10)|| ' l_schemas varchar2(32767);'||chr(10)|| ' l_schemas_t wwv_flow_global.vc_arr2;'||chr(10)|| ' l_primary_schema varchar2(256);'||chr(10)|| ' l_schema_in_use boolean;'||chr(10)|| ' l_schema_restricted boolean;'||chr(10)|| ' l_schema_reserved boolean;'||chr(10)|| ' l_schema_exists boolean;'||chr(10)|| ' l_no_assign boolean;'||chr(10)|| 'begin'||chr(10)|| ' l_primary_schema := upper(:P277_SCHEMA);'||chr(10)|| ' l_schemas := '':''||rtrim(wwv_flow_imp_parser.get_workspace_sche'; s:=s||'mas(:P277_FILE_ID),'':'')||'':'';'||chr(10)|| ' l_schemas := replace(l_schemas,'':''||l_primary_schema||'':'',null);'||chr(10)|| ' l_schemas := ltrim(rtrim(l_schemas,'':''),'':'');'||chr(10)|| ' htp.p(''
'');'||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(''F4050.PRIMARY_SCHEMA'')||'' : | ''||'||chr(10)|| ' htf.escape_sc(l_p'; s:=s||'rimary_schema)||'' |
''||wwv_flow_lang.system_message(''F4000_P801_ACTION'')||'' : | '');'||chr(10)|| ''||chr(10)|| ' if :P277_EXISTING = ''0'' then'||chr(10)|| ' htp.p(wwv_flow_lang.system_message(''F4050.CREATE_SCHEMA'')||'' |
''||''&nbs'; s:=s||'p;''||'' | ''); '||chr(10)|| ' htp.p(wwv_flow_lang.system_message(''F4050.SCHEMA_RESTRICTED'')||'' |
''||'' ''||'' | ''); '||chr(10)|| ' htp.p(wwv_flow_lang.system_message(''F4050.SCHEMA_ASSIGNED'')||'' |
''||'' ''||'' | ''||'' ''||'' |
''||wwv_flow_lang.system_message(''F4050.ADDITIONAL_SCHEMA'')||'' : ''||'||chr(10)|| ' '' | ''||htf.escape_sc(l_schemas_t(i))||'' |
''||wwv_flow_lang.system_message(''F4000_P801'; s:=s||'_ACTION'')||'' : ''); '||chr(10)|| ' '||chr(10)|| ' l_schema_exists := false;'||chr(10)|| ' for c1 in (select 1 from sys.user$ where name = l_schemas_t(i)) loop'||chr(10)|| ' l_schema_exists := true;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' l_schema_restricted := wwv_flow_provisioning.restricted_schema(l_schemas_t(i),'||chr(10)|| ' wwv_flow_security.find_company_name(:P277_IMP_COMPANY_ID));'||chr(10)|| ' l_schema_reserved := wwv_flow_provisioning.reserve'; s:=s||'d_schema(l_schemas_t(i)); '||chr(10)|| ' l_no_assign := false;'||chr(10)|| ' '||chr(10)|| ' if l_schema_exists = false or l_schema_restricted or l_schema_reserved then'||chr(10)|| ' htp.p('' | ''||wwv_flow_lang.system_message(''F4050.ACTION_NO_ASSIGN'')||'' |
''||'' ''||'' | ''); '||chr(10)|| ' ht'; s:=s||'p.p(''''||wwv_flow_lang.system_message(''F4050.SCHEMA_NOT_EXIST'')||'' |
''||'' ''||'' | ''); '||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(''F4050.SCHEMA_RESTRICTED_NO_WARN'')||'' |
''||'' ''||'' | ''); '||chr(10)|| ' htp.p(''''||wwv_flow_lang.system_message(''F4050.SCHEMA_RESERVED_NO_WARN'')||'' | ''||wwv_flow_lang.system_message(''F4050.ACTION_ASSIGN'')||'' | <'; s:=s||'/tr>'');'||chr(10)|| ' end if; '||chr(10)|| ' '||chr(10)|| ' l_schema_in_use := false; '||chr(10)|| ' for c1 in (select 1 from wwv_flow_company_schemas '||chr(10)|| ' where schema = l_schemas_t(i)) loop'||chr(10)|| ' l_schema_in_use := true;'||chr(10)|| ' end loop;'||chr(10)|| ' '||chr(10)|| ' if l_no_assign = false and (l_schema_in_use or l_schema_restricted) then'||chr(10)|| ' if l_schema_restricted then'||chr(10)|| ' htp.p(''
''||'' ''||'' | ''); '||chr(10)|| ' htp.p(wwv_flow_lang.system_message(''F4050.SCHEMA_RESTRICTED'')||'' |
''||'' ''||'' | ''); '||chr(10)|| ' htp.p(wwv_flow_lang.system_message(''F4050.SCHEMA_ASSIGNED'')||'' |
使用此报表可复查和更改工作区中任何应用程序的“构建状态”属性。如果应用程序的“构建状态”设置为“运行和构建应用程序”, 则应用程序的工作区中的开发者可以使用应用程序构建器编辑和变更应用程序定义。如果应用程序的“构建状态”设置为“只运行应用程序”, 则应用程序构建器可以看到应用程序存在, 但无法以任何方式查看或编辑详细资料。最终用户可以运行应用程序。
'; wwv_flow_api.create_page_plug ( p_id=> 179857814095000652.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 400.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||'select ID, id application,'||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)|| '"BUILD_STATUS",'||chr(10)|| 'last_updated_on,'||chr(10)|| '(select count(*) from wwv_flow_steps where flow_id = f.id) Pages'||chr(10)|| 'from WWV_FLOWS f'||chr(10)|| 'where (:P400_BUILD_STATUS is null or :P400_BUILD_STATUS = ''0'' or :P400_BUILD_STATUS = build_status) and'||chr(10)|| '(:P400_APPLICATION_ID i'; s:=s||'s null or :P400_APPLICATION_ID = id) and'||chr(10)|| '(:P400_WORKSPACE is null or :P400_WORKSPACE = ''0'' or security_group_id = :P400_WORKSPACE) and'||chr(10)|| 'f.security_group_id != 10'; wwv_flow_api.create_report_region ( p_id=> 244304031421824521.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 400.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_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=> 'P400_ROWS', p_query_num_rows_type=> 'ROW_RANGES', 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=> 244304702761824536.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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_link=>'f?p=&APP_ID.:4001:&SESSION.::&DEBUG.::P4001_ID:#ID#', p_column_linktext=>'', 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_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_ref_table_name=> 'WWV_FLOWS', p_ref_column_name=> 'ID', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244629326931027928.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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=>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=> '10', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244304806570824539.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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=> 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_include_in_export=> 'Y', p_print_col_width=> '14', p_ref_schema=> 'FLOWS_010600', p_ref_table_name=> 'WWV_FLOWS', p_ref_column_name=> 'SECURITY_GROUP_ID', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244304910135824539.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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=> 'OWNER', 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=> '10', p_ref_schema=> 'FLOWS_010600', p_ref_table_name=> 'WWV_FLOWS', p_ref_column_name=> 'OWNER', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244305008594824539.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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=> '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=> '21', p_ref_schema=> 'FLOWS_010600', p_ref_table_name=> 'WWV_FLOWS', p_ref_column_name=> 'NAME', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244305118701824539.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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=> 'BUILD_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=>244320808989852457 + wwv_flow_api.g_id_offset, 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_ref_schema=> 'FLOWS_010600', p_ref_table_name=> 'WWV_FLOWS', p_ref_column_name=> 'BUILD_STATUS', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 99222701429631813.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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_ON', p_column_display_sequence=> 7, 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=> '14', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 99227407578652498.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244304031421824521.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=> 'PAGES', p_column_display_sequence=> 8, 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=> '8', 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=> 244316119247845903.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 400.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 := null; wwv_flow_api.create_page_plug ( p_id=> 244327021241865456.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 400.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; / begin null; end; / begin wwv_flow_api.create_page_branch( p_id=>244330710906871605.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 400.4056, p_branch_action=> 'f?p=&FLOW_ID.:400:&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=>99214521121609087.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 400.4056, p_name=>'P400_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 18, p_item_plug_id => 244327021241865456.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_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=>244328801286869153.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 400.4056, p_name=>'P400_BUILD_STATUS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 244327021241865456.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=>'0', p_source_type=> 'STATIC', p_display_as=> 'COMBOBOX', p_named_lov=> 'BUILD_STATUS', p_lov => '.'||to_char(244320808989852457 + 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_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-CENTER', 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=>244330409944871602.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 400.4056, p_name=>'P400_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 244327021241865456.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=>244349920595893610.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 400.4056, p_name=>'P400_APPLICATION_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 244327021241865456.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||'': ''||name n, id from wwv_flows where id not between 4000 and 4999 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_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 h := null; h:=h||'要按工作区过滤, 请选择工作区, 然后单击开始。要返回所有工作区的结果, 请选择显示所有工作区。'; wwv_flow_api.create_page_item( p_id=>244593809223994493.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 400.4056, p_name=>'P400_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 17, p_item_plug_id => 244327021241865456.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_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_escape_on_http_input => 'Y', p_help_text => h, p_item_comment => ''); end; / begin wwv_flow_api.create_page_computation( p_id=> 244305721912824543.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 400.4056, p_computation_sequence => 1, p_computation_item=> 'P4001_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 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 => 104297112823248143.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 400.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=>244330409944871602.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 400.4056 -- begin null; end; null; end; / --application/pages/page_401.4 prompt ...PAGE 401.4056: 语法分析方案 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_app_parse_as.htm'; ph := null; wwv_flow_api.create_page( p_id => 401.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 => '20090409165717', 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=>401.4056,p_text=>h); end; end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'使用此报表可标识任何工作区中每个应用程序的当前语法分析方案。此属性标识 Oracle 数据库方案, 该方案的权限在 &PRODUCT_NAME. 运行时动态执行应用程序的 SQL 和 PL/SQL 代码时使用。
'; wwv_flow_api.create_page_plug ( p_id=> 179855710932971339.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 401.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=> 244614005494016864.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 401.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)|| 'from WWV_FLOWS f'||chr(10)|| 'where '||chr(10)|| '(:P401_PARSE_AS is null or upper(owner) like upper(:P401_PARSE_AS)) and'||chr(10)|| '(:P401_APPLICATION_ID is null or :P401_APPLICATION_ID = id) and'||chr(10)|| '(:P401_WORKSPACE is null or :P401_WORKSPACE = ''%''||''null%'' or :P401_WORKSPACE = ''0'' or security_gr'; s:=s||'oup_id = :P401_WORKSPACE)'||chr(10)|| 'and f.security_group_id != 10'||chr(10)|| 'order by owner, security_group_id, id'||chr(10)|| ' '; wwv_flow_api.create_report_region ( p_id=> 244614405168016868.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 401.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_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=> '1', p_query_no_data_found=> '未找到任何数据。', p_query_num_rows_item=> 'P401_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=> '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=> 244614810356016871.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244614405168016868.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=> 3, p_column_heading=> '应用程序', p_column_alignment=>'RIGHT', 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_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=> 244614927168016871.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244614405168016868.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=>'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=> '25', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 244615004691016871.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244614405168016868.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=> 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_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=> 244615111879016871.4056 + wwv_flow_api.g_id_offset, p_region_id=> 244614405168016868.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=>'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=> '25', 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=> 244615320592016871.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 401.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=>244619122187016889.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 401.4056, p_branch_action=> 'f?p=&APP_ID.:401:&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||'选择要在报表中显示的行数, 然后单击开始。'; wwv_flow_api.create_page_item( p_id=>138309710299296957.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 401.4056, p_name=>'P401_ROWS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 18, p_item_plug_id => 244614005494016864.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_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=>244615713478016873.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 401.4056, p_name=>'P401_PARSE_AS', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 244614005494016864.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=> 22, 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=>244616429608016876.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 401.4056, p_name=>'P401_GO', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 20, p_item_plug_id => 244614005494016864.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_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=> '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=>244616820409016877.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 401.4056, p_name=>'P401_APPLICATION_ID', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 15, p_item_plug_id => 244614005494016864.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||'': ''||name n, id from wwv_flows where id not between 4000 and 4999 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 => 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=>244617519092016878.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 401.4056, p_name=>'P401_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 17, p_item_plug_id => 244614005494016864.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 wwv_flow_api.create_page_computation( p_id=> 244618318475016882.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 401.4056, p_computation_sequence => 1, p_computation_item=> 'P4011_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 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 => 244618716238016887.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 401.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 401.4056 -- begin null; end; null; end; / --application/pages/page_460.4 prompt ...PAGE 460.4056: 导入工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc_exprt.htm'; ph := null; wwv_flow_api.create_page( p_id => 460.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 => 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 => '20090409165717', 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=>460.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=> 45313433799096703.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 460.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 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 16-MAY-2003 17:18:02'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s:=s||'选择要导入到导出资料档案库中的文件。导入此文件后, 即可安装工作区。
'; wwv_flow_api.create_page_plug ( p_id=> 45313828464096704.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 460.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 16-MAY-2003 17:18:02'); end; / declare s varchar2(32767) := null; l_clob clob; l_length number := 1; begin s := null; wwv_flow_api.create_page_plug ( p_id=> 46371223905212605.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 460.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=> '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=> 58921039077841151.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 460.4056, p_plug_name=> '任务', p_region_name=>'', p_plug_template=> 31640708314725266.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=> 79863815294295743 + wwv_flow_api.g_id_offset, 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 => 45314324875096707.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 460.4056, p_button_sequence=> 10, p_button_plug_id => 45313433799096703+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 => 45314634840096707.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 460.4056, p_button_sequence=> 30, p_button_plug_id => 45313433799096703+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=>45316039608096712.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 460.4056, p_branch_action=> 'f?p=&FLOW_ID.:163:&SESSION.::&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>45314634840096707.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 20, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Generated 16-MAY-2003 17:18:02'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'使用“浏览”按钮来标识要添加到导出资料档案库中的工作区导出文件。'; wwv_flow_api.create_page_item( p_id=>45314136696096704.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 460.4056, p_name=>'P460_FILE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 45313433799096703.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=> 'FILE', 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 => 111844628719872228.4056+wwv_flow_api.g_id_offset, p_is_persistent=> 'Y', p_lov_display_extra=>'NO', p_help_text => h, p_item_comment => 'Generated 16-MAY-2003 17:18:02'); end; / begin wwv_flow_api.create_page_validation( p_id => 47823437609586317.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 460.4056, p_validation_name => 'file not null', p_validation_sequence=> 10, p_validation => 'P460_FILE', p_validation_type => 'ITEM_NOT_NULL', p_error_message => '必须指定文件。', p_when_button_pressed=> 45314634840096707.4056 + wwv_flow_api.g_id_offset, p_associated_item=> 45314136696096704.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_title varchar2(4000) := null;'||chr(10)|| ' l_start number := 0;'||chr(10)|| 'begin'||chr(10)|| ' l_start := instr(:P460_FILE,''/'',1)+1;'||chr(10)|| ' l_title := substr(:P460_FILE,l_start);'||chr(10)|| ' --'||chr(10)|| ' -- save file attributes'||chr(10)|| ' --'||chr(10)|| ' update wwv_flow_file_objects$ '||chr(10)|| ' set title = l_title,'||chr(10)|| ' file_type = ''COMPANY_EXPORT'', '||chr(10)|| ' description = l_title||'' upload'','||chr(10)|| ' security_group_id = :flow_security_group_id, '||chr(10)|| ' '; p:=p||' mime_type = ''application/text'','||chr(10)|| ' created_by = :flow_user'||chr(10)|| ' where name = :P460_FILE; '||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 46711940675496390.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 460.4056, p_process_sequence=> 10, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'upload export file', p_process_sql_clob => p, p_process_error_message=> '上载导出文件时出错。', p_process_when_button_id=>45314634840096707.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_file_id number := null;'||chr(10)|| 'begin'||chr(10)|| ' for c1 in (select id'||chr(10)|| ' from wwv_flow_file_objects$'||chr(10)|| ' where name = :P460_FILE)'||chr(10)|| ' loop'||chr(10)|| ' l_file_id := c1.id;'||chr(10)|| ' end loop;'||chr(10)|| ' :P163_FILE_ID := l_file_id;'||chr(10)|| 'end;'; wwv_flow_api.create_page_process( p_id => 53577817515753555.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id => 460.4056, p_process_sequence=> 20, p_process_point=> 'AFTER_SUBMIT', p_process_type=> 'PLSQL', p_process_name=> 'set p163_file_id', p_process_sql_clob => p, p_process_error_message=> '', p_process_when_button_id=>45314634840096707.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 460.4056 -- begin null; end; null; end; / --application/pages/page_461.4 prompt ...PAGE 461.4056: 导出工作区 -- begin declare h varchar2(32767) := null; ph varchar2(32767) := null; begin h:=h||'AEADM/adm_wrkspc_exprt.htm'; ph := null; wwv_flow_api.create_page( p_id => 461.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 => 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 => '20090409165717', 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=>461.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=> 81345113041600234.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 461.4056, p_plug_name=> '标识工作区', p_region_name=>'', p_plug_template=> 2424107150426143.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=> '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 => 'REQUEST_NOT_EQUAL_CONDITION', p_plug_display_when_condition => 'EXPORT', 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=> 81345421583600236.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 461.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=> '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=> 81350720528600259.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 461.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 => 'REQUEST_NOT_EQUAL_CONDITION', p_plug_display_when_condition => 'EXPORT', 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=> 81389602375977783.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 461.4056, p_plug_name=> '任务', p_region_name=>'', p_plug_template=> 31640708314725266.4056+ wwv_flow_api.g_id_offset, p_plug_display_sequence=> 300, p_plug_display_column=> 1, p_plug_display_point=> 'REGION_POSITION_03', p_plug_source=> s, p_plug_source_type=> 79863815294295743 + wwv_flow_api.g_id_offset, 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=> 81637012348652051.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 461.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 => 'REQUEST_EQUALS_CONDITION', p_plug_display_when_condition => 'EXPORT', 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||'您已选择将工作区 &P461_WORKSPACE. 导出到文件。单击保存文件可继续操作。
'; wwv_flow_api.create_page_plug ( p_id=> 81719123560014772.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 461.4056, p_plug_name=> '导出工作区', p_region_name=>'', p_plug_template=> 162417015526175958.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=> 'QUERY_COLUMNS', p_plug_query_row_count_max => 500, p_plug_column_width => 'valign="top"', p_plug_query_show_nulls_as => ' - ', p_plug_display_condition_type => 'REQUEST_EQUALS_CONDITION', p_plug_display_when_condition => 'EXPORT', 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 => 81611420210521837.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 461.4056, p_button_sequence=> 20, p_button_plug_id => 81719123560014772+wwv_flow_api.g_id_offset, p_button_name => 'DONE', p_button_image_alt=> '完成', p_button_position=> 'REGION_TEMPLATE_CLOSE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'f?p=&FLOW_ID.:3:&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 => 81615605843555548.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 461.4056, p_button_sequence=> 10, p_button_plug_id => 81345113041600234+wwv_flow_api.g_id_offset, p_button_name => 'CANCEL', p_button_image_alt=> '取消', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'javascript:window.history.go(-1);', p_button_condition=> 'EXPORT', p_button_condition_type=> 'REQUEST_NOT_EQUAL_CONDITION', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 81367606709666813.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 461.4056, p_button_sequence=> 20, p_button_plug_id => 81719123560014772+wwv_flow_api.g_id_offset, p_button_name => 'EXPORT', p_button_image_alt=> '保存文件', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> 'javascript:doSubmit(''EXPORT'');', p_button_cattributes=>'class="button10"', p_required_patch => null + wwv_flow_api.g_id_offset); wwv_flow_api.create_page_button( p_id => 81625912647623713.4056 + wwv_flow_api.g_id_offset, p_flow_id => wwv_flow.g_flow_id, p_flow_step_id => 461.4056, p_button_sequence=> 30, p_button_plug_id => 81345113041600234+wwv_flow_api.g_id_offset, p_button_name => 'NEXT', p_button_image_alt=> '导出工作区 >', p_button_position=> 'REGION_TEMPLATE_CREATE', p_button_alignment=> 'RIGHT', p_button_redirect_url=> '', p_button_condition=> 'EXPORT', p_button_condition_type=> 'REQUEST_NOT_EQUAL_CONDITION', p_required_patch => null + wwv_flow_api.g_id_offset); end; / begin wwv_flow_api.create_page_branch( p_id=>81690503989971319.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 461.4056, p_branch_action=> 'f?p=&FLOW_ID.:461:&SESSION.:EXPORT:&DEBUG.:::', p_branch_point=> 'AFTER_PROCESSING', p_branch_type=> 'REDIRECT_URL', p_branch_when_button_id=>81625912647623713.4056+ wwv_flow_api.g_id_offset, p_branch_sequence=> 99, p_save_state_before_branch_yn=>'N', p_branch_comment=> 'Created 15-JUL-2003 14:01 by SSPADAFO'); end; / declare h varchar2(32767) := null; begin h := null; h:=h||'标识工作区。'; wwv_flow_api.create_page_item( p_id=>81351023663600263.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 461.4056, p_name=>'P461_WORKSPACE', p_data_type=> 'VARCHAR', p_accept_processing=> 'REPLACE_EXISTING', p_item_sequence=> 10, p_item_plug_id => 81345113041600234.4056+wwv_flow_api.g_id_offset, p_use_cache_before_default=> 'YES', p_item_default => 'return wwv_flow_security.find_company_name(:FLOW_SECURITY_GROUP_ID);', p_item_default_type => 'PLSQL_FUNCTION_BODY', p_prompt=>'工作区', p_source_type=> 'STATIC', p_display_as=> 'POPUP', p_lov => 'select short_name a, short_name b'||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 => 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)|| '使用公共主题可以将主题添加到主题资料档案库中。在创建应用程序或为现有应用程序创建主题时, 可以使用公共主题。
'||chr(10)|| '通过在工作区和应用程序中选择一个主题来创建公共主题。创建公共主题之后, 无法直接进行编辑。要进行编辑, 请创建基于该主题的应用程序, 在该应用程序中编辑主题, 然后使用更新后的应用程序主题创建新的公共主题 (如果不再需要旧的公共主题, 则可以删除它)。
'; wwv_flow_api.create_page_plug ( p_id=> 138015530198611860.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 555.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=> 138015711238611861.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 555.4056, p_plug_name=> 'finder', 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_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 t.id,'||chr(10)|| ' t.theme_id,'||chr(10)|| ' t.theme_name,'||chr(10)|| ' '''''||chr(10)|| ' theme_image,'||chr(10)|| ' t.theme_description,'||chr(10)|| ' t.flow_id application_id,'||chr(10)|| ' (select count(*) from wwv'; s:=s||'_flow_templates where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) page_templates,'||chr(10)|| ' (select count(*) from WWV_FLOW_BUTTON_TEMPLATES where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) button_templates,'||chr(10)|| ' (select count(*) from WWV_FLOW_CAL_TEMPLATES where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) cal'; s:=s||'endar_templates,'||chr(10)|| ' (select count(*) from WWV_FLOW_FIELD_TEMPLATES where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) label_templates,'||chr(10)|| ' (select count(*) from WWV_FLOW_LIST_TEMPLATES where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) list_templates,'||chr(10)|| ' (select count(*) from WWV_FLOW_MENU_TEMPLATES where flow_id = t.flow_id and '; s:=s||'security_group_id = 11 and theme_id = t.theme_id) breadcrumb_templates,'||chr(10)|| ' (select count(*) from WWV_FLOW_PAGE_PLUG_TEMPLATES where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) region_templates,'||chr(10)|| ' (select count(*) from WWV_FLOW_ROW_TEMPLATES where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) report_templates,'||chr(10)|| ' (select count(*'; s:=s||') from WWV_FLOW_POPUP_LOV_TEMPLATE where flow_id = t.flow_id and security_group_id = 11 and theme_id = t.theme_id) POPUP_LOV_template'||chr(10)|| ' from wwv_flow_themes t,'||chr(10)|| ' (select v(''IMAGE_PREFIX'') ip from dual) m'||chr(10)|| ' where (:P555_FIND is null or'||chr(10)|| ' instr(upper(theme_name),upper(:P555_FIND)) > 0 or'||chr(10)|| ' instr(upper(theme_description),upper(:P555_FIND)) > 0)'||chr(10)|| ' and theme_security_group_id is null'||chr(10)|| ' '; s:=s||' and security_group_id = 11'; wwv_flow_api.create_report_region ( p_id=> 138015915063611861.4056 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_page_id=> 555.4056, p_name=> 'Workspace Themes', 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_when_condition=> 'P555_VIEW', p_display_when_cond2=> 'DETAIL', p_display_condition_type=> 'VAL_OF_ITEM_IN_COND_EQ_COND2', p_plug_caching=> 'NOT_CACHED', p_customized=> '0', p_ajax_enabled=> 'N', 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_break_cols=> '0', p_query_no_data_found=> '找不到公共主题', p_query_num_rows_item=> 'P555_ROWS', 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_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=> 138016122698611863.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138015915063611861.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=> 15, p_column_heading=> '', p_column_link=>'f?p=&APP_ID.:664:&SESSION.::&DEBUG.:664::', 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=> 'Y', 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=> 138016225664611863.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138015915063611861.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_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=>'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=> 138016316441611863.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138015915063611861.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_NAME', p_column_display_sequence=> 2, p_column_heading=> '名称', p_column_hit_highlight=>'&P555_FIND.', p_column_link=>'f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_ID:#ID#', p_column_linktext=>'#THEME_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=> 'Y', p_column_comment=>''); end; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 138017124275611863.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138015915063611861.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=> 'THEME_IMAGE', 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_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=> 138017206459611863.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138015915063611861.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=> 'THEME_DESCRIPTION', p_column_display_sequence=> 4, p_column_heading=> '说明', p_column_hit_highlight=>'&P555_FIND.', 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; / declare s varchar2(32767) := null; begin s := null; wwv_flow_api.create_report_columns ( p_id=> 138016407767611863.4056 + wwv_flow_api.g_id_offset, p_region_id=> 138015915063611861.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=> 'APPLICATION_ID', p_column_display_sequence=> 5, p_column_heading=> 'Workspace 11#LOGO# | '||chr(10)|| '#NAVIGATION_BAR# | '||chr(10)|| ' |
#REGION_POSITION_07# | '||chr(10)|| ' |
#REG'; c3:=c3||'ION_POSITION_01# | '||chr(10)|| '#REGION_POSITION_02##REGION_POSITION_04##BOX_BODY# | '||chr(10)||
'#REGION_POSITION_03##REGION_POSITION_05# | '||chr(10)||
'
#LOGO# | '||chr(10)|| '#NAVIGATION_BAR# | '||chr(10)|| ' |
#REGION_POSITION_07# | '||chr(10)|| ' |
#REGION_POSITION_02##BOX_BODY# | '||chr(10)|| '#REGION_POSITION_03##REGION_POSITION_05# | '||chr(10)||
'
#MESSAGE#'||chr(10)|| '#RETURN_TO_APPLICATION#', p_reference_id=> 18525411970780075, p_translate_this_template => 'N', p_template_comment => ''); end; null; end; / --application/shared_components/user_interface/templates/page/popup_info_zh_cn prompt ......Page template 20939016234587158.4056 begin declare c1 varchar2(32767) := null; c2 varchar2(32767) := null; c3 varchar2(32767) := null; l_clob clob; l_length number := 1; begin c1:=c1||''||chr(10)|| '
#MESSAGE#'||chr(10)|| '#RETURN_TO_APPLICATION#', p_reference_id=> 19940022257958945, p_translate_this_template => 'N', p_template_comment => ''); end; null; end; / prompt ...button templates -- --------------------------------------- prompt ...region templates -- --application/shared_components/user_interface/templates/region/gray_box prompt ......region template 24544226211.4056 begin declare t varchar2(32767) := null; t2 varchar2(32767) := null; t3 varchar2(32767) := null; l_clob clob; l_clob2 clob; l_clob3 clob; l_length number := 1; begin t:=t||'
#TITLE# | #CLOSE# #EDIT##EXPAND##HELP##DELETE##COPY##CREATE# |
---|---|
#BODY# |
#TITLE# | #CLOSE# #DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE# |
---|---|
#BODY# |
#BODY# | #CLOSE##COPY##DELETE##CHANGE##EDIT##PREVIOUS##NEXT##CREATE##EXPAND# | ||
#BODY# | '||chr(10)|| '#CLOSE# | '||chr(10)|| '#COPY# | '||chr(10)|| '#DELETE# | '||chr(10)|| '#CHANGE# | '||chr(10)|| '#EDIT# | '||chr(10)|| '#PREVIOUS# | '||chr(10)|| '#NEXT# | '||chr(10)|| '#CREATE# | '||chr(10)|| '#EXPAND# | '||chr(10)|| '
#BODY# | '||chr(10)|| '#CLOSE# #EDIT##DELETE##CREATE##CREATE2##PREVIOUS##NEXT# | '||chr(10)|| '
---|
#TITLE#'; t:=t||'th> |
---|
#BODY# |
#TITLE# | ||
---|---|---|
#BODY# |
#TITLE# | #CLOSE# #EDIT##DELETE##CREATE##CREATE2# #PREVIOUS##NEXT# |
---|---|
#BODY# |
#TITLE# | ||
---|---|---|
#BODY# |
#TITLE# | #CLOSE# #EDIT##DELETE##CREATE##CREATE2# #PREVIOUS##NEXT# |
---|---|
#BODY# |
#TITLE# | #CLOSE# #EDIT##EXPAND##HELP##DELETE##COPY##CREATE# |
---|---|
#BODY# |
#TITLE# | #CLOSE# #DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE# |
---|---|
#BODY# |
#TITLE# | #CLOSE# #DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE# |
---|---|
#BODY# |
#TITLE# | #CLOSE# #DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE# |
---|---|
#BODY# |
#TITLE# | #CLOSE# #DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE# |
---|---|
#BODY# |
#BODY# | #CLOSE##COPY#&';
t:=t||'nbsp; #DELETE##CHANGE##EDIT##PREVIOUS##NEXT##CREATE##EXPAND# |
#BODY# | #CLOSE##COPY##DELETE##CHANGE##EDIT##PREVIOUS##NEXT##CREATE##EXPAND# | ||
#4# |
#4# |
', p_row_template_after_rows =>' |
', p_page_footer_text =>' |
#IMONTH# #YYYY# | '||chr(10)|| '
',
p_month_open_format=> ' |
|
|