So you want it to trigger on xedit but it is not? ...
# suitescript
j
So you want it to trigger on xedit but it is not? xedit user events do have visibility of all the fields on the record My guess is that the script is making it passed the first if statement
if (... type == 'xedit')
but that you have another if statement later on
if (oldValue !== newValue)
that is impacted by that behavior I would recommend loading your user event script into the netsuite script debugger, performing the xedit to trigger the user event and seeing what happens