Developer forum

Forum » Integration » Economic and orderlinefields

Economic and orderlinefields

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

With the new Economic-integration, are orderlinefields transferred to Economic as well?

If so, where are they show in Economic?

--
Best regards
Kurt Moskjaer Andersen


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Kurt,
no the orderline fields are not exported. You can use the Extensibility api to do the stuff with the orderline which will be transferred to economic. You will need to override the:

/// <summary>
        /// Method to do manipulation with the ordinary objEconomicOrderline object before it is sent to E-conomic
        /// </summary>
        /// <param name="orderLine">Dynamiceb eCommerce OrderLine object that is currently under processing</param>
        /// <param name="economicOrderLine">E-conomic IOrderLineData object that is currently being created</param>
        /// <returns>IOrderLineData object</returns>
        public virtual IOrderLineData EconomicOrderline(Dynamicweb.Ecommerce.Orders.OrderLine orderLine, IOrderLineData economicOrderLine)
        {
            return economicOrderLine;
        }

Regards, Dmitrij

Votes for this answer: 1
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi Dmitrij,

Thank you for your answer. I will look further into it.

Best regards
Kurt

 

You must be logged in to post in the forum