In a UE Script, how do i get the line count (total...
# suitescript
s
In a UE Script, how do i get the line count (total index) of a sublist? ex/ getting the number of member lines in an assembly
e
You can use
myRecord.getSublists()
to get the sublist names, and then
myRecord.getLineCount('SUBLISTNAME')
to get the line count.
component
is probably what you need for assembly
The record browser lists the sublists also
s
getLineCount is a client script method
e
no, it's server and client side
s
I cant find anything obvious within N/record
message has been deleted
e
that's currentRecord, go to record.Record
s
Oh dang i see it now. I guess i missed it yesterday. Will investigate...
Thanks again sir
👍 1