How To Use MS Dynamics NAV Web Services to create Sales Orders

When you want to create new Sales Orders in MS Dynamics NAV, the obvious choice is to publish the standard Sales Order Page (Page 42) as a Web service and use this Web service to insert the new Sales Orders in NAV.

But you need three Web Service calls to create a completely new Sales Order:

  1. In the first call, you create an empty header;
  2. Then you update this header with e.g. Customer No, etc., and create some empty lines;
  3. And then in the third call, you can finally update the lines with e.g. Item No and Quantity, and now you have a complete Sales Order in MS Dynamics NAV.

On our side, we have simplified the process so you can create 1 Sales Order via a single transfer. Check this article and learn more about it.