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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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