title: Dynamics GP Web Service -- Returning list of sales order based on specific criteria
body: <p>For a web application, I need to get  a list or collection of all <strong>SalesOrders</strong> that meet the folowing criteria:</p>
  
  <ul>
  <li>Have a <strong>WarehouseKey.ID</strong> equal to "test", "lucmo" or "Inno" </li>
  <li>Have <strong>Lines</strong> that have a <strong>QuantityToBackorder</strong> greater than 0</li>
  <li>Have <strong>Lines</strong> that have a  <strong>RequestedShipDate</strong> greater than current day.</li>
  </ul>
  
  <p>I've succesfully used these two methods to retrieve documents, but I can't figure out how return only the ones that meet above criteria.</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/cc508527.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/cc508527.aspx</a> </p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/cc508537.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/cc508537.aspx</a></p>
  
  <p>Please help!</p>