Modules
Objects/Functions
SuiteScript 2.0
{CurrentRecord}.getText({fieldId: {string*}})
N/currentRecord Module
CurrentRecord.getText()
Method Description:
Returns the text representation of a field value.
Gets a string value with a "%" for rate and ratehighprecision fields.
Returns:
string
For multiselect fields, returns an array.
Supported Script Types:
Client scripts
For more information, see SuiteScript 2.0 Client Script Type.
Governance:
None
Module:
N/currentRecord Module
Since:
2016.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=CurrentRecord.getText(options)
Example:
// Code Example 1
//Add additional code
//...
var fieldidname = objRecord.getText({
fieldId: 'item'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4637582421.html