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 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Updating custom records using smbXML
I have a number of records in custom record type that I need to update to as a batch. Only the IsInactive field needs to be changed.
To do this i have produced a simple xml file (example below) that identifies the record by its name field.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE smbxml SYSTEM "http://www.netsuite.com/xml/dtd/smb_4_16.dtd">
<smbxml>
<request missingFieldOverwrite="false">
<addOrUpdate>
<customRecord>
<name>0003081</name>
<customRecordTypeRef><name>AgreementLines</name></customRecordTypeRef>
<isInactive>False</isInactive>
0