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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Replacing all customer addresses - broken?
Since 2010.1, my code to sync customers has broke. The problem is with the customer addresses.
When I update the customers, I also desire to replace all the customer's addresses with a new list. It's very convenient and has worked well in the past. Now, however, I always get this error: "You must leave at least one address with a label on this record."
Has anyone else experienced this? Seems like a bug.
Here's a dump of the SOAP request/response:
<SOAP-ENV:Envelope xmlns:ns3="urn:core_2010_1.platform.webservices.netsuite.com" xmlns:ns0="urn:relationships_2010_1.lists.webservices.netsuite.com" xmlns:ns1="urn:messages_2010_1.platform.webservices.netsuite.com" xmlns:ns2="urn:types.common_2010_1.platform.webservices.netsuite.com" xmlns:xsi=" 0