BC-1777 Exclude SalesOrder.lines for faster query