Modules

filter

 

Objects/Functions

module (N/currentRecord)

SuiteScript 2.0

Field.sublistId

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Field.sublistId for more information.

N/currentRecord Module
Field.sublistId
Property Description: Returns the sublist ID for the specified sublist field.
Type: string (read-only)
Module: N/currentRecord Module
Supported Script Types: Client scripts For more information, see SuiteScript 2.0 Client Script Type.
Since: 2016.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Field.sublistId

Example:

// Code Example 1
//Add additional code
//...
var myId = field.sublistId;
//...
//Add additional code

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