Also, to retrieve the request object, you need to ...
# suitescript
m
Also, to retrieve the request object, you need to use
context.request
, not
http.ServerRequest
, and in
sr.getLineCount()
you need to specify which sublist you want the count for