When using ChainOfCommands (CoC) in D365fO to hook into a standard method, it could be possible to receive the following compile error:
call to 'next' should be done only once and unconditionally
The code snipped causing this error message was automatically upgraded by the LCS project and looks like the