My apologies if this has been asked times before, ...
# suitescript
d
My apologies if this has been asked times before, but I'm trying to copy multiple reference numbers from the bill payment sublist and paste them into a single transaction body field. Is this even possible? Here's the code that I put together, but it's only grabbing the first line item's value.
b
your code should only set the memo to the last refnum
Thats because line 6 always overwrites the value of the memo.
you want to move the nlapiSetFieldValue out of the loop
and you should probably use an array variable to store the refnums
d
Thank you for pointing me in the right direction, @battk .