SEARCH THE COMMUNITY

Find an existing answer

2 results for “UpdateConflict”

CommunityHow do I retry a transaction after an UpdateConflict exception?How do I retry a transaction after an UpdateConflict exception?CommunityD365FO X++ optimistic concurrency: how to handle UpdateConflict using reread/orig() and decide between selectForUpdate vs retryIn D365FO X++, I’m seeing `UpdateConflict` exceptions in a high-concurrency workflow when updating the same record(s). I currently read the record with a normal `select`, store some fields from the buffer, and later call `update()`—but under concurrency it fails. What’s the reco