Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

How would you get equivalent code in NAV 2013?

$
0
0
  try       
              {
                //Specify the binding to be used for the client.
                WSHttpBinding binding = new WSHttpBinding();               
                binding.Security.Mode = SecurityMode.None;
               
                //Specify the address to be used for the client.
                EndpointAddress address = new EndpointAddress(wsaddcamb.Text);
               
                ServiceReference2.IeLinkClient ic = new ServiceReference2.IeLinkClient(binding, address);
 
                XmlIOResponse iRespone = new XmlIOResponse();
 
                ServiceReference2.OrderStatusResponse ors = new ServiceReference2.OrderStatusResponse();
 
 
                ors = ic.GetInboundOrderStatus("9270", "0018656", txtUserID.Text, txtPwd.Text);
 
 
                //iResponse = ic.ImportOutbound(onh, ond, txtUserID.Text, txtPwd.Text);
                //MessageBox.Show("Doc#: " + iResponse.WmsPickNumber + "\n\nSystemMessage: " + iResponse.SystemMessage);
                MessageBox.Show("\n\nSystemMessage: " + ors.OrderStatus.ToString());
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

Viewing all articles
Browse latest Browse all 15740

Trending Articles