I could not find InvokeSearch method for SalesOrderAdapter in Object Explorer (Epicor 10.2.100.6). However a post on this forum (SalesOrderAdapter) seems to suggest the method does exist. However, when I tried the code in that post, it bombs on InvokeSearch method.
I don’t see that method in Reflector. Base adapter method maybe?
You could using this with a whereclause:
public OrderHedListDataSet GetListCustom(string whereClause, int pageSize, int absolutePage, string customClause, out bool morePages)
Thanks, Jason. It generates a run time error on the line calling InvokeMethod. The error message is “Object reference not set to an instance of an object”. On which version of Epicor you get your code working?
Thanks, Chris. I will try that.