DocumentCaptureTask.inputFile
|
Property Description |
The document to extract content from. The value of this property is a file.File object that represents a file in the NetSuite File Cabinet. For more information, see the description of the |
|
Type |
|
|
Module |
|
|
Parent Object |
|
|
Sibling Object Members |
|
|
Since |
2025.2 |
Errors
|
Error Code |
Thrown If |
|---|---|
|
|
The specified document is not in PDF, TIFF, JPG, or PNG format. |
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.inputFile = file.load("542");
...
// Add additional code