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.
enable disable field
Hi everyone,
I'm really hoping someone can help me with some really basic Suitescript.
I'm wanting to enable and disable fields programtically.
In the reference sheet i found
nlobjField.setMandatory = function( mandatory ) { ; } /* {void} make this field mandatory. */
Its been quite some time since I have written any javascript so I cam extremely rusty....
I have tried using
nlapiGetField('customField2000').setMandatory() ;
however this doesnt work.... Any help is greatly appreciated.
0