Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Client Script: disabling a column in a sublist with Field object
The below seems to disable the whole column with one call on line 0 which is what I want.
Is that the correct way to use it?
for (var i = 0; i < fieldList.length; i++) {
fld = rec.getSublistField({ sublistId : 'revenueelement',
fieldId : fieldList[i],
line : 0 });
fld.isDisabled = true;
}
Tagged:
1