Modules
Objects/Functions
SuiteScript 2.0
{CurrentRecord}.getCurrentMatrixSublistValue({sublistId: {string*},fieldId: {string*},column: {number*}})
N/currentRecord Module
CurrentRecord.getCurrentMatrixSublistValue()
Method Description:
Gets the value for the currently selected line in the matrix.
Gets a numeric value for rate and ratehighprecision fields.
Returns:
number | Date | string | array | boolean
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.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_4637585905.html