I had a Change Order data gathering VB.net tool coded for Vault Pro 2012 that used the "GetAllChangeOrders" method. This was removed in 2013 and now we are supposed to use "FindChangeOrderBySearchConditions" method instead. This is fine, but the search only returns 100 results for me. In need ALL the change orders.
I do not want to bump up the search results settings for performance reasons.
How do I get this new method to return ALL the change orders?
Solved! Go to Solution.
Solved by minkd. Go to Solution.
When you call FindChangeOrderBySearchConditions, there is a bookmark parameter (passed by reference), and a searchStatus parameter (an out parameter). The return is the first page of results.
The searchStatus object tells you the total number of hits and whether the search index is up-to-date or not.
The bookmark parameter is used to make a subsequent call to get the next page of results. You pass back the value you got from the previous call. You can repeat making calls until you get all the results.
-Dave