Are there occasion that context.newRecord returns ...
# suitescript
t
Are there occasion that context.newRecord returns null ?
b
probably delete, or potentially some buttons
t
so you mean when delete button has been triggered it empty out the context?
b
id only expect a null newRecord if there was no data in it
t
oh ok.. thanks @battk
b
you may want to log the context object so you can see what triggered the script
if its weird enough, make a support case
👍 1