title: Looping Through a Group in Suitescript 2.0
body: <p>I am passing sales orders grouped by item into a function. I need to load the sales orders to modify the sales order record that it has already been processed. How would I go about getting all sales orders grouped under the item?</p>
  <pre><code>var itemId = result.getValue({
                  name: 'item',
                  summary: 'GROUP'
              });
  </code></pre>
  <p>The above code gets me the item id for what the orders in the given result are being grouped by. There could be any number of sales within a single group.</p>