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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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