When doing a `record.load()` and `record.save()` ,...
# suitescript
a
When doing a
record.load()
and
record.save()
, is there any way to trigger the native netsuite equivalent of clicking the
Save and Email
button without manually using the
N/email
module and doing the work myself?
c
transactions have a "tobeemailed" field you can check to trigger the logic.
a
That checkbox does the same thing as clicking the
Save and Email
button?
c
Yeah it takes whats in the email field and emails the transaction which is what the save and email does
a
Thanks!