<ROOT>
 <APPS_INITIALIZE_DATA>
  <USER_NAME>ENGINATICS</USER_NAME>
  <RESPONSIBILITY_KEY>SYSTEM_ADMINISTRATOR</RESPONSIBILITY_KEY>
  <APPLICATION_SHORT_NAME>SYSADMIN</APPLICATION_SHORT_NAME>
 </APPS_INITIALIZE_DATA>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: FND W3H_Object_Users -->
 <REPORTS_ROW>
  <GUID>82288223EF8C3869E053B46B63588994</GUID>
  <SQL_TEXT>select * from (
select fg.grantee_key as UserName,fg.name as GrantName, fnd_message.get_STRING(&apos;FND&apos;,&apos;W3H_YES_ACCESSIBILITY&apos;) as Accessibility,
 (select user_name from fnd_user where user_id=fg.created_by) as GrantCreatedBy,
 fg.creation_date as GrantCreationDate,
 (select user_name from fnd_user where user_id=fg.last_updated_by) as GrantUpdatedBy,
 fg.last_update_date as GrantUpdateDate
 from fnd_objects fo,fnd_grants fg,fnd_user fu
 where fo.object_id=fg.object_id
 and fg.start_date &lt;= sysdate 
 and (sysdate &lt; fg.end_date or fg.end_date is null)
 and fo.obj_name= :PARAM1
 and fg.grantee_type=&apos;USER&apos;
 and fu.user_name = fg.grantee_key
 and fu.start_date &lt;= sysdate 
 and nvl(fu.end_date,sysdate+1) &gt; sysdate
 union all 
 /*Direct Grants to User*/
 select fg.grantee_key as UserName,fg.name as GrantName, fnd_message.get_STRING(&apos;FND&apos;,&apos;W3H_NO_ACCESSIBILITY&apos;) as Accessibility,
 (select user_name from fnd_user where user_id=fg.created_by) as GrantCreatedBy,
 fg.creation_date as GrantCreationDate,
 (select user_name from fnd_user where user_id=fg.last_updated_by) as GrantUpdatedBy,
 fg.last_update_date as GrantUpdateDate
 from fnd_objects fo,fnd_grants fg,fnd_user fu
 where fo.object_id=fg.object_id
 and fo.obj_name= :PARAM1
 and fg.grantee_type=&apos;USER&apos;
 and fu.user_name = fg.grantee_key
 and (NOT (fu.start_date &lt;= sysdate and nvl(fu.end_date,sysdate+1) &gt; sysdate)
 OR (sysdate &lt; fg.start_date  or sysdate &gt;= fg.end_date))
 union all
 /*Grants to user through Role/Resp */
 select wur.user_name as UserName,fg.name as GrantName, fnd_message.get_STRING(&apos;FND&apos;,&apos;W3H_YES_ACCESSIBILITY&apos;) as Accessibility,
 (select user_name from fnd_user where user_id=fg.created_by) as GrantCreatedBy,
 fg.creation_date as GrantCreationDate,
 (select user_name from fnd_user where user_id=fg.last_updated_by) as GrantUpdatedBy,
 fg.last_update_date as GrantUpdateDate
 from fnd_objects fo,fnd_grants fg,wf_user_role_assignments wur
 where fo.object_id=fg.object_id
 and wur.role_name=fg.grantee_key
 and (wur.effective_start_date &lt;=sysdate or wur.effective_start_date is null)
 and (wur.effective_end_date is null or sysdate &lt;= wur.effective_end_date)
 and fg.start_date &lt;= sysdate 
 and (sysdate &lt; fg.end_date or fg.end_date is null)
 and fo.obj_name= :PARAM1
 and fg.grantee_orig_system in (&apos;FND_RESP&apos;,&apos;UMX&apos;)
 and fg.grantee_type=&apos;GROUP&apos;
 union all
 /*Grants to user through Role/Resp */
 select wur.user_name as UserName,fg.name as GrantName,fnd_message.get_STRING(&apos;FND&apos;,&apos;W3H_NO_ACCESSIBILITY&apos;) as Accessibility,
 (select user_name from fnd_user where user_id=fg.created_by) as GrantCreatedBy,
 fg.creation_date as GrantCreationDate,
 (select user_name from fnd_user where user_id=fg.last_updated_by) as GrantUpdatedBy,
 fg.last_update_date as GrantUpdateDate
 from fnd_objects fo,fnd_grants fg,wf_user_role_assignments wur
 where fo.object_id=fg.object_id
 and wur.role_name=fg.grantee_key
 and ((sysdate &lt; fg.start_date  or sysdate &gt;= fg.end_date)
 or (wur.effective_start_date &gt; sysdate or wur.effective_end_date &lt;= sysdate))
 and fo.obj_name=  :PARAM1
 and fg.grantee_orig_system in (&apos;FND_RESP&apos;,&apos;UMX&apos;)
 and fg.grantee_type=&apos;GROUP&apos;
 union 
/*Global Grants */
select fg.grantee_key as UserName,fg.name as GrantName, fnd_message.get_STRING(&apos;FND&apos;,&apos;W3H_YES_ACCESSIBILITY&apos;) as Accessibility,
(select user_name from fnd_user where user_id=fg.created_by) as GrantCreatedBy,
fg.creation_date as GrantCreationDate,
(select user_name from fnd_user where user_id=fg.last_updated_by) as GrantUpdatedBy,
fg.last_update_date as GrantUpdateDate
from fnd_objects fo,fnd_grants fg
where fo.object_id=fg.object_id
and fg.start_date &lt;= sysdate 
and (sysdate &lt; fg.end_date or fg.end_date is null)
and fo.obj_name= :PARAM1
and fg.grantee_type= :PARAM2
union
/*Global Grants */
select fg.grantee_key as UserName,fg.name as GrantName,fnd_message.get_STRING(&apos;FND&apos;,&apos;W3H_NO_ACCESSIBILITY&apos;) as Accessibility,
(select user_name from fnd_user where user_id=fg.created_by) as GrantCreatedBy,
fg.creation_date as GrantCreationDate,
(select user_name from fnd_user where user_id=fg.last_updated_by) as GrantUpdatedBy,
fg.last_update_date as GrantUpdateDate
from fnd_objects fo,fnd_grants fg
where fo.object_id=fg.object_id
and (sysdate &lt; fg.start_date  or sysdate &gt;= fg.end_date)
and fo.obj_name=  :PARAM1
and fg.grantee_type =  :PARAM2
) &amp;PARAM3
</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <XDO_APPLICATION_SHORT_NAME>FND</XDO_APPLICATION_SHORT_NAME>
  <XDO_DATA_SOURCE_CODE>W3H_Object_Users</XDO_DATA_SOURCE_CODE>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <REPORT_NAME>FND W3H_Object_Users</REPORT_NAME>
    <DESCRIPTION>Application: مكتبة وحدات التطبيقات
Source: 
Short Name: W3H_Object_Users
DB package: </DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <REPORT_NAME>FND W3H_Object_Users</REPORT_NAME>
    <DESCRIPTION>Application: Basisbibliothek
Source: 
Short Name: W3H_Object_Users
DB package: </DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>FND W3H_Object_Users</REPORT_NAME>
    <DESCRIPTION>Application: Application Object Library
Source: 
Short Name: W3H_Object_Users
DB package: </DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <REPORT_NAME>FND W3H_Object_Users</REPORT_NAME>
    <DESCRIPTION>Application: 应用对象程序库
Source: 
Short Name: W3H_Object_Users
DB package: </DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>BI Publisher</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>&amp;param3</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:param1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:param2</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
  </PARAMETER_DEPENDENCIES>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
  <UPLOAD_DEPENDENCIES>
  </UPLOAD_DEPENDENCIES>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
