Thanks @al3xicon. Can you help me figure out how to add a line level query to my search? I only want one result per sales order. That's why I have Main Line is true in there.
I think I need something like SUM(Quantity) == SUM(Quantity Commited) but I'm not sure how to implement it.