CSV Import error – “This record has been locked by a user defined workflow”

The error message “This record has been locked by a user-defined workflow” had shown when importing journal entries.

Regarding the error “This record has been locked by a user-defined workflow.”, it is showing because we have selected the wrong data handling option “Add or Update” in the NetSuite import options. And also we have a workflow that prevents users to edit already created records.

“Add or Update” in terms of NetSuite means, when there is a record with the same document number/entry number/external id, then update the details in that record. If there are no records with the same document number/entry number/external id, then create a new record with the details provided in the file.

For creating new records in NetSuite, we will use the “Add” option.

For updating existing records, we will use the “Update” option.

If we need to use the “Add or Update” option by preventing workflows and scripts, we can do it by unchecking the check box “Run server suitescript and trigger workflows” on the “Import options” page.

Leave a comment

Your email address will not be published. Required fields are marked *