Modules
Objects/Functions
SuiteScript 2.0
{CurrentRecord}.commitLine({sublistId: {string*},ignoreRecalc: {boolean}})
N/currentRecord Module
CurrentRecord.commitLine()
Method Description:
Commits the currently selected line on a sublist.
Returns:
The currentRecord.CurrentRecord object that called the method.
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.commitLine(options)
Example:
// Code Example 1
//Add additional code
//...
objRecord.commitLine({
sublistId: 'item'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4637565703.html