When copying or transforming a record (i.e. Invoic...
# suitescript
c
When copying or transforming a record (i.e. Invoice to RMA), should the
sublistChanged
event fire when the sublist is populated for the first time?
e
I deployed a Client Script to the RMA that logs a message to the console on
sublistChanged
. There is no other logic in the Script, and there are no other Client Scripts on the RMA. No message appears when transforming an Invoice to an RMA, so anecdotally that would lead me to believe that in the absence of other customizations, no,
sublistChanged
won't fire. However, if there were any other scripts or workflows on the RMA making sublist-impacting changes, and they ran before your Client Script, then
sublistChanged
certainly could fire.
c
Wow, that's good info @erictgrubaugh. Thanks for doing that test.
1