Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

SearchTaskStatus.savedSearchId

{SearchTaskStatus}.savedSearchId{READ_ONLY: {}})

N/task Module
SearchTaskStatus.savedSearchId
Property Description: The ID of the saved search executed during the task.
Type: number (read-only)
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/task Module
Since: 2017.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=SearchTaskStatus.savedSearchId

Example:

// Code Example 1
//Add additional code
//...
var status = task.checkStatus({
searchTaskId: 81
});
log.audit({
title: 'Saved Search ID',
details: status.savedSearchId
});
//...
//Add additional code

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