Developer forum

Forum » Integration » Shipping method code and agent in BC integration

Shipping method code and agent in BC integration

Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

Just wondering, how are we supposed to handle shipping in the BC integration?

DW is sending a node in the XML for OrderShippingMethodId with an walue of SHIP[X] but BC does not know this code.
Are there any settings in the BC integration mapping these codes, do we have to extend the integration, or even handle it manually?


Replies

 
Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Martin,
it seems you have already asked similar questions before:
https://doc.dynamicweb.com/forum/integration/integration/dynamicweb-information-on-nav/bc-order
https://doc.dynamicweb.com/forum/integration/integration/setup-shipping-calculation-with-nav2018
nothing major changed regarding that till that time.
The documentation  is here.
Let me know if that is not suitable.
BR, Dmitrij

 
Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

I agree it is similar, but not completly the same. These questions above is related to the shipping fee, I have no issues with that now.
Now I want to know how we can set the correct shipping method in BC based on the selection in DW.

In this example we have two options for shipping (Post and Pickup).
Both these have codes coming from DW (SHIP1 and SHIP2), but BC does not recognize these values when we send em in.

I'm just wondering if there is any quick solution to set the correct shipping method in BC based on the selected method in DW.

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

Hi Martin,
then you need to use our extensibility points and implement your own extension, There is an example project and all available points diagrams in the zip folder availble on the doc site here:
https://doc.dynamicweb.com/Admin/Public/Download.aspx?File=Files%2FFiles%2FDownloads%2FIntegration%2FCode+Units%2FIntegration+v2+-+Dynamics+365+BC18+-+Dynamicweb+Plug-In+Unit+Example+Extension+1.2.0.14.zip
BR, Dmitrij

Votes for this answer: 1
 
Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

Thanks Dmitrij, I suspected that this was the only solution.
Personally I think this is a weakness in the integration, this should be possible to map or handle without coding anything. The same goes for payment methods.

My hope is that you might look into a smoother solution to this later :)

 
Dynamicweb Employee
Dmitriy Benyuk
Reply

Ok, we could look on this. Can you share the screens of the BC where you have your Shipping methods?
And in what entity and field do you expect this Shipping method code to be then used in the BC? Sales header, sales line, separate sales line used for shipping/item charge,
anything else?
 

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Martin

Is it maybe the same thing covered here: https://doc.dynamicweb.com/forum/development/development/erp-payment-shipping-method-ids

BR Nicolai

 
Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

Yes, that is exactly the same, thanks Nicolai.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Great. That one is on its way through the backlog. Seems like an important feature!

 
Anders Ebdrup
Anders Ebdrup
Reply

And a +1 from me :-)

 

You must be logged in to post in the forum