1. 程式人生 > >Oracle EBS 獲取用戶掛的職責 請求 請求的類別(RTF還是什麽的)

Oracle EBS 獲取用戶掛的職責 請求 請求的類別(RTF還是什麽的)

請求 函數 cat HERE epo report ram to_char ups

select fu.user_ID,
       fu.user_name,
       fu.start_date,
       fu.END_DATE,
       fu.description,
       fe.last_name,
       fr.RESPONSIBILITY_NAME,
       fr.description, --職責描述
       fr.start_date,
       fr.END_DATE,
       frg.request_group_name, ---- 請求組名稱
       frg.description requestdsc, --
-- 請求組描述 fr.menu_id, ---- 菜單 ID REQUEST_UNIT_TYPE, ---- 請求類型 fcp.user_concurrent_program_name, ---請求並發程序名 decode(fcp.EXECUTION_METHOD_CODE, H, 主機, S, 立即, J, Java 存儲過程,
K, Java 並發程序, M, 多語言功能, P, Oracle Reports, I, PL/SQL 存儲過程, B, 請求集階段函數, A, 派生, L, SQL*Loader 程序
, Q, SQL*Plus, E, Perl 並發程序) from fnd_user fu, hr_employees_all_v fe, FND_USER_RESP_GROUPS_DIRECT ugd, FND_RESPONSIBILITY_VL fr, fnd_request_groups frg, FND_REQUEST_GROUP_UNITS frgu, FND_CONCURRENT_PROGRAMS_VL fcp where to_char(fu.creation_date, yyyy) >= 2008 and fu.employee_id = fe.employee_id(+) --用戶與職員關系 and fu.user_id = ugd.user_id and ugd.RESPONSIBILITY_ID = fr.responsibility_id and ugd.RESPONSIBILITY_APPLICATION_ID = fr.APPLICATION_ID --- 以上用戶與職責關系 and fr.request_group_id = frg.request_group_id(+) and fr.group_application_id = frg.application_ID(+) --- 以上是請求組和職責關系 and frgu.application_id(+) = frg.application_ID and frg.request_group_id = frgu.request_group_id(+) --- 以上是請求組中間表與職責 and fcp.CONCURRENT_PROGRAM_ID = frgu.REQUEST_UNIT_ID and frgu.UNIT_application_id = fcp.application_id and user_name = SUNYUKUN --- ‘SUNYUKUN‘ 登錄用戶名,可變量 order by User_id, Responsibility_name

Oracle EBS 獲取用戶掛的職責 請求 請求的類別(RTF還是什麽的)