Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
BUG? Message with Attachments
I seem to have discovered a problem in WSDL 2.6 that doesn't allow you to post a message with more than one (1) attachments.
The process works fine if you send one, and only one attachment, but does not save the message against the transaction or entity if it has more than one attachment.
So using the following with the appropriate number of files added to the array:
[netsuiteserviceref].File[] f = new [netsuiteserviceref].File[1]
works
[netsuiteserviceref].File[] f = new [netsuiteserviceref].File[2] or
[netsuiteserviceref].File[] f = new [netsuiteserviceref].File[10]
does not.
The service responds with a isSuccess = true, but the message is never attached to the entity/transaction. Spent ages trying to figure out if one of the attachment types was causing the problem, but eventually tried sending each of the attachments, one by one, and that worked fine. So even sending a message with 2 basic PDFs attached, does not work.