[英]ASP.NET & Microsoft Dynamics NAV 2009 how get data?
I want insert, update and delete customer's table in Microsoft Dynamics NAV 2009 helping ASP.NET, C#;我想在Microsoft Dynamics NAV 2009中插入、更新和删除客户表帮助 ASP.NET、C#; Passing by Microsoft Dynamics NAV Server;
通过 Microsoft Dynamics NAV Server; Have anybody C# code about this?
有人 C# 有这方面的代码吗?
In the Dynamics NAV Developer manual you'll find a chapter on how to work with web services. 在Dynamics NAV Developer手册中,您将找到有关如何使用Web服务的章节。 This also includes some examples on how to do your CRUD operations.
这也包括一些有关如何进行CRUD操作的示例。
You need to add a Web Reference and point it to the Web Services for NAV 2009.您需要添加 Web 参考并将其指向 NAV 2009 的 Web 服务。
Firstly, if you search "Web Services" in the top right, you need to expose the "Customer Card" page (Page 21).首先,如果您在右上角搜索“Web 服务”,则需要显示“客户卡”页面(第 21 页)。
Then in C# you need a web reference to connect to the SOAP web service.然后在C#需要一个web引用来连接SOAP web服务。
Remember that if you UPDATE, you need to READ first.请记住,如果您更新,则需要先阅读。 When you call the UPDATE, there's a "key" field.
当您调用 UPDATE 时,有一个“键”字段。 This field is passed in the UPDATE method call to ensure that you don't overwrite data if it is updated by another user.
此字段在 UPDATE 方法调用中传递,以确保您不会在其他用户更新数据时覆盖数据。
Here's a good guide on adding a Web Reference.这是添加 Web 参考的好指南。 Connecting to Nav with Web Reference
使用 Web 参考连接到 Nav
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.