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.
How to execute SuiteScript when 'remove' is clicked?
I have a custom record type, "communities members", that is attached to my Contact record, by adding a field to the custom record type that's of type "List/Record" and the 'record' is Contact, and Parent Record is Contact. This puts a list of records for this custom record type into a sub-tab on the Contact page, but only those for the current Contact (which is what I want).
When viewing this sub-tab, and clicking the "New Communities Members" button above the list, I bring up a custom form. When I submit the form the script below is executed (2 custom fields are update and a new User Note is created).
0