currentRecord.Field
Note:
The content in this help topic pertains to SuiteScript 2.0.
Object Description |
Encapsulates a body or sublist field on the current record. Use the following methods to access the Field object: For a complete list of this object’s methods and properties, see N/currentRecord Module. |
Supported Script Types |
Client scripts For more information, see SuiteScript 2.x Client Script Type. |
Module |
|
Since |
2016.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/currentRecord Module Script Samples.
//Add additional code
...
var currentRecordField = currentRecord.getField({
fieldId: 'entity'
});
...
//Add additional code
}