Is this in a client script? it would work if you w...
# suitescript
j
Is this in a client script? it would work if you were using the currentRecord I believe yes