Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Initialize error
Hopefully somsone can help me on this. I have a sales order that i want to fulfill, and wanted to use the initialize feature. The problem is, it throws an error about one of my custom fields. Here is the code with SOAP response.
Firstly code in C#:
InitializeRecord initRec = new InitializeRecord(); initRec.type = InitializeType.itemFulfillment; InitializeRef initRef = new InitializeRef(); initRef.type = InitializeRefType.salesOrder; initRef.internalId = "123456"; initRef.typeSpecified = true; initRec.reference = initRef; ReadResponse initResponse = Service.initialize(initRec); if (initResponse.status.isSuccess) { ItemFulfillment cs = (ItemFulfillment)initResponse.record; WriteResponse wres = Service.add(cs); } Here is the SOAP response:
<soapenv:Envelope xmlns:xsd=" 0