Hi,
We have some code that gets orders based on a sql query. We used it for getting orders by date, customernumber or other customfields.
var orders = new OrderCollection(); orders.Load(sqlQuery);
But after upgrading to 9.6.9 (from 9.3) the OrderCollection is marked as obsolete. And the Load() throws an null reference exception.
Is there a replacement for getting orders based on a custom sql query?