Join Slack
Powered by
Are there occasion that context.newRecord returns ...
# suitescript
t
Tyn Guardian
11/05/2020, 1:36 AM
Are there occasion that context.newRecord returns null ?
b
battk
11/05/2020, 1:39 AM
probably delete, or potentially some buttons
t
Tyn Guardian
11/05/2020, 1:49 AM
so you mean when delete button has been triggered it empty out the context?
b
battk
11/05/2020, 1:55 AM
id only expect a null newRecord if there was no data in it
t
Tyn Guardian
11/05/2020, 1:56 AM
oh ok.. thanks
@battk
b
battk
11/05/2020, 1:56 AM
you may want to log the context object so you can see what triggered the script
battk
11/05/2020, 1:57 AM
if its weird enough, make a support case
👍 1
6
Views
Open in Slack
Previous
Next