London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

creating Purchase order

Vote:
 

I need to import order history from external system to episerver commerce. Is there other methods of creating PurchaseOrder except SaveAsPurchaseOrder of Cart class?

#88636
Jul 22, 2014 11:08
Vote:
 

Hi,

No, there's not. Is there any problems with using SaveAsPurchaseOrder to import/create your orders?

/Q

#88637
Jul 22, 2014 11:21
Vote:
 

Quan Mai, thank you

I need to import history of about 1000 customers during last year or two. So I hoped not to create cart everytime while creating purchase order.

#88638
Edited, Jul 22, 2014 11:29
Vote:
 

When you call SaveAsPurchaseOrder then the "original cart" will be "deleted". You can still do the clean - if necessary - after importing orders to EPiServer Commerce. I don't see any problem with this approach - or am I missing something?

Regards.

/Q

#88639
Jul 22, 2014 11:33
* 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.