I am using a web service connection to my company's test NAV environment (NAV 2013). I need to add a customer to the NAv environment. So for I have been able to make this code work:
var customerService = new CustomerService.Customer_Service() {UseDefaultCredentials = true};
var cust = new CustomerService.Customer() {Address = "100 Orion Way", Name = "Test") };
customerService.Create(cust);
Now I need to create the customer Asynchronously and track of the call is complete. I know I need to use CreateAsync(Customer _customer, Object _userState) and CreateCompletedEventHandler but I cannot find anywhere how to it. Does anyone have an example?
*This post is locked for comments