Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

Record.setMatrixHeaderValue(options)

{Record}.setMatrixHeaderValue({sublistId: {string*},fieldId: {string*},column: {number*},value: {number | Date | string | array | boolean*},ignoreFieldChange: {boolean}})

N/record Module
Record.setMatrixHeaderValue()
Method Description: Sets the value for the associated header in the matrix. (dynamic and standard modes — see SuiteScript 2.0 – Standard and Dynamic Modes) Sets a numeric value for rate and ratehighprecision fields.
Returns: record.Record
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.setMatrixHeaderValue(options)

Example:

// Code Example 1
// Add additional code.
//...
objRecord.setMatrixHeaderValue({
sublistId: 'item',
fieldId: 'item',
column: 3,
value: false,
ignoreFieldChange: true,
forceSyncSourcing: true
});
//...
// Add additional code.

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