begin
Wf_local_synch.PropagateUserRole(
p_user_name => p_user_name,
p_role_name => p_role_name,
p_start_date=>'01-SEP-21',
p_expiration_date=>'31-DEC-30');
commit;
excePtion
when others then
null;
end;
begin
Wf_local_synch.PropagateUserRole(
p_user_name => p_user_name,
p_role_name => p_role_name,
p_start_date=>'01-SEP-21',
p_expiration_date=>'31-DEC-30');
commit;
excePtion
when others then
null;
end;
select a.sid||'|'|| a.serial#||'|'|| a.process
from gv$session a, gv$locked_object b, dba_objects c
where b.object_id = c.object_id
and a.sid = b.session_id
and OBJECT_NAME=upper('<Table Name>');
begin
jdr_utils.listCustomizations('/oracle/apps/icx/por/req/webui/EditSubmitPG');
jdr_utils.listCustomizations('/oracle/apps/icx/por/req/webui/ShoppingCartPopupRN');
end;
To Delete Customizations
begin
jdr_utils.deleteDocument('/oracle/apps/icx/por/req/webui/customizations/site/0/EditSubmitPG');
jdr_utils.deleteDocument('/oracle/apps/icx/por/req/webui/customizations/site/0/ShoppingCartPopupRN');
end;
/
SELECT CLIENT_IDENTIFIER
USER_NAME,
SYSDATE,
ROUND (((S.LAST_CALL_ET / 86400)) * 24 * 60, 2)
WAIT_TIME,
S.SID,
S.SERIAL#,
S.Sql_id,
s.inst_id,
DECODE (s.sql_hash_value, 743038952, 'SAME', 'DIFFERENT')
Hash_value,
s.sql_hash_value, --743038952
S.STATUS,
S.plsql_entry_object_id,
S.MODULE,
S.ACTION,
SYSDATE - (S.LAST_CALL_ET / 86400)
LAST_CALL,
S.TYPE,
S.USERNAME
DB_USERNAME,
S.OSUSER
CLIENT_USERNAME,
S.MACHINE,
S.CLIENT_INFO,
S.TERMINAL,
S.LOGON_TIME,
S.PROCESS,
P.SPID,
P.PID,
s.*
FROM GV$SESSION S, GV$PROCESS P
WHERE S.PADDR = P.ADDR(+)
AND s.inst_id = p.inst_id
AND S.MODULE IS NOT NULL
AND S.STATUS = 'ACTIVE'
AND NVL (S.TYPE, 'XXXXX') <> 'BACKGROUND'
AND S.MODULE LIKE '%007%' -- CP Short name
--and sql_id = 'd1u4rr2gkcq33'
-- S.ACTION LIKE :ACTIONTYPE AND
--S.OSUSER LIKE :USR
--AND ROUND(((S.LAST_CALL_ET / 86400))*24*60,2) > :WAIT_TIME
ORDER BY ((S.LAST_CALL_ET / 86400)) * 24 * 60 DESC;