0
votes

I want insert , update and delete customer's table in Microsoft Dynamics NAV 2009 helping ASP.NET , C#; Passing by Microsoft Dynamics NAV Server; Have anybody C# code about this ?

2

2 Answers

0
votes

In the Dynamics NAV Developer manual you'll find a chapter on how to work with web services. This also includes some examples on how to do your CRUD operations.

0
votes

You need to add a Web Reference and point it to the Web Services for NAV 2009.

Firstly, if you search "Web Services" in the top right, you need to expose the "Customer Card" page (Page 21).

Then in C# you need a web reference to connect to the SOAP web service.

Remember that if you UPDATE, you need to READ first. When you call the UPDATE, there's a "key" field. This field is passed in the UPDATE method call to ensure that you don't overwrite data if it is updated by another user.

Here's a good guide on adding a Web Reference. Connecting to Nav with Web Reference