<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>
<LOVS>
<!-- loader xml for Enginatics Blitz Report lov: FND User Name -->
 <LOVS_ROW>
  <GUID>8E2FF36EDE8479D2E0530100007F1FF2</GUID>
  <LOV_NAME>FND User Name</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <FILTER_BEFORE_DISPLAY>Y</FILTER_BEFORE_DISPLAY>
  <LOV_QUERY>select
fu.user_name value,
trim(coalesce(
trim(papf.first_name||&apos; &apos;||papf.last_name),
fu.description,
fu.email_address,
papf.email_address
)||fu.inactive) description
from
(select case when sysdate between fu.start_date and nvl(fu.end_date,sysdate) then null else &apos; (inactive)&apos; end inactive, fu.* from fnd_user fu) fu,
(select papf.* from per_all_people_f papf where sysdate between papf.effective_start_date and papf.effective_end_date) papf,
(
select distinct
furg.user_id,
count(*) over (partition by furg.user_id) resp_count,
max(fr.responsibility_key) over (partition by furg.user_id) max_responsibility_key
from
fnd_responsibility fr,
fnd_user_resp_groups_direct furg
where
fr.responsibility_id=furg.responsibility_id and
fr.application_id=furg.responsibility_application_id
) furg
where
fu.employee_id=papf.person_id(+) and
fu.user_id=furg.user_id(+) and
not (furg.resp_count=1 and furg.max_responsibility_key=&apos;IRC_EXT_CANDIDATE&apos;)
order by
fu.inactive desc,
fu.user_name</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <DESCRIPTION>FND user names, excluding iRecruitment candidates.</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: Blitz Upload History -->
 <REPORTS_ROW>
  <GUID>2B3C8C96F3531FF9E0630100007F25F0</GUID>
  <SQL_TEXT>select
xrr.upload_request_id,
xrr.request_id report_request_id,
xrr.creation_date,
xxen_util.user_name(xrr.created_by) user_name,
frt.responsibility_name responsibility,
xrv.report_name upload_name,
nullif(x.c_v,0) create_valid,
nullif(x.c_e,0) create_error,
nullif(x.c_s,0) create_success,
nullif(x.u_v,0) update_valid,
nullif(x.u_e,0) update_error,
nullif(x.u_s,0) update_success,
nullif(x.other,0) other,
xrr.row_count total,
xrr.upload_file_name file_name,
dbms_lob.getlength(fl.file_data) file_size,
nvl2(x.run_id,&apos;begin xxen_upload.g_run_id:=&apos;||x.run_id||&apos;; end;&apos;,null) init_sql,
nvl2(x.run_id,&apos;select&apos;||chr(10)||&apos;xu.*&apos;||chr(10)||&apos;from&apos;||chr(10)||xrv.upload_view||&apos; xu&apos;||chr(10)||&apos;order by&apos;||chr(10)||&apos;xu.upload_row&apos;,null) data_sql,
xrr.run_id,
xrr.report_id
from (
select
run_id,
case
when xud.column1=&apos;C&apos; and xud.column2=&apos;V&apos; then &apos;C_V&apos;
when xud.column1=&apos;C&apos; and xud.column2=&apos;E&apos; then &apos;C_E&apos;
when xud.column1=&apos;C&apos; and xud.column2=&apos;S&apos; then &apos;C_S&apos;
when xud.column1=&apos;U&apos; and xud.column2=&apos;V&apos; then &apos;U_V&apos;
when xud.column1=&apos;U&apos; and xud.column2=&apos;E&apos; then &apos;U_E&apos;
when xud.column1=&apos;U&apos; and xud.column2=&apos;S&apos; then &apos;U_S&apos;
else &apos;other&apos;
end action_status
from
xxen_upload_data xud
)
pivot (
count(*) 
for action_status in (
&apos;C_V&apos; as c_v,
&apos;C_E&apos; as c_e,
&apos;C_S&apos; as c_s,
&apos;U_V&apos; as u_v,
&apos;U_E&apos; as u_e,
&apos;U_S&apos; as u_s,
&apos;other&apos; as other
)
) x,
xxen_report_runs xrr,
xxen_reports_v xrv,
fnd_responsibility_tl frt,
fnd_concurrent_requests fcr,
fnd_lobs fl
where
1=1 and
xrr.type=&apos;U&apos; and
xrr.run_id=x.run_id(+) and
xrr.report_id=xrv.report_id and
xrr.responsibility_application_id=frt.application_id(+) and
xrr.responsibility_id=frt.responsibility_id(+) and
frt.language(+)=userenv(&apos;lang&apos;) and
xrr.upload_request_id=fcr.request_id(+) and
nvl2(translate(fcr.argument3,&apos;x1234567890&apos;,&apos;x&apos;),null,fcr.argument3)=fl.file_id(+)
order by
xrr.run_id desc</SQL_TEXT>
  <VERSION_COMMENTS>New logic to derive the uploaded valid row count from the xrr.row_count column</VERSION_COMMENTS>
  <ENABLED>Y</ENABLED>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>Blitz Upload History</REPORT_NAME>
    <DESCRIPTION>History of uploaded data, which is kept for profile option Blitz Upload Data Retention Days number of days.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>xrv.report_name=:report_name</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
xrv.report_name value,
xrv.description
from
xxen_reports_v xrv
where
xrv.report_id in (select xrr.report_id from xxen_report_runs xrr where xrr.type=&apos;U&apos; and (:$flex$.Started_within_Days is null or xrr.start_date&gt;=sysdate-:$flex$.Started_within_Days))
order by
xrv.report_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Upload Name</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>xrr.creation_date&gt;sysdate-:days</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select 10 from dual where
:$flex$.upload_name is null and
:$flex$.uploaded_by is null</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Started within Days</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>xrr.created_by=xxen_util.user_id(:created_by)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>FND User Name</LOV_NAME>
    <LOV_GUID>8E2FF36EDE8479D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
fu.user_name value,
trim(coalesce(
trim(papf.first_name||&apos; &apos;||papf.last_name),
fu.description,
fu.email_address,
papf.email_address
)||fu.inactive) description
from
(select case when sysdate between fu.start_date and nvl(fu.end_date,sysdate) then null else &apos; (inactive)&apos; end inactive, fu.* from fnd_user fu) fu,
(select papf.* from per_all_people_f papf where sysdate between papf.effective_start_date and papf.effective_end_date) papf,
(
select distinct
furg.user_id,
count(*) over (partition by furg.user_id) resp_count,
max(fr.responsibility_key) over (partition by furg.user_id) max_responsibility_key
from
fnd_responsibility fr,
fnd_user_resp_groups_direct furg
where
fr.responsibility_id=furg.responsibility_id and
fr.application_id=furg.responsibility_application_id
) furg
where
fu.employee_id=papf.person_id(+) and
fu.user_id=furg.user_id(+) and
not (furg.resp_count=1 and furg.max_responsibility_key=&apos;IRC_EXT_CANDIDATE&apos;)
order by
fu.inactive desc,
fu.user_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Uploaded By</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.Started_within_Days</FLEX_BIND>
    <PARAMETER_NAME>Started within Days</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Upload Name</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.upload_name</FLEX_BIND>
    <PARAMETER_NAME>Upload Name</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Started within Days</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.uploaded_by</FLEX_BIND>
    <PARAMETER_NAME>Uploaded By</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Started within Days</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
  </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>
