This is a sample application that implements a suggestion on the logic needed to handle concurrent updates.
Please refer to the article How To Handle Concurrent Updates on Application Data Records for more details.
To test the solution, you should:
The sample already bootstraps one record to help you testing the functionality.