Modules

filter

 

Objects/Functions

module (N/currentRecord)

SuiteScript 2.0

CurrentRecord.getMatrixHeaderField(options)

{CurrentRecord}.getMatrixHeaderField({sublistId: {string*},fieldId: {string*},column: {number*}})

N/currentRecord Module
CurrentRecord.getMatrixHeaderField()
Method Description: Gets the field for the specified header in the matrix.
Returns: currentRecord.Field
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.getMatrixHeaderField(options)

Example:

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

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