Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now!
RUN, DON’T WALK...Registration for #SuiteWorld 2022 is officially OPEN! This special early bird price won’t last long, so make sure you don’t miss out: https://lnkd.in/gGRN78A3
YOUR VOICE MATTERS! VOTE FOR OUR NEXT WEBINAR TOPIC NOW.
Click on this link for the poll.
Click on this link for the poll.
Add item with custom field (Delphi)
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.
0