Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Gap in SS 2.0 ability to disable line level fields.
In SS 1.0 there is a standalone function that disables fields and line level fields:
nlapiDisableField
nlapiDisableLineItemField
In SS 2.0 there is no standalone function and no function in either the record or currentRecord module to disable fields to my knowledge. Instead the attribute 'isDisabled' on a NetSuite field object. According to the documentation this should be used to disable fields like so.
currentRecord.getField({fieldId:'somefield'}).isDisabled = true;
currentRecord.getSublistField({sublistId: 'itemprobably', fieldId:'somefield', line:0 }).isDisabled = true;
Here is some documentation from SuiteAnswers 61331 of the "isDisabled" attribute for reference:
This property reflects the display type of a field. A value of true means the field is disabled. A value of false means the field is enabled. Note also: