Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

Record.getCurrentSublistValue(options)

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

N/record Module
Record.getCurrentSublistValue()
Method Description: Returns the value of a sublist field on the currently selected sublist line. (dynamic mode only — see SuiteScript 2.0 – Standard and Dynamic Modes )
Returns: number | Date | string | array | boolean
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.getCurrentSublistValue(options)

Example:

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

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