|
|
Re: Need to find the Responsbility Name [message #178158 is a reply to message #176742] |
Mon, 19 June 2006 14:53 |
vchitiyala
Messages: 4 Registered: June 2006 Location: Tulsa, OK
|
Junior Member |
|
|
Maybe this query will help:
SELECT frt.responsibility_name responsibility,
rg.request_group_name request_group,
fat.application_name application,
fcpt.user_concurrent_program_name concurrent_program,
fcp.concurrent_program_name short_name
FROM fnd_request_groups rg,
fnd_request_group_units rgu,
fnd_concurrent_programs_tl fcpt,
fnd_concurrent_programs fcp,
fnd_responsibility_tl frt,
fnd_responsibility fr,
fnd_application_tl fat
WHERE rg.request_group_id = rgu.request_group_id
AND rgu.request_unit_id = fcpt.concurrent_program_id
AND fcpt.concurrent_program_id = fcp.concurrent_program_id
AND rg.request_group_id = fr.request_group_id
AND fr.responsibility_id = frt.responsibility_id
AND rg.application_id = fat.application_id
AND fcp.concurrent_program_name LIKE '%GLASREP%'
ORDER BY fcp.concurrent_program_name
|
|
|
Re: Need to find the Responsbility Name [message #178356 is a reply to message #178158] |
Tue, 20 June 2006 15:09 |
agostino_neto
Messages: 180 Registered: July 2005
|
Senior Member |
|
|
Not sure, you really need fnd_concurrent_programs_tl and fnd_responsibility_tl. You will have duplicates records if many languages are used (due to translation on responsibility and program name). I you need translation, then used standard views which will give only one result for the active language.
Not all jointures are used:
FND_REQUEST_GROUP_UNITS (unit_application_id and request_unit_id)
FND_CONCURRENT_PROGRAMS (application_id and concurrent_program_id)
FND_REQUEST_GROUP_UNITS (application_id and request_group_id)
FND_REQUEST_GROUPS (application_id and request_group_id)
FND_RESPONSIBILITY (group_application_id and request_group_id)
FND_REQUEST_GROUPS (application_id and request_group_id)
|
|
|