I'm having a problem where I have multiple users editing a single record at the same time and losing work when the other person saves the record with their own work. I would like to lock editing when a user is editing a record.
After searching through the forums here, I've seen several people have this same problem. Here's what I've discovered:
[LIST]
[*]People are baffled that this isn't a default feature of NetSuite
[*]This can be done using workflows, but a script would be preferable
[*]Could write a beforeSubmit function on a User Event script to lock editing, but the unlocking of the record proves to be a challenge since users can exit the record in several ways.
[/LIST] So I have two questions: [LIST=1]
[*]How are you doing this?
[*]What happens when you run a mass update and a record is locked? Does it throw an error? Does it just skip the record, and if so, does it come back?
[/LIST] Thank you!