<@U9USPDFKP> which record and what do you mean by ...
# suitescript
n
@Dev Gupta which record and what do you mean by "look up"
d
a sales order, I’m trying to use
record.Record.getValue
n
you mean you're trying to use record.getValue('revenustatus'); should work presuming you have a handle on the record
d
hmm I’m getting
undefined
i’ll check if i’m doing something else dumb, thanks
what do you mean by ‘a handle on the record’?
n
you have not indicated context so I'm not sure if yu're in a UE / Client Scheduled script etc and you quoted record.Record...
d
Ah i see, right now i’m testing in the script debugger, but i’d like to use it in a map/reduce script
n
I imagine in either case you're loading the record by id so it would be yourRecordObj.getValue...
👍 1