Is it possible to distinguish, if a record was act...
# suitescript
k
Is it possible to distinguish, if a record was actually edited or if it was just opened to edit but no change was made and saved back?
e
Opening a record will only trigger a
beforeLoad
event
If it is only to view it, then a
VIEW
event type is triggered
If it is in Edit mode, then an
EDIT
event type will be triggered
but
if the record is never edited, then none of the
submit
events will fire
but if the record is opened in edit mode and saved without changes, then you would have to compare every single field, yes