How do you use `getLineCount("item")` under the re...
# suitescript
b
How do you use
getLineCount("item")
under the record module in a user event script?
b
confusingly, confusingly the record module return a Record object
for a user event script you get the record object from the first parameter of the entry point function
usually something like context.newRecord
you call getLineCount on the record object from context.newRecord
b
Ohhhh gotcha I think it's working now