We have developed an report extension that is being run by multiple users, however we are getting the following error when you have more than 1 user running the report in the same tenant, same database but different database records:
The operation could not complete because a record in the Sales Invoice Header table was locked by another user. Please retry the activity.
Any idea how to resolve this? I've seen some solution of killing the Session ID of the user who is locking, but do not want to have to keep doing this. Is this a design issued of the report, where maybe they read portion and the write portion need to be segregated or is this just a limitation of BC when you create report extensions?
Any help would be greatly appreciated.
Thank you
Jay