Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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?