Hello, I am working on an integration from Dynamicweb to Business Central, for a B2C, but I am not very clear, how and where I can validate, if a user does not exist as a customer in the ERP, in order to create the customer before transferring the orders for him.
I think it could be in the OnBeforeCreateOrder event, but I'm not sure if I can retrieve the XMLOrderNode data in that event, to create or update the client if necessary. If someone has sample code that helps me to use it in this case, please pass it on to me. Or if you know of another way to do this integration let me know
Thank you
BR. John Villamar.