No, just looking for the first non-null field. I c...
# suitescript
d
No, just looking for the first non-null field. I can loop but thought I'd try this and it didn't work
s
_.find(record.somesublist, f=> f.fieldname)
would return the first line with a truthy value for
fieldname
(though here
record.somesublist
is NFT or similar)