<@U6Z208M32> Just log the value you're getting int...
# suitescript
e
@samyt Just log the value you're getting into
map
to see its structure.
Copy code
function map(context) {
  log.debug({title: "value", details: context.value});
}
For a search result, you'll typically get something like
Copy code
{id:123, type:"salesorder", values: {amount: "255.00", salesrep_email: "<mailto:test@test.com|test@test.com>"}
s
@erictgrubaugh value what i am getting is soemthing weird {"namenohierarchy.subsidiary:654", "name.department:0001"}