Looking for a way to track changes made that aren'...
# suitescript
e
Looking for a way to track changes made that aren't shown in NetSuites default logs. e.g. Someone changes the Reorder Point on an Item Record Is there a way to easily identify WHICH fields/sublist fields were changed using oldRecord/newRecord? or would I need to list out each sublist, and field and get their values / compare it to the oldRecord... etc. to determine which fields had changed?
s
Fairly certain the latter, not an easy native way to do it.
e
Or maybe the approach is to have a client side script catch all fieldChanged events and log the details of the field/sublist names, store that somewhere and then use an afterSubmit script to compare the oldRecord and newRecord for just the fields/sublists that were captured in fieldChanged events?
s
That will only catch UI changes but is an option, I would imagine changing things in bulk/csv is more common. Depends on your account I suppose
e
Good point on that only catching UI changes, but I think it would be sufficient for our account... or at least as a band-aid option while I figure out a better solution