Discussions
Sales Order Itemlist field always returns null
Hey guys I'm new to WS and to this board so sorry if this has been handled elsewhere. When I run this code in my .NET application it always returns a nullreference exception when it tries to call the itemList field on the SalesOrder object. I've posted the SOAP request as well and neither the SOAP request nor response shows any indication of the sales order item list that should be attached with the sales order. Any help on this is much appreciated. The related code is posted below.
SalesOrder so = (SalesOrder) (recordList[j]);
_out.writeLn("\n Customer entity ID: " + so.entity.name);