<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 Project Manufacturing Genealogy & Trace, Project Contracts -->
 <REPORTS_ROW>
  <GUID>EEE75CEB4AD26AD8E05362FB09051F8B</GUID>
  <SQL_TEXT>select
x.*
from
(
SELECT * FROM (
          WITH oke_customers AS(
            SELECT dnz_chr_id,
                   LISTAGG(party_name, &apos;,&apos;) WITHIN GROUP (ORDER BY party_name) AS name
            FROM (
              SELECT DISTINCT
                     okcpr.dnz_chr_id,
                     hzp.party_name
              FROM hz_cust_accounts hzca,
                   hz_parties hzp,
                   okc_k_party_roles_b okcpr
              WHERE hzca.party_id = hzp.party_id
                AND hzca.cust_account_id = okcpr.object1_id1
                AND okcpr.jtot_object1_code = &apos;OKE_CUSTACCT&apos;
                AND okcpr.rle_code = &apos;K_CUSTOMER&apos;
            )
            GROUP BY dnz_chr_id
          ),
          pjm_projects AS (
            SELECT DISTINCT project_id FROM pjm_project_parameters
          )
          SELECT &apos;PJM_GNT_CONTRACT&apos; || &apos;-&apos; || pp_d.project_id
                                      || &apos;-&apos; || NVL(TO_CHAR(pt_d.task_id), &apos;NO_TASK&apos;)
                                      || &apos;-&apos; || okeh.k_header_id
                                      || &apos;-&apos; || oked.deliverable_id
                                      || &apos;-&apos; || NVL(TO_CHAR(mmt.transaction_id), &apos;NO_TXN&apos;)
                                      || &apos;-&apos; || NVL(TO_CHAR(msn.gen_object_id), &apos;NO_SERIAL&apos;) AS ecc_spec_id,
                 pp_d.org_id,
                 okeh.k_header_id             AS header_id,
                 okett.k_type_name            AS contract_type,
                 okch.contract_number,
                 okep.program_number          AS program,
                 flv_pl.meaning               AS product_line,
                 okcst_h.meaning              AS header_status,
                 pp_h.segment1                AS header_project_number,
                 okch.currency_code,
                 okch.estimated_amount        AS contract_value,
                 okch.start_date              AS header_start_date,
                 okch.end_date                AS header_end_date,
                 oke_customers.name           AS customer,
                 okcht.short_description,
                 okel.k_line_id               AS line_id,
                 okcl.line_number,
                 oked.deliverable_id,
                 oked.deliverable_num,
                 oked.item_id                 AS deliverable_item_id,
                 msi_d.concatenated_segments  AS deliverable_item_number,
                 msit_d.description           AS deliverable_item_desc,
                 oked.quantity                AS deliverable_quantity,
                 oked.uom_code                AS deliverable_uom_code,
                 oked.unit_number             AS deliverable_unit_number,
                 pp_d.project_id              AS deliverable_project_id,
                 pp_d.segment1                AS deliverable_project_number,
                 pp_d.name                    AS deliverable_project_name,
                 pt_d.task_id                 AS deliverable_task_id,
                 pt_d.task_number             AS deliverable_task_number,
                 pt_d.task_name               AS deliverable_task_name,
                 oked.delivery_date           AS delivery_date,
                 oked.expected_shipment_date  AS expected_shipment_date,
                 oked.promised_shipment_date  AS promised_shipment_date,
                 CASE
                   WHEN wnd.status_code IN (&apos;CL&apos;, &apos;CO&apos;, &apos;IT&apos;) THEN
                     CASE
                       WHEN oked.shipping_request_id IS NOT NULL THEN
                         inv_convert.inv_um_convert(oked.item_id,
                                                    5,
                                                    NVL(wdd.shipped_quantity, 0),
                                                    wdd.requested_quantity_uom,
                                                    oked.uom_code,
                                                    NULL,
                                                    NULL)
                       ELSE
                         wdd.shipped_quantity
                     END
                   ELSE
                     NULL
                 END                          AS deliverable_shipped_quantity,
                 msn.serial_number,
                 mmt.locator_id               AS txn_locator_id,
                 okcht.language
          FROM pa_projects_all pp_h,
               pa_projects_all pp_d,
               pa_tasks pt_d,
               oke_k_headers okeh,
               oke_k_lines okel,
               oke_k_deliverables_b oked,
               oke_k_types_tl okett,
               oke_programs okep,
               okc_k_headers_all_b okch,
               okc_k_headers_tl okcht,
               okc_k_lines_b okcl,
               okc_statuses_tl okcst_h,
               mtl_system_items_kfv msi_d,
               mtl_system_items_tl msit_d,
               mtl_material_transactions mmt,
               mtl_unit_transactions mut,
               mtl_serial_numbers msn,
               wsh_delivery_details wdd,
               wsh_delivery_assignments wda,
               wsh_new_deliveries wnd,
               fnd_lookup_values flv_pl,
               oke_customers,
               pjm_projects
          WHERE pp_d.start_date &gt;= NVL(TO_DATE(&apos;2021/12/12&apos;, &apos;YYYY/MM/DD&apos;), pp_d.start_date)
            AND pp_d.project_type &lt;&gt; &apos;AWARD_PROJECT&apos;
            AND pp_d.template_flag = &apos;N&apos;
            AND pp_d.project_id = pjm_projects.project_id
            AND pp_d.project_id = oked.project_id
            AND pt_d.project_id (+) = oked.project_id
            AND pt_d.task_id (+) = oked.task_id
            AND oked.direction = &apos;OUT&apos;
            AND okel.k_line_id = oked.k_line_id
            AND okcl.id = okel.k_line_id
            AND okeh.k_header_id = oked.k_header_id
            AND okch.id = okeh.k_header_id
            AND okch.buy_or_sell = &apos;S&apos;
            AND okcht.id = okch.id
            AND okett.k_type_code = okeh.k_type_code
            AND okep.program_id (+) = okeh.program_id
            AND oke_customers.dnz_chr_id (+) = okeh.k_header_id
            AND okcst_h.code = okch.sts_code
            AND pp_h.project_id = okeh.project_id
            AND msi_d.inventory_item_id = oked.item_id
            AND msi_d.organization_id = oked.inventory_org_id
            AND msit_d.inventory_item_id = oked.item_id
            AND msit_d.organization_id = oked.inventory_org_id
            AND flv_pl.view_application_id (+) = 777
            AND flv_pl.lookup_type (+) = &apos;PRODUCT_LINE&apos;
            AND flv_pl.lookup_code (+) = okeh.product_line_code
            AND wdd.source_code (+) = &apos;OKE&apos;
            AND wdd.source_header_id (+) = oked.k_header_id
            AND wdd.source_line_id (+) = oked.deliverable_id
            AND wda.delivery_detail_id (+) = wdd.delivery_detail_id
            AND wnd.delivery_id (+) = wda.delivery_id
            AND mmt.transaction_source_id (+) = wdd.source_header_id
            AND mmt.trx_source_line_id (+) = wdd.source_line_id
            AND mmt.picking_line_id (+) = wdd.delivery_detail_id
            AND mmt.transaction_source_type_id (+) = 16
            AND mmt.transaction_action_id (+) = 1
            AND mut.transaction_id (+) = mmt.transaction_id
            AND msn.inventory_item_id (+) = mut.inventory_item_id
            AND msn.serial_number (+) = mut.serial_number
            AND okett.language = okcht.language
            AND okcst_h.language = okcht.language
            AND msit_d.language = okcht.language
            AND NVL(flv_pl.language, okcht.language) = okcht.language
            AND okcht.language IN (&apos;US&apos;)) PIVOT (
          MAX(contract_type) AS contract_type,
          MAX(product_line) AS product_line,
          MAX(header_status) AS header_status,
          MAX(short_description) AS short_description,
          MAX(deliverable_item_desc) AS deliverable_item_desc 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 Project Manufacturing Genealogy &amp; Trace, Project Contracts</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Project Manufacturing Genealogy &amp; Trace Project Contracts
Dataset Key: pjm-gnt-contracts
Query Procedure: PJM_ECC_GNT_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: PJM_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>
