Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
New to NetSuite | N/currentRecord: CurrentRecord.cancelLine(options) Method
In our previous article, New to NetSuite | N/currentRecord Module Overview, we discussed the purpose and usage of the N/currentRecord module.
As part of our ongoing guide to the N/currentRecord module, this article explores the cancelLine method — a helpful tool for managing sublists during client-side scripting. This method allows you to cancel or discard changes made to the currently selected line in a sublist.
What is cancelLine()?
The cancelLine(options) method cancels the currently selected line on a sublist. This is especially useful if you need to discard an in-progress line item before it's committed.
Returns
- Type: currentRecord.CurrentRecord
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see