dataset.describe.promise(options)
Method Description |
Asynchronously retrieves information about a dataset, including name, description, and a list of columns and formulas with their labels and types.
Note:
The parameters and errors thrown for this method are the same as those for dataset.describe(options). For more information on promises, see Promise Object. |
Returns |
|
Synchronous Version |
|
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
10 units |
Module |
|
Sibling Module Members |
|
Since |
2021.2 |
Parameters
The options
parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
---|---|---|---|
|
string |
required |
The ID of the dataset to describe. |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete promise script example, see Promise Object.
// Add additional code
...
dataset.describe.promise({
id: 'custdataset_myDataset'
}).then(function(dataset)({
// process the results
});
...
// Add additional code