Just log `soId` , you will see how to get it from ...
# suitescript
s
Just log
soId
, you will see how to get it from there. Also,
soId
is a bad name for an object that comes back from the lookupFields