Modules
Objects/Functions
SuiteScript 2.0
{Record}.commitLine({sublistId: {string*},ignoreRecalc: {boolean}})
N/record Module
Record.commitLine()
Method Description:
Commits the currently selected line on a sublist. (dynamic mode only — see SuiteScript 2.0 – Standard and Dynamic Modes)
When working in standard mode, set a sublist field using Record.setSublistValue(options).
Returns:
The record.Record object that called the method.
Supported Script Types:
Client and server-side scripts
For more information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/record Module
Sibling Object Members:
Record Object Members
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Record.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_4273168899.html