Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

Record.getCurrentSublistText(options)

{Record}.getCurrentSublistText({sublistId: {string*},fieldId: {string*}})

N/record Module
Record.getCurrentSublistText()
Method Description: Returns a text representation of the field value in the currently selected line. (dynamic mode only — see SuiteScript 2.0 – Standard and Dynamic Modes) Gets a string value with a "%" for rate and ratehighprecision fields.
Returns: string For multiselect fields, returns an array.
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.getCurrentSublistText(options)

Example:

// Code Example 1
// Add additional code.
//...
var fieldName = objRecord.getCurrentSublistText({
sublistId: 'item',
fieldId: 'item'
});
//...
// Add additional code.

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