Result.id
Property Description |
The internal ID for the record returned in a search result row. This ID is a number, but it is stored in this property as a string (for example, |
Type |
string (read-only) |
Module |
|
Since |
2015.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/search Module Script Samples.
// Add additional code
...
var mySearch = search.create({
type: search.Type.CUSTOMER
});
var resultSet = mySearch.run();
resultSet.each(function(result) {
log.debug({
title: 'Record Internal ID: ',
details: result.id
});
return true;
});
...
// Add additional code