如何从C#更新Microsoft Dynamics Nav中的记录 [英] How Do I Update Records In Microsoft Dynamics Nav From C#
问题描述
任何人都可以告诉我如何在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屋!