简体   繁体   English

ASP.NET & Microsoft Dynamics NAV 2009如何获取数据?

[英]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.

相关问题 Microsoft Dynamics Nav 2009用户 - Microsoft Dynamics Nav 2009 user 使用asp.net Web应用程序更新Dynamics Nav 2013 - Update Dynamics Nav 2013 using asp.net web application 如何通过C#从asp.net应用程序向Microsoft Dynamics Navision2016发送请求 - How to Send Request to Microsoft Dynamics Navision2016 from asp.net Application by C# 如何 go 关于它:从 Microsoft Dynamics 365 CRM 同步/导出帐户数据并在第 3 方 web 应用程序中显示? 使用 WS 和 ASP.NET MVC/C# - How to go about it: sync/export data for Accounts from Microsoft Dynamics 365 CRM and show it in a 3rd party web app? Using WS and ASP.NET MVC/C# 如何在ASP.net MVC中获取数据 - How to get data in ASP.net MVC 如何使用asp.net在Dynamics CRM中创建帐户? - how to create Account in dynamics crm using asp.net? .NET资源和动态NAV - .NET Resources & Dynamics NAV 如何在同一项目中的ASP.NET MVC控制器中从ASP.NET Web API获取数据 - How get data from asp.net web api in asp.net mvc controller in the same project 如何从 ASP.NET Core MVC 中的 .docs.microsoft.com 获取“.TokenAuthCookies”cookie? - How to get '.TokenAuthCookies' cookie from .docs.microsoft.com in ASP.NET Core MVC? Microsoft Graph API ASP.NET MVC 获取驱动器项目 - Microsoft Graph API ASP.NET MVC Get Drive Items
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM