You probably want to remove that line and change `...
# suitescript
m
You probably want to remove that line and change
customerCSVImport.setPrimaryFile(nlapiLoadFile(thisfileid));
to
Copy code
var fileObj = nlapiLoadFile(thisfileid);
customerCSVImport.setPrimaryFile(fileObj);