<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: EAM Senfor Intl Analyse Criticité -->
 <REPORTS_ROW>
  <GUID>A8E9FE5CBC1AD761E053B46B6358E750</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select 
            mean.area &quot;Zone&quot;
          , mean.instance_number &quot;Equipement&quot;
          , mean.descriptive_text &quot;Désignation&quot;
          , meav.c_attribute10 &quot;Criticité&quot;
          , (select
             NVL(sum((ecwo.shutdown_end_date - ecwo.shutdown_start_date)*24),&apos;0&apos;)
             from      apps.eam_cfr_work_order_v ecwo
             where 1=1
             and ecwo.organization_id = (select organization_id
                           from apps.mtl_parameters
                           where organization_code =:P_Organization)
             and ecwo.asset_number = mean.instance_number
             and     ecwo.date_released &gt;= :Startdate
             and     ecwo.date_completed &lt;= :Enddate) T1sum
          , (select
             NVL(count((ecwo.shutdown_end_date - ecwo.shutdown_start_date)*24),&apos;0&apos;)  
             from      apps.eam_cfr_work_order_v ecwo
             where 1=1
             and ecwo.organization_id = (select organization_id
                           from apps.mtl_parameters
                           where organization_code = :P_Organization)
             and ecwo.asset_number = mean.instance_number
             and     ecwo.date_released &gt;= :Startdate
             and     ecwo.date_completed &lt;= :Enddate) T1cnt
from      
        apps.mtl_eam_asset_numbers_all_v mean
        ,apps.MTL_EAM_ASSET_ATTR_VALUES_V meav
where   1=1
and     meav.instance_number = mean.instance_number
--and     meav.attribute_category = &apos;Le Locle Attributes&apos;
--and mean.inv_organization_code = :P_Organization
and mean.maintenance_object_type = 3
order by mean.area, mean.instance_number</SQL_TEXT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>EAM Senfor Intl Analyse Criticité</REPORT_NAME>
    <DESCRIPTION>Development in progress</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:enddate</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_organization</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:startdate</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>mean.inv_organization_code = :P_Organization</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
