<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: AP Supplier -->
 <LOVS_ROW>
  <GUID>B9847D20A0E4742FE0538931640A6379</GUID>
  <LOV_NAME>AP Supplier</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <FILTER_BEFORE_DISPLAY>Y</FILTER_BEFORE_DISPLAY>
  <LOV_QUERY>select
aps.vendor_name value,
aps.segment1 description
from
ap_suppliers aps
where
(:$flex$.operating_unit is null or aps.vendor_id in (select assa.vendor_id from hr_all_organization_units_vl haouv, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos; and haouv.organization_id=assa.org_id)) and
(:$flex$.organization_code is null or aps.vendor_id in (select assa.vendor_id from org_organization_definitions ood, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.organization_code,ood.organization_code)=&apos;Y&apos; and ood.operating_unit=assa.org_id))
order by
aps.vendor_name,
aps.vendor_id</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- 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>
<!-- loader xml for Enginatics Blitz Report lov: INV Item Type -->
 <LOVS_ROW>
  <GUID>8E2FF36EDE8579D2E0530100007F1FF2</GUID>
  <LOV_NAME>INV Item Type</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
flvv.meaning value,
flvv.lookup_code description
from
fnd_lookup_values_vl flvv
where
flvv.enabled_flag=&apos;Y&apos; and
flvv.lookup_type=&apos;ITEM_TYPE&apos; and
flvv.view_application_id=3 and
flvv.security_group_id=0
order by
flvv.lookup_code</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: PI Warehouse Code -->
 <LOVS_ROW>
  <GUID>CECC17E2BCD58874E0530100007F7C8D</GUID>
  <LOV_NAME>PI Warehouse Code</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
iwm.whse_code value,
iwm.whse_name description
from
ic_whse_mst iwm
order by
iwm.whse_code,
iwm.whse_name</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: PO Buyer -->
 <LOVS_ROW>
  <GUID>8E2FF36EDF2F79D2E0530100007F1FF2</GUID>
  <LOV_NAME>PO Buyer</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <FILTER_BEFORE_DISPLAY>Y</FILTER_BEFORE_DISPLAY>
  <LOV_QUERY>select
ppx.full_name value,
ppx.employee_number description
from
per_people_x ppx
where
ppx.current_employee_flag=&apos;Y&apos; and
ppx.person_id in (select pa.agent_id from po_agents pa where sysdate between nvl(pa.start_date_active,sysdate) and nvl(pa.end_date_active,sysdate)) and
ppx.person_id in
(
select
paaf.person_id
from
per_all_assignments_f paaf
where
trunc(sysdate) between paaf.effective_start_date and paaf.effective_end_date and
(:$flex$.organization_code is null or paaf.business_group_id in (select ood.business_group_id from org_organization_definitions ood where xxen_util.contains(:$flex$.organization_code,ood.organization_code)=&apos;Y&apos;)
)
)
order by
ppx.full_name</LOV_QUERY>
  <VERSION_COMMENTS>Corrected restriction to show buyers of the inventory orgs business group</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: PO Receiving Transactions Pipeline -->
 <REPORTS_ROW>
  <GUID>B1AE8E41D1611D36E053B46B6358D548</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>with
 po as
  (
   select
     hou.name                                         operating_unit
   , &apos;PO&apos;                                             document_source
   , (select pdtav.type_name
      from  po_document_types_all_vl pdtav
      where pdtav.document_type_code in (&apos;PO&apos;,&apos;PA&apos;)
      and   pdtav.document_subtype    = pha.type_lookup_code
      and   pdtav.org_id              = pha.org_id
     )                                                document_type
   , pha.segment1                                     document_number
   , pha.creation_date                                document_date
   , pha.revision_num                                 document_revision
   , po_headers_sv3.get_po_status(pha.po_header_id)   document_status
   , xxen_util.user_name(pha.created_by)              document_created_by
   , pha.comments                                     document_description
   , pra.release_num                                  release_number
   , pra.release_date                                 release_date
   , xxen_util.user_name(pra.created_by)              release_created_by
   , decode(nvl(pha.cancel_flag,&apos;N&apos;) || nvl(pla.cancel_flag,&apos;N&apos;) || nvl(plla.cancel_flag,&apos;N&apos;) || nvl(pra.cancel_flag,&apos;N&apos;)
           ,&apos;NNNN&apos;,&apos;No&apos;,&apos;Yes&apos;)                        document_cancelled
   , nvl(pra.approved_date,pha.approved_date)         approved_date
   , asu.vendor_name                                  supplier_name
   , asu.segment1                                     supplier_number
   , assa.vendor_site_code                            supplier_site
   , null                                             source_organization
   , null                                             sales_order_number
   , null                                             req_preparer
   , ppx_b.full_name                                  po_buyer
   , (select pltv.line_type
      from   po_line_types_v pltv
      where  pltv.line_type_id = pla.line_type_id
     )                                                line_type
   , pla.line_num                                     line_num
   , plla.shipment_num                                ship_line_num
   , mck.concatenated_segments                        item_category
   , msiv.item                                        item
   , xxen_util.meaning(msiv.item_type,&apos;ITEM_TYPE&apos;,3)  item_type
   , coalesce(pla.item_description,msiv.item_desc)    item_description
   , ( select cic.item_cost
       from   cst_item_costs cic
       where  cic.organization_id   = msiv.organization_id
       and    cic.inventory_item_id = msiv.item_id
       and    cic.cost_type_id      = 1
     )                                                item_standard_cost
   , pla.vendor_product_num                           supplier_item
   , nvl(plla.price_override,pla.unit_price)          unit_price
   , pha.currency_code                                currency
   , nvl(muomt.unit_of_measure_tl
        ,pla.unit_meas_lookup_code)                   uom
   , plla.quantity                                    quantity_ordered
   , plla.quantity
       -nvl(plla.quantity_cancelled,0)
       -nvl(plla.quantity_received,0)                 quantity_due
   , plla.quantity_cancelled
   , plla.quantity_received
   , plla.quantity_billed
   , plla.quantity_accepted
   , plla.quantity_rejected
   , (plla.quantity - nvl(plla.quantity_cancelled,0))
       * nvl(plla.price_override,pla.unit_price)      line_amount
   , coalesce(plla.promised_date,plla.need_by_date,plla.last_accept_date)
                                                      request_date
   , plla.need_by_date                                need_by_date
   , plla.promised_date                               promised_date
   , plla.last_accept_date                            last_acceptable_date
   , (select distinct min(pllaa.promised_date) keep (dense_rank first order by pllaa.revision_num)
      from  po_line_locations_archive_all pllaa
      where pllaa.line_location_id = plla.line_location_id
      and   pllaa.promised_date is not null
     )                                                original_promised_date
   , case pha.type_lookup_code
     when &apos;STANDARD&apos;
     then case
          when plla.inspection_required_flag=&apos;N&apos; and plla.receipt_required_flag=&apos;N&apos;
          then &apos;2-Way&apos;
          when plla.inspection_required_flag=&apos;N&apos; and plla.receipt_required_flag=&apos;Y&apos;
          then &apos;3-Way&apos;
          when plla.inspection_required_flag=&apos;Y&apos; and plla.receipt_required_flag=&apos;Y&apos;
          then &apos;4-Way&apos;
          end
     end                                              match_approval_level
   , xxen_util.meaning(plla.match_option,&apos;POS_INVOICE_MATCH_OPTION&apos;,0)  match_option
   , rt.transaction_date                              receipt_date
   ,  trunc(rt.transaction_date-coalesce(plla.promised_date,plla.need_by_date,plla.last_accept_date))
                                                      delivery_delay
   , rsl.quantity_shipped                             shipped_quantity
   , rt.quantity                                      receipt_quantity
   , rt.primary_quantity                              receipt_primary_quantity
   , rt.primary_unit_of_measure                       receipt_primary_uom
   , rsh.receipt_num                                  receipt_num
   , rsl.line_num                                     receipt_line_num
   , xxen_util.meaning(rsl.shipment_line_status_code,&apos;SHIPMENT LINE STATUS&apos;,201)
                                                      shipment_line_status
   , rsl.vendor_item_num                              shipment_supplier_item
   , rsl.item_description                             shipment_item_description
   , rsh.shipped_date
   , rsh.shipment_num
   , rsh.packing_slip
   , rsh.waybill_airbill_num
   , mp_sto.organization_code                         ship_to_organization
   , hlat_sto.location_code                           ship_to_location
   , mp_dto.organization_code                         delivered_to_organization
   , hlat_dto.location_code                           delivered_to_location
   , ppx_dto.full_name                                receiver
   , ( select distinct listagg(pda.segment1,&apos;, &apos;) within group (order by pda.segment1) over (partition by pda.line_location_id)
       from
         ( select distinct
             pda.line_location_id
           , ppa.segment1
           from
             po_distributions_all pda
           , pa_projects_all      ppa
           where
              pda.project_id = ppa.project_id
         )  pda
       where pda.line_location_id = plla.line_location_id
     )                                                project
  , ( select distinct listagg(pda.task_number,&apos;, &apos;) within group (order by pda.task_number) over (partition by pda.line_location_id)
      from
        ( select distinct
            pda.line_location_id
          , pt.task_number
          from
            po_distributions_all pda
          , pa_tasks             pt
          where
            pda.task_id = pt.task_id
        ) pda
      where pda.line_location_id = plla.line_location_id
    )                                                 task
   , assa.address_line1                               supplier_address1
   , assa.address_line2                               supplier_address2
   , assa.address_line3                               supplier_address3
   , assa.zip                                         supplier_zip
   , assa.city                                        supplier_city
   , nvl(ftv.territory_short_name,assa.country)       supplier_country
   , nvl2(asco.prefix,asco.prefix || &apos; &apos;,null)
      || nvl2(asco.first_name,asco.first_name || &apos; &apos;,null)
      || nvl2(asco.middle_name,asco.middle_name || &apos; &apos;,null)
      || asco.last_name                               supplier_contact
   , asco.area_code || asco.phone                     supplier_phone
   , asco.email_address                               supplier_email
   from
     po_headers_all                pha
   , po_lines_all                  pla
   , po_line_locations_all         plla
   , po_releases_all               pra
   , hr_operating_units            hou
   , ap_suppliers                  asu
   , ap_supplier_sites_all         assa
   , ap_supplier_contacts          asco
   , fnd_territories_vl            ftv
   , per_people_x                  ppx_b
   , mtl_categories_kfv            mck
   , ( select
         fspa.org_id                org_id
       , msiv.organization_id       organization_id
       , msiv.inventory_item_id     item_id
       , msiv.concatenated_segments item
       , msiv.item_type             item_type
       , msiv.description           item_desc
       from
         mtl_system_items_vl           msiv
       , financials_system_params_all  fspa
       where
         fspa.inventory_organization_id = msiv.organization_id
     )                             msiv
   , mtl_units_of_measure_tl       muomt
   , hr_locations_all_tl           hlat_sto
   , mtl_parameters                mp_sto
   , rcv_shipment_headers          rsh
   , rcv_shipment_lines            rsl
   , rcv_transactions              rt
   , mtl_parameters                mp_dto
   , hr_locations_all_tl           hlat_dto
   , per_people_x                  ppx_dto
   where
        pha.po_header_id             = pla.po_header_id
   and  pla.po_header_id             = plla.po_header_id
   and  pla.po_line_id               = plla.po_line_id
   and  plla.po_header_id            = pra.po_header_id  (+)
   and  plla.po_release_id           = pra.po_release_id (+)
   and  pha.org_id                   = hou.organization_id
   and  pha.vendor_id                = asu.vendor_id
   and  pha.vendor_site_id           = assa.vendor_site_id
   and  assa.country                 = ftv.territory_code (+)
   and  pha.vendor_contact_id        = asco.vendor_contact_id (+)
   and  pha.agent_id                 = ppx_b.person_id (+)
   and  pla.category_id              = mck.category_id (+)
   and  pla.org_id                   = msiv.org_id (+)
   and  pla.item_id                  = msiv.item_id(+)
   and  pla.unit_meas_lookup_code    = muomt.unit_of_measure (+)
   and  userenv(&apos;lang&apos;)              = muomt.language (+)
   and  plla.ship_to_organization_id = mp_sto.organization_id
   and  plla.ship_to_location_id     = hlat_sto.location_id (+)
   and  userenv(&apos;lang&apos;)              = hlat_sto.language (+)
   and  plla.line_location_id        = rt.po_line_location_id (+)
   and  rt.transaction_type (+)      = &apos;RECEIVE&apos;
   and  rt.shipment_line_id          = rsl.shipment_line_id (+)
   and  rt.shipment_header_id        = rsh.shipment_header_id (+)
   and  rt.organization_id           = mp_dto.organization_id (+)
   and  rt.location_id               = hlat_dto.location_id (+)
   and  userenv(&apos;lang&apos;)              = hlat_dto.language (+)
   and  rt.employee_id               = ppx_dto.person_id(+)
   &amp;xrrpv_clause
  )
,ir as
  (
   select
     hou.name                                         operating_unit
   , &apos;INT REQ&apos;                                        document_source
   , (select pdtav.type_name
      from  po_document_types_all_vl pdtav
      where pdtav.document_type_code in (&apos;REQUISITION&apos;)
      and   pdtav.document_subtype    = prha.type_lookup_code
      and   pdtav.org_id              = prha.org_id
     )                                                document_type
   , prha.segment1                                    document_number
   , prha.creation_date                               document_date
   , null                                             document_revision
   , ( select distinct plc.displayed_field
	     from po_lookup_codes plc
	     where plc.lookup_code = prha.authorization_status
	     and plc.lookup_type   = &apos;AUTHORIZATION STATUS&apos;
	    )                                               document_status
   , xxen_util.user_name(prha.created_by)             document_created_by
   , prha.description                                 document_description
   , null                                             release_number
   , null                                             release_date
   , null                                             release_created_by
   , decode(nvl(prha.cancel_flag,&apos;N&apos;) || nvl(prla.cancel_flag,&apos;N&apos;)
           ,&apos;NN&apos;,&apos;No&apos;,&apos;Yes&apos;)                          document_cancelled
   , prha.approved_date                               approved_date
   , null                                             supplier_name
   , null                                             supplier_number
   , null                                             supplier_site
   , mp_src.organization_code                         source_organization
   , ooha.order_number                                sales_order_number
   , ppx_p.full_name                                  req_preparer
   , null                                             po_buyer
   , (select pltv.line_type
      from   po_line_types_v pltv
      where  pltv.line_type_id = prla.line_type_id
     )                                                line_type
   , prla.line_num                                    line_num
   , null                                             ship_line_num
   , mck.concatenated_segments                        item_category
   , msiv.item                                        item
   , xxen_util.meaning(msiv.item_type,&apos;ITEM_TYPE&apos;,3)  item_type
   , coalesce(prla.item_description,msiv.item_desc)   item_description
   , ( select cic.item_cost
       from   cst_item_costs cic
       where  cic.organization_id   = msiv.organization_id
       and    cic.inventory_item_id = msiv.item_id
       and    cic.cost_type_id      = 1
     )                                                item_standard_cost
   , null                                             supplier_item
   , prla.unit_price                                  unit_price
   , coalesce(prla.currency_code,rt.currency_code,ooha.transactional_curr_code)
                                                      currency
   , nvl(muomt.unit_of_measure_tl
        ,prla.unit_meas_lookup_code)                  uom
   , prla.quantity                                    quantity_ordered
   , prla.quantity
       -nvl(prla.quantity_cancelled,0)
       -nvl(prla.quantity_delivered,0)                quantity_due
   , prla.quantity_cancelled
   , prla.quantity_delivered                          quantity_received
   , to_number(null)                                  quantity_billed
   , to_number(null)                                  quantity_accepted
   , to_number(null)                                  quantity_rejected
   , (prla.quantity - nvl(prla.quantity_cancelled,0))
       * prla.unit_price                              line_amount
   , prla.need_by_date                                request_date
   , prla.need_by_date                                need_by_date
   , to_date(null)                                    promised_date
   , to_date(null)                                    last_acceptable_date
   , to_date(null)                                    original_promised_date
   , null                                             match_approval_level
   , null                                             match_option
   , rt.transaction_date                              receipt_date
   ,  trunc(rt.transaction_date-prla.need_by_date)    delivery_delay
   , rsl.quantity_shipped                             shipped_quantity
   , rt.quantity                                      receipt_quantity
   , rt.primary_quantity                              receipt_primary_quantity
   , rt.primary_unit_of_measure                       receipt_primary_uom
   , rsh.receipt_num                                  receipt_num
   , rsl.line_num                                     receipt_line_num
   , xxen_util.meaning(rsl.shipment_line_status_code,&apos;SHIPMENT LINE STATUS&apos;,201)
                                                      shipment_line_status
   , rsl.vendor_item_num                              shipment_supplier_item
   , rsl.item_description                             shipment_item_description
   , rsh.shipped_date
   , rsh.shipment_num
   , rsh.packing_slip
   , rsh.waybill_airbill_num
   , mp_sto.organization_code                         ship_to_organization
   , hlat_sto.location_code                           ship_to_location
   , mp_dto.organization_code                         delivered_to_organization
   , hlat_dto.location_code                           delivered_to_location
   , ppx_dto.full_name                                receiver
   , null                                             project
   , null                                             task
   , null                                             supplier_address1
   , null                                             supplier_address2
   , null                                             supplier_address3
   , null                                             supplier_zip
   , null                                             supplier_city
   , null                                             supplier_country
   , null                                             supplier_contact
   , null                                             supplier_phone
   , null                                             supplier_email
   from
     po_requisition_headers_all    prha
   , po_requisition_lines_all      prla
   , hr_operating_units            hou
   , oe_order_headers_all          ooha
   , per_people_x                  ppx_p
   , mtl_categories_kfv            mck
   , ( select
         fspa.org_id                org_id
       , msiv.organization_id       organization_id
       , msiv.inventory_item_id     item_id
       , msiv.concatenated_segments item
       , msiv.item_type             item_type
       , msiv.description           item_desc
       from
         mtl_system_items_vl           msiv
       , financials_system_params_all  fspa
       where
         fspa.inventory_organization_id = msiv.organization_id
     )                             msiv
   , mtl_units_of_measure_tl       muomt
   , hr_locations_all_tl           hlat_sto
   , mtl_parameters                mp_src
   , mtl_parameters                mp_sto
   , rcv_shipment_headers          rsh
   , rcv_shipment_lines            rsl
   , rcv_transactions              rt
   , mtl_parameters                mp_dto
   , hr_locations_all_tl           hlat_dto
   , per_people_x                  ppx_dto
   where
        prha.requisition_header_id   = prla.requisition_header_id
   and  prha.type_lookup_code        = &apos;INTERNAL&apos;
   and  prha.org_id                  = hou.organization_id
   and  prha.preparer_id             = ppx_p.person_id (+)
   and  prla.category_id             = mck.category_id (+)
   and  prla.org_id                  = msiv.org_id (+)
   and  prla.item_id                 = msiv.item_id(+)
   and  prla.unit_meas_lookup_code    = muomt.unit_of_measure (+)
   and  userenv(&apos;lang&apos;)              = muomt.language (+)
   and  prla.source_organization_id  = mp_src.organization_id (+)
   and  prla.destination_organization_id = mp_sto.organization_id
   and  prla.deliver_to_location_id  = hlat_sto.location_id (+)
   and  userenv(&apos;lang&apos;)              = hlat_sto.language (+)
   and  prla.requisition_header_id   = ooha.source_document_id (+)
   and  ooha.source_document_type_id (+) = 10
   and  prla.requisition_line_id     = rt.requisition_line_id (+)
   and  rt.transaction_type (+)      = &apos;RECEIVE&apos;
   and  rt.shipment_line_id          = rsl.shipment_line_id (+)
   and  rt.shipment_header_id        = rsh.shipment_header_id (+)
   and  rt.organization_id           = mp_dto.organization_id (+)
   and  rt.location_id               = hlat_dto.location_id (+)
   and  userenv(&apos;lang&apos;)              = hlat_dto.language (+)
   and  rt.employee_id               = ppx_dto.person_id(+)
   &amp;xrrpv_clause
  )
select x.*
from
(
  select y.*
  from   po y
  where  1=1
  and    2=2
  union all
  select y.*
  from   ir y
  where  1=1
  and    2=2
) x
order by
 x.operating_unit
,x.document_type
,x.document_number
,x.line_num
,x.ship_line_num</SQL_TEXT>
  <COPIED_FROM_GUID>5AD40B806DC02106E0530100007F3595</COPIED_FROM_GUID>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>PO Receiving Transactions Pipeline</REPORT_NAME>
    <DESCRIPTION>PO Receiving Transactions Pipeline</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Draft</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>&amp;xrrpv_clause</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>2=2</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>-10</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;xrrpv_clause</ANCHOR>
    <SQL_TEXT>and (msiv.organization_id,msiv.item_id) in
(
select distinct
 dbms_lob.substr(xrrpv.value,instr(xrrpv.value,&apos;|&apos;)-1,1) organization_id
,dbms_lob.substr(xrrpv.value,20,instr(xrrpv.value,&apos;|&apos;)+1) inventory_item_id
from
xxen_report_parameters_vl xrpv,
xxen_report_run_param_values xrrpv
where
xrpv.parameter_name=&apos;organization_id|inventory_item_id&apos; and
xrpv.parameter_id=xrrpv.parameter_id and
xrrpv.run_id=:run_id
)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>organization_id|inventory_item_id</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.operating_unit=: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>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.document_source = :doc_source</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
 x.value,x.description
from
 (select &apos;PO&apos; value,&apos;Purchase Order&apos; description from dual
  union
  select &apos;INT REQ&apos;,&apos;Internal Requisition&apos; from dual
 ) x
order by
 x.value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Document Source</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.document_number = :doc_number</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
  x.value,x.description
from
(
 select
 pha.segment1 value,
 xxen_util.meaning(pha.type_lookup_code,&apos;PO TYPE&apos;,201)||nvl2(asu.vendor_name,&apos;: &apos;||asu.vendor_name,null) description,
 pha.creation_date
 from
 po_headers_all pha,
 ap_suppliers asu
 where
 pha.org_id in (select haouv.organization_id from hr_all_organization_units_vl haouv where haouv.name=:$flex$.operating_unit) and
 pha.vendor_id=asu.vendor_id(+) and
 :$flex$.document_source = &apos;PO&apos;
 union
 select
 prha.segment1 value,
 null description,
 prha.creation_date
 from
 po_requisition_headers_all prha
 where
 prha.org_id in (select haouv.organization_id from hr_all_organization_units_vl haouv where haouv.name=:$flex$.operating_unit) and
 :$flex$.document_source = &apos;INT REQ&apos;
) x
order by
x.creation_date desc</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Document Number</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.po_buyer=:buyer</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>PO Buyer</LOV_NAME>
    <LOV_GUID>8E2FF36EDF2F79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
ppx.full_name value,
ppx.employee_number description
from
per_people_x ppx
where
ppx.current_employee_flag=&apos;Y&apos; and
ppx.person_id in (select pa.agent_id from po_agents pa where sysdate between nvl(pa.start_date_active,sysdate) and nvl(pa.end_date_active,sysdate)) and
ppx.person_id in
(
select
paaf.person_id
from
per_all_assignments_f paaf
where
trunc(sysdate) between paaf.effective_start_date and paaf.effective_end_date and
(:$flex$.organization_code is null or paaf.business_group_id in (select ood.business_group_id from org_organization_definitions ood where xxen_util.contains(:$flex$.organization_code,ood.organization_code)=&apos;Y&apos;)
)
)
order by
ppx.full_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>PO Buyer</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.req_preparer=:preparer</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ppx.full_name value,
ppx.employee_number description
from
per_people_x ppx
where
ppx.current_employee_flag=&apos;Y&apos; and
ppx.person_id in (select distinct prha.preparer_id from po_requisition_headers_all prha)
order by
ppx.full_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Req Preparer</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.receipt_date &gt;= :receipt_date_fr</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Receipt Date From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>8</SORT_ORDER>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.receipt_date &lt; :receipt_date_to+1</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>:$flex$.receipt_date_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Receipt Date To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>9</SORT_ORDER>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>(y.document_date &gt;= :doc_date_fr or y.release_date &gt;= :doc_date_fr)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Document Date From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>10</SORT_ORDER>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>(y.document_date &lt; :doc_date_to + 1 or y.release_date &lt; :doc_date_to + 1)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>:$flex$.document_date_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Document Date To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>11</SORT_ORDER>
    <DISPLAY_SEQUENCE>100</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.supplier_name=:supplier_name</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>AP Supplier</LOV_NAME>
    <LOV_GUID>B9847D20A0E4742FE0538931640A6379</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
aps.vendor_name value,
aps.segment1 description
from
ap_suppliers aps
where
(:$flex$.operating_unit is null or aps.vendor_id in (select assa.vendor_id from hr_all_organization_units_vl haouv, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos; and haouv.organization_id=assa.org_id)) and
(:$flex$.organization_code is null or aps.vendor_id in (select assa.vendor_id from org_organization_definitions ood, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.organization_code,ood.organization_code)=&apos;Y&apos; and ood.operating_unit=assa.org_id))
order by
aps.vendor_name,
aps.vendor_id</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Supplier</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>12</SORT_ORDER>
    <DISPLAY_SEQUENCE>110</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.supplier_site=:supplier_site</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>PI Warehouse Code</LOV_NAME>
    <LOV_GUID>CECC17E2BCD58874E0530100007F7C8D</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
iwm.whse_code value,
iwm.whse_name description
from
ic_whse_mst iwm
order by
iwm.whse_code,
iwm.whse_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Supplier Site</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>13</SORT_ORDER>
    <DISPLAY_SEQUENCE>120</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.item like :item</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
msiv.concatenated_segments value,
msiv.description
from
mtl_system_items_vl msiv
where
msiv.organization_id in
 (select organization_id from org_access_view
  where  responsibility_id = fnd_global.resp_id
  and    resp_application_id = fnd_global.resp_appl_id
 )
order by
msiv.concatenated_segments</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Item</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>14</SORT_ORDER>
    <DISPLAY_SEQUENCE>125</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.item_type=:item_type</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Item Type</LOV_NAME>
    <LOV_GUID>8E2FF36EDE8579D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.meaning value,
flvv.lookup_code description
from
fnd_lookup_values_vl flvv
where
flvv.enabled_flag=&apos;Y&apos; and
flvv.lookup_type=&apos;ITEM_TYPE&apos; and
flvv.view_application_id=3 and
flvv.security_group_id=0
order by
flvv.lookup_code</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Item Type</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>15</SORT_ORDER>
    <DISPLAY_SEQUENCE>130</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.quantity_due&gt;0</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Has Open Quantity</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>16</SORT_ORDER>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.quantity_due=0</SQL_TEXT>
    <MATCHING_VALUE>N</MATCHING_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Has Open Quantity</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>17</SORT_ORDER>
    <DISPLAY_SEQUENCE>140</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.request_date&lt;=sysdate and
y.quantity_due&gt;0</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Overdue</PARAMETER_NAME>
      <DESCRIPTION>Promised date before sysdate, but no receiving transaction yet</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>18</SORT_ORDER>
    <DISPLAY_SEQUENCE>150</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>y.document_cancelled = &apos;No&apos;</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <DEFAULT_VALUE>Y</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Exclude Cancelled</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>
