DocumentCaptureTask.documentType
|
Property Description |
The document type. Use a value from the documentCapture.DocumentType enum to set the value of this property. For more information, see the description of the |
|
Type |
string |
|
Module |
|
|
Parent Object |
|
|
Sibling Object Members |
|
|
Since |
2025.2 |
Errors
|
Error Code |
Thrown If |
|---|---|
|
|
The value of this property is not included in the documentCapture.DocumentType enum. |
Syntax
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 myDocCaptureTask = task.create({
taskType: task.TaskType.DOCUMENT_CAPTURE
});
myDocCaptureTask.documentType = documentCapture.DocumentType.INVOICE;
...
// Add additional code