Cancel a return order delivery note

After you open the delivery note form from the return order screen , if you try to cancel a delivery note you get some errors and the process stops (vanilla Ax).

Is there a way to do that in another part of the system?

(The delivery note is created in the Item arrival journal screen)

What error you are getting?

Always Tag your AX version.

Ax 2012 R2 CU7

Found out there is a patch for this KB3056181

If you say the error also that would be great. It can help the ones , who are looking for similar error.

Thanks.

KB3056181

Update conflict on SalesTable when trying to cancel a return order packing slip if legal entity has a delivery address defined.

When you try to cancel a return order packing slip if legal entity has a delivery address defined, you receive the following error message: “Cannot edit a record in Sales orders (SalesTable). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.”

Thanks Fabio