I’m getting some more bizarre behavior trying to s...
# suitescript
r
I’m getting some more bizarre behavior trying to script on an email message beforeLoad. When I manually add a line, it defaults to To (instead of CC / BCC). However, when I do this with scripting, none of the three choices are selected, you CAN hit send, and the additional recipients are not emailed when that happens. Furthermore, the To sublist field is not documented in the records browser and not visible in the NS Field Explorer extension. Does anyone know what this field is called? Because I don’t believe I have any way of figuring out what it’s called.
b
a message is one of those weird records that has a different structure depending on the context type
in addition, you are trying to modify a sublist during beforeLoad, which is fairly hard to do
beforeLoad doesnt do any sourcing
you will find it easier to use client script to modify the sublists instead