<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 Organization Code -->
 <LOVS_ROW>
  <GUID>8E2FF36EDEB279D2E0530100007F1FF2</GUID>
  <LOV_NAME>INV Organization Code</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ood.organization_code value,
ood.organization_name||&apos; (&apos;||ftv.territory_short_name||&apos;, &apos;||hla.town_or_city||decode(mp.organization_id,mp.master_organization_id,null,&apos;, &apos;||mp0.organization_code)||&apos;)&apos; description
from
org_organization_definitions ood,
mtl_parameters mp,
mtl_parameters mp0,
hr_all_organization_units haou,
hr_locations_all hla,
fnd_territories_vl ftv
where
ood.organization_id=mp.organization_id and
mp.organization_id&lt;&gt;mp.master_organization_id and
(
ood.organization_id in (select oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) or
not exists (select null from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and
ood.operating_unit 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)
) and
(:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;)) and
(:$flex$.ledger is null or ood.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
nvl(ood.disable_date,sysdate)&gt;=sysdate and
mp.master_organization_id=mp0.organization_id and
ood.organization_id=haou.organization_id(+) and
haou.location_id=hla.location_id(+) and
hla.country=ftv.territory_code(+)
order by
ood.organization_code</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <DESCRIPTION>جميع أكواد تنظيم المخزون النشط باستثناء المؤسسات الرئيسية ، مقيدة بعرض الوصول إلى مؤسسة المستخدم الحالي</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <DESCRIPTION>Alle aktiven Inventar-Organisationscodes mit Ausnahme von Master-Organisationen, beschränkt auf die Org-Zugriffsansicht des aktuellen Benutzers</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>E</LANGUAGE>
    <DESCRIPTION>Todos los códigos de organización de inventario activos, excluyendo las organizaciones maestras, restringidos a la vista de acceso a la organización del usuario actual</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <DESCRIPTION>Tous les codes d&apos;organisation de l&apos;inventaire actif, à l&apos;exclusion des organisations maîtresses, limités à la vue d&apos;accès à l&apos;organisation de l&apos;utilisateur actuel</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>I</LANGUAGE>
    <DESCRIPTION>Tutti i codici di organizzazione dell&apos;inventario attivi, escluse le organizzazioni master, limitati alla vista di accesso all&apos;org dell&apos;utente corrente</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>JA</LANGUAGE>
    <DESCRIPTION>すべてのアクティブなインベントリの組織コードは、マスター組織を除いて、現在のユーザーの組織のアクセスビューに制限されます。</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>KO</LANGUAGE>
    <DESCRIPTION>현재 사용자의 조직 액세스보기로 제한되는 마스터 조직을 제외한 모든 활성 재고 조직 코드</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>PTB</LANGUAGE>
    <DESCRIPTION>Todos os códigos ativos de organização de inventário, excluindo organizações mestre, restritos à visão de acesso org do usuário atual</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>RU</LANGUAGE>
    <DESCRIPTION>Все активные инвентаризационные организационные коды, исключая основные организации, ограниченные текущим представлением доступа пользователя к оргструктуре.</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>S</LANGUAGE>
    <DESCRIPTION>Alla aktiva lagerorganisationskoder exklusive huvudorganisationer, begränsade till den aktuella användarens organisationsåtkomstvy</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>TR</LANGUAGE>
    <DESCRIPTION>Ana organizasyonlar hariç tüm aktif envanter organizasyon kodları, mevcut kullanıcının organizasyon erişim görünümü ile sınırlıdır</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <DESCRIPTION>All active inventory organization codes excluding master organizations, restricted to the current user&apos;s org access view</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <DESCRIPTION>所有活动的清单组织代码，不包括主组织，仅限于当前用户的组织访问视图。</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: ECC Inventory Management, Inventory Trace Sales Orders -->
 <REPORTS_ROW>
  <GUID>EEE75CEB4A8A6AD8E05362FB09051F8B</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
x.*
from
(
select * from (SELECT  ecc_spec_id
		,order_number
		,header_id
		,customer_name
		,booked_date
		,ordered_date
		,order_type
		,transaction_id
		,transaction_type_id
		,transaction_type_name
		,transaction_date
		,txn_org_id organization_id
		,inventory_item_id
		,lot_number
		,subinventory_code
		,locator_id
		,locator
		,transfer_subinventory
		,transfer_locator_id
		,transfer_locator
		,user_name
		,pick_date
		,ship_date
		,organization_name
		,trip_name
		,carrier_id
		,delivery_name
		,transaction_quantity
		,item
		,sales_order_type
		,pick_type
		,organization_code
		,ship_to_location
		,
        (
        SELECT  hp1.party_name
        FROM    hz_parties hp1
        WHERE   hp1.party_id (+) = x1.carrier_id
        ) carrier_name
       ,packed_lpn
       ,language
       ,decode (PACKED_LPN,null,&apos;&apos;,&apos;Pack&apos;) pack_type
	   ,Pack_subinventory
       ,Pack_locator
	   ,CASE when ((&apos;Y&apos;=&apos;Y&apos;) ) THEN &apos;Y&apos;
							ELSE &apos;N&apos;	END  onhand_enable
FROM    (
        SELECT  /*+ leading(so_txns ooh oola wdd) use_nl(so_txns ooh oola wdd order_type_lkp hou flv1 flv2) no_merge(so_txns) */
 to_char (so_txns.query_type
                         || &apos;-&apos;
                         || so_txns.organization_id
                         || &apos;-&apos;
                         || so_txns.transaction_id
                         || &apos;-&apos;
						 ||wdd.delivery_detail_id
						 || &apos;-&apos;
                         || so_txns.lot_number) ecc_spec_id
              , ooh.order_number
              , ooh.header_id
              , hp.party_name customer_name
              , ooh.booked_date
              , ordered_date
              , order_type_lkp.name order_type
              , order_type_lkp.language language

              , 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_date
              , so_txns.organization_id txn_org_id
              , so_txns.inventory_item_id inventory_item_id
              , so_txns.lot_number lot_number
              , so_txns.subinventory_code subinventory_code
              , so_txns.locator_id locator_id
              , (SELECT concatenated_segments
					FROM   mtl_item_locations_kfv
					WHERE  inventory_location_id =so_txns.locator_id
					AND organization_id = so_txns.organization_id
					AND subinventory_code = nvl(so_txns.subinventory_code,subinventory_code))
					  locator
              , so_txns.transfer_subinventory transfer_subinventory
              , so_txns.transfer_locator_id transfer_locator_id
              , (SELECT concatenated_segments
					FROM   mtl_item_locations_kfv
					WHERE  inventory_location_id =so_txns.transfer_locator_id
					AND organization_id = so_txns.organization_id
					AND subinventory_code = nvl(so_txns.transfer_subinventory,subinventory_code))
					  transfer_locator
              ,  (
					SELECT  user_name
					FROM    fnd_user
					WHERE   user_id = so_txns.created_by
					) user_name
              , so_txns.pick_date pick_date
              , so_txns.ship_date ship_date
              ,  hou.name organization_name
              , nvl (wt.name, &apos;Unassigned&apos;) trip_name
              , CASE
                WHEN    wt.trip_id IS NOT NULL
                        THEN    wt.carrier_id
                WHEN    wt.trip_id IS NULL
                AND     wnd.delivery_id IS NOT NULL
                        THEN    wnd.carrier_id
                WHEN    wt.trip_id IS NULL
                AND     wnd.delivery_id IS NULL
                AND     wdd.delivery_detail_id IS NOT NULL
                        THEN    wdd.carrier_id
                ELSE    NULL
                END carrier_id
              , nvl (wnd.name, &apos;Unassigned&apos;) delivery_name
              , transaction_quantity
			  , (select UI_LOCATION_CODE from wsh_locations where
			      wsh_location_id=wdd.ship_to_location_id)  ship_to_location
			  , so_txns.item item
			  , flv1.meaning sales_order_type
              , flv2.meaning pick_type
			  , mp.organization_code
			  ,  (SELECT  wlpn.license_plate_number
                        FROM    wsh_delivery_details wdd_cont,
                                wms_lpn_histories wlpn_hist,
                                wms_license_plate_numbers wlpn
                        WHERE   wdd_cont.delivery_detail_id = wda.parent_delivery_detail_id
                        AND     wdd_cont.lpn_id = wlpn_hist.lpn_id
                        AND     wlpn_hist.lpn_context = 11
						AND     wlpn_hist.organization_id = wdd.organization_id
                        AND     wlpn_hist.outermost_lpn_id = wlpn.lpn_id
                        AND     Nvl(wlpn_hist.lpn_id, -1) &lt;&gt; Nvl(wlpn_hist.outermost_lpn_id, -1)
                        AND     ROWNUM = 1
                        ) packed_lpn
			 ,	(SELECT  wlpn_hist.subinventory_code
                        FROM    wsh_delivery_details wdd_cont,
                                wms_lpn_histories wlpn_hist,
                                wms_license_plate_numbers wlpn
                        WHERE   wdd_cont.delivery_detail_id = wda.parent_delivery_detail_id
                        AND     wdd_cont.lpn_id = wlpn_hist.lpn_id
                        AND     wlpn_hist.lpn_context = 11
						AND     wlpn_hist.organization_id = wdd.organization_id
                        AND     wlpn_hist.outermost_lpn_id = wlpn.lpn_id
                        AND     Nvl(wlpn_hist.lpn_id, -1) &lt;&gt; Nvl(wlpn_hist.outermost_lpn_id, -1)
                        AND     ROWNUM = 1
                        ) Pack_subinventory
			 ,
				(
            SELECT (SELECT concatenated_segments
					FROM   mtl_item_locations_kfv
					WHERE  inventory_location_id =wlpn_hist.locator_id
					AND organization_id = wlpn_hist.organization_id
					AND subinventory_code = nvl(wlpn_hist.subinventory_code,subinventory_code))
                        FROM    wsh_delivery_details wdd_cont,
                                wms_lpn_histories wlpn_hist,
                                wms_license_plate_numbers wlpn
                        WHERE   wdd_cont.delivery_detail_id = wda.parent_delivery_detail_id
                        AND     wdd_cont.lpn_id = wlpn_hist.lpn_id
                        AND     wlpn_hist.lpn_context = 11
						AND     wlpn_hist.organization_id = wdd.organization_id
                        AND     wlpn_hist.outermost_lpn_id = wlpn.lpn_id
                        AND     Nvl(wlpn_hist.lpn_id, -1) &lt;&gt; Nvl(wlpn_hist.outermost_lpn_id, -1)
                        AND     ROWNUM = 1
                        ) Pack_locator
        FROM    (
                SELECT   /*+ leading(mmt msi) INDEX(mmt MTL_MATERIAL_TRANSACTIONS_N15) use_nl(mmt msi) */
                        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_quantity transaction_quantity
                      , mmt.transaction_date
                      , mmt.organization_id
                      , mmt.inventory_item_id
                      , &apos;####&apos; lot_number
                      , mmt.subinventory_code
                      , nvl (mmt.locator_id, - 999) locator_id
                      , mmt.transfer_subinventory
                      , nvl (mmt.transfer_locator_id, - 999) transfer_locator_id
                      , mmt.created_by
                      , mmt.transaction_date pick_date
                      , mmt.transaction_date ship_date
					  , msi.concatenated_segments item
                FROM    mtl_material_transactions mmt
                      , mtl_system_items_b_kfv msi
                WHERE   mmt.transaction_source_type_id IN (2, 12, 8)
                AND     mmt.organization_id = msi.organization_id
                AND     mmt.inventory_item_id = msi.inventory_item_id
				AND     mmt.transaction_action_id in (1,2,3,21,28)
                AND     msi.lot_control_code = 1
                AND mmt.TRANSACTION_DATE &gt;= TO_DATE(&apos;12-NOV-22 10:10:02&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                AND mmt.TRANSACTION_DATE &lt;= TO_DATE(&apos;12-DEC-22 10:10:02&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                AND mmt.organization_id  = nvl(&apos;&apos;,mmt.organization_id)
                UNION ALL
                SELECT  /*+ leading(mmt mtln msi) INDEX(mmt MTL_MATERIAL_TRANSACTIONS_N15) use_nl(mmt mtln msi) */
                        1 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_quantity transaction_quantity
                      , mmt.transaction_date
                      , mmt.organization_id
                      , mmt.inventory_item_id
                      , mtln.lot_number lot_number
                      , mmt.subinventory_code
                      , nvl (mmt.locator_id, - 999) locator_id
                      , mmt.transfer_subinventory
                      , nvl (mmt.transfer_locator_id, - 999) transfer_locator_id
                      , mmt.created_by
                      , mmt.transaction_date pick_date
                      , mmt.transaction_date ship_date
					  , msi.concatenated_segments item
                FROM    mtl_material_transactions mmt
                      , mtl_transaction_lot_numbers mtln
					  , mtl_system_items_b_kfv msi
                WHERE   mmt.transaction_source_type_id IN (2, 12, 8)
                AND     mmt.transaction_id = mtln.transaction_id
                AND     mmt.transaction_id = mtln.transaction_id
				AND     mmt.transaction_action_id in (1,2,3,21,28)
                AND     mmt.inventory_item_id = mtln.inventory_item_id
                AND     mmt.organization_id = mtln.organization_id
				AND     mmt.organization_id = msi.organization_id
                AND     mmt.inventory_item_id = msi.inventory_item_id
				 AND     msi.lot_control_code = 2
                 AND mmt.TRANSACTION_DATE &gt;= TO_DATE(&apos;12-NOV-22 10:10:02&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                AND mmt.TRANSACTION_DATE &lt;= TO_DATE(&apos;12-DEC-22 10:10:02&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_quantity
                      , transaction_date
                      , organization_id
                      , iso_txn.inventory_item_id
                      , iso_txn.lot_number
                      , iso_txn.subinventory_code
                      , iso_txn.locator_id
                      , iso_txn.transfer_subinventory
                      , iso_txn.transfer_locator_id
                      , iso_txn.created_by
                      , iso_txn.transaction_date pick_date
                      , iso_txn.transaction_date ship_date
					  , iso_txn.item
                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
                              , mtln.transaction_quantity transaction_quantity
							  , mmt.transaction_date
                              , mmt.organization_id
                              , mtln.lot_number
                              , mmt.subinventory_code
                              , nvl (mmt.locator_id, - 999) locator_id
                              , mmt.transfer_subinventory
                              , nvl (mmt.transfer_locator_id, - 999) transfer_locator_id
                              , mmt.created_by
                              , mmt.transaction_date pick_date
                              , mmt.transaction_date ship_date
							  , msi.concatenated_segments item
                        FROM    mtl_material_transactions mmt
                              , mtl_transaction_lot_numbers mtln
							  , mtl_system_items_b_kfv msi
                        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.inventory_item_id = msi.inventory_item_id
                        AND     mmt.organization_id = msi.organization_id
						AND     msi.lot_control_code = 2
                        AND mmt.TRANSACTION_DATE &gt;= TO_DATE(&apos;12-NOV-22 10:10:02&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                        AND mmt.TRANSACTION_DATE &lt;= TO_DATE(&apos;12-DEC-22 10:10:02&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
                              , 1
                              , mmt.transaction_date
                              , mmt.organization_id
                              , &apos;####&apos; lot_number
                              , mmt.subinventory_code
                              , nvl (mmt.locator_id, - 999) locator_id
                              , mmt.transfer_subinventory
                              , nvl (mmt.transfer_locator_id, - 999) transfer_locator_id
                              , mmt.created_by
                              , mmt.transaction_date pick_date
                              , mmt.transaction_date ship_date
							  , msi.concatenated_segments item
                        FROM    mtl_material_transactions mmt
							  , mtl_system_items_b_kfv msi
                        WHERE   mmt.transaction_action_id = 12
                        AND     mmt.transaction_type_id = 61
                        AND     mmt.transaction_source_type_id = 7
						AND     mmt.organization_id = msi.organization_id
						AND     msi.lot_control_code=1
                        AND     mmt.inventory_item_id = msi.inventory_item_id
                        AND mmt.TRANSACTION_DATE &gt;= TO_DATE(&apos;12-NOV-22 10:10:02&apos;,&apos;DD-MON-RR HH24:MI:SS&apos;)
                                AND mmt.TRANSACTION_DATE &lt;= TO_DATE(&apos;12-DEC-22 10:10:02&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
              , oe_order_lines_all oola
              , 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
              , wsh_delivery_details wdd
              , wsh_new_deliveries wnd
              , wsh_delivery_assignments wda
              , wsh_delivery_legs wdl
              , wsh_trip_stops wts
              , wsh_trips wt
			  , hr_all_organization_units_tl hou
			  , fnd_lookup_values flv1
			   , fnd_lookup_values flv2
			   , mtl_parameters mp
        WHERE   ooh.header_id = so_txns.header_id
        AND     ooh.header_id = oola.header_id
		AND     oola.inventory_item_id= so_txns.inventory_item_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 IN (&apos;US&apos;)
        AND     wdd.source_header_id = ooh.header_id (+)
        AND     wdd.source_line_id = oola.line_id
        AND     wdd.delivery_detail_id = wda.delivery_detail_id (+)
        AND     wda.delivery_id = wnd.delivery_id (+)
        AND     wnd.delivery_id = wdl.delivery_id (+)
        AND     wdl.pick_up_stop_id = wts.stop_id (+)
        AND     wts.trip_id = wt.trip_id (+)
		AND     so_txns.organization_id=hou.organization_id
		AND     hou.organization_id=mp.organization_id
		AND      hou.language=order_type_lkp.language
        AND     hou.language   IN (&apos;US&apos;)
		AND     flv1.lookup_type (+) = &apos;INV_ECC_TRACK_TRACE_NODETYPE&apos;
		AND     flv1.view_application_id (+) = 700
		AND     flv1.lookup_code (+) =75
		AND     flv1.language (+) = hou.language
		AND     flv2.lookup_type (+) = &apos;INV_ECC_TRACK_TRACE_NODETYPE&apos;
		AND     flv2.view_application_id (+) = 700
		AND     flv2.lookup_code (+) =80
		AND     flv2.language (+) = hou.language
        ) x1 )
	 PIVOT ( MAX ( sales_order_type ) AS sales_order_type ,MAX( pick_type ) AS pick_type,MAX(ORGANIZATION_NAME) AS ORGANIZATION_NAME  FOR language IN (&apos;US&apos; &quot;US&quot;)) 
) x
where
2=2</SQL_TEXT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <REPORT_NAME>ECC إدارة المخازن, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <REPORT_NAME>ECC Bestandsverwaltung, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>I</LANGUAGE>
    <REPORT_NAME>ECC Gestione magazzino, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>JA</LANGUAGE>
    <REPORT_NAME>ECC 在庫管理, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>RU</LANGUAGE>
    <REPORT_NAME>ECC Управление запасами, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>S</LANGUAGE>
    <REPORT_NAME>ECC Lagerstyrning, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>TR</LANGUAGE>
    <REPORT_NAME>ECC Envanter Yönetimi, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_ecc_datasecurity_pkg_pub.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>ECC Inventory Management, Inventory Trace Sales Orders</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Description: Inventory Trace Sales Orders Data Set
Dataset Key: inv-trace-salesorders
Query Procedure: INV_ECC_TRACK_TRACE_PVT.GET_ECC_DATA_LOAD_INFO
Security Procedure: inv_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.organization_code=:organization_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Organization Code</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ood.organization_code value,
ood.organization_name||&apos; (&apos;||ftv.territory_short_name||&apos;, &apos;||hla.town_or_city||decode(mp.organization_id,mp.master_organization_id,null,&apos;, &apos;||mp0.organization_code)||&apos;)&apos; description
from
org_organization_definitions ood,
mtl_parameters mp,
mtl_parameters mp0,
hr_all_organization_units haou,
hr_locations_all hla,
fnd_territories_vl ftv
where
ood.organization_id=mp.organization_id and
mp.organization_id&lt;&gt;mp.master_organization_id and
(
ood.organization_id in (select oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) or
not exists (select null from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and
ood.operating_unit 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)
) and
(:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;)) and
(:$flex$.ledger is null or ood.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
nvl(ood.disable_date,sysdate)&gt;=sysdate and
mp.master_organization_id=mp0.organization_id and
ood.organization_id=haou.organization_id(+) and
haou.location_id=hla.location_id(+) and
hla.country=ftv.territory_code(+)
order by
ood.organization_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select mp.organization_code from mtl_parameters mp where mp.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization Code</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>
