Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

Result.recordType

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Result.recordType for more information.

N/search Module
Result.recordType
Property Description: The type of record returned in a search result row.
Type: search.Type enum
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/search Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Result.recordType

Example:

// Code Example 1
//Add additional code
//...
var mySearch = search.load({
id: 'customsearch_my_so_search'
});

var searchResult = mySearch.run());
log.debug({
title: 'Record Type: ',
details: searchResult.recordType
});
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_456526428222.html