Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

Record.getField(options)

{Record}.getField({fieldId: {string*}})

N/record Module
Record.getField()
Method Description: Returns a field object from a record. (dynamic and standard modes — see SuiteScript 2.0 – Standard and Dynamic Modes)
Returns: record.Field
Supported Script Types: Client and server-side scripts For more information, see SuiteScript 2.0 Script Types.
Governance: None
Module: N/record Module
Sibling Object Members: Record Object Members
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Record.getField(options)

Example:

// Code Example 1
// Add additional code.
//...
var objField = objRecord.getField({
fieldId: 'item'
});
//...
// Add additional code.

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4273153320.html