and then I remembered... context.request.getLineCo...
# suitescript
n
and then I remembered... context.request.getLineCount('custpage_stock')||0;