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
SuiteScript Noob w/nlapiSubmitField Question
I thought I was a pretty smart guy until I started working with this stuff.
Here is the scenario:
I want to blow away partner ID from customer record after X number of days since customer record was created, as we only want to give partners a window of time to have their traffic convert to sales. I want to schedule a script to do this on a nightly basis.
I've got the search part of the script working, but the update of the partner does not. I tried to set the new value to an empty string and to null - neither worked, so I also tried to set the value to another ID of another partner to see if it was just me screwing up how to "unset" the partner. No dice.
0