Modules
Objects/Functions
SuiteScript 2.0
{query}.delete({id: {string*}})
N/query Module
query.delete()
Method Description:
Deletes an existing query.
Use this method to delete a query definition that was previously created using the SuiteAnalytics Workbook UI. After the query is deleted, it is no longer available and cannot be modified or executed.
The N/query module lets you create and run queries using the SuiteAnalytics Workbook query engine. You can use the N/query module to load and delete existing queries, but you cannot save queries. You can save queries using the SuiteAnalytics Workbook interface. For more information, see Navigating SuiteAnalytics Workbook.
Returns:
void
Supported Script Types:
Client and server scripts
For more information, see SuiteScript 2.0 Script Types.
Governance:
5 units
Module:
N/query Module
Sibling Module Members:
N/query Module Members
Since:
2018.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=query.delete(options)
Example:
// Code Example 1
// Add additional code
//...
query.delete({
id: 'custworkbook237'
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1530819817.html