Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=currentRecord.Field for more information.
N/currentRecord Module
currentRecord.Field
Object Description:
Encapsulates a body or sublist field on the current record.
Use the following methods to access the Field object:
CurrentRecord.getField(options)
CurrentRecord.getSublistField(options)
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.0 Client Script Type.
Module:
N/currentRecord Module
Since:
2016.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=currentRecord.Field
Example:
// Code Example 1
//Add additional code
//...
var currentRecordField = currentRecord.getField({
fieldId: 'entity'
});
//...
//Add additional code
}
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4793291846.html