Hello,
I'm working on Delphi XE3 and I imported NetSuite's WSDL from https://webservices.netsuite.com/wsdl/v2013_1_0/netsuite.wsdl .
I'm trying to add a new NonInventoryResaleItem with a custom field but I get an exception.
Here's my code :
art := NonInventoryResaleItem2.Create; art.displayName := name; art.itemId := name; art.salesTaxCode := taxCode; art.purchaseTaxCode := taxCode; customFrozen := BooleanCustomFieldRef.Create; customFrozen.internalId := 'custitem_frozen'; customFrozen.value := true; setLength(attrCustomList, 1); attrCustomList[0] := customFrozen; art.customFieldList := attrCustomList; rep := NetSuiteWS.add(art);
And the exception :ERemotableException : 'org.xml.sax.SAXException: Expected {urn:core_2013_1.platform.webservices.netsuite.com}customField, found {urn:accounting_2013_1.lists.webservices.netsuite.com}customField'I can't put the SOAP because it is not in NetSuites' Logs and I don't know how to get it with Delphi.I'm almost sure I'm missing something obvious but I can't help it.Any hint?