Hi DynamicWeb
I am having some trouble getting my custom destination provider to create an order with an order line.
The problem is that first i run through my mappings on the EcomOrders table, and add the information to my Order object. While i do this, i create a new OrderID with the code Dynamicweb.eCommerce.Common.NumberGenerator.GetNumber("ORDER");
and at the same time i create an OrderLine and assign it the OrderLineOrderID i just created for my Order, all this seems to work fine. But if i only run this for my EcomOrders table, then the information added to the EcomOrderLines table is not saved, so my question is how do i in my destination provider create an order with an orderline and getting both saved?
If anyone has some sample integration code i could look at that would be great.