anybody know to get all the columns on a sublist i...
# suitescript
r
anybody know to get all the columns on a sublist in a client script? getSublistFields is not available in the
currentRecord
module. I was thinking of loading the record but I won't have the id if the record is new.
b
nothing suitescript
getMachine('item').getFormFieldNames()
will work if you are desperate
e
I guess you could load another record you know exists (search first?) and then get sublist fields?
r
I just did a
record.create
of the same type to have a
record.Record
object.