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.
nlapiSubmitField does not seem to work with location????
Hi-
I am writing a script to update the location field on some records. If I put the following two lines into the script the 'memo' field will update, but the location will not...
nlapiSubmitField('estimate', 3813, 'location', 3, false);
nlapiSubmitField('estimate', 3813, 'memo', "Testing...", false);
What is more annoying is that if I put the following I get a "This location is not valid for subsidiary X" error if I put:
nlapiSubmitField('estimate', 3813, 'location', 4, false);
Furthermore, if I put the following I get a "Invalid Reference For Location" error if I put:
nlapiSubmitField('estimate', 3813, 'location', "Brisbane", false);
What gives? Can location not be updated by script?? It is listed in the reference guide as a scriptable field...