Modules
Objects/Functions
SuiteScript 2.0
{dataset}.load({id: {string*}})
N/dataset Module
dataset.load()
Method Description:
Loads an existing dataset.
Returns:
dataset.Dataset
Supported Script Types:
Server scripts
For more information, see SuiteScript 2.0 Script Types.
Governance:
10 units
Module:
N/dataset Module
Sibling Module Members:
N/dataset Module Members
Since:
2020.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=dataset.load(options)
Example:
// Code Example 1
// Add additional code
//...
var myLoadedDataset = dataset.load({
id: myDatasetId // Use a script ID from an existing script
});
log.debug({
title: 'My Loaded Dataset: ',
details: myLoadedDataset
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158990335776.html