How do I access all orders programatically in Commerce v. 10.8.0?

Vote:
 

How do I access all orders programatically in Commerce v. 10.8.0?

Thank you!

#193831
Jun 05, 2018 16:24
Vote:
 

I think you meant "How to load all orders"?

You can use OrderContext.Current.FindPurchaseOrders 

however as a rule of thumb it's best to load orders by batch 

#193832
Jun 05, 2018 16:41
Vote:
 
<p>Thank you!</p>
#193862
Jun 06, 2018 13:27
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.