根據form名查詢職責、應用產品、說明、安全組、有效日期從、有效日期至、form名稱、應用產品、功能名、使用者功能名、說明。
注意:通過選單查詢指定form對應職責,所以應該將該form功能掛到選單下
selectdistinct
frt.responsibility_name "責任",
frt.description "說明",
fsgt.security_group_name "安全組",
fr.start_date "有效日期從",
fr.end_date "有效日期至",
fft.user_form_name "form名稱",
fff.function_name "功能名",
ffft.user_function_name "使用者功能名",
fft.description "說明"
from
fnd_form ff,
fnd_form_tl fft,
fnd_form_functions fff,
fnd_form_functions_tl ffft,
fnd_menus_tl fmt,
fnd_menus fm,
fnd_menu_entries fme,
fnd_responsibility_tl frt,
fnd_responsibility fr,
fnd_security_groups_tl fsgt,
fnd_security_groups fsg,
wf_all_user_roles wura
where ff.form_id =
fft.form_id
and fff.form_id =
ff.form_id
and ffft.function_id =
fff.function_id
and fme.function_id =
fff.function_id
and fme.menu_id =
fm.menu_id
and fm.menu_id =
fmt.menu_id
and frt.responsibility_id =
fr.responsibility_id
and fsgt.security_group_id =
fsg.security_group_id
and fsg.security_group_key =
replace
(substr(wura.role_name,
instr(wura.role_name,
'|',
1,3) +1),
'%col',
':')
and fr.menu_id =
fm.menu_id
and frt.responsibility_id =
wura.role_orig_system_id
and ff.form_name =
'cuxhr25559
'and fft.language =
'zhs
'and ffft.language =
'zhs
'and fmt.language =
'zhs
'and fsgt.language =
'zhs
'and frt.language =
'zhs
'
Linux下根據程序名稱kill掉對應程序
linux下根據程序名稱kill掉對應程序 記錄帖,此指令碼來自於組內一位經驗豐富的程式設計師,梁同學。bin sh function m killpid then echo e 033 1 32m r n kill program c id ps grep grep v grep awk if n...
Docker根據名稱查詢容器ID映象ID並停止刪除
根據容器名稱查詢容器id並刪除 第一種寫法 docker stop docker ps a grep test project awk docker rm docker ps a grep test project awk 第二種寫法 docker stop docker ps aq filter ...
根據字串查詢數字對應的月份
要求根據數字1 12數字返回月份名稱 monthstr 一月二月三月四月五月六月七月八月九月十月十一月十二月 monthid eval input 請輸入月份數字 1 12 if monthid in range 1 10 pos monthid 1 2print monthstr pos pos ...