Show also page regions
This commit is contained in:
parent
b55ba1d3d5
commit
40884cc417
@ -22,7 +22,7 @@ wwv_flow_api.create_page(
|
||||
,p_page_template_options=>'#DEFAULT#'
|
||||
,p_required_role=>wwv_flow_api.id(9556407311505078)
|
||||
,p_last_updated_by=>'DEV'
|
||||
,p_last_upd_yyyymmddhh24miss=>'20211230181850'
|
||||
,p_last_upd_yyyymmddhh24miss=>'20220101080054'
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(11425322549377813)
|
||||
@ -1120,7 +1120,6 @@ wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(11554639700084105)
|
||||
,p_plug_name=>'History [GRID]'
|
||||
,p_region_name=>'HISTORY'
|
||||
,p_icon_css_classes=>'fa-server-search'
|
||||
,p_region_template_options=>'#DEFAULT#'
|
||||
,p_component_template_options=>'#DEFAULT#'
|
||||
,p_plug_template=>wwv_flow_api.id(9078290074569925)
|
||||
|
||||
@ -22,7 +22,7 @@ wwv_flow_api.create_page(
|
||||
,p_page_template_options=>'#DEFAULT#'
|
||||
,p_required_role=>wwv_flow_api.id(9556407311505078)
|
||||
,p_last_updated_by=>'DEV'
|
||||
,p_last_upd_yyyymmddhh24miss=>'20211227165457'
|
||||
,p_last_upd_yyyymmddhh24miss=>'20220101083521'
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(9192009232668637)
|
||||
@ -599,7 +599,7 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_column_id=>wwv_flow_api.id(9192587108668642)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>74
|
||||
,p_width=>90
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(9269296375438807)
|
||||
@ -608,7 +608,7 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_column_id=>wwv_flow_api.id(9192668817668643)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>80
|
||||
,p_width=>90
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(9270127078438809)
|
||||
@ -617,7 +617,7 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_column_id=>wwv_flow_api.id(9192798179668644)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>78
|
||||
,p_width=>80
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(9271020006438811)
|
||||
@ -626,7 +626,7 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_column_id=>wwv_flow_api.id(9192821108668645)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>169
|
||||
,p_width=>180
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(9271971660438813)
|
||||
@ -651,7 +651,7 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_column_id=>wwv_flow_api.id(9193107345668648)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>86
|
||||
,p_width=>100
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(9274624451438819)
|
||||
@ -660,7 +660,7 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_column_id=>wwv_flow_api.id(9193279542668649)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>87
|
||||
,p_width=>100
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(9275579147438822)
|
||||
@ -689,7 +689,7 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_column_id=>wwv_flow_api.id(9260126834429002)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>223
|
||||
,p_width=>240
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(9283483209443170)
|
||||
@ -715,6 +715,522 @@ wwv_flow_api.create_ig_report_column(
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(12336291767960931)
|
||||
,p_plug_name=>'Page Regions [GRID]'
|
||||
,p_region_name=>'PAGE_REGIONS'
|
||||
,p_region_template_options=>'#DEFAULT#'
|
||||
,p_component_template_options=>'#DEFAULT#'
|
||||
,p_plug_template=>wwv_flow_api.id(9078290074569925)
|
||||
,p_plug_display_sequence=>40
|
||||
,p_include_in_reg_disp_sel_yn=>'Y'
|
||||
,p_plug_display_point=>'BODY'
|
||||
,p_query_type=>'TABLE'
|
||||
,p_query_table=>'NAV_REGIONS'
|
||||
,p_include_rowid_column=>false
|
||||
,p_plug_source_type=>'NATIVE_IG'
|
||||
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
||||
,p_prn_units=>'MILLIMETERS'
|
||||
,p_prn_paper_size=>'A4'
|
||||
,p_prn_width=>297
|
||||
,p_prn_height=>210
|
||||
,p_prn_orientation=>'HORIZONTAL'
|
||||
,p_prn_page_header=>'Page Regions [GRID]'
|
||||
,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=>'#EEEEEE'
|
||||
,p_prn_header_font_color=>'#000000'
|
||||
,p_prn_header_font_family=>'Helvetica'
|
||||
,p_prn_header_font_weight=>'bold'
|
||||
,p_prn_header_font_size=>'10'
|
||||
,p_prn_body_bg_color=>'#FFFFFF'
|
||||
,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_prn_page_header_alignment=>'CENTER'
|
||||
,p_prn_page_footer_alignment=>'CENTER'
|
||||
,p_prn_border_color=>'#666666'
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12336454706960933)
|
||||
,p_name=>'PAGE_ID'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'PAGE_ID'
|
||||
,p_data_type=>'NUMBER'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_DISPLAY_ONLY'
|
||||
,p_heading=>'Page Id'
|
||||
,p_heading_alignment=>'RIGHT'
|
||||
,p_display_sequence=>20
|
||||
,p_value_alignment=>'RIGHT'
|
||||
,p_attribute_02=>'VALUE'
|
||||
,p_attribute_05=>'PLAIN'
|
||||
,p_link_target=>'f?p=&APP_ID.:910:&SESSION.::&DEBUG.::P910_PAGE_ID:&PAGE_ID.'
|
||||
,p_link_text=>'&PAGE_ID.'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12336606512960935)
|
||||
,p_name=>'REGION_NAME'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'REGION_NAME'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_DISPLAY_ONLY'
|
||||
,p_heading=>'Region Name'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>30
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_05=>'HTML'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337050603960939)
|
||||
,p_name=>'TEMPLATE'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'TEMPLATE'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_TEXTAREA'
|
||||
,p_heading=>'Template'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>40
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_01=>'Y'
|
||||
,p_attribute_02=>'N'
|
||||
,p_attribute_03=>'N'
|
||||
,p_attribute_04=>'BOTH'
|
||||
,p_is_required=>false
|
||||
,p_max_length=>255
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337113829960940)
|
||||
,p_name=>'STATIC_ID'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'STATIC_ID'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_DISPLAY_ONLY'
|
||||
,p_heading=>'Static Id'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>50
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_05=>'HTML'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337210659960941)
|
||||
,p_name=>'DISPLAY_SEQUENCE'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'DISPLAY_SEQUENCE'
|
||||
,p_data_type=>'NUMBER'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_NUMBER_FIELD'
|
||||
,p_heading=>'Display Sequence'
|
||||
,p_heading_alignment=>'RIGHT'
|
||||
,p_display_sequence=>110
|
||||
,p_value_alignment=>'RIGHT'
|
||||
,p_attribute_03=>'right'
|
||||
,p_is_required=>true
|
||||
,p_enable_filter=>true
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337542454960944)
|
||||
,p_name=>'TABLE_NAME'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'TABLE_NAME'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_DISPLAY_ONLY'
|
||||
,p_heading=>'Table Name'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>60
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_05=>'HTML'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337640462960945)
|
||||
,p_name=>'AUTHORIZATION_SCHEME'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'AUTHORIZATION_SCHEME'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_DISPLAY_ONLY'
|
||||
,p_heading=>'Auth Scheme'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>100
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_02=>'VALUE'
|
||||
,p_attribute_05=>'PLAIN'
|
||||
,p_link_target=>'f?p=&APP_ID.:910:&SESSION.::&DEBUG.::P910_AUTH_SCHEME:&AUTHORIZATION_SCHEME.'
|
||||
,p_link_text=>'&AUTHORIZATION_SCHEME.'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337737938960946)
|
||||
,p_name=>'CONDITION_TYPE'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'CONDITION_TYPE'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_SINGLE_CHECKBOX'
|
||||
,p_heading=>'Condition'
|
||||
,p_heading_alignment=>'CENTER'
|
||||
,p_display_sequence=>90
|
||||
,p_value_alignment=>'CENTER'
|
||||
,p_attribute_01=>'N'
|
||||
,p_attribute_02=>'Y'
|
||||
,p_is_required=>false
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337844311960947)
|
||||
,p_name=>'ITEMS'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'ITEMS'
|
||||
,p_data_type=>'NUMBER'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_NUMBER_FIELD'
|
||||
,p_heading=>'Items'
|
||||
,p_heading_alignment=>'RIGHT'
|
||||
,p_display_sequence=>70
|
||||
,p_value_alignment=>'RIGHT'
|
||||
,p_attribute_03=>'right'
|
||||
,p_is_required=>false
|
||||
,p_enable_filter=>true
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12337933001960948)
|
||||
,p_name=>'BUTTONS'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'BUTTONS'
|
||||
,p_data_type=>'NUMBER'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_NUMBER_FIELD'
|
||||
,p_heading=>'Buttons'
|
||||
,p_heading_alignment=>'RIGHT'
|
||||
,p_display_sequence=>80
|
||||
,p_value_alignment=>'RIGHT'
|
||||
,p_attribute_03=>'right'
|
||||
,p_is_required=>false
|
||||
,p_enable_filter=>true
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(12747198743115303)
|
||||
,p_name=>'PAGE_GROUP'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'PAGE_GROUP'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_DISPLAY_ONLY'
|
||||
,p_heading=>'Page Group'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>10
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_02=>'VALUE'
|
||||
,p_attribute_05=>'PLAIN'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_interactive_grid(
|
||||
p_id=>wwv_flow_api.id(12336381739960932)
|
||||
,p_internal_uid=>12336381739960932
|
||||
,p_is_editable=>false
|
||||
,p_lazy_loading=>false
|
||||
,p_requires_filter=>false
|
||||
,p_select_first_row=>false
|
||||
,p_fixed_row_height=>true
|
||||
,p_pagination_type=>'SET'
|
||||
,p_show_total_row_count=>true
|
||||
,p_show_toolbar=>true
|
||||
,p_toolbar_buttons=>'SEARCH_COLUMN:SEARCH_FIELD:ACTIONS_MENU:SAVE'
|
||||
,p_enable_save_public_report=>false
|
||||
,p_enable_subscriptions=>true
|
||||
,p_enable_flashback=>true
|
||||
,p_define_chart_view=>true
|
||||
,p_enable_download=>true
|
||||
,p_download_formats=>'CSV:HTML:XLSX:PDF'
|
||||
,p_enable_mail_download=>true
|
||||
,p_fixed_header=>'PAGE'
|
||||
,p_show_icon_view=>false
|
||||
,p_show_detail_view=>false
|
||||
,p_javascript_code=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
||||
'function(config) {',
|
||||
' return unified_ig_toolbar(config);',
|
||||
'}',
|
||||
''))
|
||||
);
|
||||
wwv_flow_api.create_ig_report(
|
||||
p_id=>wwv_flow_api.id(12685075256022330)
|
||||
,p_interactive_grid_id=>wwv_flow_api.id(12336381739960932)
|
||||
,p_static_id=>'126851'
|
||||
,p_type=>'PRIMARY'
|
||||
,p_default_view=>'GRID'
|
||||
,p_rows_per_page=>20
|
||||
,p_show_row_number=>false
|
||||
,p_settings_area_expanded=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_view(
|
||||
p_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_report_id=>wwv_flow_api.id(12685075256022330)
|
||||
,p_view_type=>'GRID'
|
||||
,p_stretch_columns=>true
|
||||
,p_srv_exclude_null_values=>false
|
||||
,p_srv_only_display_columns=>true
|
||||
,p_edit_mode=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12685747957022334)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>0
|
||||
,p_column_id=>wwv_flow_api.id(12336454706960933)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>90
|
||||
,p_sort_order=>1
|
||||
,p_sort_direction=>'ASC'
|
||||
,p_sort_nulls=>'LAST'
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12687524716022341)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>1
|
||||
,p_column_id=>wwv_flow_api.id(12336606512960935)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12691104176022351)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>3
|
||||
,p_column_id=>wwv_flow_api.id(12337050603960939)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>200
|
||||
);
|
||||
wwv_flow_api.component_end;
|
||||
end;
|
||||
/
|
||||
begin
|
||||
wwv_flow_api.component_begin (
|
||||
p_version_yyyy_mm_dd=>'2021.04.15'
|
||||
,p_release=>'21.1.6'
|
||||
,p_default_workspace_id=>9014660246496943
|
||||
,p_default_application_id=>770
|
||||
,p_default_id_offset=>0
|
||||
,p_default_owner=>'CORE'
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12692068344022353)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>2
|
||||
,p_column_id=>wwv_flow_api.id(12337113829960940)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>200
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12692978722022356)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>4
|
||||
,p_column_id=>wwv_flow_api.id(12337210659960941)
|
||||
,p_is_visible=>false
|
||||
,p_is_frozen=>false
|
||||
,p_sort_order=>2
|
||||
,p_sort_direction=>'ASC'
|
||||
,p_sort_nulls=>'LAST'
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12695606143022362)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>5
|
||||
,p_column_id=>wwv_flow_api.id(12337542454960944)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12696578502022364)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>9
|
||||
,p_column_id=>wwv_flow_api.id(12337640462960945)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>240
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12697473435022367)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>8
|
||||
,p_column_id=>wwv_flow_api.id(12337737938960946)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>90
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12698324181022369)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>6
|
||||
,p_column_id=>wwv_flow_api.id(12337844311960947)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>90
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12699261812022371)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>7
|
||||
,p_column_id=>wwv_flow_api.id(12337933001960948)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_width=>90
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(12814324265214620)
|
||||
,p_view_id=>wwv_flow_api.id(12685246753022330)
|
||||
,p_display_seq=>10
|
||||
,p_column_id=>wwv_flow_api.id(12747198743115303)
|
||||
,p_is_visible=>false
|
||||
,p_is_frozen=>false
|
||||
,p_break_order=>5
|
||||
,p_break_is_enabled=>true
|
||||
,p_break_sort_direction=>'ASC'
|
||||
,p_break_sort_nulls=>'LAST'
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(12338096400960949)
|
||||
,p_plug_name=>'Page Regions'
|
||||
,p_icon_css_classes=>'fa-cards'
|
||||
,p_region_template_options=>'#DEFAULT#'
|
||||
,p_plug_template=>wwv_flow_api.id(9070356145569920)
|
||||
,p_plug_display_sequence=>30
|
||||
,p_include_in_reg_disp_sel_yn=>'Y'
|
||||
,p_plug_display_point=>'BODY'
|
||||
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
||||
,p_attribute_01=>'N'
|
||||
,p_attribute_02=>'HTML'
|
||||
);
|
||||
wwv_flow_api.create_page_button(
|
||||
p_id=>wwv_flow_api.id(10238277616352483)
|
||||
,p_button_sequence=>10
|
||||
@ -728,6 +1244,19 @@ wwv_flow_api.create_page_button(
|
||||
,p_button_redirect_url=>'f?p=&APP_ID.:910:&SESSION.::&DEBUG.:910::'
|
||||
,p_icon_css_classes=>'fa-refresh'
|
||||
);
|
||||
wwv_flow_api.create_page_button(
|
||||
p_id=>wwv_flow_api.id(12747297731115304)
|
||||
,p_button_sequence=>10
|
||||
,p_button_plug_id=>wwv_flow_api.id(12338096400960949)
|
||||
,p_button_name=>'REFRESH_REGIONS'
|
||||
,p_button_action=>'REDIRECT_PAGE'
|
||||
,p_button_template_options=>'#DEFAULT#'
|
||||
,p_button_template_id=>wwv_flow_api.id(9144574670569995)
|
||||
,p_button_image_alt=>'Refresh'
|
||||
,p_button_position=>'RIGHT_OF_TITLE'
|
||||
,p_button_redirect_url=>'f?p=&APP_ID.:910:&SESSION.::&DEBUG.:910::'
|
||||
,p_icon_css_classes=>'fa-refresh'
|
||||
);
|
||||
wwv_flow_api.create_page_button(
|
||||
p_id=>wwv_flow_api.id(9261437105429015)
|
||||
,p_button_sequence=>20
|
||||
@ -766,6 +1295,14 @@ wwv_flow_api.create_page_item(
|
||||
,p_display_as=>'NATIVE_HIDDEN'
|
||||
,p_attribute_01=>'Y'
|
||||
);
|
||||
wwv_flow_api.create_page_item(
|
||||
p_id=>wwv_flow_api.id(12746985412115301)
|
||||
,p_name=>'P910_PAGE_ID'
|
||||
,p_item_sequence=>10
|
||||
,p_item_plug_id=>wwv_flow_api.id(12338096400960949)
|
||||
,p_display_as=>'NATIVE_HIDDEN'
|
||||
,p_attribute_01=>'Y'
|
||||
);
|
||||
wwv_flow_api.create_page_da_event(
|
||||
p_id=>wwv_flow_api.id(9615275595237538)
|
||||
,p_name=>'SAVE_NAVIGATION'
|
||||
|
||||
@ -22,7 +22,7 @@ wwv_flow_api.create_page(
|
||||
,p_page_template_options=>'#DEFAULT#'
|
||||
,p_required_role=>wwv_flow_api.id(9823062898204869)
|
||||
,p_last_updated_by=>'DEV'
|
||||
,p_last_upd_yyyymmddhh24miss=>'20211228171430'
|
||||
,p_last_upd_yyyymmddhh24miss=>'20220101081456'
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(9563395243581646)
|
||||
@ -1122,6 +1122,8 @@ wwv_flow_api.create_region_column(
|
||||
,p_use_group_for=>'BOTH'
|
||||
,p_attribute_02=>'VALUE'
|
||||
,p_attribute_05=>'PLAIN'
|
||||
,p_link_target=>'f?p=&APP_ID.:910:&SESSION.::&DEBUG.:910:P910_AUTH_SCHEME:&AUTH_SCHEME.'
|
||||
,p_link_text=>'&COUNT_REGIONS.'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_lov_type=>'DISTINCT'
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
CREATE OR REPLACE VIEW nav_overview AS
|
||||
WITH t AS (
|
||||
WITH x AS (
|
||||
SELECT
|
||||
app.get_item('$PAGE_ID') AS page_id
|
||||
FROM users u
|
||||
WHERE u.user_id = app.get_user_id()
|
||||
),
|
||||
t AS (
|
||||
SELECT
|
||||
n.page_id,
|
||||
p.page_name,
|
||||
@ -61,10 +67,12 @@ SELECT
|
||||
in_values => TO_CHAR(n.page_id)
|
||||
) AS action_url
|
||||
FROM navigation n
|
||||
CROSS JOIN x
|
||||
LEFT JOIN t
|
||||
ON t.page_id = n.page_id
|
||||
ON t.page_id = n.page_id
|
||||
LEFT JOIN nav_pages_to_remove r
|
||||
ON r.page_id = n.page_id
|
||||
ON r.page_id = n.page_id
|
||||
WHERE (x.page_id = n.page_id OR x.page_id IS NULL)
|
||||
--
|
||||
UNION ALL
|
||||
SELECT
|
||||
@ -99,8 +107,10 @@ SELECT
|
||||
in_values => TO_CHAR(n.page_id)
|
||||
) AS action_url
|
||||
FROM nav_pages_to_add n
|
||||
CROSS JOIN x
|
||||
LEFT JOIN t
|
||||
ON t.page_id = n.parent_id;
|
||||
ON t.page_id = n.parent_id
|
||||
WHERE (x.page_id = n.page_id OR x.page_id IS NULL);
|
||||
--
|
||||
COMMENT ON TABLE nav_overview IS 'Enriched navigation overview used also for menu rendering';
|
||||
--
|
||||
|
||||
56
views/nav_regions.sql
Normal file
56
views/nav_regions.sql
Normal file
@ -0,0 +1,56 @@
|
||||
CREATE OR REPLACE VIEW nav_regions AS
|
||||
WITH x AS (
|
||||
SELECT
|
||||
app.get_item('$PAGE_ID') AS page_id,
|
||||
app.get_item('$AUTH_SCHEME') AS auth_scheme
|
||||
FROM users u
|
||||
WHERE u.user_id = app.get_user_id()
|
||||
)
|
||||
SELECT
|
||||
p.page_group,
|
||||
r.page_id,
|
||||
--r.region_id,
|
||||
--
|
||||
REPLACE(RPAD(' ', 3 * CASE WHEN r.template = 'Hero' THEN 0 ELSE 1 END), ' ', '&' || 'nbsp; ') ||
|
||||
CASE WHEN r.icon_css_classes IS NOT NULL THEN app.get_icon(r.icon_css_classes) || '&' || 'nbsp; ' END || r.region_name
|
||||
AS region_name,
|
||||
--
|
||||
--r.parent_region_id,
|
||||
--r.source_type,
|
||||
--r.source_type_code,
|
||||
--r.query_type_code,
|
||||
--
|
||||
CASE
|
||||
WHEN r.source_type_code = 'NATIVE_IG'
|
||||
THEN r.source_type
|
||||
ELSE r.template
|
||||
END AS template,
|
||||
--
|
||||
CASE
|
||||
WHEN r.source_type_code = 'NATIVE_IG' AND r.static_id IS NULL
|
||||
THEN app.get_icon('fa-warning')
|
||||
ELSE r.static_id
|
||||
END AS static_id,
|
||||
--
|
||||
CASE
|
||||
WHEN r.query_type_code = 'SQL'
|
||||
THEN app.get_icon('fa-warning')
|
||||
ELSE r.table_name
|
||||
END AS table_name,
|
||||
--
|
||||
NULLIF(r.items, 0) AS items,
|
||||
NULLIF(r.buttons, 0) AS buttons,
|
||||
--
|
||||
CASE WHEN r.condition_type_code IS NOT NULL THEN 'Y' END AS condition_type,
|
||||
--
|
||||
r.authorization_scheme,
|
||||
r.display_sequence
|
||||
FROM apex_application_page_regions r
|
||||
JOIN apex_application_pages p
|
||||
ON p.application_id = r.application_id
|
||||
AND p.page_id = r.page_id
|
||||
CROSS JOIN x
|
||||
WHERE r.application_id = app.get_app_id()
|
||||
AND (x.page_id = p.page_id OR x.page_id IS NULL)
|
||||
AND (x.auth_scheme = r.authorization_scheme OR x.auth_scheme IS NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user