Search our Wiki

HowTo Use MS Dynamics NAV WebServices to create Sales Orders

  • You would think that this might be straight forward - just create a Transfer for the SalesHeader with a sub-transfer for the SalesLines and there you go.
  • But this does not work with MS Dynamics NAV WebServices as they use a Page to enter the data into NAV and you kind of have to call the Page in the same way as if you where entering the data manually.
  • Basically you have to create a SalesHeader first (a ADD transfer), then read it and Update it with information (a UPDATE transfer). Then you have to create each line (or all lines) that need to be done with a SalesHeader UPDATE Transfer with SalesLine ADD. And last you can UPDATE the Lines.

Read this arcticle for more information: