task.DocumentCaptureTask

Object Description

An asynchronous document capture task. Use the methods and properties for this object to submit a document capture task to the NetSuite task queue and execute it asynchronously.

You can create a task.DocumentCaptureTask object using task.create(options). You can populate the properties of this object as you create it. With a task.DocumentCaptureTask object, you can do the following:

For an example of submitting an asynchronous document capture task, see Extract Content from a Document Asynchronously.

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/task Module

Methods and Properties

DocumentCaptureTask Object Members

Since

2025.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 myDocumentCaptureTask = task.create({
    taskType: task.TaskType.DOCUMENT_CAPTURE
});
...
// Add additional code 

          

Related Topics

General Notices