<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>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: XXWSH Packing Workbench Details -->
 <REPORTS_ROW>
  <GUID>5EF73C591F20183AE0530100007F6D8B</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select distinct
wnd.name delivery,
ooha.order_number,
mp.organization_code||&apos;-&apos;||xpb.box_id box_number,
regexp_replace(xxen_util.meaning(xpb.box_type_code,&apos;XXWSH_PACKING_BOX_TYPES&apos;,665),&apos;\s\d+x\d+x\d+&apos;) box_type,
xpb.gross_weight,
sum(xpba.weight) over (partition by xpb.box_id) net_weight,
xpb.length,
xpb.width,
xpb.height,
ottt.name order_type,
ottt2.name line_type,
xpba.shipping_comment,
xpb.shipping_box_type,
xxen_util.meaning(wnd.ship_method_code,&apos;SHIP_METHOD&apos;,3) ship_method,
hca.account_name customer_name,
nvl(ftv.territory_short_name,hl.country) ship_to_country
from
mtl_parameters mp,
wsh_new_deliveries wnd,
hz_cust_accounts hca,
hz_locations hl,
fnd_territories_vl ftv,
wsh_delivery_assignments wda,
wsh_delivery_details wdd,
xxwsh_packing_box_assignments xpba,
xxwsh_packing_boxes xpb,
mtl_system_items_b msib,
oe_order_headers_all ooha,
oe_order_lines_all oola,
oe_transaction_types_tl ottt,
oe_transaction_types_tl ottt2
where
1=1 and
mp.organization_id=xpba.organization_id and
wnd.customer_id=hca.cust_account_id(+) and
wnd.ultimate_dropoff_location_id=hl.location_id and
hl.country=ftv.territory_code(+) and
wnd.delivery_id=wda.delivery_id and
wda.delivery_detail_id=xpba.delivery_detail_id and
xpba.box_id=xpb.box_id and
xpba.organization_id=msib.organization_id(+) and
xpba.component_item_id=msib.inventory_item_id(+) and
wda.delivery_detail_id=wdd.delivery_detail_id(+) and
decode(wdd.source_code,&apos;OE&apos;,wdd.source_header_id)=ooha.header_id(+) and
decode(wdd.source_code,&apos;OE&apos;,wdd.source_line_id)=oola.line_id(+) and
ooha.order_type_id=ottt.transaction_type_id(+) and
ottt.language(+)=userenv(&apos;lang&apos;) and
oola.line_type_id=ottt2.transaction_type_id(+) and
ottt2.language(+)=userenv(&apos;lang&apos;)</SQL_TEXT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>XXWSH Packing Workbench Details</REPORT_NAME>
    <DESCRIPTION>Report used by packing workbench email notification functionality.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>wnd.name=:delivery_name</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
wnd.name value,
hca.account_name description
from
wsh_new_deliveries wnd,
hz_cust_accounts hca
where
wnd.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;) and
wnd.customer_id=hca.cust_account_id(+) and
nvl(wnd.shipment_direction,&apos;O&apos;) in (&apos;O&apos;,&apos;IO&apos;) and
wnd.delivery_type=&apos;STANDARD&apos;
order by
wnd.delivery_id desc</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Delivery Name</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>
