Try our conversational search powered by Generative AI!

Order Number Method in 10.4


Hi All,

I upgraded my project from 9.14 to 10.4 

I have adopeted the ICart for my check out page. However  I haven't found the Order Number Method for generation of Custom Order Numebr for ICart  .

Can someone suggest me the implementation of new order number method delegate. 


Venka Phani Kumar R.

Mar 23, 2017 22:46


For the new APIs you can use IOrderNumberGenerator.GenerateOrderNumber. When you save your cart as a purchase order, just call that method to get a random order number

Mar 23, 2017 23:24
<p>Hi Quan,</p> <p></p> <p>Thanks a lot... :)</p> <p></p> <p>Regards</p> <p>Venkata Phani&nbsp;</p>
Mar 24, 2017 2:06

Hi Quan,

I want to assign the tracking number as web1234 instead of PO1234.

How to override the the DefaultOrderNumberGenerator  with my Custom Ordergenerator. 


Venkata Phani Kumar R

Mar 24, 2017 2:54

Hi Quan,

I got the solution ...

purchaseOrder.OrderNumber = _orderNumberGenerator.GenerateOrderNumber(Cart);

Its working fine ofr me ;


Venkata Phani kumar R

Mar 24, 2017 4:54
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.