Class Name

atg.commerce.fulfillment.ShippableGroupsDroplet

Component(s)

/atg/commerce/fulfillment/droplet/ShippableGroupsDroplet

The ShippableGroupsDroplet servlet bean displays all orders with “shippable” shipping groups, that is, all orders with shipping groups in a PENDING_SHIPMENT state.

Input Parameters

None.

Output Parameters

orders
The array of order IDs for the orders that contain one or more shippable shipping groups.

shippingGroups
The array of shipping group IDs for the shippable shipping groups.

count
The number of shippable shipping groups.

error
Any exception that may have occurred while retrieving the shippable groups.

Open Parameters

shipSchedule
Renders information related to the HardgoodShipper scheduled service, including the current time, the time of the last run, and the schedule.

output
The open parameter rendered if there are orders with shippable shipping groups.

empty
The open parameter rendered if there are no orders with shippable shipping groups.

Example
<dsp:droplet name="/atg/commerce/fulfillment/droplet/ShippableGroupsDroplet">
  <dsp:oparam name="shipSchedule">
    <table border="1">
      <tr>
        <td colspan=2>Shipper</td>
      </tr>
      <tr>
        <td>Current Time</td><td><dsp:valueof
            param="currentTime">NA</dsp:valueof></td>
      </tr>
      <tr>
        <td>Last Run</td><td><dsp:valueof param="lastRun">NA</dsp:valueof></td>
      </tr>
      <tr>
        <td>Schedule</td><td><dsp:valueof param="schedule">NA</dsp:valueof></td>
      </tr>
    </table>
  </dsp:oparam>

  <dsp:oparam name="output">
    <table border="1">
      <tr>
        <td><b>Order ID</b></td><td><b>Shipping Group Id</b></td>
      </tr>
    <dsp:droplet name="/atg/dynamo/droplet/For">
      <dsp:param param="count" name="howMany"/>
      <dsp:oparam name="output">
         <tr>
           <td><dsp:valueof param="orders[param:index]">
                            no orderId</dsp:valueof></td>
           <td><dsp:valueof param="shippingGroups[param:index]">no
                shippingGroupId</dsp:valueof></td>
         </tr>
      </dsp:oparam>
    </dsp:droplet>
    </table>
    <br>
  </dsp:oparam>

  <dsp:oparam name="empty">
    <table border="1">
      <tr>
        <td><b>Order ID</b></td><td><b>Shipping Group Id</b></td>
      </tr>
      <tr>
        <td colspan=2>There are no shippable groups.</td>
      </tr>
    </table>
  </dsp:oparam>

</dsp:droplet>

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices