Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=CsvImportTask.importFile for more information.
N/task Module
CsvImportTask.importFile
Property Description:
CSV file to import. Use a file.File object or a string that represents the CSV text to be imported.
Type:
file.File | string
Supported Script Types:
Server scripts
For more information, see SuiteScript 2.0 Script Types.
Module:
N/task Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=CsvImportTask.importFile
Example:
// Code Example 1
//Add additional code
//...
var f = file.load('SuiteScripts/custjoblist.csv');
scriptTask.importFile = f;
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_459367004393.html