2022-07-17 22:42:41 +02:00

156 lines
4.2 KiB
SQL

-- --------------------------------------------------------------------------------
--
-- Oracle APEX source export file
--
-- The contents of this file are intended for review and analysis purposes only.
-- Developers must use the Application Builder to make modifications to an
-- application. Changes to this file will not be reflected in the application.
--
-- --------------------------------------------------------------------------------
-- ----------------------------------------
-- Page 920: #fa-users &PAGE_NAME.
-- Region: User Roles (DYNAMIC PIVOT) [GRID]
-- SQL Query
SELECT
seq_id AS row#,
c001, c002, c003, c004, c005, c006, c007, c008, c009, c010,
c011, c012, c013, c014, c015, c016, c017, c018, c019, c020,
c021, c022, c023, c024, c025, c026, c027, c028, c029, c030,
c031, c032, c033, c034, c035, c036, c037, c038, c039, c040,
c041, c042, c043, c044, c045, c046, c047, c048, c049, c050
FROM apex_collections c
WHERE c.collection_name = 'P' || :APP_PAGE_ID
AND c.c001 = NVL(app.get_item('$USER_ID'), c.c001);
-- ----------------------------------------
-- Page 920: #fa-users &PAGE_NAME.
-- Process: ACTION_CREATE_SCHEME
-- PL/SQL Code
app.log_action('CREATE_SCHEME', :P920_AUTH_SCHEME);
--
app_actions.create_auth_scheme (
in_app_id => app.get_app_id(),
in_name => :P920_AUTH_SCHEME
);
--
:P920_AUTH_SCHEME := NULL;
-- ----------------------------------------
-- Page 920: #fa-users &PAGE_NAME.
-- Process: SAVE_USER_ROLES
-- PL/SQL Code to Insert/Update/Delete
app_actions.save_user_roles_pivot (
in_action => :APEX$ROW_STATUS,
in_c001 => :C001,
in_c002 => :C002,
in_c003 => :C003,
in_c004 => :C004,
in_c005 => :C005,
in_c006 => :C006,
in_c007 => :C007,
in_c008 => :C008,
in_c009 => :C009,
in_c010 => :C010,
in_c011 => :C011,
in_c012 => :C012,
in_c013 => :C013,
in_c014 => :C014,
in_c015 => :C015,
in_c016 => :C016,
in_c017 => :C017,
in_c018 => :C018,
in_c019 => :C019,
in_c020 => :C020,
in_c021 => :C021,
in_c022 => :C022,
in_c023 => :C023,
in_c024 => :C024,
in_c025 => :C025,
in_c026 => :C026,
in_c027 => :C027,
in_c028 => :C028,
in_c029 => :C029,
in_c030 => :C030,
in_c031 => :C031,
in_c032 => :C032,
in_c033 => :C033,
in_c034 => :C034,
in_c035 => :C035,
in_c036 => :C036,
in_c037 => :C037,
in_c038 => :C038,
in_c039 => :C039,
in_c040 => :C040,
in_c041 => :C041,
in_c042 => :C042,
in_c043 => :C043,
in_c044 => :C044,
in_c045 => :C045,
in_c046 => :C046,
in_c047 => :C047,
in_c048 => :C048,
in_c049 => :C049,
in_c050 => :C050
);
-- ----------------------------------------
-- Page 920: #fa-users &PAGE_NAME.
-- Process: INIT_PIVOT
-- PL/SQL Code
app.log_action('PREP_USER_ROLES_PIVOT');
--
app_actions.prep_user_roles_pivot(:APP_PAGE_ID);
-- ----------------------------------------
-- Page 920: #fa-users &PAGE_NAME.
-- Process: SAVE_USERS
-- PL/SQL Code to Insert/Update/Delete
app_actions.save_users (
in_action => :APEX$ROW_STATUS,
out_user_id => :OUT_USER_ID,
in_user_id => :USER_ID,
in_user_login => :USER_LOGIN,
in_user_name => :USER_NAME,
in_lang_id => :LANG_ID,
in_is_active => :IS_ACTIVE
);
-- ----------------------------------------
-- Page 920: #fa-users &PAGE_NAME.
-- Process: SAVE_ROLES
-- PL/SQL Code to Insert/Update/Delete
app_actions.save_roles (
in_action => :APEX$ROW_STATUS,
out_app_id => :OUT_APP_ID,
out_role_id => :OUT_ROLE_ID,
in_app_id => :APP_ID,
in_role_id => :ROLE_ID,
in_role_name => :ROLE_NAME,
in_role_group => :ROLE_GROUP,
in_description_ => :DESCRIPTION_,
in_is_active => :IS_ACTIVE,
in_order# => :ORDER#
);
-- ----------------------------------------
-- Page 920: #fa-users &PAGE_NAME.
-- Action: NATIVE_EXECUTE_PLSQL_CODE
-- PL/SQL Code
app_actions.prep_user_roles_pivot(:APP_PAGE_ID);