Field.isDisplay
Property Description |
Returns This property is available only when working with a record in dynamic mode. For more information about record modes, see SuiteScript 2.x Standard and Dynamic Modes. This property is not available when working with record sublist fields. It is only available when working with record body fields. |
Type |
boolean |
Supported Script Types |
Client and server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Sibling Object Members |
|
Since |
2015.2 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/record Module Script Samples.
// Add additional code
define(['N/currentRecord'], function(currentRecord){
return {
pageInit: function(context) {
var record = currentRecord.get();
var field = record.getField({
fieldId:"custbody1"
});
field.isDisplay = false;
}
}
}
...
// Add additional code