Has anyone ran into this? Function: csvImportFunc...
# csvimports
s
Has anyone ran into this? Function: csvImportFunc Error: SSS_INVALID_SUBMIT_OPTION You have entered an invalid submit option for this record type: {1}
r
Do you have "Execute User Event Script and Workflows" option checked in your options? It might be coming from a script or workflow deployed in the record for the csv import.
s
It is definitely coming from a script that I wrote…i cant figure out how to fix this error.
Its a script to schedule a csv upload
function csvImportFunc(){ var customerCSVImport = nlapiCreateCSVImport(); customerCSVImport.setMapping(“custimport112233”); customerCSVImport.setPrimaryFile(nlapiLoadFile(3047551)); customerCSVImport.setOption(“ShelUploadAuto”, “job1Import”); nlapiSubmitCSVImport(customerCSVImport); }