Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

Sublist.isChanged

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

N/record Module
Sublist.isChanged
Property Description: Indicates whether the sublist has changed on the record form.
Type: boolean (read-only)
Supported Script Types: Client and server-side scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/record Module
Sibling Object Members: Sublist Object Members
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Sublist.isChanged

Example:

// Code Example 1
// Add additional code.
//...
var objRecord = record.load({
type: record.Type.SALES_ORDER,
id: 275
});

var objSublist = objRecord.getSublist({
sublistId: 'item'
});

if(objSublist.isChanged){
//Perform an action when objSublist.isChanged is true
}
//...
// Add additional code.

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