ok cool, i just threw together a restlet, using th...
# suitescript
d
ok cool, i just threw together a restlet, using the same code, and both restlet and suitelet are returning the address. var r = nlapiLoadRecord("location", "157"); return r.viewSubrecord("mainaddress").getFieldValue('addrtext');