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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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