Working with NAV 2018, I can correctly execute a Read Operation against the Sales Order Page type SOAP web service. However, the SalesLines are returning as null.
I can correctly create and update Sales Lines with this web service, but I cannot read them. Any ideas on how to read the Sales Lines?
I'm using C# .Net Core, and I've created added the reference to the web service with the Microsoft WCF Web Service Reference Provider
this is my code:
SalesOrder_PortClient order = new SalesOrder_PortClient();
Read_Result res = new Read_Result();
res = await order.ReadAsync("104018");
//Sales_Order_Line sl = res.SalesOrder.SalesLines[1]; //This line returns error, because SalesLines is null. I've checked that the order has lines.
return res;
*This post is locked for comments
I have the same question (0)