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.
Using getCurrentSublistField in FieldChange event
Hello all,
According to the 2016.2 release notes, there's a new function called getCurrentSublistField. Simply use it as follows (as far as the documentation says)
var itemField = Record.getCurrentSublistField({sublistId: 'item', fieldId: 'item'}). Should return a record.Field.
I get a client-side error indicating that function doesn't exist.
Reading further, the documentation indicates this function is available for transformed records in dynamic mode. So, perhaps its NOT available to client scripts.
Ok then ... what I'm TRYING to do is ... it a certain field changes on the item line, disable the 'item' field on the current line.
How can I achieve this if I cannot access that 'item' sublist field and set the isDisabled = true?