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
Help with an error - department type
This is the error I'm getting:
org.xml.sax.SAXException: Invalid type: {urn:sales_2_6.transactions.webservices.netsuite.com}department
I'm doing an update on a sales order. What am I doing wrong?
Here's the SOAP I'm using:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding" >
<soap:Body>
<platformMsgs:update xmlns:platformMsgs="urn:messages_2_6.platform.webservices.netsuite.com">
<tranSales:record xmlns:tranSales="urn:sales_2_6.transactions.webservices.netsuite.com" xsi:type="tranSales:SalesOrder" internalId="59567" >