System.Web.Services.Protocols.SoapException: Parameter Currency_Code is empty en System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) en System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)I am consuming a Page, based on the 'Sales Price' entity, from VS and am attempting to Read a row which contains a lot of values for the table key... One of which is an empty string, the currency value.
// NAV 2009 R2 com.somecompany.wsSalesPrice.wsSalesPrice objSP = service.Read( "X6809BB", SalesPrice_SalesType.CustomerPriceGroup.ToString(), "NORAUTO", dtStart, String.Empty, //null, // Currency String.Empty, //null, // Variant "UDS", 0);Any ideas?
Comments
I think you have to define a variable for Currency and Variant and use it in the function call.
I hope this helps,
Thanks.