I almost never use the return value of the Insert function in AL, but recently I found it useful in avoiding a specific deadlock situation. And the deadlock itself was a very curious one.

https://www.keytogoodcode.com/post/buffered-inserts-and-deadlocks

Comments