Dataset.type
Note:
The content in this help topic applies to SuiteScript 2.x.
Property Description |
The internal ID for the base record type for the dataset. Use the Records Catalog to find the Internal ID of scriptable records. |
Type |
string |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2020.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/dataset Module Script Samples.
// Add additional code
...
// View Dataset.type
var myDataset = dataset.load({
id: myDatasetId
});
log.audit({
title: 'Dataset.type = ',
details: myDataset.type
});
...
// Add additional code