Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

SuiteQLTask.params

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

N/task Module
SuiteQLTask.params
Property Description: Parameters for the SuiteQL query. The specified parameters are substituted into the SuiteQL query string (represented by SuiteQLTask.query) when you submit the SuiteQL task using SuiteQLTask.submit().
Type: Array
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/task Module
Parent Object: task.SuiteQLTask
Sibling Object Members: SuiteQLTask Object Members
Since: 2020.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=SuiteQLTask.params

Example:

// Code Example 1
// Add additional code
//...
var mySuiteQLTask = task.create({
taskType: task.TaskType.SUITE_QL
});

mySuiteQLTask.params = ['myStringParameter', true];
//...
// Add additional code

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