Hi,
There is still no implemented way to load an order by the tracking number - technically the tracking number is not required to be unique in Episerver Commerce (even though it should). However this is a valid feature request and we will look into this to see if we can improve the situation.
Regards.
/Q
Thanks for the reply.
Is there any way to keep myself updated on the point?
Greetings
Mads Swensson
http://world.episerver.com/support/Bug-list/bug/COM-3613
This will be included in Commerce 10.2.2, which will be available later today (or probably tomorrow) :)
Fantastic news!
Already looking forward to undoing my workaround! :)
Thanks for the awesome support!
/Swensson
Hi
I saw this post from back in 2012 (http://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2012/9/Tracking-number--PO-Number/).
But I can still, in EPiServer 10, not find a better way than searching through the
"OrderContext.Current.FindPurchaseOrders(parameters, searchOptions);" method or the getting purchase orders by its CustomerId and name
"orderRepository.Load(CustomerContext.Current.CurrentContactId, "Default");"
Is there implemented a way to get an IPurchaseOrder by its OrderNumber / TrackingNumber or is it planned?
Greetings
Mads Swensson