I'm getting invalid ui object type for this line. ...
# suitescript
r
I'm getting invalid ui object type for this line. It's pulled directly from the 2.0 API manual. Why the error?
var list = form.addSublist({ id: 'invoice_sublist', type: serverWidget.SublistType.INLINEEDITOR, label: 'INVOICES' });