Главная
>
Oracle e-Business Suite > Параллельные программы в ОЕБС (FND_CONCURRENT_REQUESTS)
Параллельные программы в ОЕБС (FND_CONCURRENT_REQUESTS)
SELECT a.request_id,
b.user_name,
c.program,
c.argument_text,
a.requested_start_date,
/*a.status_code, a.phase_code,*/
lc.MEANING as status_descr,
lp.MEANING as phase_descr
FROM fnd_concurrent_requests a,
fnd_user b,
fnd_conc_req_summary_v c,
fnd_lookups lp,
fnd_lookups lc
WHERE b.user_id = a.requested_by
AND a.request_id = c.request_id
AND a.requested_start_date > trunc(SYSDATE)
AND a.hold_flag = 'N'
and lp.lookup_type = 'CP_PHASE_CODE'
and lp.LOOKUP_CODE = a.phase_code
and lc.lookup_type = 'CP_STATUS_CODE'
and lc.LOOKUP_CODE = a.status_code
/*and a.status_code IN ('Q', 'I')*/
and b.user_name LIKE '%'
and c.program like '%'
ORDER BY a.request_id desc;
Похожие записи:
Как установить статус запроса при разработке своей программы тут