In a 2.0 script I’m trying to get all the field va...
# suitescript
g
In a 2.0 script I’m trying to get all the field values (especially unlisted ones) for the item sub-list lines. I’m hacking it with something like this:
JSON.parse(JSON.stringify(scriptContext.newRecord)).sublists.item[key]
there must be a more elegant way