Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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?