Also, how do you use the "ID" field on a CSV_Impor...
# suitescript
s
Also, how do you use the "ID" field on a CSV_Import? I only want my UE script to run when a specific CSV import is ran
s
You can configure scripts not to run on CSV import via their deployments. However, there's no out of the box way via deployments to only have certain scripts run for specific imports. Only way I can think of would be to have the CSV import include a custom field value that indicates if the script should run. Then, in the script, check to see if the value is set and if not, don't execute the rest of the script.
s
@Seth Duda So is there no way to use the csv scriptid on the User Event?
s
Not that I know of, but you could try inspecting the scriptContext object when the UE script fires to see if there's anything passed into it that might help.
However, if you happen to find anything behind the scenes, it's not going to be a documented feature, so be careful.