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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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