sublistChanged(scriptContext)
The sublistChanged
function replaces the SuiteScript 1.0 function recalc
.
Description |
Defines the function that is executed after a sublist is inserted, removed, or edited. For an example, see SuiteScript Client Script Sample. |
Returns |
void |
Since |
Version 2015 Release 2 |
Parameters
The scriptContext
parameter is a JavaScript object. It is automatically passed to the script entry point by NetSuite.
Parameter |
Type |
Description |
Since |
---|---|---|---|
|
The current form record. For more information about CurrentRecord object members, see CurrentRecord Object Members. |
Version 2015 Release 2 |
|
|
string |
The sublist ID name. |
Version 2015 Release 2 |
For an example of the sublistChanged entry point, see SuiteScript Client Script Sample.
Related Topics
- SuiteScript 2.x Client Script Entry Points and API
- fieldChanged(scriptContext)
- lineInit(scriptContext)
- pageInit(scriptContext)
- postSourcing(scriptContext)
- saveRecord(scriptContext)
- validateDelete(scriptContext)
- validateField(scriptContext)
- validateInsert(scriptContext)
- validateLine(scriptContext)
- localizationContextEnter(scriptContext)
- localizationContextExit(scriptContext)