如何从C#更新Microsoft Dynamics Nav中的记录 [英] How Do I Update Records In Microsoft Dynamics Nav From C#

查看:73
本文介绍了如何从C#更新Microsoft Dynamics Nav中的记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我如何在c#asp.net中更新微软动态NAV经典中的记录...我已经将所有服务导入到c#并尝试了以下方式..



LeaveRequestCard_Binding LeaveRequest_Serv = new LeaveRequestCard_Binding();

var NewLeaveRequest = new LeaveRequestCard();

LeaveRequest_Serv.Credentials = new NetworkCredential(G_UserName,G_PassWord,G_Domain);

LeaveRequest_Serv.Read(leaveRequestNo);

string no = NewLeaveRequest.Leave_Request_No;

LeaveRequest_Serv.Update(ref NewLeaveRequest);





这根本不起作用..任何帮助

解决方案

你好,

你在网上有很多关于这个主题的资源;)

http://stackoverflow.com/questions/19116481/nav-web-service-how-to-update-data-via-c [ ^ ]

http://code.msdn.microsoft。 com / windowsdesktop / CSDynamicsNAVWebServices-21bb94f1 [ ^ ]

http://www.mibuso.com/forum/viewtopic .php?t = 59116 [ ^

can anyone tell me how to update records in microsoft dynamics NAV classics from c# asp.net... I have imported all the services to c# and tried following ways..

LeaveRequestCard_Binding LeaveRequest_Serv = new LeaveRequestCard_Binding();
var NewLeaveRequest = new LeaveRequestCard();
LeaveRequest_Serv.Credentials = new NetworkCredential(G_UserName, G_PassWord, G_Domain);
LeaveRequest_Serv.Read(leaveRequestNo);
string no= NewLeaveRequest.Leave_Request_No;
LeaveRequest_Serv.Update(ref NewLeaveRequest);


this is not at all working.. any help

解决方案

Hello,
You have a lot of resources on web about this subject ;)
http://stackoverflow.com/questions/19116481/nav-web-service-how-to-update-data-via-c[^]
http://code.msdn.microsoft.com/windowsdesktop/CSDynamicsNAVWebServices-21bb94f1[^]
http://www.mibuso.com/forum/viewtopic.php?t=59116[^]


这篇关于如何从C#更新Microsoft Dynamics Nav中的记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆