I took a look at the records browser and also just...
# suitescript
m
I took a look at the records browser and also just found a SuiteAnswer that has a SS1.0 example doing pretty much what you're doing except for that.