Get IPurchaseOrder by OrderNumber / TrackingNumber

Vote:
 

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

#173487
Edited, Dec 29, 2016 10:14
Vote:
 

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

#173489
Dec 29, 2016 10:30
Vote:
 

Thanks for the reply.

Is there any way to keep myself updated on the point?

Greetings 

Mads Swensson

#173491
Dec 29, 2016 10:55
Vote:
 

I will update it here when we have more information to share :)

#173495
Dec 29, 2016 11:34
Vote:
 

Great, thanks! 

#173498
Dec 29, 2016 12:33
Vote:
 

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) :) 

#173765
Jan 09, 2017 11:25
Vote:
 

Fantastic news!

Already looking forward to undoing my workaround! :) 

Thanks for the awesome support! 

/Swensson

#173768
Edited, Jan 09, 2017 12:59
Vote:
 
#173770
Jan 09, 2017 13:21
Vote:
 

This bug fix is currently available in Update 145 (Commerce 10.2.2).

#173880
Jan 11, 2017 17:34
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.