/*********************************************************
*PURPOSE: SQL Query to find Procurement Agents & Access *
*AUTHOR: Shailender Thallam *
*********************************************************/
SELECT
ppf.display_name
, pu.username
, hou.name BU_NAME
, paa.access_action_code
, paa.active_flag
, paa.access_others_level_code
FROM
po_agent_accesses paa
, per_person_names_f_v ppf
, per_users pu
, hr_organization_units hou
WHERE
1 = 1
AND paa.agent_id = ppf.person_id
AND pu.person_id = ppf.person_id
AND hou.organization_id = paa.prc_bu_id
; |
/*********************************************************
*PURPOSE: SQL Query to find Procurement Agents & Access *
*AUTHOR: Shailender Thallam *
*********************************************************/
select
ppf.display_name
, pu.username
, hou.name BU_NAME
, paa.access_action_code
, paa.active_flag
, paa.access_others_level_code
from
po_agent_accesses paa
, per_person_names_f_v ppf
, per_users pu
, hr_organization_units hou
where
1 = 1
and paa.agent_id = ppf.person_id
and pu.person_id = ppf.person_id
and hou.organization_id = paa.prc_bu_id
;