Modules
Objects/Functions
SuiteScript 2.0
{Record}.getSublistValue({sublistId: {string*},fieldId: {string*},line: {number*}})
N/record Module
Record.getSublistValue()
Method Description:
Returns the value of a sublist field.
(dynamic and standard modes — see SuiteScript 2.0 – Standard and Dynamic Modes)
Gets a numeric value for rate and ratehighprecision fields.
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.getSublistValue(options)
Example:
// Code Example 1
// Add additional code.
//...
var sublistFieldValue = objRecord.getSublistValue({
sublistId: 'item',
fieldId: 'item',
line: 3
});
//...
// Add additional code.
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4273166148.html