Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

Record.setText(options)

{Record}.setText({fieldId: {string*},text: {string | array*},ignoreFieldChange: {boolean}})

N/record Module
Record.setText()
Method Description: Sets the value of the field by a text representation. (dynamic and standard mode — see SuiteScript 2.0 – Standard and Dynamic Modes) Sets a string value with a "%" for rate and ratehighprecision fields.
Returns: record.Record
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.setText(options)

Example:

// Code Example 1
// Add additional code.
//...
objRecord.setText({
fieldId: 'item',
text: 'value',
ignoreFieldChange: true
});
//...
// Add additional code.

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