API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

assign delivery location ean number in order

0

Hi, Which field shoud i use to assig delivery location ean number while creating order.

here see my code.

 var order = new OrderData
                {
                    DebtorHandle = objDebtorHandle,
                    DebtorName = objDH.Name,
                    DebtorAddress = objDH.Address,
                    DebtorCity = objDH.City,
                    DebtorCountry = objDH.Country,
                    DebtorEan = objDH.Ean,
                    DebtorPostalCode = objDH.PostalCode,
                    CurrencyHandle = currencyHandle,
                    TermOfPaymentHandle = objDH.TermOfPaymentHandle,
                    Date = orderDate,                               
                    DeliveryDate = delDate,                    
                    DeliveryAddress = objShippingParty.Address,
                    DeliveryCity = objShippingParty.City,
                    DeliveryPostalCode = objShippingParty.PostCode,
                    DeliveryCountry = objShippingParty.CountryRegionCode,                    
                    IsVatIncluded = true,
                    OtherReference = objOrderDetailsXML.Body.DocumentNo.ToString(),
                };
                orderHandle = session.Order_CreateFromData(order);
 
What is feasible solution
created Apr 30, 2015 by dapa
13% Accept Rate
Q 25 A 0 C 8

1 Answer

0
Hi dapa

 

On Order_CreateFromData you should use   <DebtorEan>string</DebtorEan>

https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Order_CreateFromData
answered May 18, 2015 by olej
Visma e-conomic A/S
...