Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

Record.getCurrentMatrixSublistValue(options)

{Record}.getCurrentMatrixSublistValue({sublistId: {string*},fieldId: {string*},column: {number*}})

N/record Module
Record.getCurrentMatrixSublistValue()
Method Description: Gets the value for the currently selected line in the matrix. (dynamic mode only — 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.getCurrentMatrixSublistValue(options)

Example:

// Code Example 1
// Add additional code.
//...
var matrixValue = objRecord.getCurrentMatrixSublistValue({
sublistId: 'item',
fieldId: 'item',
column: 12
});
//...
// Add additional code.

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