I'm trying to save a record and I'm getting "Recor...
# suitescript
a
I'm trying to save a record and I'm getting "Record has been changed" error, any solution?
t
Pretty generic error. Usually happens from a workflow or user event. Might want to check that no database API's are hitting your record before it saves like nlapiSubmitValue()
a
I'm using currentRecord module and setting some values in the client script
b
the error means that between when netsuite retrieved your record and when you saved it, something else saved the record
your record is now stale and old
a
could it be because of using currentRecord module and setting some values
b
it could be if you have a horribly written client script deployed to your record
a
but if it's not a horrible written client shouldn't cause this problem right
because it is not saving the record
b
yes
a
that's strange because there is nothing on record that will save it
b
debugging steps usually are to start disabling any workflow or user event script deployed to your record
a
Thanks