https://netsuiteprofessionals.com logo
n

NS Admin

04/28/2022, 6:08 PM
I'm using the N/ui/dialog Module for our sales reps to acknowledge some custom business rules a lot more complex than what we could do in Suiteflow. Anyways, there is some gaming of the system going on, so I would like to start logging when people acknowledged things. It seems I cannot write to System Notes via SuiteScript. Would the next best option just creating a custom record that stores the information I need? Thanks in advance.
b

battk

04/28/2022, 7:05 PM
the usual option for storage is a custom record
you can be weird and use a file
n

NS Admin

04/28/2022, 7:05 PM
10-4. Thanks!
b

battk

04/28/2022, 7:05 PM
sometimes people think of using native records like user notes, though you probably wouldnt in this case
e

Eric B

04/28/2022, 8:40 PM
use custom fields that your script updates. any changes to them are logged by NS in system notes.
👍 1
r

redfishdev

04/30/2022, 1:40 AM
Agree with battk, I log certain field changes to a flexible custom log table user don't have access to modify but the script runs as admin. this is helpful especially when the field is a custom status field. Then you can see who changed and use analytics to determine time to move between statuses. I give them access to view as a subsist so they can see themselves gaming... it autocorrects the behavior 😀