<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: INV Item (org id dependent) -->
 <LOVS_ROW>
  <GUID>8E2FF36EDEFC79D2E0530100007F1FF2</GUID>
  <LOV_NAME>INV Item (org id dependent)</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <FILTER_BEFORE_DISPLAY>Y</FILTER_BEFORE_DISPLAY>
  <LOV_QUERY>select
msiv.concatenated_segments value,
msiv.description
from
mtl_system_items_vl msiv
where
(msiv.organization_id=:$flex$.organization_code or :$flex$.organization_code is null)
order by
msiv.concatenated_segments</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <DESCRIPTION>Required for certain reports matching :$flex$.organization_code to organization_id instead of organization_code, as these reports return the org_id instead of the code from the LOV</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: WIP Job (org id dependent) -->
 <LOVS_ROW>
  <GUID>8E2FF36EDF0479D2E0530100007F1FF2</GUID>
  <LOV_NAME>WIP Job (org id dependent)</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <FILTER_BEFORE_DISPLAY>Y</FILTER_BEFORE_DISPLAY>
  <LOV_QUERY>select
we.wip_entity_name value,
xxen_util.meaning(we.entity_type,&apos;WIP_ENTITY&apos;,700)||nvl2(we.description,&apos;: &apos;||we.description,null) description
from
wip_entities we
where
we.organization_id=:$flex$.organization_code
order by
we.creation_date desc</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: WIP Job Status -->
 <LOVS_ROW>
  <GUID>8E2FF36EDE9579D2E0530100007F1FF2</GUID>
  <LOV_NAME>WIP Job Status</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ml.meaning value,
ml.description
from
mfg_lookups ml
where
ml.lookup_type=&apos;WIP_JOB_STATUS&apos;
order by
ml.meaning</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: WIP Senfor Intl WIP Production Job Details -->
 <REPORTS_ROW>
  <GUID>A68D2A82FC847EC8E053B46B6358B004</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select distinct     
       We.Wip_Entity_Name    JOB,
       msiv.concatenated_segments         ASSEMBLY,
       msiv.description     &quot;DESCRIPTION&quot;,  
       (SELECT Meaning
        FROM apps.fnd_lookup_values
        WHERE lookup_type LIKE &apos;WIP_ENTITY&apos; and lookup_code = we.entity_type and language = &apos;US&apos;) TYPE,
       Wdj.Class_Code        CLASS,
       wdj.net_quantity      QUANTITY,
       (SELECT NVL(msib1.segment1, &apos; &apos;)
        from apps.mtl_system_items_b msib1
        where msib1.inventory_item_id  = wdj.bom_reference_id
        and msib1.ORGANIZATION_ID = wdj.ORGANIZATION_ID) BOM_REFERENCE,  
        NVL(Wdj.Alternate_BOM_Designator, &apos; &apos;) ALTERNATE_BILL, 
       (SELECT NVL(msib2.segment1, &apos; &apos;)
        from apps.mtl_system_items_b msib2
        where msib2.inventory_item_id  = wdj.routing_reference_id
        and     msib2.ORGANIZATION_ID = wdj.ORGANIZATION_ID) ROUTING_REFERENCE,   
        NVL(Wdj.Alternate_Routing_Designator, &apos; &apos;) ALTERNATE_ROUTING, 
       (SELECT Meaning
        FROM apps.fnd_lookup_values   
        WHERE lookup_type LIKE &apos;WIP_CLASS_TYPE&apos; and lookup_code = wdj.job_type and language = &apos;US&apos;) &quot;WO TYPE&quot;,
       (SELECT Meaning
        FROM apps.fnd_lookup_values   
        WHERE lookup_type LIKE &apos;WIP_JOB_STATUS&apos; and lookup_code = wdj.status_type and language = &apos;US&apos;) STATUS,
       NVL(We.Description, &apos; &apos;)        &quot;WO DESCRIPTION&quot;,  
       Wdj.date_released WO_RELEASE_DATE,
       Wdj.date_completed WO_COMPLETION_DATE,
       wdj.date_closed WO_CLOSED_DATE,
       wo.Operation_Seq_Num OPERATION_SEQ_NUM,       
       to_char(Wo.First_Unit_Start_Date,&apos;dd-mon-yyyy hh24:mi:ss&apos;) OPN_START_DATE, 
       to_char(Wo.Last_Unit_Completion_Date,&apos;dd-mon-yyyy hh24:mi:ss&apos;) OPN_COMPLETION_DATE, 
       NVL(Bso.Operation_Code, &apos; &apos;) OPERATION_CODE, 
       (Select Round((wo.Last_Unit_Completion_Date - wo.First_Unit_Start_Date)* 24*60,0)&quot;Round&quot; from DUAL) RUN_TIME_MINS 
from   
       apps.wip_operations wo        
      ,apps.wip_entities we
      ,apps.wip_discrete_jobs  wdj 
      ,apps.mtl_system_items_vl msiv
      ,apps.bom_operational_routings bor    
      ,apps.bom_operation_sequences bos
      ,apps.bom_standard_operations bso 
      ,apps.mfg_lookups ml
where  1=1
and    wo.wip_entity_id   = we.wip_entity_id 
and    wo.operation_sequence_id = bos.operation_sequence_id
and    wdj.wip_entity_id  = we.wip_entity_id
and    msiv.inventory_item_id  = wdj.primary_item_id
and    msiv.ORGANIZATION_ID = wdj.ORGANIZATION_ID
and    msiv.inventory_item_id = bor.assembly_item_id
and    bos.routing_sequence_id = bor.routing_sequence_id
and    bso.standard_operation_id(+) = bos.standard_operation_id 
and    ml.lookup_code (+) = to_number(bos.shutdown_type)  
and    ml.lookup_type (+) = &apos;BOM_EAM_SHUTDOWN_TYPE&apos;  
and    we.entity_type not in (6,7)  
and    Wdj.Class_Code not in (&apos;BLDGMAINT&apos;, &apos;CALIB&apos;, &apos;ENGMAINT&apos;, &apos;MAINT&apos;) 
Order by to_char(Wdj.date_released,&apos;dd-mon-yyyy hh24:mi:ss&apos;), We.Wip_Entity_Name, Wo.Operation_Seq_Num</SQL_TEXT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <REPORT_NAME>WIP - WIP Job Production Details</REPORT_NAME>
    <DESCRIPTION>This program extracts job details with release and operation dates and elapsed times according to when the transactions were entered in Oracle. 

It enables identifying job details to the operation level and delays in production, for example when an operation is not completed or exceeds the time expected.

The report can be run by organization, date released, job, Assembly, job status.

License: Creative commons with Attribution by Ion Yılmaz, Senfor International, www.senfor-intl.eu
</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>WIP Senfor Intl WIP Production Job Details</REPORT_NAME>
    <DESCRIPTION>This program extracts job details with release and operation dates and elapsed times according to when the transactions were entered in Oracle. 

It is allows identifying job details to the operation level delays in production, for example when an operation is not completed or exceeds the time expected.

The report can be run by any combination of organization, release dates, job, assembly, job status.

License: Creative commons with Attribution by Ion Yılmaz, Senfor International, www.senfor-intl.eu
</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Senfor International</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>WIP Senfor Intl</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>wdj.organization_id=:organization_id</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV_SRS_ORG</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_char(organization_id) id,
organization_code value,
organization_name description
from
org_organization_definitions
where nvl(disable_date,sysdate+1)&gt;sysdate
order by value,description</LOV_QUERY_DSP>
    <DEFAULT_VALUE>coalesce(
(select mp.organization_code from mtl_parameters mp where mp.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)),
(select oav.organization_code from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id and rownum=1)
)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization</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>wdj.date_released &gt;= :P_TRX_FROM</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Release Date from</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>wdj.date_released &lt; :P_TRX_TO</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Release Date to</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>we.wip_entity_name=:job_name</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>WIP Job (org id dependent)</LOV_NAME>
    <LOV_GUID>8E2FF36EDF0479D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
we.wip_entity_name value,
xxen_util.meaning(we.entity_type,&apos;WIP_ENTITY&apos;,700)||nvl2(we.description,&apos;: &apos;||we.description,null) description
from
wip_entities we
where
we.organization_id=:$flex$.organization_code
order by
we.creation_date desc</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Job</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>msiv.segment1=:item</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Item (org id dependent)</LOV_NAME>
    <LOV_GUID>8E2FF36EDEFC79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
msiv.concatenated_segments value,
msiv.description
from
mtl_system_items_vl msiv
where
(msiv.organization_id=:$flex$.organization_code or :$flex$.organization_code is null)
order by
msiv.concatenated_segments</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Assembly</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>wdj.status_type=xxen_util.lookup_code(:job_status,&apos;WIP_JOB_STATUS&apos;,700)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>WIP Job Status</LOV_NAME>
    <LOV_GUID>8E2FF36EDE9579D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ml.meaning value,
ml.description
from
mfg_lookups ml
where
ml.lookup_type=&apos;WIP_JOB_STATUS&apos;
order by
ml.meaning</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Job Status</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>
