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.
Logging a script on a record (w/ note)
Hi -
Does anyone have a simple note-creation function they'd like to share?
I'm realizing that automated edits to records should really be documented as such. Right now, the change gets noted in the system notes, but there's nothing (at least that I can see) to indicate that the change was done by Suitescript.
I'd like to create (or borrow) a function that adds a note indicating when and how the record was modified, and what Script was used to make the modification. My hunch is that this will be a valuable tool for debugging down the road. Admittedly, I can long stuff on the script record, but if someone doesn't realize that a script is in use, that won't be as helpful as having a record of it, on the, uh, record itself.