SuiteQLTask.query
Property Description |
SuiteQL query definition for the SuiteQL task. The SuiteQL query definition is a string that represents a SuiteQL query. For more information, see SuiteQL. |
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/task Module Script Samples.
// Add additional code
...
var mySuiteQLTask = task.create({
taskType: task.TaskType.SUITE_QL
});
mySuiteQLTask.query = 'SELECT customer.entityid, customer.email FROM customer';
...
// Add additional code