Modules

filter

 

Objects/Functions

module (N/currentRecord)

SuiteScript 2.0

CurrentRecord.setMatrixSublistValue(options)

{CurrentRecord}.setMatrixSublistValue({sublistId: {string*},fieldId: {string*},column: {number*},line: {number*},value: {number | Date | string | array | boolean*}})

N/currentRecord Module
CurrentRecord.setMatrixSublistValue()
Method Description: Sets the value for the associated field in the matrix. Sets a numeric value for rate and ratehighprecision fields.
Returns: currentRecord.CurrentRecord
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.setMatrixSublistValue(options)

Example:

// Code Example 1
//Add additional code
//...
objRecord.setMatrixSublistValue({
sublistId: 'item',
fieldId: 'item',
column: 12,
line: 3,
value: true
});
//...
//Add additional code

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