Working before and all the sudden... boom, this ni...
# suitescript
a
Working before and all the sudden... boom, this nice error...
s
I see there is a period after 12216
b
use strings instead of numbers for internal ids
a
Here is the deal my task is not even created:
Copy code
var oCSVImportTask = task.create({taskType: task.TaskType.CSV_IMPORT});
oCSVImportTask.mappingId = Number(paramImportMapId);
oCSVImportTask.importFile = paramFile;

return oCSVImportTask.submit();
My Import Mapping or File is not even using Internal IDs.
b
are either of those 2 parameters ids 12216
a
Nop
b
try switching to the script id of the mapping file
or use a different file
a

https://i.imgur.com/X17puIB.gif

This was what happened... the glass is the script we gave to the customer....
s
heh, how do people even find these animations? those bug eyes are an extra nice touch