Hello, I've got two Suite Scripts (both 2.1, user event, after submit) which update item records (in one we're updating the pricing sublist from custom item fields, for the other we're writing to the locations sublist from other custom item fields).
When updating the relevant fields using inline editing via a saved search (xedit), we're getting errors, which I believe are due to the two scripts trying to write to the same record at the same time.
Usually I get "Error: RCRD_HAS_BEEN_CHANGED" (sometimes "Error: UNEXPECTED_ERROR").
Any recommendations for setting things up so the two scripts won't conflict? Hopefully something simple we can add to one or both of the scripts?
We're just starting to learn how to do our own scripting, so all of this is pretty new to us.
Thanks!