I'm impressed with myself. I've managed to produce...
# suitescript
c
I'm impressed with myself. I've managed to produce a SS error that Google can find on only two Chinese language webpages, and unsolved in each case. I've posted questions here: https://stackoverflow.com/questions/70085714/why-do-i-get-field-getsublistname-is-not-a-function-when-setting-a-sublist-val https://netsuiteprofessionals.com/question/why-do-i-get-field-getsublistname-is-not-a-function-when-setting-a-sublist-value/ All help requested with sincere desperation. P.S. I see @battk is online so probably all will be ok...
b
i personally say do the code in serverside suitescript
c
It needs to be triggered via a button on a form. Would you say to make it a Suitelet?
Also, it feels like I'm very close to it working, surely just making a silly mistake somewhere
b
i guess you can try playing with the value of
ignoreFieldChange
, but that tends to be important on native fields
c
Thank you
Suitelet worked
As in, the code that failed yesterday when run client side on button trigger works today in a Suitelet with no modification
The Suitelet is called from the code that is triggered by the button