Join Slack
Powered by
How do you use `getLineCount("item")` under the re...
# suitescript
b
Blake Enloe
04/17/2019, 9:35 PM
How do you use
getLineCount("item")
under the record module in a user event script?
b
battk
04/17/2019, 9:37 PM
confusingly, confusingly the record module return a Record object
battk
04/17/2019, 9:38 PM
for a user event script you get the record object from the first parameter of the entry point function
battk
04/17/2019, 9:38 PM
usually something like context.newRecord
battk
04/17/2019, 9:39 PM
you call getLineCount on the record object from context.newRecord
b
Blake Enloe
04/17/2019, 9:44 PM
Ohhhh gotcha I think it's working now
13
Views
Open in Slack
Previous
Next