Hi, Im trying to create an address subrecrod on a ...
# suitescript
i
Hi, Im trying to create an address subrecrod on a customer but I cant seem to get it to work, what im doing is this
var addressSubrecord = record.getCurrentSublistSubrecord('addressbook', 'addressbookaddress');
then
addressSubrecord.setValue('addressee', addressObj.addressee);
but addressSubrecord is returning
null
, Am I doing this the right way?