<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: HR Operating Unit -->
 <LOVS_ROW>
  <GUID>8E2FF36EDEB979D2E0530100007F1FF2</GUID>
  <LOV_NAME>HR Operating Unit</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
hou.name value,
null description
from
hr_operating_units hou
where
sysdate between hou.date_from and nvl(hou.date_to,sysdate) and
(:$flex$.ledger is null or hou.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
hou.organization_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
order by
hou.name</LOV_QUERY>
  <VERSION_COMMENTS>Fixed where clause duplication</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <DESCRIPTION>وحدة التشغيل مقيدة بالتحكم في الوصول متعدد المنظمات (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <DESCRIPTION>Bedieneinheit eingeschränkt durch Multi Org Access Control (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>E</LANGUAGE>
    <DESCRIPTION>Unidad operativa restringida por el control de acceso multiorgánico (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <DESCRIPTION>Unité opérationnelle restreinte par un contrôle d&apos;accès multi-organismes (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>I</LANGUAGE>
    <DESCRIPTION>Unità operativa limitata dal controllo di accesso multiorgano (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>JA</LANGUAGE>
    <DESCRIPTION>多機関アクセス制御(MOAC)で制限された操作ユニット</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>KO</LANGUAGE>
    <DESCRIPTION>다중 조직 액세스 제어 (MOAC)에 의해 제한되는 운영 단위</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>PTB</LANGUAGE>
    <DESCRIPTION>Unidade operacional restrita por controle de acesso multi org (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>RU</LANGUAGE>
    <DESCRIPTION>Операционное устройство, ограниченное мультиорганизованным контролем доступа (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>S</LANGUAGE>
    <DESCRIPTION>Styrenhet begränsad av multi-org access control (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>TR</LANGUAGE>
    <DESCRIPTION>Çoklu kuruluş erişim kontrolü (MOAC) tarafından kısıtlanan işletim birimi</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <DESCRIPTION>Operating unit restricted by multi org access control (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <DESCRIPTION>受多机构访问控制（MOAC）限制的操作单元。</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: ECC Process Genealogy and Trace, Sales Orders -->
 <REPORTS_ROW>
  <GUID>EEE75CEB4AB16AD8E05362FB09051F8B</GUID>
  <SQL_TEXT>select
x.*
from
(
SELECT * FROM ( select /*+ leading(so_txns) no_merge(so_txns)  */  ooh.order_number,
                       ooh.order_source_id,
                       ooh.header_id,
                       ooh.org_id org_id,
                       (select name from hr_all_organization_units h
                 where h.organization_id = ooh.org_id) ou_name,
                       hp.party_id,
                       hp.party_name,
                     salesrep_lkp.resource_name SalesRep,
                     nodetype_lkp.meaning node_type,
                     /* action_lkp.meaning */ &apos;QA&apos; SO_QA_RESULTS,
                       ooh.booked_date,
                       ordered_date,
                      order_type_lkp.name  order_type,
                      order_type_lkp.language language,                    to_char(so_txns.query_type||&apos;-&apos;||so_txns.organization_id||&apos;-&apos;||so_txns.transaction_id||
                      &apos;-&apos;||so_txns.gen_object_id) ecc_spec_id,
                    so_txns.transaction_id,
                    so_txns.transaction_type_id,
                    (select transaction_type_name from mtl_transaction_types mtt
                        where mtt.transaction_type_id = so_txns.transaction_type_id) transaction_type_name,
                    so_txns.transaction_action_id,
                    so_txns.transaction_quantity,
                    so_txns.transaction_uom,
                    so_txns.transaction_date,
                    so_txns.organization_id txn_org_id ,
                    so_txns.revision,
                    decode(so_txns.query_type,1,so_txns.gen_object_id,null) lot_gen_obj_id,
                    decode(so_txns.query_type,2,so_txns.gen_object_id,null) ser_gen_obj_id,
		                GMO_ECC_GNT_PVT.Check_SO_Holds(ooh.header_id) so_hold,
                    so_txns.inventory_item_id,
                    msiv.concatenated_segments item,
                    msiv.description
                    from
                    (select /*+ INDEX(mmt MTL_MATERIAL_TRANSACTIONS_N15)  */ 
                     0 query_type,
                     (select ool.header_id from oe_order_lines_all ool
                      where ool.line_id = mmt.trx_source_line_id
                      and ool.inventory_item_id  = mmt.inventory_item_id) header_id,
                     mmt.transaction_id,
                     mmt.transaction_type_id,
                     mmt.transaction_action_id,
                     abs(mmt.transaction_quantity) transaction_quantity,
                     mmt.transaction_uom,
                     mmt.transaction_date,
                     mmt.revision,
                     null gen_object_id,
                     mmt.organization_id,
                     mmt.inventory_item_id
                     FROM mtl_material_transactions mmt
                     WHERE mmt.transaction_source_type_id IN (2,12,8)
                     AND mmt.TRANSACTION_DATE &gt;= TO_DATE(&apos;12-DEC-21 10:10:45&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                     AND mmt.TRANSACTION_DATE &lt;= TO_DATE(&apos;12-DEC-22 10:10:45&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                     AND mmt.organization_id = nvl(&apos;&apos;,mmt.organization_id)
                     UNION ALL
                     SELECT query_type,
                           (select ool.header_id
                            FROM mtl_material_transactions mmt1,
                                 oe_order_lines_all ool
                            WHERE mmt1.transaction_id =iso_txn.transfer_transaction_id
                            AND ool.line_id =mmt1.source_line_id
                            AND ool.inventory_item_id =iso_txn.inventory_item_id) header_id,
                           transaction_id,
                           transaction_type_id,
                           transaction_action_id,
                           transaction_quantity,
                           transaction_uom,
                           transaction_date,
                           revision,
                           gen_object_id,
                           organization_id,
                           iso_txn.inventory_item_id
                           FROM( select /*+ INDEX(mmt MTL_MATERIAL_TRANSACTIONS_N15)  */ 
                                 1 query_type,
                                 mmt.transfer_transaction_id,
                                 mmt.inventory_item_id,
                                 mmt.transaction_id,
                                 mmt.transaction_type_id,
                                 mmt.transaction_action_id,
                                 abs(mtln.transaction_quantity) transaction_quantity,
                                 mmt.transaction_uom,
                                 mmt.transaction_date,
                                 mmt.revision,
                                 (select mln.gen_object_id
                                  from mtl_lot_numbers mln
                                  where mln.lot_number = mtln.lot_number
                                  and mln.inventory_item_id = mtln.inventory_item_id
                                  and mln.organization_id = mtln.organization_id) gen_object_id,
                                 mmt.organization_id
                                 from mtl_material_transactions mmt,
                                      mtl_transaction_lot_numbers mtln
                                 where mmt.transaction_action_id=12
                                 and mmt.transaction_type_id=61
                                 and mmt.transaction_source_type_id=7
                                 and mmt.transaction_id = mtln.transaction_id
                                 AND mmt.TRANSACTION_DATE &gt;= TO_DATE(&apos;12-DEC-21 10:10:45&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                                 AND mmt.TRANSACTION_DATE &lt;= TO_DATE(&apos;12-DEC-22 10:10:45&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                                 AND mmt.organization_id  = nvl(&apos;&apos;,mmt.organization_id)
                                 union all
                                 select /*+ INDEX(mmt MTL_MATERIAL_TRANSACTIONS_N15)  */ 
                                 2 query_type,
                                 mmt.transfer_transaction_id,
                                 mmt.inventory_item_id,
                                 mmt.transaction_id,
                                 mmt.transaction_type_id,
                                 mmt.transaction_action_id,
                                 1,
                                 mmt.transaction_uom,
                                 mmt.transaction_date,
                                 mmt.revision,
                                 (select msn.gen_object_id
                                  from mtl_serial_numbers msn
                                  where msn.serial_number = mut.serial_number
                                  and msn.inventory_item_id = mut.inventory_item_id) gen_object_id,
                                 mmt.organization_id
                                from mtl_material_transactions mmt,
                                     mtl_unit_transactions mut
                                where mmt.transaction_action_id=12
                                and mmt.transaction_type_id=61
                                and mmt.transaction_source_type_id=7
                                and mmt.transaction_id = mut.transaction_id
                                AND mmt.TRANSACTION_DATE &gt;= TO_DATE(&apos;12-DEC-21 10:10:45&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                                AND mmt.TRANSACTION_DATE &lt;= TO_DATE(&apos;12-DEC-22 10:10:45&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                                AND mmt.organization_id  = nvl(&apos;&apos;,mmt.organization_id)) iso_txn) so_txns,
                     oe_order_headers_all ooh,
                     hz_cust_accounts hca,
                     hz_parties hp,
                    ( SELECT t.name name ,t.language,b.transaction_type_id ,b.org_id
                      FROM oe_transaction_types_tl    t,oe_transaction_types_all   b
                      WHERE b.transaction_type_code = &apos;ORDER&apos;
                      AND b.transaction_type_id = t.transaction_type_id
                      AND t.language in (&apos;US&apos;)
                    ) order_type_lkp,
                    ( SELECT jrt.resource_name , jrt.language,jrs.org_id,jrs.salesrep_id
                      FROM
                            jtf_rs_salesreps           jrs,
                            jtf_rs_resource_extns      jre,
                            jtf_rs_resource_extns_tl   jrt
                      WHERE jrs.resource_id = jre.resource_id
                      AND jre.resource_id = jrt.resource_id
                      AND jre.category = jrt.category
                      AND jre.category IN (&apos;EMPLOYEE&apos;,&apos;OTHER&apos;,&apos;PARTY&apos;,&apos;PARTNER&apos;,&apos;SUPPLIER_CONTACT&apos;)
                      AND jrt.language in (&apos;US&apos;)
                    ) salesrep_lkp ,
                   ( select meaning,language,lookup_code
                     FROM fnd_lookup_values
                     WHERE lookup_type = &apos;WIP_GNT_ECC_NW_NODETYPE&apos;
                     AND language in (&apos;US&apos;)
                   ) nodetype_lkp,
                    mtl_system_items_vl msiv
				   /*,
                   ( select meaning,language
                     FROM fnd_lookup_values
                     WHERE lookup_type = &apos;WIP_GNT_ACTION_LINK_TYPE&apos;
                     AND lookup_code = &apos;6&apos;
                   ) action_lkp */
                   where ooh.header_id = so_txns.header_id
                    and ooh.sold_to_org_id  = hca.cust_account_id
                    AND hca.party_id   = hp.party_id
                    AND order_type_lkp.transaction_type_id = ooh.order_type_id
                    AND order_type_lkp.org_id=ooh.org_id
                    AND order_type_lkp.language = salesrep_lkp.language
                    AND salesrep_lkp.salesrep_id = ooh.salesrep_id
                    AND salesrep_lkp.org_id= ooh.org_id
                    AND nodetype_lkp.lookup_code = to_char(decode(ooh.source_document_type_id,10,10,9))
                    AND so_txns.inventory_item_id = msiv.inventory_item_id
                    AND nodetype_lkp.language = order_type_lkp.language
                    /* AND action_lkp.language = order_type_lkp.language */
                    AND order_type_lkp.language in(&apos;US&apos;) ) PIVOT ( MAX ( order_type ) AS order_type ,MAX( node_type ) AS node_type,
                /*MAX( SO_QA_RESULTS ) AS SO_QA_RESULTS , */
				MAX ( SalesRep ) AS SalesRep FOR language IN (&apos;US&apos; &quot;US&quot;)) 
) x
where
2=2</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>ECC Process Genealogy and Trace, Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: opm-gnt-sotransactions
Query Procedure: GMO_ECC_GNT_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: oe_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enterprise Command Center</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>2=2</ANCHOR>
    <SQL_TEXT>x.org_id in (select haouv.organization_id from hr_all_organization_units_vl haouv where haouv.name=:operating_unit)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>HR Operating Unit</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB979D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hou.name value,
null description
from
hr_operating_units hou
where
sysdate between hou.date_from and nvl(hou.date_to,sysdate) and
(:$flex$.ledger is null or hou.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
hou.organization_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
order by
hou.name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select haouv.name from hr_all_organization_units_vl haouv where haouv.organization_id=nvl((select mgoat.organization_id from mo_glob_org_access_tmp mgoat where mgoat.organization_id=nvl(fnd_profile.value(&apos;DEFAULT_ORG_ID&apos;),mgoat.organization_id) and rownum=1),fnd_global.org_id)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </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>
